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
To find the highest closeing price I use: Highest_Bar = iHighest("EURUSD",PERIOD_H1,MODE_CLOSE,Period_Highest_Bar,1) and then Highest_Bar_Price = Close[Highest_Bar];
Now I open a 5 minute offline chart and a 1 hour offline chart and want to run a backtest with my EA. The choosen timeperiod for the backtest is 5 minutes. I always get the error "4054 - Incorrect series array using". The value of Highest_Bar is -1 and of Highest_Bar_Price 0.
What am I doing wrong? Does this not work on a backtest? I need help, please.