• 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 rickyblah12, Today, 01:01 PM
      0 responses
      8 views
      0 likes
      Last Post rickyblah12  
      Started by dadarara, Today, 12:18 PM
      0 responses
      8 views
      0 likes
      Last Post dadarara  
      Started by joemiller, Today, 07:33 AM
      2 responses
      12 views
      0 likes
      Last Post joemiller  
      Started by TheGameOfProbabilities, 07-18-2019, 06:56 AM
      7 responses
      38 views
      0 likes
      Last Post DaveS
      by DaveS
       
      Started by claxxical, Yesterday, 10:00 PM
      0 responses
      13 views
      0 likes
      Last Post claxxical  
      Working...
      X