NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-10-2009, 06:38 PM   #1
ramckay
Member
 
Join Date: Mar 2008
Location: Denver, CO
Posts: 50
Thanks: 9
Thanked 0 times in 0 posts
Default Compile Error

I'm brand new at creating indicators. I used the New Indicator Wizard and pressed the "Generate" button to look at the code. Without changing anything I compiled the default code. It resulted in errors in line 51 which is in the Properties section:

Indicator\rangeStpHi.cs Invalid expression term '['
Indicator\rangeStpHi.cs ) expected
Indicator\rangeStpHi.cs ; expected
Indicator\rangeStpHi.cs Invalid expression term ')'
Indicator\rangeStpHi.cs ; expected

I assumed that the default indicator would compile and then I could start to add the code I wanted. What am I missing?

Thanks,
ramckay is offline  
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile error mktrend General Programming 3 01-07-2009 05:28 AM
Compile error ghoti General Programming 5 05-27-2008 06:18 AM
compile error deanldavis475 General Programming 1 11-23-2007 10:35 AM
Strange error on compile maxpi Indicator Development 4 07-24-2007 07:20 AM
Compile error with UserDefinedMethods NinjaTrader_Josh Indicator Development 6 06-06-2007 08:34 AM


All times are GMT -6. The time now is 01:38 AM.