Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Four clicks to draw an arc-shaped channel - indicator for MetaTrader 5

Views:
13811
Rating:
(55)
Published:
2018.10.13 14:58
Updated:
2020.02.25 18:25
Arc.mq5 (23.49 KB) view
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 (dlvl) ATR adaptive smooth Laguerre RSI (dlvl)

ATR adaptive smooth Laguerre RSI with dynamic levels

ATR adaptive smooth Laguerre RSI ATR adaptive smooth Laguerre RSI

ATR adaptive smooth Laguerre RSI

True Strength Index True Strength Index

True Strength Index (as originaly described by William Blau)

True Strength Index trade True Strength Index trade

True Strength Index trade