Watch how to download trading robots for free
Find us on Twitter!
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:
10306
Rating:
(31)
Published:
2017.05.29 13:58
bollinger.mq5 (10.34 KB) view
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The strategy is based on the iBands indicator.

When the price breaks through the channel, a position is opened in the direction opposite to the price movement. If the price breaks through the upper channel border upwards, a Sell position is opened. If lower border is broken downwards, a Buy position is opened.

Fig. 1. Trading results for 2016-2017.

Fig. 1. Trading results for 2016-2017.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/17992

Candle Candle

Trades based on the previous candlestick.

ListPositions ListPositions

A list of all positions. An example of working with CPositionInfo.

ToClearChartObjectsByType ToClearChartObjectsByType

The script removes from the current chart all objects of the user selected type

ToClearObjectsByType ToClearObjectsByType

The script removes all objects of the type selected by the trader in input parameters from all charts of the client terminal.