what is the period mean

All posts which do not fit into any other sections of the forum.

Moderator: admin

what is the period mean

Postby Zc263547 » Fri Apr 12, 2019 1:28 pm

as in the Source.close[period], Source.low[period],and so on,what is the period mean?is it refer to the current bar or the bar before corrent?Could anyone help to teach me,thanks alot!
Zc263547
 
Posts: 17
Joined: Tue May 15, 2018 6:54 am

Re: what is the period mean

Postby Apprentice » Fri Apr 12, 2019 4:24 pm

period (current candle index)
period-1 (previus candle index)
source:size()-1 (index of last candle)
source:size()-2 (index of candle before laste candle)

http://www.fxcodebase.com/documents/Ind ... exing.html
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: what is the period mean

Postby Zc263547 » Sun Apr 14, 2019 6:57 am

Could you please know where to find the grammar of the codes of Marketscop chart ,so we can study systematically ,thanks alot
Zc263547
 
Posts: 17
Joined: Tue May 15, 2018 6:54 am

Re: what is the period mean

Postby Apprentice » Mon Apr 15, 2019 4:21 am

http://fxcodebase.com/documentation.php
Install the SDK.
Will include a comprehensive description and with code examples.

If you have advanced code pre-knowledge contact me via email about private lessons...
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 10 guests