But! What if i need few data series in my strategy?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
EnterShort() returns null
Collapse
X
-
-
Hello schattencheg,
Thanks for the reply.
The message means that you will need to add a 1 tick series to your strategy, then fill your orders on that series. You can add the data series with AddDataSeries.
To submit orders to that series, use the special Entry/Exit methods that take a BarsInProgress parameter:
For instance, EnterLong has this method overload that you would use:
Code:EnterLong(int barsInProgressIndex, int quantity, string signalName)
If your 1 tick series is the second additional series added, you would use 2 for the BarsInProgressIndex.
Please let me know if I can assist further.Last edited by NinjaTrader_ChrisL; 08-28-2018, 08:30 AM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
70 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
143 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
76 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
47 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
51 views
0 likes
|
Last Post
|

Comment