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 judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
57 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
36 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
19 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
9 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment