Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi color zigzag.

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

    Multi color zigzag.

    I want to modify the ZigZag. Each of the segments will have its own color (based on certain logic). How can I do this correctly?

    This is how I tried to do it (but the color doesn't change):
    Click image for larger version

Name:	Screenshot_3.jpg
Views:	34
Size:	48.7 KB
ID:	1113219

    This is completely standard ZigZag code, all I added is "PlotBrushes[0][1] = Brushes.ХХХ".

    Am I missing something?


    #2
    Hello webus,

    Thanks for your post.

    The NinjaTrader zigZag indicator uses OnRender() to actually draw the line, you would need to modify that section using sharpDX coding to effect the change you seek.
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jerminedop, Today, 12:18 AM
    0 responses
    6 views
    0 likes
    Last Post jerminedop  
    Started by cnzaxtoil, Yesterday, 11:38 PM
    0 responses
    4 views
    0 likes
    Last Post cnzaxtoil  
    Started by cnzaxtoil, Yesterday, 11:37 PM
    0 responses
    3 views
    0 likes
    Last Post cnzaxtoil  
    Started by sukhob, Yesterday, 04:27 PM
    1 response
    14 views
    0 likes
    Last Post zacharydw00  
    Started by Bmnaiorwsd, Yesterday, 07:52 PM
    0 responses
    4 views
    0 likes
    Last Post Bmnaiorwsd  
    Working...
    X