Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot based on Time

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

    Plot based on Time

    I am looking for plot already existing I hope. But how to approach if not.
    I wish to create a plot on chart that is time based rectangle much like doch. Channell but is the High and Low plotted line with the the High of last 20 minutes and low of last 20 minutes (I would have the time as a variable)

    So High line and Low line just advance to the right every 1 minute
    Thanks for any feedback

    #2
    Hello DTSSTS,

    That depends on what timeframe you want to use as the primary. If you are using 1 minute bars you can just use MAX and MIN with a 20 bar lookback period to get the high and low of that period. After getting those values you could plot the values to two plots.

    Comment


      #3
      Sorry did not think of that, not planning to use Time Based Charts

      Comment


        #4
        Hello DTSSTS,

        For non time based charts there wouldn't be a way to get specifically 20 minutes. You would have to come up with logic to figure out how many bars are within a range around 20 minutes and then use that for the lookback period. Non time-based bars don't have a guarantee of specific amounts of time.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        649 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        370 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        576 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X