Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Compilation errors

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

    Compilation errors

    Hello,

    When I'm trying to compile an indicator code I'm getting a lot of errors in the NT7 stochastic files (DoubleStochastic, Stochastic, StochasticFast). Even if I leave just an automatically generated code in the indicator the problem still exists. I didn't touch any stochastic files and it's a fresh installation. What can be a problem? It happens on both NT7 R1 and R2 releases.

    #2
    Hello kassandra,

    Thanks for reporting this.

    Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader compiles all indicators and strategies- not just one.
    • Open NinjaTrader
    • From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
    • Select an indicator and double click on it.
    • A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
    • At the bottom of the window a new section will appear were you can find the error locations.
    • From there you have the option to remove the indicator or debug it.

    Let me know if this does the trick for you.
    KyleNinjaTrader Customer Service

    Comment


      #3
      This is exactly what I was doing. I'm getting a bunch of errors in the NINJATRADER code. I didn't even start to write my own code yet - just generated the indicator template from the wizard. The standard implementations of NT7 stochastic indicators don't compile. Why would I remove or debug your code?

      Comment


        #4
        kassandra,

        To further advise, I'd need you to provide me with an image of the error reporting section of the code window.
        KyleNinjaTrader Customer Service

        Comment


          #5
          This is the image. I wasn't able to make the whole error text to be visible.

          The error is:
          The call is ambiguous between the following methods or properties: 'NinjaTrader.Data.Extensions.Compare(double, double, double) and
          'NinjaTrader.Data.Extensions.Compare(double, double, double)'
          Attached Files
          Last edited by kassandra; 02-14-2011, 04:09 PM.

          Comment


            #6
            kassandra,

            Please send a note to Support [AT] NinjaTrader [DOT] com with 'ATTN: Kyle' in the subject line.

            In the message, please include the following:

            1.) A link to this forum thread.

            2.) Your most current trace file:
            You will find the trace file in the Documents > NinjaTrader 7 > Trace folder.
            • The trace file will be named ‘trace.YYYYMMDD.txt’
            KyleNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by pmachiraju, 11-01-2023, 04:46 AM
            8 responses
            148 views
            0 likes
            Last Post rehmans
            by rehmans
             
            Started by mattbsea, Today, 05:44 PM
            0 responses
            5 views
            0 likes
            Last Post mattbsea  
            Started by RideMe, 04-07-2024, 04:54 PM
            6 responses
            33 views
            0 likes
            Last Post RideMe
            by RideMe
             
            Started by tkaboris, Today, 05:13 PM
            0 responses
            5 views
            0 likes
            Last Post tkaboris  
            Started by GussJ, 03-04-2020, 03:11 PM
            16 responses
            3,282 views
            0 likes
            Last Post Leafcutter  
            Working...
            X