Also, how do I program the start and finish of the automated trading in a intraday enviroment. eg. start at xx and finish at xx. Thank you for your help.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Automated exit order is filled late
Collapse
X
-
Automated exit order is filled late
I am a newbie, so please bare with me, When working with an automated strategy I am finding that the orders are always being executed one bar after the close of the current bar. Is there a offset feature for this?
Also, how do I program the start and finish of the automated trading in a intraday enviroment. eg. start at xx and finish at xx. Thank you for your help.Tags: None
-
Hello,
If you are backtesting, you cannot change what bar the strategy executes on. It will executes AFTER the criteria is met, therefore it has to be on the bar AFTER the bar where the criteria is met.
If you are forward testing or trading live, change the strategy so that is runs with CalculateOnBarClose = false and see if that helps:
This link will help with your section question:
DenNinjaTrader Customer Service
-
re-auto trading
Thank you for the reply. I had made sure to have the "calculate on Bar close off" when working with the ninjascript wizard. The execution is still coming way at the end of the 10 min. bar even in live mode. I am not sure what settings need to be changed.
Comment
-
Re auto reading
Thanks Josh. I've have done all that. I guess what I am wondering is this: I am running a 10 minute chart, I have a number of conditions that all have to be met for an order to be triggered. I would like the order to be placed in "real time" a soon as this happens instead of at the end of a 10 minute bar. Can I do this?
Comment
-
Hi Josh. I am doing both. However, it is in real time that I am still noticing the 1 bar delay problem. I am wondering if I may have missed something with my settings? I just set up an account with IB. Is there a special setup that I may not have done with them? In a perfect world, should I be able to do what I am asking in regards to the real time scenario on the 10 minute chart. Thanks you for your time.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by mly916, Today, 09:48 PM
|
0 responses
10 views
0 likes
|
Last Post
by mly916
Today, 09:48 PM
|
||
Started by Mikey_, Today, 09:21 PM
|
0 responses
11 views
0 likes
|
Last Post
by Mikey_
Today, 09:21 PM
|
||
Started by cre8able, Today, 05:53 PM
|
3 responses
13 views
0 likes
|
Last Post
by cre8able
Today, 09:20 PM
|
||
Started by Aryan Kumar, Today, 09:04 PM
|
0 responses
4 views
0 likes
|
Last Post
by Aryan Kumar
Today, 09:04 PM
|
||
Started by yertle, Yesterday, 05:49 PM
|
3 responses
16 views
0 likes
|
Last Post
by Mindset
Today, 08:38 PM
|
Comment