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 arvidvanstaey, Today, 02:19 PM
|
2 responses
7 views
0 likes
|
Last Post Today, 03:12 PM | ||
Started by jordanq2, Today, 03:10 PM
|
0 responses
2 views
0 likes
|
Last Post
by jordanq2
Today, 03:10 PM
|
||
Started by traderqz, Today, 12:06 AM
|
10 responses
18 views
0 likes
|
Last Post
by traderqz
Today, 02:49 PM
|
||
Started by algospoke, 04-17-2024, 06:40 PM
|
5 responses
46 views
0 likes
|
Last Post Today, 02:36 PM | ||
Started by mmckinnm, Today, 01:34 PM
|
3 responses
6 views
0 likes
|
Last Post Today, 02:12 PM |
Comment