Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Compare Renko-Low to Actual low

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

    Compare Renko-Low to Actual low

    In renko chart type calculate own Renkolow or Renkohigh by add/subtract offset value.
    If I put Low[0] or High[0] that show Renkolow or Renkohigh.

    I want to calculate actual/original Low or High.by indicator
    How can it plz help.

    Thank you

    #2
    Hello yeshujbp,

    Thank you for your post.

    We're going to need some clarity on exactly what you are looking for.

    I see you're looking the low and the high of renko bars plus or minus an offset. What offset are you planning to use? Is it calculated by this indicator you would like to create, a hardcoded amount, or a variable? What do you mean by actual/original low or high?

    Thanks in advance; I look forward to assisting you further.

    Comment


      #3
      Hi

      Thank you for reply

      I have compared two chart (RenkoBarsType & TickBarsType) and found the different respective low and high values at the same point.

      Now I want to develop indicator in terms to get the low/high value of TickBarsType where it falls in RenkoBarsType.

      Comment


        #4
        Hello yeshujbp,

        Thank you for your reply.

        You can certainly create an indicator that will show the actual high and low price.

        You could use Calculate.OnEachTick and track the highest high and lowest low with something like this:
        private double tmpHigh, tmpLow;
        protected override void OnBarUpdate()
        {
        if (IsFirstTickOfBar)
        {
        tmpHigh = tmpLow = Close[0];
        }
        else
        {
        tmpHigh = Math.Max(tmpHigh, Close[0]);
        tmpLow = Math.Min(tmpLow, Close[0]);
        }
        // use a drawing tool to draw a line or however you want to display these here
        }
        Here's a link to our help guide that goes over the Calculate property:


        Please let us know if we may be of further assistance to you.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        626 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        359 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        562 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        567 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X