i must understand, this for me, than i can code in c#
for(int i=0; i<limit; i++) {
AverageDistanceBuffer[i] = (((
( iMA(NULL, 0, BasePeriod + (PeriodStep * 0), 0, MODE_LWMA, PRICE_CLOSE, i) -
iMA(NULL, 0, BasePeriod + (PeriodStep * 1), 0, MODE_LWMA, PRICE_CLOSE, i) ) +
( iMA(NULL, 0, BasePeriod + (PeriodStep * 1), 0, MODE_LWMA, PRICE_CLOSE, i) -
iMA(NULL, 0, BasePeriod + (PeriodStep * 2), 0, MODE_LWMA, PRICE_CLOSE, i) ) + ...
Comment