Quantcast
Channel: Traderji.com
Viewing all articles
Browse latest Browse all 10287

ADX Trend Angle

$
0
0
Hi All

Below is a concept of an ADX Trend Angle , I found on the net.

Can I have the plot and exploration of this indicator?:confused:

Code:

    Range                                = Param("Periods (ADX Trend):", 14, 1, 34, 1);
    TrendAngle  = 100* atan( (Zig(ADX(Range), 1) - Ref(Zig(ADX(Range), 1), -1 ) ) / 5 );
if(LastValue(TrendAngle) > 15){
    ADXBuy      = IIf(ADX(Range) > Ref(ADX(Range), -1) AND PDI(Range) > MDI(Range), 1, 0);
    ADXSell = IIf(ADX(Range) > Ref(ADX(Range), -1) AND PDI(Range) < MDI(Range), 1, 0);
      //Value = IIf(ADXBuy, TrendAngle, IIf(ADXSell, -1* TrendAngle, 0));}
    Value = IIf(ADXBuy, ADX(Range), IIf(ADXSell, -1* ADX(Range), 0));}


Viewing all articles
Browse latest Browse all 10287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>