protected override void Initialize() { Overlay = true; } protected override void OnBarUpdate() { BarColor = Color.Blue; CandleOutlineColor = Color.Blue; }
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Coloring chart data on Box and Line on Close charts
Collapse
X
-
Coloring chart data on Box and Line on Close charts
I noticed that setting BarColor and CandleOutlineColor in an indicator has no effect when the chart style is either Box or Line on Close. To test I wrote a really simple indicator (creatively named MakeBlue) containing only the following code:
Code:Tags: None
-
Box style in the Data Series window offers two colors to choose (up color and down color) as well as two outlines to define. So Box certainly appears to have both a bar color and an outline color. I can understand Line on Close working differently, though I can't see why an indicator shouldn't be able to get at that color, too.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by volIQ, Yesterday, 04:28 PM
|
2 responses
16 views
0 likes
|
Last Post
by volIQ
Today, 01:42 PM
|
||
Started by adeelshahzad, Today, 11:49 AM
|
5 responses
16 views
0 likes
|
Last Post Today, 01:27 PM | ||
Started by spottysallrite, Today, 11:31 AM
|
6 responses
13 views
0 likes
|
Last Post Today, 01:53 PM | ||
Started by yaniv, Today, 12:50 PM
|
1 response
5 views
0 likes
|
Last Post Today, 01:15 PM | ||
Started by Lele2k24, Yesterday, 11:24 AM
|
10 responses
33 views
0 likes
|
Last Post Today, 01:04 PM |
Comment