• 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

  • NinjaTrader_PatrickH
    replied
    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.

    Leave a comment:


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

    Leave a comment:


  • sniper
    started a topic How to define Plot Style

    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.

Latest Posts

Collapse

Topics Statistics Last Post
Started by pjsmith, Today, 01:56 AM
0 responses
1 view
0 likes
Last Post pjsmith
by pjsmith
 
Started by surgeless, Today, 12:42 AM
0 responses
2 views
0 likes
Last Post surgeless  
Started by JasonH, Yesterday, 11:03 PM
0 responses
2 views
0 likes
Last Post JasonH
by JasonH
 
Started by NeuTronite, Yesterday, 08:40 PM
0 responses
1 view
0 likes
Last Post NeuTronite  
Started by tvaughan4, Yesterday, 06:00 PM
0 responses
5 views
0 likes
Last Post tvaughan4  
Working...
X