Thanks in advance.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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
-
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().
-
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 haas88, 03-21-2024, 02:22 AM
|
14 responses
177 views
0 likes
|
Last Post Today, 07:32 AM | ||
Started by Skifree, Yesterday, 11:41 PM
|
1 response
10 views
0 likes
|
Last Post Today, 07:31 AM | ||
Started by Rogers101, 05-05-2024, 11:30 AM
|
21 responses
65 views
0 likes
|
Last Post
by Rogers101
Today, 07:27 AM
|
||
Started by max1ci6, Today, 06:47 AM
|
1 response
4 views
0 likes
|
Last Post Today, 07:26 AM | ||
Started by Klaus Hengher, Today, 03:13 AM
|
1 response
13 views
0 likes
|
Last Post Today, 07:23 AM |
Comment