ADS Securities - FX and CFD Trading With the Middle East Brokerage of the Year

Moving Average.mq4

Back to topics list To post a new topic, please log in or register
avatar
103
ASAR 2011.06.20 05:16
 

Is there some place I can find the basic information on the Moving Average EA that comes with MT4? I've done a search for it and have turned up everything including a page of its code but I've found nothing that simply provides a basic description of the EA.

 
avatar
11030
WHRoeder 2011.06.20 17:09 #
 
Just look at the code
//---- buy conditions
   if(Open[1]<ma && Close[1]>ma)
     {
      res=OrderSend(Symbol(),OP_BUY,Lots...
Opens when a bar crosses the MA
 
avatar
103
ASAR 2011.06.20 22:36 #
 
WHRoeder:
Just look at the code Opens when a bar crosses the MA


With a little more searching, I've finally found it.

https://www.mql5.com/en/code/7927

Back to topics list  

To add comments, please log in or register