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

2015.07.03 11:10

WRB - indicator for MetaTrader 5

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

votes: 16


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:

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.

TP-SL_Removing TP-SL_Removing

Immediately deletes the SL/TP of all positions.

Closed_TOTAL Closed_TOTAL

Total closure of all positions (winners/losers). You can also select which are of a single instrument.