Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changing colors of drawings

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

    Changing colors of drawings

    I'm not clear on how to do this, even after looking through the help pages, could someone straighten me out?

    In my strategy, if I have something like:

    Code:
    Add(ZigZag(DeviationType.Points, 1,true));
    How do I change the color of drawing and make it a dashed line instead of solid?


    Thanks

    #2
    Hi lookOutBelow,

    You can add something like...

    ZigZag(DeviationType.Points, 1,true).Plots[0].Pen.DashStyle = DashStyle.Dash;

    to Inititialize(), as described in this post: http://www.ninjatrader.com/support/f...ead.php?t=3228
    TimNinjaTrader Customer Service

    Comment


      #3
      thanks..

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by kinfxhk, 07-14-2026, 09:39 AM
      0 responses
      127 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      105 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      85 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      105 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      86 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X