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

Trying to get a strategy to work with inputs from a 3rd party indicator

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

    Trying to get a strategy to work with inputs from a 3rd party indicator

    Hi,

    I have access to inputs from a 3rd party indicator, but when I try to load the strategy, I get the following error. "'Indicator' tried to load additional data. All data must first be loaded by the hosting NinjaScript in its configure state. Attempted to load NQ 12-23 Globex: 500 Volume Volumetric"

    I've tried loading the strategy on a volumetric chart, but that doesn't work, I tried to add a volumetric series to my strategy, but the builder doesn't allow for that type of bars. I know you can add it, I just can't seem to find it in your files as to how to call it.

    Can you please help?

    Cheers!

    #2
    Hello Seastragg,

    Thanks for your post.

    "'Indicator' tried to load additional data. All data must first be loaded by the hosting NinjaScript in its configure state. Attempted to load NQ 12-23 Globex: 500 Volume Volumetric"

    This error message means that the indicator has an added secondary data series in its script which is used for calculations. In the strategy, you would have call AddVolumetric() to add the same exact Volumetric data series to the strategy to resolve this error.

    From the AddVolumetric() help guide page: "Should your script be the host for other scripts that are creating indicators and series dependent resources in State.DataLoaded, please make sure that the host is doing the same AddDataSeries() calls as those hosted scripts would. For further reference, please also review the 2nd example below and the 'Adding additional Bars Objects to NinjaScript' section in Multi-Time Frame & Instruments​"

    AddVolumetric(): https://ninjatrader.com/support/help...volumetric.htm

    Note that a Volumetric data series cannot be added to a Strategy Builder strategy. You must unlock the strategy from the Strategy Builder by clicking the 'Unlock code' button and manually program the script in the NinjaScript Editor window to add the Volumetric data series.
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ageeholdings, Today, 07:43 AM
    0 responses
    6 views
    0 likes
    Last Post ageeholdings  
    Started by pibrew, Today, 06:37 AM
    0 responses
    4 views
    0 likes
    Last Post pibrew
    by pibrew
     
    Started by rbeckmann05, Yesterday, 06:48 PM
    1 response
    14 views
    0 likes
    Last Post bltdavid  
    Started by llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    12 views
    0 likes
    Last Post burtoninlondon  
    Working...
    X