Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
MTF indicator error
Collapse
X
-
MTF indicator error
I am trying to build a strategy using a multi time frame indicator that gets me higher aggregation trend. The problem is every time I create the strategy and try to start it it will never initiate. I check my inputs in the strategy Builder and everything is correct. Is there a different way of instituting a multi time frame indicator any strategy?Tags: None
-
Hi Teebone21, thanks for your note.
The strategy must add every data series that the indicator is adding. This is mentioned here:
"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"
Please let me know if this does not resolve your inquiry.
-
can this be done in strategy builder ?Originally posted by NinjaTrader_ChrisL View PostHi Teebone21, thanks for your note.
The strategy must add every data series that the indicator is adding. This is mentioned here:
"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"
Please let me know if this does not resolve your inquiry.
Comment
-
i figured it out . Thanks for the insight !Originally posted by NinjaTrader_ChrisL View PostHi Teebone21, thanks for your note.
The strategy must add every data series that the indicator is adding. This is mentioned here:
"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"
Please let me know if this does not resolve your inquiry.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
45 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
31 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment