Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Bruno - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 3 reads | 0 comments |

The author of the idea - the screenwriter

mq5 code author - Bara Bashkakon

The EA consists of five strategies:

 if (axd_plusdi[ 1 ]>axd_minusdi[ 1 ] && axd_plusdi[ 1 ]> 20.0 )
      lot_buy*=InpSignalRatio;
Else if (axd_plusdi[ 1 ]  1 ] && axd_plusdi[ 1 ] < 40.0 )
      lot_sell*=InpSignalRatio;

  • Via iMA (Moving Average, MA) and iStochastic (Stochastic Oscillator) indicators
      if(ma_one[1]>ma_two[1] && sto_main[1]>sto_signal[1] && sto_main[1]<80.0)
          lot_buy*=InpSignalRatio;
      Otherwise if(ma_one[1]  stow_main [1]  stow_main[1]>20.0)
          lot_sell*=InpSignalRatio;


  • Via iMACD (Moving Average Convergence/Divergence, MACD)) indicator
     if (macd_main[ 1 ]> 0.0 && macd_main[ 1 ]> madc_signal[ 1 ])
          lot_buy*=InpSignalRatio; 
    Else if (macd_main[ 1 ]< 0.0 && macd_main[ 1 ]  1])
          lot_sell*=InpSignalRatio;

  • Via iMA (Moving Average, MA) and iSAR (Parabolic SAR) indicators
     if (ma_one[ 1 ]>ma_two[ 1 ] && sar[ 1 ]> SAR[ 2 ])
          lot_buy*=InpSignalRatio; 
    Else if (ma_one[ 1 ]  1 ] && sal[ 1 ]  2])
          lot_sell*=InpSignalRatio;


  • Each strategy increases the initial lot size ( a lot ) of the signal compared to the time it takes for the signal to be activated. If both buy and sell signals are activated at the same time, both will be ignored.

    A buy opening signal is also a sell closing signal and vice versa.


    Attachment download

    📎 bruno.mq5 (54.84 KB)

    Source: MQL5 #22933

    Verification code Refresh