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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        57 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        78 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        39 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        101 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        61 views
        0 likes
        Last Post PaulMohn  
        Working...
        X