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 JoMoon2024, Today, 06:56 AM
    0 responses
    6 views
    0 likes
    Last Post JoMoon2024  
    Started by Haiasi, 04-25-2024, 06:53 PM
    2 responses
    17 views
    0 likes
    Last Post Massinisa  
    Started by Creamers, Today, 05:32 AM
    0 responses
    5 views
    0 likes
    Last Post Creamers  
    Started by Segwin, 05-07-2018, 02:15 PM
    12 responses
    1,786 views
    0 likes
    Last Post Leafcutter  
    Started by poplagelu, Today, 05:00 AM
    0 responses
    3 views
    0 likes
    Last Post poplagelu  
    Working...
    X