Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (vicknick, AndrewAMD), 1,292 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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