predefined variable "Bars"
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...
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