Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Setting different bar lengths
Collapse
X
-
Setting different bar lengths
When constructing a strategy, how do you set different bar lengths. for example, close of a 1 minute bar compared to the open of the current 30 minute bar, or day bar. Also, is the close of the current bar updarted at every tick?Tags: None
-
Hello,
When constructing a strategy, how do you set different bar lengths. for example, close of a 1 minute bar compared to the open of the current 30 minute bar, or day bar.
>>Please review this link:
Also, is the close of the current bar updarted at every tick?
>>Generally speaking yes if you have CalculateOnBarClose set to False:
http://www.ninjatrader-support.com/H...BarClose1.html
Note that if you are using multiple bar types this behaves a bit differently so you should review the previous multtimeframe link regarding this as well.DenNinjaTrader Customer Service
-
Thanks - another question
Sometimes I use PAR SAR as triggers, which can trigger anywhere in the bar, but are relative the the value of the last bar. Is there a way to have the value reported at trade in backtesting be relative the to PAR SAR value of teh previous bar?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
72 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
39 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
63 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment