In MQL5, there is no predefined variable called "Bars". That is from the older MQL4. Instead use the function ...
Documentation on MQL5: Timeseries and Indicators Access / Barsthank you.
I've been learning the past few months...

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
gives me the following error:
this is the context:
If I remove this line there are 0 errors. It's a simple EA (MQL5) based on the famous pattern "IDNR4" (Inside day narrow range 4).
thanks, kind regards