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 cre8able, Today, 01:16 PM
|
1 response
3 views
0 likes
|
Last Post Today, 01:30 PM | ||
Started by chbruno, 04-24-2024, 04:10 PM
|
3 responses
47 views
0 likes
|
Last Post Today, 01:29 PM | ||
Started by samish18, Today, 01:01 PM
|
1 response
6 views
0 likes
|
Last Post Today, 01:25 PM | ||
Started by WHICKED, Today, 12:56 PM
|
1 response
8 views
0 likes
|
Last Post Today, 01:17 PM | ||
Started by WHICKED, Today, 12:45 PM
|
1 response
11 views
0 likes
|
Last Post Today, 01:08 PM |
Comment