Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 Replacement for NT7 Disable() Method

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

    NT8 Replacement for NT7 Disable() Method

    I use several try-catch blocks in my unmanaged strategy code to trap runtime errors and after the count reaches N exceptions, I call the Disable() method to disable the strategy from operating. Disable() does not compile under NT8 and I have not been able to find a replacement method to date. Thanks.

    Whitmark Development
    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    #2
    You can use:

    Code:
    SetState(State.Terminated);
    I will have the code breaking changes amended to reflect this new implementation.
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Jonafare, 12-06-2012, 03:48 PM
    5 responses
    3,984 views
    0 likes
    Last Post rene69851  
    Started by Fitspressorest, Today, 01:38 PM
    0 responses
    2 views
    0 likes
    Last Post Fitspressorest  
    Started by Jonker, Today, 01:19 PM
    0 responses
    2 views
    0 likes
    Last Post Jonker
    by Jonker
     
    Started by futtrader, Today, 01:16 PM
    0 responses
    7 views
    0 likes
    Last Post futtrader  
    Started by Segwin, 05-07-2018, 02:15 PM
    14 responses
    1,792 views
    0 likes
    Last Post aligator  
    Working...
    X