The writer of the theory – Scriptor
mq5 code writer – barabashkakvn
The EA tests access alternatives most effective when a fresh bar seems, moment trailing works on every tick. When checking a sign, there’s any other verification with the exception of evaluating the values of the principle and sign layout at the stream and former bar: the principle layout price is transformed into issues and in comparison to the MACD unmistakable degree parameter. When a BUY unmistakable sign arrives, similar SELL positions, and vice versa.
Detectable indicators
BUY:Â
  bool open_buy_signal=(major[0]<0 && major[0]>sign[0] && major[1]<sign[1] &&                           MathAbs(major[0])>(MACDOpenLevel*m_symbol.Level()));
SELL:
  bool open_sell_signal=(major[0]>0 && major[0]<sign[0] && major[1]>sign[1] &&                           MathAbs(major[0])>(MACDOpenLevel*m_symbol.Level()));
EURUSD, M15
USDJPY, M15:
Translated from Russian by means of MetaQuotes Ltd.
Latest code: