ADXVMA Questions - futures io
futures io



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 24,488 views
    2. thumb_up 88 thanks given
    3. group 16 followers
    1. forum 52 posts
    2. attach_file 12 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

ADXVMA Questions

(login for full post details)
  #1 (permalink)
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 925 received

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? - NinjaTrader Support Forum

Indicator output is different when invoked by strategy - NinjaTrader 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 futures io?
East West Petroleum Corp - EW (Canada) – EWPMF (USA) …
Stocks and ETFs
convert sierra chart graph to Ninja traders 8
NinjaTrader
TradingView like VOLUME indi for Ninja8 ?!?!
NinjaTrader
Paid coding for NT7 to NT8 Custom Plot() conversion
NinjaTrader
AddPlotNames2a support thread
NinjaTrader
 
 
(login for full post details)
  #2 (permalink)
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 925 received

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
Register to download File Type: zip ADXVMA_fixed.zip (7.2 KB, 213 views)
Started this thread Reply With Quote
The following 2 users say Thank You to max-td for this post:
 
(login for full post details)
  #3 (permalink)
 sam028 
Site Moderator
 
 
sam028's Avatar
 
Posts: 3,710 since Jun 2009
Thanks: 3,806 given, 4,565 received


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
 
(login for full post details)
  #4 (permalink)
 RJay 
Hartford, CT. USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
 
RJay's Avatar
 
Posts: 688 since Jun 2009
Thanks: 750 given, 785 received

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:	549
Size:	144.9 KB
ID:	344   Click image for larger version

Name:	After.jpg
Views:	605
Size:	155.0 KB
ID:	345  
Reply With Quote
The following 2 users say Thank You to RJay for this post:
 
(login for full post details)
  #5 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 50,183 since Jun 2009
Thanks: 32,682 given, 99,670 received

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

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to Big Mike for this post:
 
(login for full post details)
  #6 (permalink)
 ntsst3 
Pittsburgh
 
Experience: Intermediate
Platform: Ninja Trader
Broker: Zen-Fire
Trading: ES
 
ntsst3's Avatar
 
Posts: 85 since Jun 2009
Thanks: 16 given, 19 received

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

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #7 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 50,183 since Jun 2009
Thanks: 32,682 given, 99,670 received


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

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Attached Files
Register to download File Type: cs ADXVMA.cs (8.5 KB, 99 views)
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to Big Mike for this post:
 
(login for full post details)
  #8 (permalink)
 Peter 
Brisbane; Australia
 
Experience: Intermediate
Platform: NT
Broker: IB/TDA needing new broker
Trading: Futures, Forex, Stocks
 
Peter's Avatar
 
Posts: 97 since Jun 2009
Thanks: 91 given, 117 received

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
 
(login for full post details)
  #9 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 50,183 since Jun 2009
Thanks: 32,682 given, 99,670 received


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

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #10 (permalink)
 Peter 
Brisbane; Australia
 
Experience: Intermediate
Platform: NT
Broker: IB/TDA needing new broker
Trading: Futures, Forex, Stocks
 
Peter's Avatar
 
Posts: 97 since Jun 2009
Thanks: 91 given, 117 received


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:	358
Size:	70.8 KB
ID:	474  
Reply With Quote
The following 2 users say Thank You to Peter for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > ADXVMA Questions


Last Updated on October 2, 2013


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2022 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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.
no new posts