• 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 aworldnervelink, Today, 06:43 AM
      0 responses
      5 views
      0 likes
      Last Post aworldnervelink  
      Started by scytbygry, Today, 06:43 AM
      0 responses
      1 view
      0 likes
      Last Post scytbygry  
      Started by Irukandji, Today, 06:24 AM
      0 responses
      7 views
      0 likes
      Last Post Irukandji  
      Started by corman, 04-11-2020, 03:14 AM
      4 responses
      45 views
      0 likes
      Last Post trader333  
      Started by BGWTEX, Today, 06:08 AM
      0 responses
      5 views
      0 likes
      Last Post BGWTEX
      by BGWTEX
       
      Working...
      X