Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

votes: 20
2017.05.29 13:57
2018.02.27 13:06
Candle.mq5 (31.3 KB)view

Trades based on the previous candlestick: it is bearish, the EA sells; if it is bullish, the EA buys.

Take Profit, Trailing Stop.

Translated from Russian by MetaQuotes Software Corp.
Original code:

ListPositions ListPositions

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

A cross-platform library of original mathematical functions A cross-platform library of original mathematical functions

Original mathematical functions taken from different places, which either do not have analogues or perform much faster than alternative implementations

Bollinger Bollinger

The Expert Advisor trades inside a channel, reversing positions at the channel borders.

ToClearChartObjectsByType ToClearChartObjectsByType

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