LBR_Paint_Bars – indicator MetaTrader 5

LBR Paint Bars indicator draws color candles depending on a trend direction. The trend is defined by the location of two volatility lines. A color cloud histogram is displayed along these two lines.

It has four inputs:

  • Factor – ATR share in the cloud width calculation
  • ATR period – ATR calculation period
  • HL period – cloud borders calculation period
  • Color Candles – display color candles (Yes/No)

Calculation:

Edge1 = Min(Lowest(Low, HL period) + Delta; Edge2 = Max(Highest(High, HL period) - Delta;

where:

Delta = ATR(ATR period) * Factor



https://www.mql5.com/ru/code/22200

πŸ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks