NexusFi: Find Your Edge


Home Menu

 





How to read ADX correctly for CHOP


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one perryg with 10 posts (19 thanks)
    2. looks_two Affliction with 5 posts (0 thanks)
    3. looks_3 max-td with 1 posts (0 thanks)
    4. looks_4 eDanny with 1 posts (9 thanks)
    1. trending_up 13,214 views
    2. thumb_up 28 thanks given
    3. group 7 followers
    1. forum 22 posts
    2. attach_file 4 attachments




 
Search this Thread

How to read ADX correctly for CHOP

  #1 (permalink)
 
perryg's Avatar
 perryg 
Rechovot
 
Experience: Advanced
Platform: NinjaTrader
Broker: CQG
Trading: Index,Currency and Energy futures
Posts: 1,644 since Jan 2010
Thanks Given: 508
Thanks Received: 6,288

Normally people us the ADX for trading and put a Threshold number of 20 or 25, so that if you are BELOW this number you do not take the trade.

The correct way to use the ADX indicator is NOT to trend trade when the ADX is BELOW BOTH the +DI and the -DI lines. See attached chart. This has nothing to do with a Threshlod number of 20 or 25 or 15. It is solely based on the +DI and -DI lines.

I would like someone to add the attached NT indicator DM, the possibility of putting a little box up on the chart when the ADX is BELOW BOTH the -DI and +DI. The box should be coloured RED with "NO TRADE" and GREEN with "TRADE".

Attached Thumbnails
Click image for larger version

Name:	ADX - Chop.png
Views:	912
Size:	111.1 KB
ID:	11199  
Attached Files
Elite Membership required to download: @DM.cs
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Deepmoney LLM
Elite Quantitative GenAI/LLM
Are there any eval firms that allow you to sink to your …
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
GFIs1 1 DAX trade per day journal
18 thanks
The Program
18 thanks
  #3 (permalink)
 Affliction 
Springfield, MO
 
Experience: None
Platform: SC
Trading: ES
Posts: 107 since Mar 2010
Thanks Given: 2,373
Thanks Received: 45


perryg:

I have downloaded the .cs file and compiled. No box is showing? Is that a seperate indicator?

Reply With Quote
  #4 (permalink)
 
perryg's Avatar
 perryg 
Rechovot
 
Experience: Advanced
Platform: NinjaTrader
Broker: CQG
Trading: Index,Currency and Energy futures
Posts: 1,644 since Jan 2010
Thanks Given: 508
Thanks Received: 6,288

There is no box. I would like someone to program the box in this indicator, and put in in the panel of the indicator or on the chart.

Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 Affliction 
Springfield, MO
 
Experience: None
Platform: SC
Trading: ES
Posts: 107 since Mar 2010
Thanks Given: 2,373
Thanks Received: 45

Duh! My Fault!

Reply With Quote
  #6 (permalink)
 
eDanny's Avatar
 eDanny 
East Rochester, NY
 
Experience: Intermediate
Platform: NT
Posts: 329 since Jul 2009
Thanks Given: 18
Thanks Received: 425

Here ya go Perry.

Attached Files
Elite Membership required to download: DMplus.zip
Reply With Quote
  #7 (permalink)
 
perryg's Avatar
 perryg 
Rechovot
 
Experience: Advanced
Platform: NinjaTrader
Broker: CQG
Trading: Index,Currency and Energy futures
Posts: 1,644 since Jan 2010
Thanks Given: 508
Thanks Received: 6,288

Hello eDanny,

Thanks for your hard work. I have tested it as it seems to work just fine. Its just what the doctor ordered.

Started this thread Reply With Quote
  #8 (permalink)
 Affliction 
Springfield, MO
 
Experience: None
Platform: SC
Trading: ES
Posts: 107 since Mar 2010
Thanks Given: 2,373
Thanks Received: 45

The following original code is complements of eDanny - Great Work!

I can't leave well enough alone - hugh fault of mine. No, I have no idea what I am doing, just trying some very simple logic after looking at the original code.

Could someone tell me if the following code change is correct (see code below)? I am attempting to write "Chop" when the ADX is below both DI+&- or if the ADX is above both the DI+&- to write End Trend (yes, I understand that this should be used for a heads-up, not always literal). Finally, if neither of those conditions are true, then write "Trade".

if(Value[0] < DiPlus[0] && Value[0] < DiMinus[0])
DrawTextFixed(
"ADX", "CHOP!", TextPosition.TopLeft, Color.White, new Font("Ariel",12), Color.Black, Color.Red, 15);
else
DrawTextFixed("ADX", "Trade!", TextPosition.TopLeft, Color.White, new Font("Ariel",12), Color.Black, Color.Green, 15);

if(Value[0] > DiPlus[0] && Value[0] > DiMinus[0])
DrawTextFixed(
"ADX", "End Trend!", TextPosition.TopLeft, Color.White, new Font("Ariel",12), Color.Black, Color.Yellow, 15);

else
DrawTextFixed("ADX", "Trade!", TextPosition.TopLeft, Color.White, new Font("Ariel",12), Color.Black, Color.Green, 15);

Forgive me if this is the wrong place to post this!

Again, great work eDanny and perryg

Thanks!

Reply With Quote
  #9 (permalink)
 
perryg's Avatar
 perryg 
Rechovot
 
Experience: Advanced
Platform: NinjaTrader
Broker: CQG
Trading: Index,Currency and Energy futures
Posts: 1,644 since Jan 2010
Thanks Given: 508
Thanks Received: 6,288

YOu have the right idea. I tried myself to do this exact thing that you are trying. i.e. to add to the indicator the "possible End of Trend, or Topping" as per my explanations. I wrote the same code but it did not work for me. We again need the help of a professional coder.

Good thinking !!

Started this thread Reply With Quote
  #10 (permalink)
 
perryg's Avatar
 perryg 
Rechovot
 
Experience: Advanced
Platform: NinjaTrader
Broker: CQG
Trading: Index,Currency and Energy futures
Posts: 1,644 since Jan 2010
Thanks Given: 508
Thanks Received: 6,288


Affliction,

Here is the corrected version which will show also "End Trend". I just could not let it go once I saw your post.

One warning, the "End Trend", is a WARNING of a possible TURN in the Trend. Watch the ADX line TURN DOWN. This is the final warning when this happens.

Attached Files
Elite Membership required to download: DMplus.zip
Started this thread Reply With Quote




Last Updated on August 5, 2010


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts