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 DannyP96, 05-18-2026, 02:38 PM
|
1 response
27 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
117 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
226 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
417 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|

Comment