F
Frankdot
Guest
for(int barIndex = index; barIndex <= ChartBars.ToIndex; barIndex++)
{
double Price = Bars.GetClose(barIndex);
if(cma < highPrice && cma > lowPrice)
In this case all the Price between index and ChartBars.ToIndex are listed in the variable Price.
Price gather many close price: 2014, 2015, 2018 .etc
If i replace cma by Price it will process all the prices all together.
I want each value to be calculated one bye one. Like if it was :
if(2014 < highPrice && 2014 > lowPrice)
if(2015 < highPrice && 2015 > lowPrice)
etc.
Is there a method or group method that allow to do this?thank you
Continue reading...
{
double Price = Bars.GetClose(barIndex);
if(cma < highPrice && cma > lowPrice)
In this case all the Price between index and ChartBars.ToIndex are listed in the variable Price.
Price gather many close price: 2014, 2015, 2018 .etc
If i replace cma by Price it will process all the prices all together.
I want each value to be calculated one bye one. Like if it was :
if(2014 < highPrice && 2014 > lowPrice)
if(2015 < highPrice && 2015 > lowPrice)
etc.
Is there a method or group method that allow to do this?thank you
Continue reading...