Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | The MasterMind 3

MetaTrader Experts, Indicators, Scripts and Libraries

Author of the idea — L.Bigger, author of the MQL5 code — barabashkakvn.

The Expert Advisor processes signals from four iWPR indicators with different averaging periods: iWPR(26), iWPR(27), iWPR(29), iWPR(30). The OBJ_TEXT objects are displayed on the chart, keeps a log file. 

   sig_buy=iWPRGet(handle_iWPR_26,0);
   sig_sell=iWPRGet(handle_iWPR_27,0);
   sig_high=iWPRGet(handle_iWPR_29,0);
   sig_low=iWPRGet(handle_iWPR_30,0);

//Comment("sig_buy=",sig_buy," sig_sell=",sig_sell);

   if(sig_buy<-99.99 && sig_sell<-99.99 && sig_high<-99.99 && sig_low<-99.99)
     {
      BuyValue=1;
     }

   if(sig_buy>-0.01 && sig_sell>-0.01 && sig_high>-0.01 && sig_low>-0.01)
     {
      SellValue=1;
     }


 

17002

Best MetaTrader Indicators + Profitable Expert Advisors