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
Symbology Display Style Issues
Collapse
X
-
Symbology Display Style Issues
I have a strategy that I run on NQ and have it place trade on MNQ. Everything works fine with Symbology Display Style of MNQ 06-24 but people with theirs set to MNQ JUN24, it will not work, signals are generated and no trades are places. Is this a known issue? Attached is the code I'm using. I even tried changing the additional dataseries to this.... AddDataSeries("MNQ JUN24", Data.BarsPeriodType.Minute, 15, Data.MarketDataType.Last);Tags: None
-
Hello mlarocco,
You can add a Series selector, however this would not initialize an instance of the data series or indicator, it would just give you a selected type.
Below is an example.
Hi team, I am trying to allow my strategy to pick indicators to backtest via the UI In my strategy, I added a NinjaTrader.Gui.Tools.InputEditor Property public class AIStrategyGenerator : Strategy { protected override void OnStateChange() { if (State == State.SetDefaults) { InputIndicator1 = null; } } protected override
Further, AddDataSeries() cannot be called dynamically with variables, and using a selector to add an additional series would not be supported.
It may be prudent to add an empty Series<double> and fill this with data through a barsrequest, if this is what you are trying to do.
Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by cre8able, Yesterday, 01:16 PM
|
3 responses
11 views
0 likes
|
Last Post
by cre8able
Today, 08:28 AM
|
||
Started by ChartTourist, Today, 08:22 AM
|
0 responses
4 views
0 likes
|
Last Post
by ChartTourist
Today, 08:22 AM
|
||
Started by LiamTwine, Today, 08:10 AM
|
0 responses
2 views
0 likes
|
Last Post
by LiamTwine
Today, 08:10 AM
|
||
Started by Balage0922, Today, 07:38 AM
|
0 responses
5 views
0 likes
|
Last Post
by Balage0922
Today, 07:38 AM
|
||
Started by JoMoon2024, Today, 06:56 AM
|
0 responses
6 views
0 likes
|
Last Post
by JoMoon2024
Today, 06:56 AM
|
Comment