Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

3rd Party Indicator Error in Strategy

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

    3rd Party Indicator Error in Strategy

    I'm trying to incorporate a 3rd party indicator into my strategy. However, it throws the following error: Indicator 'TDU Price Action Indicator': Error on calling 'OnStateChange' method: Object reference not set to an instance of an object."

    Here's where it's blowing up in the strategy. Any thoughts as to why?

    else if (State == State.DataLoaded)
    {
    TDUPriceAction1 = TDUPriceAction(Close, @"09:30", @"16:15");
    }

    #2
    Hello shildebrand324,

    Thank you for your post.

    Our ability to troubleshoot issues with incorporating third party indicators into NinjaScript strategies is fairly limited; since this is from a 3rd party vendor we wouldn't have access to their code or the indicator itself for testing.

    I would recommend reaching out to the vendor you've obtained the indicator from, as they would be best able to let you know if the indicator is possible to reference from NinjaScript and if so, how you'd need to set that up. I'm guessing there's likely something faulty in your inputs for the indicator, but since I am unable to test it, I can't say that for sure. The vendor would be able to give better feedback on that than we would.

    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    56 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    133 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X