Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 5770
- Rating:
- Published:
- 2018.10.25 18:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
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
If color candles display is enabled (Color Candles = Yes):
- if the bullish candle is closed above the cloud, a green candle is displayed
- if the bearish candle is closed above the cloud, a light-green candle is displayed
- if the bearish candle is closed below the cloud, a red candle is displayed
- if the bullish candle is closed below the cloud, an orange candle is displayed
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22200
![Rahul_Mohindar_Osc](https://c.mql5.com/i/code/indicator.png)
Rahul Mohindar oscillator
![Standard_Deviation_Moving_Average_Ratio](https://c.mql5.com/i/code/indicator.png)
Standard Deviations/Moving Average Ratio indicator
![Hurst_Oscillator](https://c.mql5.com/i/code/indicator.png)
Hurst oscillator indicator
![XHullTrend_Digit_System](https://c.mql5.com/i/code/indicator.png)
The indicator implements a breakout system using the XHullTrend_Digit indicator cloud