• 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

How to define Plot Style

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

    How to define Plot Style

    Hi,

    i nedd to add my indicator in my strategy and in void Inizialize i add :

    Myindicator().Plots[0].Pen.Color = Color.DarkOrange;
    Myindicator().Plots[0].Pen.DashStyle = DashStyle.Dot;

    Add(SNIPERabrahm());

    But I need draw a dot line. What is the right command to add a line type ?

    Plot.Style.Line ? But can someone explane me how it functions?

    thanks in advance.

    #2
    Should be able to use -
    Code:
    MyIndicator().Plots[0].PlotStyle = PlotStyle.Line;
    Ref: http://www.ninjatrader.com/support/h...plot_class.htm

    Comment


      #3
      Thanks to Calonious for answering this item.

      Sniper, please let us know if you have any questions or if we may be of further assistance.
      Patrick H.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by priceisking, Today, 12:51 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by chartish, Today, 10:33 AM
      3 responses
      15 views
      0 likes
      Last Post chartish  
      Started by casabella, Today, 11:51 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by Johnny, Today, 11:42 AM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_Jermaine  
      Started by habibalex, Today, 09:03 AM
      2 responses
      13 views
      0 likes
      Last Post sledge
      by sledge
       
      Working...
      X