Join our fan page
- Views:
- 1157
- Rating:
- Published:
- 2025.05.16 11:37
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Good afternoon. The Expert Advisor is based on Bollinger Bands and Donchian Channel.
Sell signal: The Donchian Channel is falling over the period, the opening price is above the upper boundary of the Bollinger, and the closing price is below.
Buy signal: The Donchian Channel is rising over the period, the opening price is below the lower boundary of the Bollinger and the closing price is above.
The deal is closed either by stop and take or when the Donchian channel is broken.
There is also a function of R-square calculation in the code of the Expert Advisor.
Here is the EURUSD test from 01/01/2020 to 01/04/2025
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/58268

The AutoCloseOnProfitLoss Expert Advisor (EA) is a powerful automation tool for MetaTrader 5, designed to close all open positions when predefined profit or loss targets are reached

A simple utility for monitoring long and short swaps of a single symbol. If your broker-dealer's swaps are specified in points instead of account currency, this utility automatically converts points into account currency. Swaps are tripled on Wednesday. Horizontal and vertical alignment can be adjusted in the inputs.

The DailyHighLow indicator is a versatile tool designed for MetaTrader 5 (MQL5) to display high and low price levels on a chart based on a specified timeframe. This indicator is particularly useful for traders who rely on key price levels for decision-making, offering flexibility through customizable timeframes and price calculation methods.

EquiPeak Drawdown Tracker is an indicator designed to monitor and record the maximum drawdown of your trading account in real time. It is not just an alerter of current drawdown; it is especially useful for visually comparing your current drawdown with the maximum historical drawdown you expect or have previously recorded.