• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Horizontal/Vertical Gridlines Colors

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    Originally posted by molecool View Post
    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.
    That 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().

    Comment


      #3
      Originally posted by koganam View Post
      That 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().
      Once again Koganam comes to the rescue with unsupported hacks, hehe :-)

      Thanks mate - enjoy the rest of your Sunday.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by aslane, Today, 10:53 AM
      1 response
      3 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by bouncetherubble, Yesterday, 08:42 PM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by bortz, Yesterday, 08:18 AM
      5 responses
      35 views
      0 likes
      Last Post bortz
      by bortz
       
      Started by GARZONJ, Yesterday, 09:02 PM
      1 response
      15 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by siroya, Today, 06:32 AM
      4 responses
      20 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Working...
      X