You only need to code this:

dev = StdDev(Price, 10);

The definition is here:

http://manual.zorro-trader.com/ta.htm

Look for it.