It was working fine and then after working on the strategy code some more, it stopped working. I have no idea what I changed that might affect it.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
"Exit on close seconds" not working
Collapse
X
-
"Exit on close seconds" not working
Any idea what might cause a strategy to exit on the close instead of at the specified seconds before close?
It was working fine and then after working on the strategy code some more, it stopped working. I have no idea what I changed that might affect it.Tags: None
-
-
-
I'm back
Sorry Austin, I got impatient and hard-coded an exit-before-close in my strat so this is more academic now.
Back to troublshooting...
I don't see anything in the output below, do you? In fact I don't see the exit-on-close either, but it showed up on the chart.
Time: 6/28/2011 2:10:00 PM
Time: 6/28/2011 2:20:00 PM
Changing unmanaged order at 6/28/2011 2:20:00 PM: Order='NT-00015/Sim101' Name='StopLoss_LX' State=Working Instrument='IWM' Action=Sell Limit price=0 Stop price=81.26 Quantity=122 Strategy='_FrogStrat_1_archive' Type=Stop Tif=Gtc Oco='longExitBrkt' Filled=0 Fill price=0 Token='97d288f624aa430783c2c3ea7f0351c1' Gtd='12/1/2099 12:00:00 AM'
Time: 6/28/2011 2:30:00 PM
Time: 6/28/2011 2:40:00 PM
Changing unmanaged order at 6/28/2011 2:40:00 PM: Order='NT-00015/Sim101' Name='StopLoss_LX' State=Working Instrument='IWM' Action=Sell Limit price=0 Stop price=81.31 Quantity=122 Strategy='_FrogStrat_1_archive' Type=Stop Tif=Gtc Oco='longExitBrkt' Filled=0 Fill price=0 Token='97d288f624aa430783c2c3ea7f0351c1' Gtd='12/1/2099 12:00:00 AM'
Time: 6/28/2011 2:50:00 PM
Changing unmanaged order at 6/28/2011 2:50:00 PM: Order='NT-00015/Sim101' Name='StopLoss_LX' State=Working Instrument='IWM' Action=Sell Limit price=0 Stop price=81.35 Quantity=122 Strategy='_FrogStrat_1_archive' Type=Stop Tif=Gtc Oco='longExitBrkt' Filled=0 Fill price=0 Token='97d288f624aa430783c2c3ea7f0351c1' Gtd='12/1/2099 12:00:00 AM'
Time: 6/28/2011 3:00:00 PM
Time: 6/28/2011 3:10:00 PM
Time: 6/28/2011 3:20:00 PM
Time: 6/28/2011 3:30:00 PM
Time: 6/28/2011 3:40:00 PM
Time: 6/28/2011 3:50:00 PM
Time: 6/28/2011 4:00:00 PM
Changing unmanaged order at 6/28/2011 4:00:00 PM: Order='NT-00015/Sim101' Name='StopLoss_LX' State=Working Instrument='IWM' Action=Sell Limit price=0 Stop price=81.36 Quantity=122 Strategy='_FrogStrat_1_archive' Type=Stop Tif=Gtc Oco='longExitBrkt' Filled=0 Fill price=0 Token='97d288f624aa430783c2c3ea7f0351c1' Gtd='12/1/2099 12:00:00 AM'
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
574 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment