Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error after installing NT6.5.1000.15

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

    Error after installing NT6.5.1000.15

    I installed NT 6.5.1000.15 and then encountered the following problem:

    Type\PHCommon.cs,
    'NinjaTrader.Strategy.Strategy' does not contain a definition for 'LastPerformanceValue',CS0117 - click for info,858,54,

    I then deleted PHcommon and PHgenetic - downloaded PHgeneticV1.09 again - and when I try to import it is says that the files that I am trying to import has a programing error.

    I hope somene can help me with this proplem since I am stuck - and use PHgenetic as my optimizer

    Verge

    PS - the code specifically reads:

    #if NT7
    RunIteration (child.OnIterationComplete, null);
    #else
    this.Strategy.RunIteration ();
    // record the strategy's performance
    child.Performance = NinjaTrader.Strategy.Strategy.LastPerformanceValue ;
    #endif

    ALSO - why did this work in 1000.14 - and stopped working in 1000.15 - did the use of "LastPerformanceValue" change?

    #2
    Hello verge,

    Can you please follow the instructions below to see which NinjaScript file on your end contains an error. This will allow you to debug the indicator/strategy or remove it from your PC that contains the error. If you’re wondering why you receive an error when compiling only one indicator or strategy, it is because NinjaTrader compiles all indicators and strategies. Not just one.

    1) Open NinjaTrader
    2) From the Control Center -> Tools -> Edit NinjaScript -> Indicator
    3) Select an indicator and double click on it.
    4) A new window will appear and you will need to right click and compile the indicator.
    5) At the bottom of the window a new section will appear were you can find the error locations. Double click the error and you will be directed to the location of the error.
    6) From there you have the option to remove the indicator or debug it. You can delete NinjaScript files via Tools-->Edit NinjaScript-->Indicator/Strategy, highlight it and select Delete

    You can find general debug information at the link below.


    Once you solved the error and all NinjaScript files compile successful, please re-import the PHgeneticV1.09.

    Unfortunately, I am not sure why you experience this error in version 6.5.1000.15. "LastPerformanceValue" did not change as per version 6.5.1000.15.
    JasonNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by pechtri, 06-22-2023, 02:31 AM
    9 responses
    122 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by frankthearm, 04-18-2024, 09:08 AM
    16 responses
    65 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by habeebft, Today, 01:18 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by benmarkal, Today, 12:52 PM
    2 responses
    13 views
    0 likes
    Last Post benmarkal  
    Started by f.saeidi, Today, 01:38 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X