Hello All,
With regard to MQL4, I've trying to find out a way to count the number of bars on the chart that have passed since a particular price movement/pattern has occurred.
As a simple example, how would I count the number of bars that has occurred since price last gapped up?
I've been reading through the documentation but can't seem to find an appropriate function to use. In my old amibroker days, I would have used the AFL function, barssince.
Any help would be welcome,
Thanks,
Chorlton
With regard to MQL4, I've trying to find out a way to count the number of bars on the chart that have passed since a particular price movement/pattern has occurred.
As a simple example, how would I count the number of bars that has occurred since price last gapped up?
I've been reading through the documentation but can't seem to find an appropriate function to use. In my old amibroker days, I would have used the AFL function, barssince.
Any help would be welcome,
Thanks,
Chorlton