Join our fan page
Four clicks to draw an arc-shaped channel - indicator for MetaTrader 5
- Views:
- 14089
- Rating:
- Published:
- 2018.10.13 14:58
- Updated:
- 2020.02.25 18:25
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
This implementation was done more as a training material and an attempt to inspire developers of MetaTrader 5 to add such a tool to the set of standard MetaTrader 5 objects. It is not implemented in the form of a class, saving and passing parameters when changing the timeframe, no multichannel and smoothness implemented, continuation of the channel to the right of the last bar. A quality version can be done if this idea is in demand.
The arc is drawn according to the formula:
Price = a+b*n+c*n²
where a, b, c are the coefficients, and n is the bar number.
In fact, it is a polynomial of degree 2. Three points are sufficient to calculate the coefficients a, b, c.
ATR adaptive smooth Laguerre RSI with dynamic levels
ATR adaptive smooth Laguerre RSIATR adaptive smooth Laguerre RSI
True Strength Index (as originaly described by William Blau)
True Strength Index tradeTrue Strength Index trade