" ShowTransparentPlotsInDataBox = true; " and inserting the same line in the strategy code, the indicator's transparent plot is still not showing in the databox.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
ShowTransparentPlotsInDataBox not working
Collapse
X
-
ShowTransparentPlotsInDataBox not working
I am trying to get the plots plotted by my strategy to show in the data box when they are set to transparent, but despite making a custom indicator with
" ShowTransparentPlotsInDataBox = true; " and inserting the same line in the strategy code, the indicator's transparent plot is still not showing in the databox.Tags: None
-
I'm not sure I follow: the syntax above is from NT8 help guide and it actually works, so you don't have to do anything.
Anyway, I figured out why mine didn't show up: the indicator was set to plot on a secondary series, which the strategies won't allow.
So this is a feature request you can add, please: for strategies to plot indicators applied to secondary series.
Comment
-
Really? I thought I read in the help guide that's not possible.
My code below won't plot other indicators than for the primary [0] series. Is there anything wrong with it?
The transparent plots show in the data box, but only for the primary [0] series and it makes no difference what colour I set for the [2] series indicators to plot, they don't show
Code:public class ATM2 : Strategy { private T3 T31b0; private T3 T32b0; private T3 T31b2; private T3 T32b2; private DMI DMI1; ... else if (State == State.Configure) { AddDataSeries(Data.BarsPeriodType.Tick, 1); AddDataSeries(Data.BarsPeriodType.Minute, 5); } else if (State == State.DataLoaded) { DMI1 = DMI(Closes[2], Convert.ToInt32(DmiPeriod)); T31b0 = T3(Closes[0], 5, 3, 0.7); T32b0 = T3(Closes[0], 8, 3, 0.7); T31b2 = T3(Closes[2], 5, 3, 0.7); T32b2 = T3(Closes[2], 8, 3, 0.7); T31b0.Plots[0].Brush = Brushes.Yellow; T32b0.Plots[0].Brush = Brushes.White; T31b2.Plots[0].Brush = Brushes.Transparent; T32b2.Plots[0].Brush = Brushes.Transparent; DMI1.Plots[0].Brush = Brushes.Transparent; AddChartIndicator(T31b0); AddChartIndicator(T32b0); AddChartIndicator(T31b2); AddChartIndicator(T32b2); AddChartIndicator(DMI1);
Comment
-
Hi,
I have the opposite issue. I would like my transparent plots NOT to appear in the DataBox. I setand it still appears in the DataBox in black with n/a as values as opposed to the desire result which would be to not appear at all. How can I enforce my transparent plots to not show in the DataBox if ShowTransparentPlotsInDataBox does not work?Code:ShowTransparentPlotsInDataBox = false
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
50 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
69 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment