Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MAX value with Time Series

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

    MAX value with Time Series

    Hello. I'm using tick chart and I want to calculate MAX and MIN values of price every 5 minute.
    For example in 01:00 i want to calculate MAX High from 00:55 to 01:00
    In 01:05 i want to calculate MAX High from 01:00 to 01:05.
    How can I do this? Thank you

    #2
    Hello YevhenShynkarenko,

    Thanks for your post.

    If you want to just visualize this, you could add a 5 minute data series, change to a chart style of Box and set the colors of the box to transparent and set the outline colors as you wish. I've attached an example with the settings shown in case you wish to use that.

    Click image for larger version

Name:	YevhenS-1.PNG
Views:	416
Size:	104.3 KB
ID:	1080874

    Coding wise, you could create an indicator that adds a 5 minute data series and then draw the lines on the chart using the Draw.Line() method on the chart bars based on the five minute bar high and low.



    Comment


      #3
      Originally posted by NinjaTrader_PaulH View Post
      Hello YevhenShynkarenko,

      Thanks for your post.

      If you want to just visualize this, you could add a 5 minute data series, change to a chart style of Box and set the colors of the box to transparent and set the outline colors as you wish. I've attached an example with the settings shown in case you wish to use that.

      Click image for larger version

Name:	YevhenS-1.PNG
Views:	416
Size:	104.3 KB
ID:	1080874

      Coding wise, you could create an indicator that adds a 5 minute data series and then draw the lines on the chart using the Draw.Line() method on the chart bars based on the five minute bar high and low.


      I don't need to visualize it. I need to calculate it in indicator ang get that value.

      Comment


        #4
        Hello YevhenShynkarenko,

        Thanks for your reply.

        I've already provided the process: "Coding wise, you could create an indicator that adds a 5 minute data series and then draw the lines on the chart using the Draw.Line() method on the chart bars based on the five minute bar high and low."

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        605 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        351 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
        560 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        561 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X