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

2010.04.12 11:18

iBBFill - indicator for MetaTrader 5

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

votes: 21
ibbfill2.mq5 (5.37 KB)view


The indicator plots the Bollinger Bands ®, filled with different colors depending on the trend direction.

If the price crosses the upper bound (upward trend), the Bollinger Bands fills with blue color, if it crosses the lower bound (downward trend), the Bands filled with pink color.

If the price crosses the middle line, it's considered as a flat, and the Bands filled with grey color.


iBBFill (Filled Bollinger Bands) indicator

Input parameters:

  • BBPeriod - Bollinger Bands period;
  • BBDeviation - Bollinger Bands width (in deviations);
  • BBPrice - Bollinger Bands applied price.

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.