Page 1 of 1

what is the period mean

PostPosted: Fri Apr 12, 2019 1:28 pm
by Zc263547
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!

Re: what is the period mean

PostPosted: Fri Apr 12, 2019 4:24 pm
by Apprentice
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

Re: what is the period mean

PostPosted: Sun Apr 14, 2019 6:57 am
by Zc263547
Could you please know where to find the grammar of the codes of Marketscop chart ,so we can study systematically ,thanks alot

Re: what is the period mean

PostPosted: Mon Apr 15, 2019 4:21 am
by Apprentice
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...