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 gravdigaz6, Today, 12:05 AM
|
0 responses
1 view
0 likes
|
Last Post
by gravdigaz6
Today, 12:05 AM
|
||
Started by alexstox, 10-16-2018, 03:29 PM
|
11 responses
344 views
0 likes
|
Last Post
by aligator
Yesterday, 10:01 PM
|
||
Started by ageeholdings, 05-01-2024, 05:22 AM
|
6 responses
44 views
0 likes
|
Last Post
by ageeholdings
Yesterday, 08:37 PM
|
||
Started by tony_28217, Yesterday, 07:04 PM
|
0 responses
11 views
0 likes
|
Last Post
by tony_28217
Yesterday, 07:04 PM
|
||
Started by flybuzz, Yesterday, 10:33 AM
|
1 response
10 views
0 likes
|
Last Post
by flybuzz
Yesterday, 06:59 PM
|
Comment