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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
600 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
347 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
558 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
558 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment