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 nicthe, Today, 07:38 AM
|
4 responses
18 views
0 likes
|
Last Post
by bltdavid
Today, 01:58 PM
|
||
Decrease the size of the RegionHIghLightY on each tick when the price touches it
by cmtjoancolmenero
Started by cmtjoancolmenero, 04-29-2024, 03:40 PM
|
30 responses
98 views
0 likes
|
Last Post Today, 01:53 PM | ||
Started by junkone, 04-28-2024, 02:19 PM
|
9 responses
96 views
1 like
|
Last Post
by junkone
Today, 01:53 PM
|
||
Started by samish18, Yesterday, 12:20 PM
|
1 response
12 views
0 likes
|
Last Post Today, 12:54 PM | ||
Started by Lancer, 01-29-2020, 10:15 PM
|
6 responses
461 views
1 like
|
Last Post
by neveral0n3
Today, 12:53 PM
|
Comment