Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
ChartStyle properties dont work
Collapse
X
-
Hello Marty125,
I've made a test copy of the CandleStyle chartStyle and printed property which you may find helpful.
IsTransparentCandleChartStyleTest_NT8.zip
Note, this property can be used in State.Configure but the print also appears for cloned administrative instances which can be confusing. Printing this in State.Active would allow it to print only when selected for a chart.Chelsea B.NinjaTrader Customer Service
-
Hello Marty125,
Yes, this is a ChartStyle property.
From an indicator you can access the ChartBars.Properties.ChartStyle of the chart.
protected override void OnStateChange()
{
if (State == State.DataLoaded)
{
if (ChartControl != null)
{
if (ChartBars.Properties.ChartStyle.IsTransparent)
{
Print("All bars are currently set to transparent");
}
}
}
}Chelsea B.NinjaTrader Customer Service
Comment
-
Hi ChelseaB,
in ChartStyles scripts there are these Remove properties lines
Properties.Remove(Properties.Find("BarWidthUI", true));
Properties.Remove(Properties.Find("DownBrush", true));
Properties.Remove(Properties.Find("UpBrush", true));
Is it possible to remove/hide these in an indicator script? Thank you
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
566 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
547 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
548 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment