Announcement

Collapse
No announcement yet.

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.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    65 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    139 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    75 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
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X