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

2016.02.08 12:00

TradeBreakOut - indicator for MetaTrader 4

| English Español Português Русский Deutsch 日本語

votes: 13

Real author:

Andriy Moraru


The TradeBreakOut indicator reveals distance from the actual price (Close or Maximum/Minimum prices) up to the breakthrough of recently set support or resistance levels which were defined using local maximums and minimums.

Input Parameters:

  • L (default = 50) — indicator period. The higher the value is the less breakouts are signaled but the better their quality.
  • PriceType (default = 1) — the type of the price used in the calculation. Theoretically, the closing price is more suitable for daily/weekly periods. High/Low is more suitable for short-term periods. (0 — Close Price, 1 — High/Low).



  • The above chart shows the TradeBreakOut indicator using the default values. When the green line reaches the zero point moving upwards, it speaks of the bullish breakthrough of the local maximum. When the red line reaches the zero point moving downwards, it signals about the bearish breakthrough of the local minimum. The more the distance from the zero level to the zero, the less the possibility of the breakthrough.

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

TypeToBytes TypeToBytes

Byte-wise operation with structures and standard data types.

PriceLines PriceLines

Script for drawing a price markup.