Hi,
as the title says i wanted to get how many bars ago an event has occurred, does anyone have an idea on where to start. Thanks
since you have the time of the event you can use iBarShift
https://www.mql5.com/en/docs/series/ibarshift

- www.mql5.com
Hi,
as the title says i wanted to get how many bars ago an event has occurred, does anyone have an idea on where to start. Thanks
Because your answer was about a another application and has nothing to do with MetaTrader. Your answer should be relevant to MQL and MetaTrader and not about another language on another application.
Because your answer was about a another application and has nothing to do with MetaTrader. Your answer should be relevant to MQL and MetaTrader and not about another language on another application.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
as the title says i wanted to get how many bars ago an event has occurred, does anyone have an idea on where to start. Thanks