Flat Trend EA - MetaTrader 5 Expert | Forex Indicator Download - MT4/MT5 Resources



Author of the idea : Screenwriter
MQL5 code author : Balabashka Kong
The EA uses the flattened trend indicator:
This indicator defines the market state: flat or trending.
Interpretation of the histogram color buffer when setting " Signal time range " PERIOD_CURRENT:

If "Use hour markers" is enabled - from start time to end time in bar #current bar , this flattening trend is investigated. If there is a signal, open buy or sell . Set Stop Loss (only if Stop Loss is not "0.0") and Take Profit (only if Take Profit is not "0.0").
Trailing is activated if Trailing Stop is not "0.0".
Testing EURUSD and M15 has these parameters :


Attachment download
📎 flat_trend_ea.mq5 (40.05 KB)
📎 flattrend.mq5 (25.03 KB)
Source: MQL5 #21929
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •