Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (MadJack, AndrewAMD, Quad), 540 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Standard Deviation? #468011
09/13/17 03:26
09/13/17 03:26
Joined: Sep 2017
Posts: 7
TX
F
flare9x Offline OP
Newbie
flare9x  Offline OP
Newbie
F

Joined: Sep 2017
Posts: 7
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

Re: Standard Deviation? [Re: flare9x] #468013
09/13/17 09:51
09/13/17 09:51
Joined: Aug 2017
Posts: 102
Spain
B
Brax Offline
Member
Brax  Offline
Member
B

Joined: Aug 2017
Posts: 102
Spain
You only need to code this:

dev = StdDev(Price, 10);

The definition is here:

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

Look for it.

Re: Standard Deviation? [Re: Brax] #468029
09/13/17 20:12
09/13/17 20:12
Joined: Sep 2017
Posts: 7
TX
F
flare9x Offline OP
Newbie
flare9x  Offline OP
Newbie
F

Joined: Sep 2017
Posts: 7
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

Re: Standard Deviation? [Re: flare9x] #468033
09/14/17 09:51
09/14/17 09:51
Joined: Aug 2017
Posts: 102
Spain
B
Brax Offline
Member
Brax  Offline
Member
B

Joined: Aug 2017
Posts: 102
Spain
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.

Re: Standard Deviation? [Re: Brax] #468035
09/14/17 12:37
09/14/17 12:37
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
This is in Zorro help and not in the online manual for some reason.

Re: Standard Deviation? [Re: AndrewAMD] #468042
09/14/17 16:15
09/14/17 16:15
Joined: Aug 2017
Posts: 40
J
johnnyp Offline
Newbie
johnnyp  Offline
Newbie
J

Joined: Aug 2017
Posts: 40
sorry, wrong thread.

Last edited by johnnyp; 09/14/17 16:16.
Re: Standard Deviation? [Re: johnnyp] #468110
09/19/17 00:03
09/19/17 00:03
Joined: Sep 2017
Posts: 7
TX
F
flare9x Offline OP
Newbie
flare9x  Offline OP
Newbie
F

Joined: Sep 2017
Posts: 7
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

Re: Standard Deviation? [Re: flare9x] #468128
09/19/17 12:50
09/19/17 12:50
Joined: Aug 2017
Posts: 40
J
johnnyp Offline
Newbie
johnnyp  Offline
Newbie
J

Joined: Aug 2017
Posts: 40
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.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1