converting an NT6.5 indicator to NT7 - Traders Hideout | futures io social day trading
futures io futures trading


converting an NT6.5 indicator to NT7
Updated: Views / Replies:1,662 / 3
Created: by aligator Attachments:0

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

converting an NT6.5 indicator to NT7

  #1 (permalink)
Market Wizard
Las Vegas, NV
 
Futures Experience: Advanced
Platform: Abacus, Slide Rule, HP-65, Metastock, TOS, NT
Favorite Futures: Futures
 
aligator's Avatar
 
Posts: 3,424 since Aug 2010
Thanks: 1,053 given, 5,822 received
Forum Reputation: Legendary

converting an NT6.5 indicator to NT7

How do you convert an NT6.5 indicator to NT7?

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,597 received
Forum Reputation: Legendary

Answer
This post has been selected as an answer to the original posters question Answer



aligator View Post
How do you convert an NT6.5 indicator to NT7?


Many NT 6.5 indicators work in NT 7.0. However NT 7.0 has a lot of new features and some code breaking changes. Therefore every indicator should be checked and tested before it is used with NT 7.0.

You may proceed as follows:


(1) First Step - Compile the Indicator

Export the indicator via NT 6.5. and try to import via NT 7.0. If this has worked advance directly to step (2). If this did not work you should change your logs and your trace files, as they will likely point to the trouble. As you cannot import the file directly, you will now need to copy the indicator file manually from -> My Documents -> NinjaTrader 6.5 -> bin -> Custom -> Indicator to My Documents -> NinjaTrader 7 -> bin -> Custom -> Indicator. If the indicator references other indicators, you need to check whether these are already part of your NinjaTrader 7 installation, otherwise you need to copy those as well.

Now start NinjaTrader 7 and edit the indicator. Starting with the information from the logs and the trace file you now need to replace the offending code with appropriate code. The most frequent changes that need to be done:

-> change the Draw() methods, as NinjaTrader uses a modified syntax for them
-> recode custom plots as ChartControl has a number of code breaking changes (this only affects indicators that override NinjaTrader's Plot() method with a custom plot, but this can be really difficult

Once you made all the necessary changes, compile via F5.


(2) Second Step - Testing of the Compiled Indicator, Further Changes

If you have a compiled indicator, this does not mean that it will plot correctly. You first need to test it. Often you will find that the indicator does not work because

-> some code needs to be shifted from the Initialize() section to OnStartUp(), which is a new NT 7 feature.

Once the indicator runs in NT7, you can now clean it up.


(3) Third Step - Clean Up the Code

Many of the NinjaTrader 6.5 indicators use code, which is inefficient or can improved by using advanced features of Ninjatrader 7. Some examples are

-> Replacing the custom plot (the new MACDBBLines indicator does not use any custom plot, as the features of the NinjaTrader 7 default plots are now sufficient
-> May NT 6.5 indicators were repainting - at least in line mode - to color indicator plots. This is no longer necessary with NinjaTrader7
-> OnStartUp() can be used to initialize variables, so you do not need to do this in OnBarUpDate() any more.

Although these changes are not necessary, the contribute to overall performance and stability.

Reply With Quote
The following 3 users say Thank You to Fat Tails for this post:
 
  #4 (permalink)
Market Wizard
Las Vegas, NV
 
Futures Experience: Advanced
Platform: Abacus, Slide Rule, HP-65, Metastock, TOS, NT
Favorite Futures: Futures
 
aligator's Avatar
 
Posts: 3,424 since Aug 2010
Thanks: 1,053 given, 5,822 received
Forum Reputation: Legendary

Fat Tails,
Thanks a bunch. Very nice and detailed guide. In my quest, the NT6.5 file was imported into NT7 with no problem. Per your Step 2 other things look normal also. However, once attached to a chart nothing will plot. This is a Confluence Zones indicator and potential fixes are way beyond my cut and paste skills. Perhaps I need to ask someone in Elite section for help.

Thanks you again!

Reply With Quote

Reply



futures io > > > converting an NT6.5 indicator to NT7

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems Converting NT 6.5 indicators to NT7 Zondor NinjaTrader Programming 68 October 24th, 2014 08:07 AM
view 2 workspaces in NT6.5 and NT7 emini_Holy_Grail Traders Hideout 1 June 1st, 2013 12:52 PM
Upgrade NT6.5 Indicator to NT7 geniuss NinjaTrader Programming 2 April 15th, 2011 10:57 AM
Running NT7 along with NT6.5 trendisyourfriend NinjaTrader 3 November 1st, 2010 04:01 PM
TS ELD conversion to NT7 / NT6.5 rfiske NinjaTrader Programming 5 July 18th, 2010 02:44 PM


All times are GMT -4. The time now is 07:38 AM.

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-11 in 0.09 seconds with 25 queries on phoenix via your IP 54.226.132.197