MQL4 - automated forex trading   /  

Forum

Read Financial Magazines in MetaTrader 4 and MetaTrader 5!

Moving Average.mq4

Back to topics list To post a new topic, please log in or register
avatar
91
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.

 
Data Structure in MetaTrader 4 Build 600 and Higher

Data Structure in MetaTrader 4 Build 600 and Higher

MetaTarder 4 build 600 features the new structure and location of the client terminal files. Now, MQL4 applications are placed in separate directories according to the program type (Expert Advisors, indicators or scripts). In most cases, the terminal data is now stored in a special data folder separated from the terminal installation location. In this article, we will describe in details how data is transferred, as well as the reasons for introducing the new storage system.

avatar
8918
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
91
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.

http://codebase.mql4.com/273

Back to topics list  

To add comments, please log in or register