How to find the time of the bar where the moving averages crossed? (code inside) - page 4

 
Is that important? Can that affect the way the code is read, and how the EA functions? Or is it more to do with it just being more efficient on CPU (wild guess there?)
 

What you wrote != what you meant. Which means it will not work correctly.

Now go and RTFM

Your ignorance is annoying. I will not be responding to your posts anymore until you at least graduate from mql4 first grade. learn to code

 

That's ok - hopefully there will be other people on the web who are more patient. 

 Thanks for your time anyway.

Oh, and the MA's and where the orders are placed (above the highs and lows), I have it perfect now. (After changing your error regarding missing indents and bracing.)

Reason: