NexusFi: Find Your Edge


Home Menu

 





ADXVMA Questions


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 12 posts (54 thanks)
    2. looks_two Big Mike with 8 posts (12 thanks)
    3. looks_3 syxforex with 7 posts (1 thanks)
    4. looks_4 Peter with 6 posts (7 thanks)
      Best Posters
    1. looks_one Fat Tails with 4.5 thanks per post
    2. looks_two RJay with 2.5 thanks per post
    3. looks_3 Big Mike with 1.5 thanks per post
    4. looks_4 Peter with 1.2 thanks per post
    1. trending_up 29,384 views
    2. thumb_up 88 thanks given
    3. group 16 followers
    1. forum 52 posts
    2. attach_file 12 attachments




 
Search this Thread

ADXVMA Questions

  #1 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

There are still some questions arround the ADXVMA included in .zip-files of new indicator-versions.
Here are to postings about this from the ninja-forum :

ADXVMA strategy problem? - [AUTOLINK]NinjaTrader[/AUTOLINK] Support Forum

Indicator output is different when invoked by strategy - [AUTOLINK]NinjaTrader[/AUTOLINK] Support Forum

discuss here wich version makes more sense / makes troubles for some reasons.

max-td

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Are there any eval firms that allow you to sink to your …
Traders Hideout
Futures True Range Report
The Elite Circle
Deepmoney LLM
Elite Quantitative GenAI/LLM
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
  #2 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

ok folks,
here is a fixed ADXVMA in the way it is written in the postings from ninja-forum - see above.
make tests and if its the "good" one -- please also change it in your further DMA.zips etc.
max-td

**file deleted for a while **

>> up again -- at your own risk -- should work ok! <<
Please report if not !!

Attached Files
Elite Membership required to download: ADXVMA_fixed.zip
Started this thread Reply With Quote
Thanked by:
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


Still have a dirty bottom line with DoubleMA(14,ZeroLagEMA,1,ADXVMA), so I don't know if the problem is from ADXVMA or something else, somewhere...

Follow me on Twitter Reply With Quote
  #4 (permalink)
 
RJay's Avatar
 RJay 
Hartford, CT. USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
Posts: 682 since Jun 2009
Thanks Given: 757
Thanks Received: 787

I was looking at ADXVMA this morning and I noticed it is a slow starter becouse it is initially defined as Zero.

Could the following change be made to correct this...

protectedoverridevoid OnBarUpdate()
{
if( CurrentBar < 2 )
{

WeightDX = ADXPeriod;
WeightDM = ADXPeriod;
WeightDI = ADXPeriod;
ChandeEMA = ADXPeriod;


// ADXVMAPlot.Set( 0 );
ADXVMAPlot.Set( Close[0] );



PDM.Set( 0 );
MDM.Set(
0 );
PDI.Set(
0 );
MDI.Set(
0 );
Out.Set(
0 );
return;


Initially defining ADXVMAPlot.Set as Close[0] will minimize this problem.

Unless someone else has a better idea.

See attached.

RJay

Attached Thumbnails
Click image for larger version

Name:	Before.jpg
Views:	581
Size:	144.9 KB
ID:	344   Click image for larger version

Name:	After.jpg
Views:	638
Size:	155.0 KB
ID:	345  
Reply With Quote
Thanked by:
  #5 (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,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537

Good idea RJay.

I adjusted my code on my side.

Also, I think the ADXVMA=1 issue can still be solved (when inside DMA) by setting COBC to false, instead of leaving it unstated. I do not know the reasons as to why, but that is the difference between the "old" ADXVMA and the "new" one.

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:
  #6 (permalink)
 
ntsst3's Avatar
 ntsst3 
Pittsburgh
 
Experience: Intermediate
Platform: Ninja Trader
Broker: Zen-Fire
Trading: ES
Posts: 85 since Jun 2009
Thanks Given: 16
Thanks Received: 19

where can i find the most up to date one guys?

Follow me on Twitter Reply With Quote
  #7 (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,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


ntsst3 View Post
where can i find the most up to date one guys?

Here you are.

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
Attached Files
Elite Membership required to download: ADXVMA.cs
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #8 (permalink)
 
Peter's Avatar
 Peter 
Brisbane; Australia
 
Experience: Intermediate
Platform: NT
Broker: IB/TDA needing new broker
Trading: Futures, Forex, Stocks
Posts: 97 since Jun 2009
Thanks Given: 91
Thanks Received: 118

Hey Mike, I just tried again as this one has the rev. info in it.

I don't know why but it still gives problems when in my DMAPaint at ADXVMA1. No flatline at top but one long ADXVMA line through middle.
I hope it is just for me.

But in case anyone else has that problem, the one I use at the moment is the one from inside JMAPaint. Just import the zip and only accept ADXVMA.

Reply With Quote
  #9 (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,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


Peter View Post
Hey Mike, I just tried again as this one has the rev. info in it.

I don't know why but it still gives problems when in my DMAPaint at ADXVMA1. No flatline at top but one long ADXVMA line through middle.
I hope it is just for me.

But in case anyone else has that problem, the one I use at the moment is the one from inside JMAPaint. Just import the zip and only accept ADXVMA.

Sorry, I can't reproduce that. Please check the two ADXVMA files and let me know if you find any differences. I would study the COBC area first.

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
  #10 (permalink)
 
Peter's Avatar
 Peter 
Brisbane; Australia
 
Experience: Intermediate
Platform: NT
Broker: IB/TDA needing new broker
Trading: Futures, Forex, Stocks
Posts: 97 since Jun 2009
Thanks Given: 91
Thanks Received: 118


The COBC is different but that is not the problem. As mentioned before my good ADXVMA gets problematic by just opening the indicator editor and then compiling (without any changes).


I just compared your ADXVMA with my good ADXVMA. Next to the COBC and version stuff I found a difference in the NT generated code.
It is the same difference that I also find (as only difference) after opening and closing my good ADXVMA that turns bad after opening&recompiling.

To be sure I replicated it again as follows:
I loaded again the good ADXVMA via ZIP from JPaint (and copied it to my desktop... it is the version in right top in the pic) and I checked that it worked with ADXVMA at 1 in the DMA.
I then opened this working ADXVMA indicator with the editor and closed without editing .... again I got a flatlline. I then opened this recompiled ADCVMA file in DiffDoc (left top of panel)

DiffDoc found a difference in the NT generated code. It is the only difference it found.

To me it looks again that NT itself is the culprit.

Attached Thumbnails
Click image for larger version

Name:	ADXVMA wrong left .... good right.png
Views:	390
Size:	70.8 KB
ID:	474  
Reply With Quote
Thanked by:




Last Updated on October 2, 2013


© 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