Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi-colored bar indicator

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

    Multi-colored bar indicator

    Greetings

    Let's say that I have an indicator that uses a bar as a plot style. If, for example, I wanted to color 50% of the one bar black and the other 50% of the same bar red, can this be done without overriding the Plot method?

    Thanks in advance.

    #2
    Svrz,

    Yes, this is possible using NinjaScript with a work-around. It would require creating 2 plots on the same indicator, making one plot a full sized bar, and the other plot having bars half this size. You could set the color of each plot as you see fit.

    Please let me know if I can assist further.
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by poplagelu, Today, 05:00 AM
    0 responses
    3 views
    0 likes
    Last Post poplagelu  
    Started by fx.practic, 10-15-2013, 12:53 AM
    5 responses
    5,407 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by Shai Samuel, 07-02-2022, 02:46 PM
    4 responses
    98 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by DJ888, Yesterday, 10:57 PM
    0 responses
    8 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    160 views
    0 likes
    Last Post loganjarosz123  
    Working...
    X