Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
1157
Rating:
(5)
Published:
2025.05.16 11:37
Bands.mq5 (28.95 KB) view
MQL5 Freelance 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

AutoCloseOnProfitLoss Expert - Automatically Close All Positions on Profit/Loss AutoCloseOnProfitLoss Expert - Automatically Close All Positions on Profit/Loss

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

Swaps Monitor for a Single Symbol Swaps Monitor for a Single Symbol

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.

DailyHighLow Indicator for MQL5 DailyHighLow Indicator for MQL5

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 EquiPeak Drawdown Tracker

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.

This website uses cookies. Learn more about our Cookies Policy.