Hi all,
It all started with making some small changes in an EA and for the past 3 weeks I learnt a lot about coding but got stuck at this point now. Did some research but couldn't manage to find it so far.
What I want to do is to find the number of bars between past two [Price Vs MA] crossovers. Is it possible to find this number?
I've attached an image to make it a bit easy to understand. Any suggestion or help would be highly appreciated.
Many thanks,
mem
It all started with making some small changes in an EA and for the past 3 weeks I learnt a lot about coding but got stuck at this point now. Did some research but couldn't manage to find it so far.
What I want to do is to find the number of bars between past two [Price Vs MA] crossovers. Is it possible to find this number?
I've attached an image to make it a bit easy to understand. Any suggestion or help would be highly appreciated.
Many thanks,
mem
Attached Image