Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by lorem, Yesterday, 09:18 AM
    4 responses
    14 views
    0 likes
    Last Post lorem
    by lorem
     
    Started by Spiderbird, Today, 12:15 PM
    0 responses
    5 views
    0 likes
    Last Post Spiderbird  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    12 responses
    42 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by FrazMann, Today, 11:21 AM
    0 responses
    6 views
    0 likes
    Last Post FrazMann  
    Started by geddyisodin, Yesterday, 05:20 AM
    8 responses
    52 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X