Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Plotting not in panel 1 but want to BarColor panel 1
Collapse
X
-
Correct ct, that's what I would expect in this case. Would unfortunately not be aware of a workaround.
-
Would this be on a MultiSeries chart then ct? As this simple example works well for me with the indicator plot not being in Panel1 but BarColoring to the price panel.
Plot0.Set(SMA(20)[0]);
if (Rising(Plot0))
{
PlotColors[0][0] = Color.Blue;
BarColor = Color.Blue;
}
else if (Falling(Plot0))
{
PlotColors[0][0] = Color.Red;
BarColor = Color.Red;
}
else
{
PlotColors[0][0] = Color.DarkGray;
BarColor = Color.DarkGray;
}
Leave a comment:
-
I had tried that but , it just changed the bar color in the same panel as the indicator. I was trying to set the price action bar color the same as my plot.
Leave a comment:
-
Originally posted by ct View PostI have an indicator that plots in a secondary panel (not panel 1). I Wanted to change the price action BarColor in Panel1. Can I do that?
I tried this but it didn't work:
Overlay = true;
DrawOnPricePanel = true;
BarColor = PlotColors[0][0];
Overlay = false;
DrawOnPricePanel = false;
I can use backcolorall but that is not really what I wanted.
Leave a comment:
-
Plotting not in panel 1 but want to BarColor panel 1
I have an indicator that plots in a secondary panel (not panel 1). I Wanted to change the price action BarColor in Panel1. Can I do that?
I tried this but it didn't work:
Overlay = true;
DrawOnPricePanel = true;
BarColor = PlotColors[0][0];
Overlay = false;
DrawOnPricePanel = false;
I can use backcolorall but that is not really what I wanted.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Pointtoni, Yesterday, 11:41 PM
|
0 responses
7 views
0 likes
|
Last Post
![]()
by Pointtoni
Yesterday, 11:41 PM
|
||
Started by DayTradingDEMON, Yesterday, 02:10 PM
|
2 responses
20 views
0 likes
|
Last Post
![]() |
||
Started by Marble, 03-20-2025, 05:00 AM
|
7 responses
34 views
0 likes
|
Last Post
![]()
by Marble
Yesterday, 11:19 PM
|
||
Started by laketrader, 03-10-2025, 07:20 AM
|
6 responses
59 views
0 likes
|
Last Post
![]()
by laketrader
Yesterday, 08:33 PM
|
||
Started by clintonbullocks15, Yesterday, 07:47 PM
|
0 responses
5 views
0 likes
|
Last Post
![]() |
Leave a comment: