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 AaronKoRn, Today, 09:49 PM
|
0 responses
10 views
0 likes
|
Last Post
by AaronKoRn
Today, 09:49 PM
|
||
Started by carnitron, Today, 08:42 PM
|
0 responses
9 views
0 likes
|
Last Post
by carnitron
Today, 08:42 PM
|
||
Started by strategist007, Today, 07:51 PM
|
0 responses
10 views
0 likes
|
Last Post Today, 07:51 PM | ||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
44 responses
3,980 views
3 likes
|
Last Post
by jhudas88
Today, 06:59 PM
|
||
Started by rbeckmann05, Today, 06:48 PM
|
0 responses
9 views
0 likes
|
Last Post
by rbeckmann05
Today, 06:48 PM
|
Comment