NexusFi: Find Your Edge


Home Menu

 





NT 8 Strateg Builder issue I am baffled! Anyone?


Discussion in NinjaTrader

Updated
    1. trending_up 1,161 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 1 attachments




 
Search this Thread

NT 8 Strateg Builder issue I am baffled! Anyone?

  #1 (permalink)
 MarketMage 
Ponte Vedra Beach + FL USA
 
Experience: Master
Platform: mt4 mt5 NT8
Trading: NQ, YM, and BTCUSD
Posts: 27 since Dec 2020
Thanks Given: 16
Thanks Received: 36

Hi everyone,
Im trying to build a simple strategy in NT8 Strategy builder.

My base chart is a ninzarenko (same as unirenko)

I want to also call the value from an indicator running on an additional chart/data stream (an M2 chart same instrument)

The instructions on how to do this seem straightforward, but I have been trying all weekend to add this M2 data stream and/or the indicator's underlying data call (it calls a separate symbol's data) to the strat and all I keep getting no matter what I do is this error: https://forum.ninjatrader.com/forum/ninjatrader-8/indicator-development/1045294-a-hosted-indicator-tried-to-load-additional-data-fyi

The resolution discussed on that thread I cant figure out, and have tried a million things.
Can anyone point me in a direction on how to achieve this in strategy builder so that I dont get that error (which force disables the strat)?

Im not posting the strat here as its just a bare bones new strat with no real conditions or anything until I get past this additional data stream loading problem, but I am posting the indicator I am trying to call in case that helps, as it does itself call a 2nd instrument (symbol ^RI6T in kinetic, which is the s&p TRIN, and the data and indicator do work fin in the M2 chart and actually also work fine on their own in the ninzarenko chart too, so there is no issue with either the data or the indicator, the problem is in my not knowing how to pull that data into the strat).

Thank you!!!!

**UPDATE** -
By just copying the AddDataSeries line from config of the indicator and pasting it over the same config line in the stragey builder code, I was able to now operate the strat with no errors. The problem, sadly, is that the value of my indicator should be similar or identical for the same general point in time, but they are not. So I still need help, if anyone can assist!

1st screenshot is the ninzarenko base chart, panel 3 is the indicator, val in cyan



2nd shot is the same rough time frame on the M2 chart of the same instrument, indicator in cyan in panel 2, you can see clearly the values are very often radically different. So I have the same issue: importing properly the data for that one indicator's value so I can call it in my strat.


Attached Files
Elite Membership required to download: gbBetterTRIN.cs
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #2 (permalink)
 TigerStripes   is a Vendor
 
Posts: 109 since Mar 2021
Thanks Given: 33
Thanks Received: 56


MarketMage View Post
Hi everyone,
Im trying to build a simple strategy in NT8 Strategy builder.

My base chart is a ninzarenko (same as unirenko)

I want to also call the value from an indicator running on an additional chart/data stream (an M2 chart same instrument)

The instructions on how to do this seem straightforward, but I have been trying all weekend to add this M2 data stream and/or the indicator's underlying data call (it calls a separate symbol's data) to the strat and all I keep getting no matter what I do is this error: https://forum.ninjatrader.com/forum/ninjatrader-8/indicator-development/1045294-a-hosted-indicator-tried-to-load-additional-data-fyi

The resolution discussed on that thread I cant figure out, and have tried a million things.
Can anyone point me in a direction on how to achieve this in strategy builder so that I dont get that error (which force disables the strat)?

Im not posting the strat here as its just a bare bones new strat with no real conditions or anything until I get past this additional data stream loading problem, but I am posting the indicator I am trying to call in case that helps, as it does itself call a 2nd instrument (symbol ^RI6T in kinetic, which is the s&p TRIN, and the data and indicator do work fin in the M2 chart and actually also work fine on their own in the ninzarenko chart too, so there is no issue with either the data or the indicator, the problem is in my not knowing how to pull that data into the strat).

Thank you!!!!

**UPDATE** -
By just copying the AddDataSeries line from config of the indicator and pasting it over the same config line in the stragey builder code, I was able to now operate the strat with no errors. The problem, sadly, is that the value of my indicator should be similar or identical for the same general point in time, but they are not. So I still need help, if anyone can assist!

1st screenshot is the ninzarenko base chart, panel 3 is the indicator, val in cyan



2nd shot is the same rough time frame on the M2 chart of the same instrument, indicator in cyan in panel 2, you can see clearly the values are very often radically different. So I have the same issue: importing properly the data for that one indicator's value so I can call it in my strat.


assuming you can create the DataSeries, then attached the DataSeries you create as the replace for the default dataseries to the Indicator, that will give you the code required to add that as condition then a Do This function to an indicator attached to the dataseries in the calls.

Reply With Quote
Thanked by:
  #3 (permalink)
 MarketMage 
Ponte Vedra Beach + FL USA
 
Experience: Master
Platform: mt4 mt5 NT8
Trading: NQ, YM, and BTCUSD
Posts: 27 since Dec 2020
Thanks Given: 16
Thanks Received: 36


that was very helpful thank you!

So I was able to add the data series and no longer get the error.

I still have a problem, though, I want the strategy to use the indicator output value from the M2 chart, and the strat is attempting to use the indicator on the renko type chart (which does not return reliable values, as you can see from my screenshot)

Any ideas on how to call the minute bar indicator (last bar value) in my strat?

Started this thread Reply With Quote




Last Updated on December 7, 2021


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts