Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Barchart and TDAmeritrade
Collapse
X
-
Both PrintTest strategies correctly printed to the Output window at the half-hour, but my trading strategy didn't get the corresponding 30-min bar update. The problem appears to lie in my strategy code, so I'll start deconstructing it to try to isolate the problem. More later...
Comment
-
I tried removing blocks of code from my strategy, but the live Print statements still weren't coming through on the 30-min series. So I took the PrintTest strategy that was working and began adding blocks of code from my trading strategy in logical chunks -- testing the updated strategy live each half hour. Ultimately, I added the full trading strategy into PrintTest, and it still worked. So then I copied the working NinjaScript back into my original strategy file. Now it works!
I'm baffled, but happy to be running a live trading strategy that's giving me all the periodic feedback I'm looking for. Thanks again for the suggestions.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
68 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
39 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment