Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem with H/L by timerange

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

    Problem with H/L by timerange

    I'm trying to figure out why this happens, and what i need to change in the code. If i ad the SampleGetHighLowByTimeRange.cs to the chart and set the calculation to the H/L of the 06:00 bar, the lines stops at 23:00 and dont start again before the 06:00 bar again. I would like to have the lines plotting over night. I added the prior day H/L indicator to the chart to see if the problem also showed up with that indicator, but that one plots normal between my session break lines.

    Please see attached picture. I also added the SampleGetHighLowByTimeRange indicator. It would be great if someone could help me with this.

    Regards
    finnbjurvoll
    Attached Files

    #2
    finnbjurvoll, that would be expected per the logic the indicator uses to determine those ranges - you should be able to extend those lines displaying the range by for example drawing a horizontal line at those levels at the end time so you can keep them as a reference until the new daily calculation starts.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    168 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    322 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    246 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X