Here is a variation of my favorite indicator.
code based on Gabri ADX:
- the regular ADX (smoothed)
- A non smoothed ADX (ie almost no lag): the idea is to use it as a cycle oscillator to confirm the strength of the trend when the regular ADX and the non smoothed ADX goes the same way (ie cycle convergence).
- The non smoothed ADX is faster than the regular ADX : it will show each change in the strength way before the regular ADX.
- OB and OS level of the non smoothed ADX can also be useful…
//computation of Directional Movement indicators
if up>dw and up>=0 then
if dw>up and dw>=0 then
//computation of TR
//computation of DI
//computation of smoothed ADX & non smoothed ADX
//return of data
return mioadxn as "ADX Normal",20 as "20",mioADXnonSmoothed as "ADX Fast",0 as "Zero reversal",50 as "50 Reversal"
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.ProRealTime ITF files and other attachments :