Rather than just stop trading completely when I start to lose I would like to be able to place "virtual trades" such that I am able to keep an eye on whether the losing streak has ended and get back in the game after some unexpected losers. Is there a way to do this?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Virtual Orders?
Collapse
X
-
Virtual Orders?
If my Strategy has a two losing trades in a row then I want to halt it until I have a certain number of winning trades again.
Rather than just stop trading completely when I start to lose I would like to be able to place "virtual trades" such that I am able to keep an eye on whether the losing streak has ended and get back in the game after some unexpected losers. Is there a way to do this?Tags: None
-
Is there any guidance on this at all to achieve this? I want to stop trading but keep an eye on things to be able to know that if I was to start trading again I would be winning. I'm thinking of unpredictable events like fundamentals that might cause price to crash through two stop orders.... I want to stop trading if that happens but would like to know when things are back to normal so I can resume. What is the best way to do this?
-
Aha I did not think of that!! It's for NT8. So I can switch accounts at runtime programmatically?
Comment
-
Yes, you can - however your strategy only runs on one configured account if you're using all the convenience methods/approaches that you're used to. If you want to switch accounts from a single strategy instance, I would advise you create your own Account event handlers and not mix in the standard OnPosition/Order/Execution Update virtuals or use the managed/unmanaged order methods (EnterLong(), etc). That account object will get you everything to custom tailor a strategy to run on those accounts.Originally posted by reach4thelasers View PostAha I did not think of that!! It's for NT8. So I can switch accounts at runtime programmatically?
Information on the Account class can be found here:
MatthewNinjaTrader Product Management
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
57 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
143 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
161 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
97 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
276 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment