Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Find bar color

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

    Find bar color

    are anyone have script/sample to find bar color.

    #2
    Unfortunately this is beyond the scope of what we can provide support for.
    Hint: Take a look at the code in the CandleStickPattern indicator.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Lastly i found...




      if (BarColor == Color.Gray)
      CandleOutlineColor = Color.Black;

      Comment


        #4
        Oh! Sorry to send you on a wild goose hunt. I thought you meant finding the color for historical bars and such. To find the color of the current bar you found the correct code segment there.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        152 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        87 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        131 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        127 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        106 views
        0 likes
        Last Post CarlTrading  
        Working...
        X