NexusFi: Find Your Edge


Home Menu

 





Error compiling indicators


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Silvester17 with 5 posts (5 thanks)
    2. looks_two rltheg with 3 posts (0 thanks)
    3. looks_3 sam028 with 2 posts (1 thanks)
    4. looks_4 NinjaTrader with 2 posts (0 thanks)
      Best Posters
    1. looks_one Fat Tails with 2 thanks per post
    2. looks_two Silvester17 with 1 thanks per post
    3. looks_3 redratsal with 0.5 thanks per post
    4. looks_4 sam028 with 0.5 thanks per post
    1. trending_up 8,723 views
    2. thumb_up 9 thanks given
    3. group 4 followers
    1. forum 13 posts
    2. attach_file 9 attachments




 
Search this Thread
  #1 (permalink)
rltheg
Switzerland
 
Posts: 4 since Mar 2011
Thanks Given: 4
Thanks Received: 0

Hi,

I'm new to this site and I hope you can help me with my problem. It would be greatly appreciated!

I've been trying to import the following two indicators on ninjatrader 7 which seemed to work fine on the 6.5:

1) TD Wave (see attachment)

2) TD Sequential (see attachment)

For both indicators I get the same 3 errors with the code: CS1501 (see attachments) when I try to compile them.

Does anybody know how I can repair these errors? I don't much about code development.

Thanks in advance.

RL



[IMG]file:///C:/DOCUME%7E1/RL/LOCALS%7E1/Temp/moz-screenshot.png[/IMG]


Attached Thumbnails
Click image for larger version

Name:	Error TD Wave.png
Views:	226
Size:	7.1 KB
ID:	35162   Click image for larger version

Name:	Error TD Sequential.png
Views:	203
Size:	5.8 KB
ID:	35163  
Attached Files
Elite Membership required to download: TDSequential.zip
Elite Membership required to download: IGTDWaveUP.zip
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The Ceasefire Curve: 2pct Peace by Next Week, 60pct by S …
Prediction Markets & Event Contracts
Khamenei Vetoes Uranium Transfer as Peace Odds Surge to …
Prediction Markets & Event Contracts
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Memorandum Watch: How the 60-Day MOU Framework Makes May …
Prediction Markets & Event Contracts
Zytrade: Devin Brady, CEO - Ask Me Anything (AMA)
Brokers
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Hello Im new here
5 thanks
  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,756 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,632


The DrawText(), with NT7, needs another argument, which is the "autoScale".
So you have to edit each indicator, go the the lines where you have the error, and add "true" as a second argument.
Then recompile, and that's it !!!


Success requires no deodorant! (Sun Tzu)
Follow me on X Reply With Quote
Thanked by:
  #4 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,531


rltheg View Post
Hi,

I'm new to this site and I hope you can help me with my problem. It would be greatly appreciated!

I've been trying to import the following two indicators on ninjatrader 7 which seemed to work fine on the 6.5:

1) TD Wave (see attachment)

2) TD Sequential (see attachment)

For both indicators I get the same 3 errors with the code: CS1501 (see attachments) when I try to compile them.

Does anybody know how I can repair these errors? I don't much about code development.

Thanks in advance.

RL



[IMG]file:///C:/DOCUME%7E1/RL/LOCALS%7E1/Temp/moz-screenshot.png[/IMG]

I'm not sure if I'm allowed to post them here, because of this:


Reply With Quote
  #5 (permalink)
 
NinjaTrader's Avatar
 NinjaTrader  NinjaTrader is an official Site Sponsor
Site Sponsor

Web: NinjaTrader
AMA: Ask Me Anything
Webinars: NinjaTrader Webinars
Elite offer: Click here
 
Posts: 1,715 since May 2010
Thanks Given: 203
Thanks Received: 2,688

There are some changes with NinjaScript between NinjaTrader 6.5 and NinjaTrader 7. Most are minor but if a script that worked with 6.5 does not work in 7, you may have to review the following document for a list of code breaking changes.
NinjaScript_Code_Breaking_Changes_Revision


Follow me on X Reply With Quote
  #6 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,531


NinjaTrader View Post
There are some changes with NinjaScript between NinjaTrader 6.5 and NinjaTrader 7. Most are minor but if a script that worked with 6.5 does not work in 7, you may have to review the following document for a list of code breaking changes.

https://ninjatrader.com/support/helpGuides/nt7/pdf/NinjaScript_Code_Breaking_Changes_Revision_11_October_11_2010.pdf

now I'm getting an error message (your link) as well:

Unfortunately, the page you are looking for is no longer available.

Please choose from one of the links above to get back to the site and update your bookmarks.
Other things to try:
Use the seearch in the top right
Return to the previous page
If you need help, visit our support page or email NinjaTrader Support


Reply With Quote
  #7 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,756 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,632


Silvester17 View Post
now I'm getting an error message (your link) as well:

Unfortunately, the page you are looking for is no longer available.

Please choose from one of the links above to get back to the site and update your bookmarks.
Other things to try:
Use the seearch in the top right
Return to the previous page
If you need help, visit our support page or email NinjaTrader Support

Hmm, something wrong, on our side, the link is this one without the <SPACE> in October: https://ninjatrader.com/support/helpGuides/nt7/pdf/NinjaScript_Code_Breaking_Changes_Revision_11_October_11_2010.pdf


Success requires no deodorant! (Sun Tzu)
Follow me on X Reply With Quote
  #8 (permalink)
 
NinjaTrader's Avatar
 NinjaTrader  NinjaTrader is an official Site Sponsor
Site Sponsor

Web: NinjaTrader
AMA: Ask Me Anything
Webinars: NinjaTrader Webinars
Elite offer: Click here
 
Posts: 1,715 since May 2010
Thanks Given: 203
Thanks Received: 2,688


Silvester17 View Post
now I'm getting an error message (your link) as well:

Unfortunately, the page you are looking for is no longer available.

Please choose from one of the links above to get back to the site and update your bookmarks.
Other things to try:
Use the seearch in the top right
Return to the previous page
If you need help, visit our support page or email NinjaTrader Support

Not sure what to say, for sure the link I posted was correct. In any case, you can visit our support page, help guide section, the document is clearly listed there.


Follow me on X Reply With Quote
  #9 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,531


sam028 View Post
Hmm, something wrong, on our side, the link is this one without the <SPACE> in October: https://ninjatrader.com/support/helpGuides/nt7/pdf/NinjaScript_Code_Breaking_Changes_Revision_11_October_11_2010.pdf

yes. working now.


Reply With Quote
  #10 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090


Find attached file


Attached Thumbnails
Error compiling indicators-ninjascript_code_breaking_changes_revision_11_october_11_2010-1-.pdf  
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on March 29, 2011


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts