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!
See more
See less

Partner 728x90

Collapse

Compiler bug or hidden syntax error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Compiler bug or hidden syntax error

    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!
    Attached Files

    #2
    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.

    Comment


      #3
      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, 07:29 AM.

      Comment


        #4
        Ahhh...in the Properties area...I see where they need to be defined...sorry for the mistake on my part!

        Thanks again!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by AveryFlynn, Today, 04:57 AM
        0 responses
        4 views
        0 likes
        Last Post AveryFlynn  
        Started by RubenCazorla, 08-30-2022, 06:36 AM
        3 responses
        78 views
        0 likes
        Last Post PaulMohn  
        Started by f.saeidi, Yesterday, 12:14 PM
        9 responses
        23 views
        0 likes
        Last Post f.saeidi  
        Started by Tim-c, Today, 03:54 AM
        0 responses
        3 views
        0 likes
        Last Post Tim-c
        by Tim-c
         
        Started by FrancisMorro, Today, 03:24 AM
        0 responses
        5 views
        0 likes
        Last Post FrancisMorro  
        Working...
        X