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

2011.12.28 09:41

Val_Bands - indicator for MetaTrader 5

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

Published by:
Nikolay Kositsin
votes: 12
val_bands.mq5 (10.65 KB)view

Real author:


Candlesticks length volatility indicator:

  • Histogram - candlestick length in points;
  • Lines: averages from the candlesticks length with standard deviation;
  • Settings are analogous to the Bollinger Channel.


It is useful for tracking gaps on the market. The gap contains everything that is above the yellow line (histogram yellow bar) - crossing the upper border.

  1. TP (towards a position);
  2. SL (against a position);
  3. entry prohibition at this point;
  • crossing the lower border (histogram gray bar) - flat
  • crossing the lower border upwards (histogram red bar) - beginning of a trend.

This indicator was first implemented in MQL4 and published in Code Base at 19.08.2010.


Translated from Russian by MetaQuotes Software Corp.
Original code:

IncMFIOnArray IncMFIOnArray

CMFIOnArray class is designed for calculation of MFI (Money Flow Index) values on indicator buffer. The example of use of the class is presented.

IncRSIOnArray IncRSIOnArray

CRSIOnArray class is designed for calculation of RSI (Relative Strength Index, RSI) values on indicator buffers. The example of use of the class is presented.

StochasticExpansion StochasticExpansion

Good old stochastic oscillator. The difference from the standard one is that it shows overbought and oversold areas in a more visually convenient fashion.

ZigZag based on VininI_FractalsTrend ZigZag based on VininI_FractalsTrend

ZigZag based on fractals. Due to the use of Fractals indicator, it works much faster than conventional ZigZag indicator.