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 Belfortbucks, Today, 09:29 PM
              0 responses
              6 views
              0 likes
              Last Post Belfortbucks  
              Started by zstheorist, Today, 07:52 PM
              0 responses
              7 views
              0 likes
              Last Post zstheorist  
              Started by pmachiraju, 11-01-2023, 04:46 AM
              8 responses
              151 views
              0 likes
              Last Post rehmans
              by rehmans
               
              Started by mattbsea, Today, 05:44 PM
              0 responses
              6 views
              0 likes
              Last Post mattbsea  
              Started by RideMe, 04-07-2024, 04:54 PM
              6 responses
              33 views
              0 likes
              Last Post RideMe
              by RideMe
               
              Working...
              X