Unisciti alla nostra fan page
- Visualizzazioni:
- 8993
- Valutazioni:
- Pubblicato:
- 2018.12.25 12:18
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
Theory :
Average True Range (ATR) is widely used indicator in many occasions. It is calculated as SMA (Simple Moving Average) of true range (which is calculated as the greatest of the following: current high less the current low, the absolute value of the current high less the previous close and the absolute value of the current low less the previous close).
This version is adding a "twist" to it : it is using Perry Kaufman's Efficiency Ratio to calculate adaptive true range
Usage :
It can be used the same way as the usual ATR is used

This is a utility for beginning indicator programmers, or others, that want to have a look at values provided by OnCalculate and a few other functions. The indicator shows: 1) The most recent value provided with the most recent OnCalculate call. 2) The previous value from the previous OnCalculate call. 3) The first value from the first time onCalculate executed.

EMA to SMA MACD - on chart