Download MetaTrader 5

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: 12
2015.05.21 15:14
2016.11.22 07:32
breaktrend.mq5 (6.62 KB)view

Real author:

Ramil Minniakhmetov

The grid strategy is very popular, but has its own downsides. One of the main downsides is that using indicators you can enter the market in a wrong direction in the beginning of a strong trend and lose your deposit.

The BreakTrend indicator solves this problem. It generates signals when the strong movement has already happened, and the turnover or pullback is possible. It measures the number of points the price passed for the specified number of bars.

Settings are different for each currency pair and timeframe.

Originally this indicator has been written in MQL4 and was first published in the Code Base on 28.04.2014.

Fig.1. The BreakTrend indicator

Fig.1. The BreakTrend indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:


The SFX_TOR indicator with the timeframe selection option available in the input parameters.


Trend indicator based on Average True Range and Standard Deviation.

Begin_Trend_v01 Begin_Trend_v01

Simple trend indicator based on three Moving Averages.

Begin_Trend_v02 Begin_Trend_v02

Normalized version of the Begin_Trend_v01 indicator.