Idea Creator: Scriptor
Code Author: barabashkakvn
The Sensitive EA is designed to identify trading opportunities as soon as a new bar appears, while the trailing feature operates with each tick. When the EA checks for signals, it doesn’t just compare the main and signal lines on the current and previous bars. It also converts the main line value into points to compare it against the MACD open level parameter. When a BUY signal is detected, any open SELL positions are closed, and vice versa.
Open Signals
BUY Signal:
bool open_buy_signal=(main[0]<0 && main[0]>signal[0] && main[1]<signal[1] && MathAbs(main[0])>(MACDOpenLevel*m_symbol.Point()));
SELL Signal:
bool open_sell_signal=(main[0]>0 && main[0]<signal[0] && main[1]>signal[1] && MathAbs(main[0])>(MACDOpenLevel*m_symbol.Point()));
EUR/USD, M15

USD/JPY, M15:

Related Posts
- Mastering Trading Signals with MQL5 Wizard: Bullish and Bearish Engulfing Strategies
- Harnessing MQL5 Wizard for Trading Signals: 3 Black Crows & 3 White Soldiers with MFI
- Creating an Expert Advisor for Dark Cloud Cover and Piercing Line Patterns with CCI Confirmation
- Creating a Stochastic-Based EA for Hammer and Hanging Man Patterns in MetaTrader 5
- Creating Powerful Trade Signals with MQL5 Wizard: Bullish and Bearish Engulfing Patterns + RSI