Gamestudio Links
Zorro Links
Newest Posts
Deformers struct in MDL7 abspeichern.
by tagimbul
Today at 02:06
Votes for future features
by Hredot
Today at 01:48
What happens with particles, Memory wise?
by jumpman
Today at 00:41
Plotting on hour time scale
by Hredot
Yesterday at 17:42
Fetter ACSII Parser
by MasterQ32
Yesterday at 14:31
AUM Magazine
Latest Screens
RPG PARTY
Triton Wing now available on Steam
AckCon'17: Lotter vs The World
Triton Wing
ZeaL
Who's Online
7 registered (Dalla, AndrewAMD, firecrest, jyd, tagimbul, johnnyp, jrath), 444 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
CaptainPablo, blAx, BBX, jcadihere, Peeyotch
17759 Registered Users
Topic Options
Rate This Topic
#468011 - 09/13/17 05:26 Standard Deviation?
flare9x Offline
Newbie

Registered: 09/13/17
Posts: 7
Loc: TX
Hi All

I am new to Zorro and going through the workshops.

I see there is a SMA function, can we call a Standard Deviation function also?

Otherwise would need to create my own function for this.... is it STDEV or STD or DEV, is it hidden in the manual anywhere?

Thanks
Andrew

Top
#468013 - 09/13/17 11:51 Re: Standard Deviation? [Re: flare9x]
brax Offline
Newbie

Registered: 08/02/17
Posts: 20
You only need to code this:

dev = StdDev(Price, 10);

The definition is here:

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

Look for it.

Top
#468029 - 09/13/17 22:12 Re: Standard Deviation? [Re: brax]
flare9x Offline
Newbie

Registered: 09/13/17
Posts: 7
Loc: TX
Makes sense... however, i dont see it in this list!? ctrl f on page and StdDev doesnt reveal it in the page above... well it makes sense so will give it a whirl.

Thanks

Top
#468033 - 09/14/17 11:51 Re: Standard Deviation? [Re: flare9x]
brax Offline
Newbie

Registered: 08/02/17
Posts: 20
Yes, it´s true. StdDev doesn´t appear on that page, my mistake.

Anyway, if you´re asking because you want to implement bollinger bands, you can see it in action on the first example at the end.

If you just wanted StdDev, you´ve got it already.

Top
#468035 - 09/14/17 14:37 Re: Standard Deviation? [Re: brax]
AndrewAMD Online
Newbie

Registered: 02/21/17
Posts: 48
Loc: Chicago
This is in Zorro help and not in the online manual for some reason.

Top
#468042 - 09/14/17 18:15 Re: Standard Deviation? [Re: AndrewAMD]
johnnyp Online
Newbie

Registered: 08/12/17
Posts: 29
sorry, wrong thread.


Edited by johnnyp (09/14/17 18:16)

Top
#468110 - 09/19/17 02:03 Re: Standard Deviation? [Re: johnnyp]
flare9x Offline
Newbie

Registered: 09/13/17
Posts: 7
Loc: TX
All good - Yes I see it in the zorro help. They have zscore in there also which is useful. Its the reason why I wanted to have stdev.

Thanks

Top
#468128 - 09/19/17 14:50 Re: Standard Deviation? [Re: flare9x]
johnnyp Online
Newbie

Registered: 08/12/17
Posts: 29
Question for the devs... Does zscore use StdDev from ta-lib?

If that is the case, then if StdDev < 0.0001, StdDev returns 0 and funny things will happen.

Top



Gamestudio download | chip programmers | Zorro platform | shop | resources | magazine | manual | support faq | bugs | beta features

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) 3dgamestudio.net