Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Execute order on same candle
Collapse
X
-
Execute order on same candle
Is it possible to tell nijatrader to execute a long order on a trade without waiting for the bar to close . All I want nijatrader to do is; if a candle reaches 20 ticks upwards ( from low to high) to go long right away. Not on the second candle.Tags: None
-
Originally posted by wallsteetking View PostIs it possible to tell nijatrader to execute a long order on a trade without waiting for the bar to close . All I want nijatrader to do is; if a candle reaches 20 ticks upwards ( from low to high) to go long right away. Not on the second candle.
-
-
Hello,
This will work in live. However is this a backtest or historical processing? If thats the case then there is no way to change this. NinjaTrader will always open a position at the open price of the next bar as we felt this is the best way for more realistic backtesting.
You must always run COBC = True on Historical.
What you can do however is do whats known as adding granularity to your backtest if you need more granularity.
Please see here on how to do this.
You can submit orders to different Bars objects. This allows you the flexibility of submitting orders to different timeframes. Like in live trading, taking entry conditions from a 5min chart means executing your order as soon as possible instead of waiting until the next 5min bar starts building. You can achieve this by
Let me know if I can be of further assistance.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by kujista, Today, 05:44 AM
|
0 responses
6 views
0 likes
|
Last Post
by kujista
Today, 05:44 AM
|
||
Started by ZenCortexCLICK, Today, 04:58 AM
|
0 responses
8 views
0 likes
|
Last Post Today, 04:58 AM | ||
Started by sidlercom80, 10-28-2023, 08:49 AM
|
172 responses
2,281 views
0 likes
|
Last Post
by sidlercom80
Today, 04:40 AM
|
||
Started by Irukandji, Yesterday, 02:53 AM
|
2 responses
18 views
0 likes
|
Last Post
by Irukandji
Today, 03:55 AM
|
||
Started by adeelshahzad, Today, 03:54 AM
|
0 responses
11 views
0 likes
|
Last Post
by adeelshahzad
Today, 03:54 AM
|
Comment