ADXVMA Questions - NinjaTrader Programming | futures io social day trading
futures io futures trading


ADXVMA Questions
Updated: Views / Replies:16,352 / 52
Created: by max-td Attachments:12

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 12  
 
Thread Tools Search this Thread
 

ADXVMA Questions

  #1 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received

ADXVMA Questions

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

Reply With Quote
 
  #2 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 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, 209 views)

Last edited by max-td; June 12th, 2009 at 03:44 PM.
Reply With Quote
The following 2 users say Thank You to max-td for this post:
 
  #3 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,573 given, 3,982 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...

Reply With Quote
 
  #4 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 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
ADXVMA Questions-before.jpg   ADXVMA Questions-after.jpg  
Reply With Quote
The following 2 users say Thank You to RJay for this post:
 
  #5 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,354 given, 83,236 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

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #6 (permalink)
Elite Member
Pittsburgh
 
Futures Experience: Intermediate
Platform: Ninja Trader
Broker/Data: Zen-Fire
Favorite Futures: ES
 
ntsst3's Avatar
 
Posts: 85 since Jun 2009
Thanks: 16 given, 17 received

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

Reply With Quote
 
  #7 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,354 given, 83,236 received


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

Here you are.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Attached Files
Register to download File Type: cs ADXVMA.cs (8.5 KB, 96 views)
Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #8 (permalink)
Elite Member
Brisbane; Australia
 
Futures Experience: Intermediate
Platform: NT
Broker/Data: IB/TDA needing new broker
Favorite Futures: Futures, Forex, Stocks
 
Peter's Avatar
 
Posts: 97 since Jun 2009
Thanks: 91 given, 101 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
 
  #9 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,354 given, 83,236 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

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #10 (permalink)
Elite Member
Brisbane; Australia
 
Futures Experience: Intermediate
Platform: NT
Broker/Data: IB/TDA needing new broker
Favorite Futures: Futures, Forex, Stocks
 
Peter's Avatar
 
Posts: 97 since Jun 2009
Thanks: 91 given, 101 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
ADXVMA Questions-adxvma-wrong-left-....-good-right.png  

Last edited by Peter; July 2nd, 2009 at 04:11 AM.
Reply With Quote
The following 2 users say Thank You to Peter for this post:

Reply



futures io > > > > > ADXVMA Questions

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with ADXVMA Optimization hunter548 NinjaTrader Programming 3 July 31st, 2011 04:49 PM
ADXVMA raw code jtrade NinjaTrader Programming 1 March 16th, 2011 10:32 AM
ADXVMA into Tradestation daytrader4 TradeStation 3 January 6th, 2011 04:10 PM
ADXVMA Fibodol NinjaTrader 4 September 21st, 2010 03:37 AM
ADXVMA with Alerts keepdchange Traders Hideout 8 April 12th, 2010 10:27 AM


All times are GMT -4. The time now is 01:09 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, 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
Page generated 2017-12-16 in 0.13 seconds with 20 queries on phoenix via your IP 54.91.38.173