Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7 error message on adding a strategy to a chart

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

    NT7 error message on adding a strategy to a chart

    HI

    I am converting a working NT6.5 Strategy to NT7. After cleaning up all the DrawText's and order specification changes, etc etc... I get a clean compile. However, when I add the strategy to a chart I get these messages in the log:

    2010-12-13 00:07:06:658 ERROR: Failed to call method 'Initialize' for strategy 'StrategyXXX/dcf0112189234994b0a985efc355cd76': Object reference not set to an instance of an object.
    2010-12-13 00:07:06:783 ERROR: Failed to call method 'Initialize' for strategy 'StrategyXXX/b3d4b410624b4bfdadf86cfd4e27e753': Object reference not set to an instance of an object.
    2010-12-13 00:07:06:783 ERROR: Failed to call method 'Initialize' for strategy

    After days of tracing I managed to discover that if i just turn the option in the General Parameter Dialog box for ENABLED from false to true the messages seem to be irrelevant and the Strategy runs without errors, as expected.

    Is there a way to suppress these messages or to correct the code so these messages do not appear in the Log? I have done a search on "failed to call method" and nothing relevant appears.

    Thank you in advance for your help

    Sammy

    #2
    Sammy, unfortunately one could not suppress the messages, you would need to debug the Initialize() of the specific strategy mentioned in order to investigate what empty object is attempted to be accessed.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    639 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    366 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    572 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X