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: 18
2015.07.03 11:10
2016.11.22 07:32

The indicator determines and marks WRB (Wide Range Bars or Wide Range Bodies). Because WRBs are not useful themselves, the indicator also determines hidden gaps based on these bars. It shows filled and unfilled hidden gaps differently, so you can quickly get the current situation. You can also turn on notifications about price entering the unfilled gap area.

Input parameters:

  • UseWholeBars (by default = false) — if true, the indicator searches for Wide Range Bars instead of Wide Range Bodies.
  • WRB_LookBackBarCount (by default = 3) — how many bars to compare to determine WRB. The higher this number, the rarer and more significant WRBs will be.
  • WRB_WingDingsSymbol (by default = 115) — text symbol code to designate WRBs. By default, a small rhombus is used.
  • HGcolor1 (by default = clrDodgerBlue) — first (and default) hidden gap rectangles color.
  • HGcolor2 (by default = clrBlue) — second color for hidden gap rectangles.
  • HGstyle (by default = STYLE_SOLID) — line style for drawing hidden gap rectangles.
  • StartCalculationFromBar (by default = 100) — number of bars in chart history to analyze to mark WRBs and hidden gaps.
  • HollowBoxes (by default = false) — if true, the hidden gap rectangles will be without filling.
  • DoAlerts (by default = false) — true turns on notifications about price entering a hidden gap area.

Translated from Russian by MetaQuotes Software Corp.
Original code:


The ColorZeroLAG_MA indicator with the timeframe selection option available in the input parameters.

ColorZeroLAG_MA ColorZeroLAG_MA

The ZeroLAG MA indicator is a Moving Average with zero lag.

ColorZerolagRVI ColorZerolagRVI

This RVI oscillator analogue is calculated based on four Relative Vigor Index indicators.

Dots Dots

The indicator shows current trend direction by placing colored dots on the main chart.