Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Exit On Close
Collapse
X
-
Same issue
I have the same issue. I have checked my clock (it's fine) and am running 6.5.1000.11. I have exit on close = true at 30 sec.
I have included a picture. Chart "1" is the realtime strategy (generated with historical data) at EOD (last bar closes 30min past session close). You can see the exit on close order was not issued. Chart "2" is the historical backtest with the exit on close issue issued.
Any ideas? I'm developing another strategy that I believe, but not confirmed, am seeing the same behavior. (I got an "exit" alert at session open 6:30 AM PST this morning which shouldn't happen with that strategy.)
I will try setting to 90 - 120 seconds to see if that helps. I'm running sim account so am I correct in that it will not matter?Last edited by eleven; 08-13-2009, 11:01 PM.
Comment
-
Same Issue (exactly) as "Eleven".
I am in the same camp. Strategy fails to exit on close. Running 6.5.1000.12. I have extended close seconds to 120. No difference. Like the other posters, my pc syncs regularly with Internet time. Am running in Sim account.
Thx in advance.
Comment
-
Thanks, I got your reply. I added the code to control ExitOnClose programatically. That will work, but it still does not explain why the NT feature does NOT work.
Is there any consequence to Exiting a position that does not exist? i.e. ExitLong, but I do not have a long position?
Yes, I use Vista 64, and yes NT 6.5 does not "support" it. It means, rather, that it does not avail itself of the benefits of 64 bit processing. 32 bit applications run without issue on Vista 64, as far as I know and from anything I have read on the matter.
Any comment on the code I pasted in at the bottom of the log file?
Thx
Comment
-
sharpie, as noted in the email 64 bit operating systems are not supported with NinjaTrader 6.5 - since your ExitOnClose never triggered, please do recheck the entered Session times on the chart you're running the strategy on as ExitOnClose is tied to those, thanks.BertrandNinjaTrader Customer Service
Comment
-
The entered session time is 6:30 AM (local PC time). I change the begin and ending session times on the chart to 6:30 AM and 1:00 PM. Makes no difference if I do or do not. We can consider the topic closed. Maybe NT 7 will make a difference. I am not deterred from going forward.
Rather than making anotherr post I have one more question. It seems basic, but I am stumped.
I bought my "live" license a couple of days ago, updated the license number on NT. Connected to IB, turned on ATI.
Now I want to make a trade, say a manual trade, through IB, but the only account I can get access to is the Sim account. How do I activate the IB account?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by RookieTrader, Today, 09:37 AM
|
1 response
10 views
0 likes
|
Last Post Today, 09:43 AM | ||
Started by alifarahani, Today, 09:40 AM
|
0 responses
5 views
0 likes
|
Last Post
by alifarahani
Today, 09:40 AM
|
||
Started by Gerik, Today, 09:40 AM
|
0 responses
5 views
0 likes
|
Last Post
by Gerik
Today, 09:40 AM
|
||
Started by KennyK, 05-29-2017, 02:02 AM
|
3 responses
1,284 views
0 likes
|
Last Post Today, 09:35 AM | ||
Started by AttiM, 02-14-2024, 05:20 PM
|
11 responses
185 views
0 likes
|
Last Post Today, 09:28 AM |
Comment