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

2014.04.15 16:43

NxBreakout - indicator for MetaTrader 5

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

votes: 23
nxbreakout.mq5 (7.87 KB)view

Real author:

Bill Sica

The indicator draws support and resistance lines, which are defined by the maximum and minimum for the last N bars.

Indicator input parameters:

//| Indicator input parameters                   |
input ENUM_TIMEFRAMES TimeFrame=PERIOD_D1; // Chart period
input uint  StartBar=1;                    // Start bar for analysis
input uint  HowManyBars=5;                 // Number of bars for analysis
input color  Color_R=clrMediumSeaGreen;    // Color of resistance level
input STYLE  Style_R=SOLID_;               // Line style of the resistance level
input Width  Width_R=Width_2;              // Line width of the resistance level
input color  Color_S=clrRed;               // Color of the support level
input STYLE  Style_S=SOLID_;               // Line style of the support level
input Width  Width_S=Width_2;              // Line width of the support level

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

Figure 1. The NxBreakout indicator

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.

Yen Trader Yen Trader

Expert Advisor to trade Yen Crosses based on Major Pairs and USDJPY divergence/convergence.

Example of MACD Automated Example of MACD Automated

Code example of MACD automated with advanced money management function.