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 | Sensitive

The author of the idea - Scriptor

mq5 code author - barabashkakvn

The EA checks entry opportunities only when a new bar appears, while trailing works on each tick. When checking a signal, there is another verification apart from comparing the values of the main and signal line on the current and previous bar: the main line value is converted into points and compared to the MACD open level parameter. When a BUY open signal arrives, close SELL positions, and vice versa.

Open signals

BUY: 

   bool open_buy_signal=(main[0]<0 && main[0]>signal[0] && main[1]<signal[1] &&                              MathAbs(main[0])>(MACDOpenLevel*m_symbol.Point()));  

SELL:

   bool open_sell_signal=(main[0]>0 && main[0]<signal[0] && main[1]>signal[1] &&                             MathAbs(main[0])>(MACDOpenLevel*m_symbol.Point()));  

EURUSD, M15

MetaTrader Experts, Indicators, Scripts and Libraries

USDJPY, M15:

MetaTrader Experts, Indicators, Scripts and Libraries

22087