Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Conditional Color...

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

    Conditional Color...

    Can I have a link to where I can find info on how to color Bars as the Candles do but for indicators...Like green when in + area and red for -?

    thanks

    #2
    Originally posted by mktrend View Post
    Can I have a link to where I can find info on how to color Bars as the Candles do but for indicators...Like green when in + area and red for -?

    thanks
    Hello Mktrend,

    Try this link: http://www.ninjatrader-support2.com/...ead.php?t=3227
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      Thanks a lot RJ. That's just what I needed!

      Comment


        #4
        When I use the "BarColor = Color.Yellow"; statement in my indicator code, it changes the Bar color of the currentbar in the chart rather than the indicator's bar! Why? And how can I apply this statement to change the indicator bar?

        Comment


          #5
          Originally posted by mktrend View Post
          When I use the "BarColor = Color.Yellow"; statement in my indicator code, it changes the Bar color of the currentbar in the chart rather than the indicator's bar! Why? And how can I apply this statement to change the indicator bar?
          The back color using the statement below works OK though!!!???

          BackColor = Color.LightBlue;

          Comment


            #6
            Originally posted by mktrend View Post
            The back color using the statement below works OK though!!!???

            BackColor = Color.LightBlue;
            No Wonder:

            Definition
            Sets the color of a price bar.

            Comment


              #7
              Correct - you might want do review the Stochastics Color code for ideas how to change the indicator colors - http://www.ninjatrader-support2.com/...1&pp=15&page=2
              BertrandNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by f.saeidi, Today, 12:11 AM
              0 responses
              0 views
              0 likes
              Last Post f.saeidi  
              Started by Graci117, Yesterday, 11:40 PM
              0 responses
              5 views
              0 likes
              Last Post Graci117  
              Started by BIOK.NT, Yesterday, 01:56 PM
              2 responses
              11 views
              0 likes
              Last Post BIOK.NT
              by BIOK.NT
               
              Started by i2ogu3, Yesterday, 11:31 PM
              0 responses
              4 views
              0 likes
              Last Post i2ogu3
              by i2ogu3
               
              Started by RDTrader16, Yesterday, 10:19 PM
              0 responses
              10 views
              0 likes
              Last Post RDTrader16  
              Working...
              X