i.e. chart is 5 minutes.. but indicator is using a range bar type.
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!
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
NinjaTrader
Possible to have indicator use different series?
Collapse
X
-
Possible to have indicator use different series?
Is it possible to use a different data series than the primary chart in an indicator?
i.e. chart is 5 minutes.. but indicator is using a range bar type.Tags: None
-
-
-
-
OK... I have a strategy I've built with multiple data series already. Just had not tried adding multiple data series to an indicator with different bar types. I will just give it a shot and see if it works.
Comment
-
Hello halgo_boulder,
Thanks for your notes.
You could use the AddDataSeries() method to add a secondary series to use in your script.
See the help guide documentation below for more information.
AddDataSeries(): https://ninjatrader.com/support/help...dataseries.htm
Working with Multi-TimeFrame/Multi-Instrument NinjaScripts: https://ninjatrader.com/support/help...nstruments.htm
We also have reference samples you could view that come default with NinjaTrader demonstrating adding a secondary series to a script. To view the scripts, open a New > NinjaScript Editor window, open the Strategies folder, and double-click on the SampleMultiTimeFrame or SampleMultiInstrument file.Brandon H.NinjaTrader Customer Service
Comment
-
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by futtrader, 04-21-2024, 01:50 AM
|
6 responses
57 views
0 likes
|
Last Post
by futtrader
Today, 11:54 AM
|
||
Started by sgordet, Today, 11:48 AM
|
0 responses
1 view
0 likes
|
Last Post
by sgordet
Today, 11:48 AM
|
||
Started by Trader146, Today, 11:41 AM
|
0 responses
3 views
0 likes
|
Last Post
by Trader146
Today, 11:41 AM
|
||
Started by jpapa, 04-23-2024, 07:22 AM
|
2 responses
17 views
0 likes
|
Last Post
by rene69851
Today, 11:39 AM
|
||
Started by funk10101, Today, 11:35 AM
|
0 responses
1 view
0 likes
|
Last Post
by funk10101
Today, 11:35 AM
|
Comment