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 byteman, Yesterday, 11:59 AM
|
5 responses
31 views
0 likes
|
Last Post
![]()
by byteman
Today, 04:24 AM
|
||
Started by Irukandji, 03-21-2025, 04:05 AM
|
4 responses
51 views
0 likes
|
Last Post
![]()
by Irukandji
Today, 03:05 AM
|
||
Started by Zadomani, 03-24-2025, 11:39 PM
|
2 responses
39 views
0 likes
|
Last Post
![]()
by Zadomani
Yesterday, 11:23 PM
|
||
Started by Darkslide_Tom, 03-23-2025, 11:08 PM
|
4 responses
19 views
0 likes
|
Last Post
![]() |
||
Started by algospoke, 03-12-2025, 07:41 PM
|
4 responses
50 views
0 likes
|
Last Post
![]()
by algospoke
Yesterday, 07:31 PM
|
Comment