Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 533 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
parameters of the plotDay function #481065
08/04/20 17:53
08/04/20 17:53
Joined: Apr 2020
Posts: 8
Santa Cruz de Tenerife
R
rafaelghd Offline OP
Newbie
rafaelghd  Offline OP
Newbie
R

Joined: Apr 2020
Posts: 8
Santa Cruz de Tenerife
I´m trying to do a seasonal analysis and I want to use the plotDay function. In the documentation says this function has two parameters: plotDay( var value, int type). But it doesn´t specify which is the range of the parameter 'type' neither for what it works. Can any one help with this smirk ?

Thanks !!!

Re: parameters of the plotDay function [Re: rafaelghd] #481068
08/04/20 23:58
08/04/20 23:58
Joined: Mar 2019
Posts: 357
D
danatrader Offline
Senior Member
danatrader  Offline
Senior Member
D

Joined: Mar 2019
Posts: 357
As far as I see int type is not directly used in the plotDay function, but in the last line the call of plotSeason, there it is used -->> int type) // cumulative or difference

type

0 = evaluate value difference to the season begin.
1 = evaluate value difference to the previous bar.


applies to all the following:

plotDay (var value, int type)
plotWeek (var value, int type)
plotMonth (var value, int type)
plotYear (var value, int type)
plotWFOCycle (var value, int type)

Re: parameters of the plotDay function [Re: danatrader] #481069
08/05/20 07:47
08/05/20 07:47
Joined: Apr 2020
Posts: 8
Santa Cruz de Tenerife
R
rafaelghd Offline OP
Newbie
rafaelghd  Offline OP
Newbie
R

Joined: Apr 2020
Posts: 8
Santa Cruz de Tenerife
Thanks a lot !!.. It's much more clear to me now !!.. laugh


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1