# ADX Trend Angle

 Discuss ADX Trend Angle at the AmiBroker within the Traderji.com; Hi All Below is a concept of an ADX Trend Angle , I found on ...

 User Name Remember Me? Password
 Register FAQ Calendar Search Today's Posts Mark Forums Read

#1
20th March 2014, 11:44 AM
 Member Join Date: Jul 2010 Posts: 8,799 Thanks: 17,953 Thanked 24,048 Times in 7,371 Posts

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?

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){
ADXSell = IIf(ADX(Range) > Ref(ADX(Range), -1) AND PDI(Range) < MDI(Range), 1, 0);
 Sorry your browser does not support IFRAME
 The Following User Says Thank You to amitrandive For This Useful Post: DSM (20th March 2014)

## Looking for a share broker?

#2
20th March 2014, 12:37 PM
 Member Join Date: Jan 2013 Posts: 4,325 Thanks: 8,267 Thanked 12,791 Times in 3,443 Posts
Re: ADX Trend Angle

Amit,

ADX is a tool like all indicators will work in a trending market. Have tried various combinations of it, but realized the trades will have many more failures than successes - as the sideways trend is around 70%. Finally gave up on it, as also MACD, Stochastics. Having said that, some traders may be using it profitably. My 2C.

Quote:
 Originally Posted by amitrandive 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? 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));}```
 The Following 2 Users Say Thank You to DSM For This Useful Post: amitrandive (20th March 2014), manishchan (20th March 2014)
#3
20th March 2014, 12:40 PM
 Member Join Date: Sep 2008 Location: surat Posts: 13 Thanks: 0 Thanked 3 Times in 3 Posts
Re: ADX Trend Angle

This is not working
 The Following User Says Thank You to rajeshlara For This Useful Post: amitrandive (20th March 2014)
#4
20th March 2014, 12:54 PM
 Member Join Date: Jul 2010 Posts: 8,799 Thanks: 17,953 Thanked 24,048 Times in 7,371 Posts
Re: ADX Trend Angle

Quote:
 Originally Posted by DSM Amit, ADX is a tool like all indicators will work in a trending market. Have tried various combinations of it, but realized the trades will have many more failures than successes - as the sideways trend is around 70%. Finally gave up on it, as also MACD, Stochastics. Having said that, some traders may be using it profitably. My 2C.
DSM

Thanks for your views !!!
This is just something I would to try on a higher time frame.

Last edited by amitrandive; 20th March 2014 at 01:00 PM.
#5
20th March 2014, 12:55 PM
 Member Join Date: Jul 2010 Posts: 8,799 Thanks: 17,953 Thanked 24,048 Times in 7,371 Posts
Re: ADX Trend Angle

Quote:
 Originally Posted by rajeshlara This is not working
This is not working , that is the reason I have posted this on the forum for help.
#6
20th March 2014, 01:27 PM
 Member Join Date: Sep 2008 Posts: 1,294 Thanks: 948 Thanked 717 Times in 481 Posts
Re: ADX Trend Angle

http://www.amibroker.com/library/detail.php?id=1213
 The Following User Says Thank You to umeshmandal For This Useful Post: amitrandive (20th March 2014)
#7
20th March 2014, 01:32 PM
 Member Join Date: Jul 2010 Posts: 8,799 Thanks: 17,953 Thanked 24,048 Times in 7,371 Posts
Re: ADX Trend Angle

Quote:
 Originally Posted by umeshmandal Amibroker AFL library : This page has soemthing about ADX Trend angle : http://www.amibroker.com/library/detail.php?id=1213
umeshmandal

Thanks , My source for this concept is the same.
I just want the isolated indicator with an exploration.
 The Following User Says Thank You to amitrandive For This Useful Post: umeshmandal (20th March 2014)
#8
20th March 2014, 01:53 PM
 Member Join Date: Feb 2009 Location: Nasik Posts: 669 Thanks: 307 Thanked 1,758 Times in 499 Posts
Re: ADX Trend Angle

amit try this and tell me if it's ok or not.

Range = Param("Periods (ADX Trend):", 14, 1, 34, 1);
TrendAngle = 100* atan( (Zig(ADX(Range), 1) - Ref(Zig(ADX(Range), 1), -1 ) ) / 5 );

ADXBuy = IIf(TrendAngle > 15 AND ADX(Range) > Ref(ADX(Range), -1) AND PDI(Range) > MDI(Range), 1, 0);
ADXSell = IIf(TrendAngle > 15 AND ADX(Range) > Ref(ADX(Range), -1) AND PDI(Range) < MDI(Range), 1, 0);
Plot(Value,"V",colorBlack);
 The Following 2 Users Say Thank You to extremist For This Useful Post: amitrandive (20th March 2014), pankajpari (21st March 2014)
#9
20th March 2014, 01:54 PM
 Member Join Date: Feb 2009 Location: Nasik Posts: 669 Thanks: 307 Thanked 1,758 Times in 499 Posts
Re: ADX Trend Angle

there is no need of tht if thing.
removed it and added it to the condition of buy and sell
 The Following User Says Thank You to extremist For This Useful Post: amitrandive (20th March 2014)
#10
20th March 2014, 08:56 PM
 Member Join Date: Jul 2010 Posts: 8,799 Thanks: 17,953 Thanked 24,048 Times in 7,371 Posts
Re: ADX Trend Angle

Quote:
extremist

Thank You Very Much

 Bookmarks

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are Off Pingbacks are Off Refbacks are Off Forum Rules

 Similar Threads for: ADX Trend Angle Thread Thread Starter Forum Replies Last Post kingisking Commodities 1 18th May 2017 12:11 AM sinagam Brokers & Trading Platforms 12 22nd September 2011 08:12 PM Jose Mary AmiBroker 1 26th January 2011 09:24 PM THE LORD AmiBroker 6 18th January 2010 10:03 PM katakam.nagaraju F-Chart 1 30th June 2009 01:24 PM

All times are GMT +5.5. The time now is 09:21 AM.

Indemnity, Disclaimer & Disclosure Notice:
* By visiting Traderji.com you automatically indicate that you agree to our Forum Rules, Indemnity, Disclaimer & Disclosure Notice and General Content Disclaimer Notice and indemnify Traderji.com, its associates and related parties of all claims howsoever resulting from the usage of the forum/site.