Thanks in advance.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Horizontal/Vertical Gridlines Colors
Collapse
X
-
Horizontal/Vertical Gridlines Colors
Simple question - can the horizontal and vertical gridline colors be set via NinjaScript? I'm trying to produce an indicator which sets all my color schemes and thus far I haven't found anything pertinent in the documentation.
Thanks in advance.Tags: None
-
That is because it is in the unsupported ChartControl class.Originally posted by molecool View PostSimple question - can the horizontal and vertical gridline colors be set via NinjaScript? I'm trying to produce an indicator which sets all my color schemes and thus far I haven't found anything pertinent in the documentation.
Thanks in advance.
ChartControl.HorizontalGridLinesPen.Color.
ChartControl.VerticalGridLinesPen.Color.
It goes without saying that you can modify the other properties of the Pen to produce other effects.
Remember to restore things with OnTermination().
-
Once again Koganam comes to the rescue with unsupported hacks, hehe :-)Originally posted by koganam View PostThat is because it is in the unsupported ChartControl class.
ChartControl.HorizontalGridLinesPen.Color.
ChartControl.VerticalGridLinesPen.Color.
It goes without saying that you can modify the other properties of the Pen to produce other effects.
Remember to restore things with OnTermination().
Thanks mate - enjoy the rest of your Sunday.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 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
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment