Thank you all in advance
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Convert NT7 TRIX indicator for NT8 use
Collapse
X
-
Convert NT7 TRIX indicator for NT8 use
Greetings. I have a Trix indicator that is coded for NT7. & I would like to migrate over to the NT8 platform with this indicator. I am attaching this indicator for the community to use and perhaps modify for NT8 use.
Thank you all in advanceTags: None
-
Hello denalek2419,
Thank you for your post.
When converting a NinjaScript from NinjaTrader 7 to NinjaTrader 8, start by creating as much of the script as possible in NinjaTrader 8 using the Strategy Builder (New > Strategy Builder). This will create the framework of the indicator or strategy which has large changes from NinjaTrader 7 to NinjaTrader 8.
Then copy all code from the NinjaTrader 7 script's OnBarUpdate to the OnBarUpdate of the NinjaTrader 8 script. This will introduce errors that will need to be resolved.
Below I am including a link to a list of the code-breaking changes from NinjaTrader 7 to NinjaTrader 8.
http://ninjatrader.com/support/helpG...ng_changes.htm
The help guide will be the best way to see how things have changed from NinjaTrader 7 to NinjaTrader 8. When first starting to convert scripts, I myself would open the NinjaTrader 7 help guide and the NinjaTrader 8 help guide to the same sections so that I could compare. The majority of code supported by NinjaTrader is included in the help guides.
Below is a link to a forum post with helpful information about getting started with NinjaScript.
https://ninjatrader.com/support/foru...040#post786040
If you get stuck at any time looking for equivalent code for NinjaTrader 8, please send an email our way ([email protected]) or create a post on our forums and we will be happy to assist. Below is a link to the forums.
Please let us know if we may further assist.Brandon H.NinjaTrader Customer Service
- Likes 1
-
-
-
Hello denalek2419,
TRIX is available as standard indicator with NT8, so you can use it directly & for color & alerts I would suggest you to try this:
Description: This indicator can be used to color the rising and falling conditions of most any other indicators plot when used as the input series to this indicator. ColorThePlot offers the ability to select rising and falling colors, sound alerts, email, alerts, Direction change marking, panel color based on direction, bar coloring based on direction. […]
Hope it helps!
- Likes 1
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Human#102, Today, 05:18 AM
|
3 responses
16 views
0 likes
|
Last Post Today, 08:26 AM | ||
Started by iq200, Today, 08:11 AM
|
1 response
3 views
0 likes
|
Last Post Today, 08:25 AM | ||
Started by wuannetraam, Today, 07:43 AM
|
1 response
8 views
0 likes
|
Last Post Today, 08:23 AM | ||
Started by Human#102, Today, 07:52 AM
|
1 response
4 views
0 likes
|
Last Post Today, 08:01 AM | ||
Started by sofortune, 05-10-2024, 10:28 AM
|
8 responses
63 views
0 likes
|
Last Post Today, 07:55 AM |
Comment