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!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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!