![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
I need someone try and compile this CS file on their system. It gives me a CS0103 error on lines 86,87,89 and 90 and I truly don't understand why.
The plot name those lines refer to are defined in the Initialize() routine. I'm just trying to change the color of the histobars on the standard Fisher Transform. Can you tell me if this is a bug or some strange syntax error on my part. Thank you! |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
a) This is the standard MS C# compiler. The likelihood that you encounter a bug is close to 0.
b) Please check our code at the lines in question. It's very clear that you have not defined the variables "Up" and "Down". c) to understand on how to setup NS indicators I suggest starting with some wizard generated code.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
I believe they were defined at lines 39 and 40 in the Add() statement.
Does the code compile for you without an error? Thanks for your help
Last edited by sbgtrading; 11-22-2007 at 06:29 AM.
|
|
|
|
|
|
#4 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
Ahhh...in the Properties area...I see where they need to be defined...sorry for the mistake on my part!
Thanks again! |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compiler won | whitmark | General Programming | 4 | 10-16-2007 12:52 PM |
| Syntax Warning on Ninja Editor but not Microsoft | ct | General Programming | 2 | 10-05-2007 07:03 AM |
| Compiler Error when compiling standard Ninja indicators | MarlinTrader | General Programming | 1 | 05-25-2007 01:28 PM |
| Compiler Errors | mgbloomfield | Indicator Development | 3 | 12-15-2006 05:58 AM |
| Option to display hidden background colors in the PRICE column | jwalker | Suggestions And Feedback | 1 | 02-22-2006 12:22 PM |