I am trying to write MQL4 code to find the exact price and time for all the 2 MA (50 and 100) earlier crossovers that has already taken place in my MT4 charts.
Would appreciate any pointers.
Thanks,
Not sure how you can get the exact price though (the crossing don't usually occur at the exact start/end of candle, so it is very difficult to determine the exact crossing time/price) unless you do the above on tick level instead of candle level. Good luck.