Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to retrieve Renko bar color?

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

    How to retrieve Renko bar color?

    Hi Support

    I'm trying to retrieve the color of the renko bar for my strategy.

    I've tried printing the bar colour by using the following command:
    Print (BarColorSeries[0]);

    on the out put screen I get the following output
    0

    I get the same output whether the brick is green or red.

    Can you please let me know how i can retrieve the color please?

    Thanks

    DB

    #2
    FYI I've also tried

    Print (BarColor);

    I get [Null] as the output for both red and green.

    Thanks

    DB

    Comment


      #3
      Close[1] > Open[1] : green bar
      Close[1] < Open[1] : red bar

      Marco

      Comment


        #4
        Thanks Marco!

        much appreciated.

        Since Renko charts only show an up or down bar.
        I'm not sure how it would handle a price being flat - i.e. what would happen in the case

        Close[1] == Open[1] ?

        or would a flat price never occur with Renko?

        Comment


          #5
          Close[1] == Open[1] would never occur since Renko only draws an upbar if Close > Open + BrickSize and downbar if Close < Open - BrickSize

          Comment


            #6
            Thanks again!

            Makes sense to me now.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            579 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            334 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            554 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            551 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X