NexusFi: Find Your Edge


Home Menu

 





Help with ADXVMA Optimization


Discussion in NinjaTrader

Updated
    1. trending_up 3,119 views
    2. thumb_up 1 thanks given
    3. group 0 followers
    1. forum 3 posts
    2. attach_file 2 attachments




 
Search this Thread

Help with ADXVMA Optimization

  #1 (permalink)
 
hunter548's Avatar
 hunter548 
western ny
 
Experience: Intermediate
Platform: ninjatrader
Broker: Amp Futures/CQG
Trading: 6E, ES
Posts: 102 since Nov 2009
Thanks Given: 197
Thanks Received: 93

I've spent several hours on this and can't quite get it to do what I want. I'm having difficulty determining how the neutral bars are defined so I can wait until they stop to draw arrows. Would someone please add the following filters to the attached indicator or point me to something similar where I can plagerize:

1. Arrows only occur after neutral color bars end.
2. Arrows only occur after at least 4 neutral color bars have occurred.

Basically, get rid of the white circled arrows in the example. Applies only to ConservativeMode true as neutral color bars don't occur when ConservativeMode is false.

Thanks for the help.

Attached Thumbnails
Click image for larger version

Name:	ADXVMA.JPG
Views:	252
Size:	29.9 KB
ID:	42115  
Attached Files
Elite Membership required to download: _ADXVMA_v01_6.cs
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
How to apply profiles
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
36 thanks
Spoo-nalysis ES e-mini futures S&P 500
24 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
19 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,215
Thanks Received: 101,599



hunter548 View Post
1. Arrows only occur after neutral color bars end.
2. Arrows only occur after at least 4 neutral color bars have occurred.

I don't program in NinjaTrader or even have it installed anymore, but I'll try to help - this is all from memory, so it may be very wrong.

1. You need to do a test for a neutral bar. Something like

 
Code
// only draw arrow if prior bar was a neutral bar

if (Neutral[1] == Main[1] and Neutral[0] != Main[0])
{
  if (Rising(Main)) DrawUpArrow();
  if (Falling(Main)) DrawDnArrow();
}
Anyway, if someone doesn't help you should try reposting here:



Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 
hunter548's Avatar
 hunter548 
western ny
 
Experience: Intermediate
Platform: ninjatrader
Broker: Amp Futures/CQG
Trading: 6E, ES
Posts: 102 since Nov 2009
Thanks Given: 197
Thanks Received: 93

Thanks for your feedback. I was finally able to figure out what parameters to change to get what I wanted.

Started this thread Reply With Quote




Last Updated on July 31, 2011


© 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