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 sam028 with 0.5 thanks per post
    4. looks_4 redratsal with 0.5 thanks per post
    1. trending_up 6,767 views
    2. thumb_up 9 thanks given
    3. group 4 followers
    1. forum 13 posts
    2. attach_file 9 attachments




 
Search this Thread

Error compiling indicators

  #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:	139
Size:	7.1 KB
ID:	35162   Click image for larger version

Name:	Error TD Sequential.png
Views:	126
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?
ZombieSqueeze
Platforms and Indicators
Request for MACD with option to use different MAs for fa …
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
Battlestations: Show us your trading desks!
43 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #3 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,761 since Jun 2009
Thanks Given: 3,824
Thanks Received: 4,629


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 Twitter Reply With Quote
The following user says Thank You to sam028 for this post:
  #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,527


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,713 since May 2010
Thanks Given: 203
Thanks Received: 2,686

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 Twitter 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,527


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,761 since Jun 2009
Thanks Given: 3,824
Thanks Received: 4,629


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 Twitter 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,713 since May 2010
Thanks Given: 203
Thanks Received: 2,686


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 Twitter 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,527


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
The following user says Thank You to redratsal for this post:





Last Updated on March 29, 2011


© 2024 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 - Privacy Policy - Downloads - Top
no new posts