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 mgco4you, Today, 09:46 PM
|
1 response
2 views
0 likes
|
Last Post Today, 09:56 PM | ||
Started by wzgy0920, Today, 09:53 PM
|
0 responses
3 views
0 likes
|
Last Post
by wzgy0920
Today, 09:53 PM
|
||
Started by Rapine Heihei, Today, 08:19 PM
|
1 response
8 views
0 likes
|
Last Post Today, 08:30 PM | ||
Started by Rapine Heihei, Today, 08:25 PM
|
0 responses
6 views
0 likes
|
Last Post Today, 08:25 PM | ||
Started by f.saeidi, Today, 08:01 PM
|
1 response
9 views
0 likes
|
Last Post Today, 08:17 PM |
Comment