When using Calculate On Bar Close = false, Close[0] will give you the last traded price (current tick) regardless of the bar type you are using. This is because the bar has not technically closed and will continue to update as you receive new ticks in your range chart.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Multi-Time Frame BarUpdate, Entries and Exits
Collapse
X
-
David,
When using Calculate On Bar Close = false, Close[0] will give you the last traded price (current tick) regardless of the bar type you are using. This is because the bar has not technically closed and will continue to update as you receive new ticks in your range chart.MatthewNinjaTrader Product Management
-
Ah,I see... one other thing, consider
EMA(BarsArray[2], 8)[0]
This will calculate the EMA 8 of barObject 2, my 20 minute bars. However it will calculate on the Close Price. How would I declare the same thing but for it to calculate on the Opening Price and declaring the BarsArray to use also?
Thanks
David
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
163 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
313 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
245 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
350 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
179 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment