I am confuse does substract 631 bars from
for(int barIndex = (ChartBars.ToIndex) - 631; barIndex <= (ChartBars.ToIndex); barIndex++)
means barIndex start at bar 631 to currentBar or the opposite ?
I am trying to get all the bars in the chart from exemple barIndex 631 ------> CurrentBar right side of the chart.
Now i want to replace 631 by period and set a period in indicators proprieties so i can change the number in the indicator without having to compile every time, is it possible?
Comment