Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SampleGetHighLowByTimeRange

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

    SampleGetHighLowByTimeRange

    Hi

    In Ray's sample indicator "SampleGetHighLowByTimeRange" --- link here ---


    the lines shown stop at midnight.

    Could you show me how to change the sample to get the lines to show from first drawn right through until the next instance of that time range.

    For example if you want the hi/lo of 1000-1030 range, and then that shows right through until the next day's new 1000-1030 range starts showing.

    thanks

    #2
    Hi Sniffy,

    Thanks for posting! I will take a look and respond shortly.
    TimNinjaTrader Customer Service

    Comment


      #3
      Hi Sniffy,

      Thank you for your patience.

      You will need to access and store the value from the previous days session, then reference it to plot during the next day.

      You could hold the value in perhaps a dataseries or just a variable.
      TimNinjaTrader Customer Service

      Comment


        #4
        Thanks

        ok I will give that a try, thanks Tim

        Comment


          #5
          Hi Sniffy,

          You're welcome, happy coding!
          TimNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          606 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          353 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