incorrect start position 2365 with Ehler transformation indicator
Alberto_jazz:
Hi all, I have this error when I load the attached indicator on a median renko chart.
incorrect start position 2365 for Array/Minum (or Array/Maximum) function
Could you help me?
Thank you!
for(i = limit-1; i >= 0; i--)
you should start your for loop from limit-1
Prices[i] = iMA(NULL,0,1,0,MODE_SMA,PriceType,i);
Split it into two loops. One to fill Prices. The look back is zero.
double MaxH = Prices[ArrayMaximum(Prices,period,i)]; double MinL = Prices[ArrayMinimum(Prices,period,i)];One for the rest. The look back is period.
Do your lookbacks correctly.
Thank you very much!
Hi all, I have this error when I load the attached indicator on a median renko chart.
incorrect start position 2365 for Array/Minum (or Array/Maximum) function
Could you help me?
Thank you!