NT7 compatibility - NinjaTrader Programming | futures io social day trading
futures io futures trading


NT7 compatibility
Updated: Views / Replies:34,410 / 134
Created: by sam028 Attachments:47

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
 47  
 
Thread Tools Search this Thread
 

NT7 compatibility

  #31 (permalink)
Elite Member
Madison, WI
 
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
 
aslan's Avatar
 
Posts: 614 since Jan 2010
Thanks: 342 given, 1,077 received

There are a few easy fixes that can be made:

1. In all parameters, change "Category" to "GridCategory"

2. Some function signatures changed, so you typically need to add a parameter with a good default. You mentioned the autoscale one for Draw methods.

3. Rename Dispose() to OnTermination() - not required but a good idea

4. Change declarations of DataSeries to use new parameter:

ds = new DataSeries(this) ==> ds = new DataSeries(this, MaximumBarsLookBack.TwoHundredFiftySix)

If you need more lookback than 256 bars, then use "MaximumBarsLookBack.Infinite"

Update: The default for a DataSeries is to use 256 bars, so change #4 is not needed. You only need the change if you require more than 256 bars.


Last edited by aslan; February 5th, 2010 at 01:26 PM.
Reply With Quote
The following 2 users say Thank You to aslan for this post:
 
  #32 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,327 since Jul 2009
Thanks: 1,246 given, 2,635 received

Code changes that may not be needed for NT7

I have found so far that changing Cateogry to GridCategory, and adding the lookback to the initialization of the data series, do not seem to be necessary for my indicators to work in NT7.

It IS essential to stick the missing autoscale and y pixel offset parameters into the Draw methods.

Reply With Quote
The following user says Thank You to Zondor for this post:
 
  #33 (permalink)
Elite Member
Madison, WI
 
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
 
aslan's Avatar
 
Posts: 614 since Jan 2010
Thanks: 342 given, 1,077 received


Yes, I don't really understand the GridCategory one, but the Ninja guys said to just do it when I have pinged them, but would not explain why. I suspect you will eventually have to make this change for something to work.

The DataSeries one is also not required, but you should make the change to help conserve memory and run faster.

Reply With Quote
The following user says Thank You to aslan for this post:
 
  #34 (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,351 given, 83,223 received


aslan View Post
The DataSeries one is also not required, but you should make the change to help conserve memory and run faster.

So the default is Infinite if not specified?

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
 
  #35 (permalink)
Elite Member
Madison, WI
 
Futures Experience: Advanced
Platform: Sierra Charts, ALT
Favorite Futures: ES
 
aslan's Avatar
 
Posts: 614 since Jan 2010
Thanks: 342 given, 1,077 received


Big Mike View Post
So the default is Infinite if not specified?

Mike

No, my bad. Looking at the doc, the default is 256 bars, so you do not need to make that change. I will go back and edit.

Reply With Quote
The following 2 users say Thank You to aslan for this post:
 
  #36 (permalink)
 R.I.P. 1960-2010 
 
Futures Experience: Advanced
Platform: NinjaTrader7
Broker/Data: Mirus RCG/Zen-Fire
Favorite Futures: CL & 6e, looking at ES, ZB and AU again.
 
ZTR's Avatar
 
Posts: 2,099 since Nov 2009
Thanks: 1,104 given, 1,390 received

Made the changes to DMA, but..


aslan View Post
Yes, I don't really understand the GridCategory one, but the Ninja guys said to just do it when I have pinged them, but would not explain why. I suspect you will eventually have to make this change for something to work.

The DataSeries one is also not required, but you should make the change to help conserve memory and run faster.

I changed to GridCategory, the other things you mentioned were not there. Still get this weird unknown in the parameter passing field. I'm not really up to figuring it out right now. I asked Bertrad @ NT to look at it. If he is not busy he can be very helpful.

Reply With Quote
 
  #37 (permalink)
 R.I.P. 1960-2010 
 
Futures Experience: Advanced
Platform: NinjaTrader7
Broker/Data: Mirus RCG/Zen-Fire
Favorite Futures: CL & 6e, looking at ES, ZB and AU again.
 
ZTR's Avatar
 
Posts: 2,099 since Nov 2009
Thanks: 1,104 given, 1,390 received

Double MA: road map to completion

I looked at Double MA and found it to be a large collection of MAs. I tried but it is way to complicated and time consuming to do myself.

However if there are some of you who want guidance on putting this together I would be glad to consult.

What needs to be done:
  • Check to see if all the component MA work by themselves.
  • If not make the coding changes
  • Make the changes to DoubleMA_internal to get in shape for NT7
I am posting DoubleMA_NT that I have changed to what I believe is a NT7 ready indicator, but It is only the front-end not the working guts of the indicator.

What I have attached here will not run, with out the above changes.

Attached Files
Register to download File Type: zip DoubleMA_NT.zip (15.6 KB, 23 views)
Reply With Quote
 
  #38 (permalink)
 R.I.P. 1960-2010 
 
Futures Experience: Advanced
Platform: NinjaTrader7
Broker/Data: Mirus RCG/Zen-Fire
Favorite Futures: CL & 6e, looking at ES, ZB and AU again.
 
ZTR's Avatar
 
Posts: 2,099 since Nov 2009
Thanks: 1,104 given, 1,390 received

The Wizard comes through

We'er off to see Wizard... What has he done wth Double MA?

Thank you for posting your version of it, Wizard.

Nope - the Wizards version doen not work with 7 either.


Last edited by ZTR; February 5th, 2010 at 06:20 PM. Reason: More info was available
Reply With Quote
 
  #39 (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,351 given, 83,223 received

Before you spend a lot of time on that DoubleMA code, I would advise against it. The code is incredibly convoluted and there are far, far simpler ways of accomplishing it. I'm not the original author, but I've learned a lot in the last year with NinjaScript and I would rather see a new version created than the old one patched up to work in NT7.

If there is interest in this, I suggest creating a new thread specifically for that purpose, and if no one else steps up I'll make an effort to write a new version.

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
 
  #40 (permalink)
 R.I.P. 1960-2010 
 
Futures Experience: Advanced
Platform: NinjaTrader7
Broker/Data: Mirus RCG/Zen-Fire
Favorite Futures: CL & 6e, looking at ES, ZB and AU again.
 
ZTR's Avatar
 
Posts: 2,099 since Nov 2009
Thanks: 1,104 given, 1,390 received


Look two posts up. I came to the same conclusion. I passed the buck on this one.

Reply With Quote

Reply



futures io > > > > > NT7 compatibility

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
Ninjatrader 6.5 june 3rd CME compatibility issue. isarhodes NinjaTrader 5 June 1st, 2011 03:14 AM


All times are GMT -4. The time now is 05:05 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-13 in 0.07 seconds with 19 queries on phoenix via your IP 54.90.92.204