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: 24
2014.04.15 16:45
2016.11.22 07:32
nxbars.mq5 (6.96 KB)view

Real author:


A semaphore signal indicator with a prediction. The newest signal appears on the bar distanced from the current bar. The distance is defined by an input parameter

input uint  HowManyBars=5; // number of bars for analysis

Figure 1. The NxBars indicator

Figure 1. The NxBars indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

NxBreakout NxBreakout

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

The Moving Average Class The Moving Average Class

Uses the idea of ​​the classical moving average smoothing. The class can be used when you want to smooth out any array of type double without using the standard indicator.


The indicator displays the pivot level, support and resistance levels.

Doji_Arrows Doji_Arrows

The indicator finds Doji candlesticks and highlights them on a chart using colored arrows.