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 trober, Yesterday, 02:21 AM
    6 responses
    22 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by rezamerik, 08-23-2023, 10:33 AM
    12 responses
    1,614 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by giogio1, 12-02-2024, 03:18 AM
    7 responses
    42 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Rudmax, 07-02-2024, 05:40 AM
    78 responses
    2,761 views
    1 like
    Last Post backtester831  
    Started by samish18, Today, 06:16 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X