Is there a settings for this somewhere?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Definition of Up bar Close verse Close
Collapse
X
-
Definition of Up bar Close verse Close
It seems from looking at various bar charts, NT defines an Up Bar for colour purposes, as a bar where the close is higher than the open of that bar. I would like to be able to defined an Up Bar as being when the close of the bar is higher than the close of the prior bar. The converse would apply for Down bars
Is there a settings for this somewhere?Tags: None
-
From your statement of the requirement it seems that you simply want to change the bar colors depending on price relationships. So just use BarColor and the other bar properties, and take it from there.Originally posted by GlennL View PostIt seems from looking at various bar charts, NT defines an Up Bar for colour purposes, as a bar where the close is higher than the open of that bar. I would like to be able to defined an Up Bar as being when the close of the bar is higher than the close of the prior bar. The converse would apply for Down bars
Is there a settings for this somewhere?
Comment
-
For candlesticks the solution adopted by NinjaTrader is the only reasonable choice. If you did otherwise, you would not be able to differentiate between open and close values for a candle. Therefore the solution is generally adopted by most charting programs.Originally posted by GlennL View PostIt seems from looking at various bar charts, NT defines an Up Bar for colour purposes, as a bar where the close is higher than the open of that bar. I would like to be able to defined an Up Bar as being when the close of the bar is higher than the close of the prior bar. The converse would apply for Down bars
Is there a settings for this somewhere?
Your request only makes sense for OHLC bars, as open and close can be identified via the geometric shape of the bar. For use with OHLC bars I have coded a little indicator that you can add to your charts.
It took 5 minutes to code and is attached. If you wish to use it with candlesticks, you need to delete lines 27-31.
Attached Files
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
110 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
59 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
37 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
41 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
78 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment