Example of Heiken Ashi + SMA Automated – EA MetaTrader 4

Example of Heiken Ashi + SMA Automated - expert for MetaTrader 4
Real Author: Mohammad Soubra This is unpaid version of Trading Robots. Just it is a source code for coders who see it helpful for them. Showing how to trade FX market trend using the (SMA: Simple Moving Average) with the Japanese indicator Heiken Ashi. All trades get the ATR(14) shift(1) as Take Profit. Recommendations: This … Read more

Example of Commodity Channel Index Automated – EA MetaTrader 4

Example of Commodity Channel Index Automated - expert for MetaTrader 4
Real author: Mohammad Soubra Commodity Channel Index or CCI is a great indicator in financial markets (forex too). it is used here as an example only for coders (not a profitable EA). it depends on the typical price of CCI to open buy/sell orders as below conditions: double CCI_Typical_Curr=iCCI(NULL,0,CCIPeriod,PRICE_TYPICAL,0); double CCI_Typical_Prev=iCCI(NULL,0,CCIPeriod,PRICE_TYPICAL,1); // Here is the … Read more

Example of SAR Automated – with Advanced Money Management – EA MetaTrader 4

Example of SAR Automated - with Advanced Money Management - expert for MetaTrader 4
Real author: Mohammad Soubra This is not a profitable EA. This is just a basic/simple example for coders. This example has been built using SAR (Stop And Reverse) indicator. With Advanced Money Management function: //+——————————————————————+ //    expert AdvancedMM function //+——————————————————————+ double AdvancedMM()   {    int i;    double AdvancedMMLots=0;    bool profit1=false;    int SystemHistoryOrders=0;    … Read more

Example of MACD Automated – EA MetaTrader 4

Example of MACD Automated - expert for MetaTrader 4
It is a MetaTrader 4 code example of MACD automated Expert Advisor, with advanced money management function and trailing stop as well. The idea is: Filter as Multi Time Frame code example (Daily and 15 minutes charts). When the bigger timeframe is giving Buy (or Sell) signal/rule, then it will wait the confirmation of the … Read more

Automatically enable or disable the automated trading button – EA MetaTrader 4

Automatically enable or disable the automated trading button - expert for MetaTrader 4
Let say you have an EA and you want it to trade in between an interval of time but you do not have the source codes to modify the EA. This utility allows you to automatically enable or disable the automated trading button. You can use the codes as an EA, Indicator or script but … Read more