Hi, I'm new in mql5.
I have the following problem,
Suppose I want see the cross of three MA's, but in different times. For exemplo MA_Fast ,MA_Medium and MA_ Slow, so the MA_medium cross the MA_Slow, I want to see if the MA_Fast crossed the MA_Slow too in a period of 20 bars ago or less, How I make this?
Thanks for everyone.
Ok .. Actually I tried several things, In my mind is easier make a index and then use this index to make a EA using a wizard.My last tried was shift the MA, but appear a error when I compile.I TRIED THIS
==========================================================================================Off course this is just a part of my code.. Thanks for everything