Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Demo Trading TD Ameritrade
Collapse
X
-
Hello Kentoes,
Thank you for the post.
I couldn't really say what may be happening without more specific details of the situation.
Is the strategy enabled and green in the control center?
Are any errors or warnings being logged?
What have you otherwise done to debug the situation at this point?
If the strategy is green and enabled you would likely need to use some Prints in the script to identify what is happening in the logic. If one of the conditions is not true or if something else is happening that should help highlight the problem to know how to proceed.
I look forward to being of further assistance.
-
Thanks. Green in the control center. No errors. The Output screen and the log say:
None of my print screen statements are showing like they do when I run historical back tests.Code:Enabling NinjaScript strategy 'JOBBO/198208632' : On starting a real-time strategy - StartBehavior=WaitUntilFlat EntryHandling=All entries EntriesPerDirection=1 StopTargetHandling=By strategy position ErrorHandling=Stop strategy, cancel orders, close positions ExitOnSessionClose=False SetOrderQuantityBy=Strategy ConnectionLossHandling=Recalculate DisconnectDelaySeconds=10 CancelEntriesOnStrategyDisable=False CancelExitsOnStrategyDisable=False Calculate=On bar close IsUnmanaged=False MaxRestarts=4 in 5 minutes
My strategy runs on 15 min. charts but also references daily bars series. The chart data series has 2 days to load and the strategy has 20 bars required to trade. I suspect the problem might lie here.
Comment
-
Hello Kentoes,
Thank you for the update.
I suspect you are correct, as a test you could try using 30 days to load on the chart and see if that makes it work. If that is the case and you want to load less data you can set the bars required for both indicators and strategies by using BarsRequiredToTrade and BarsRequiredToPlot.
I look forward to being of further assistance.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
23 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
120 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
63 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
41 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
45 views
0 likes
|
Last Post
|

Comment