Donchain Counter - MetaTrader 5 Expert | Forex Indicators Download - MT4/MT5 Resources



Author of the idea : screenwriter .
MQL5 code author : Vladimir Karputov .
The Expert Advisor uses the Donchian Straits indicator. Restrictions: There can be at most one position in the market, and the next position cannot be opened earlier than 24 hours.
The value of the Donchian Channel indicator is used as a signal for opening positions and applying the Trailing Stop function.
Example of a buy signal: If the upper buffer of the indicator on the first bar is greater than the upper buffer of the indicator on the second bar, open buy:

Analyze the sell signal in the lower indicator buffer: If the lower buffer of the indicator on the first bar is smaller than the lower buffer of the indicator on the second bar, then a sell signal is opened.
EURUSD test results (default settings):

Attachment download
📎 donchian_channel.mq5 (2.84 KB)
📎 donchain_counter.mq5 (36.21 KB)
Source: MQL5 #20444
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •