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 SalmaTrader, 07-07-2026, 10:26 PM
          0 responses
          35 views
          0 likes
          Last Post SalmaTrader  
          Started by CarlTrading, 07-05-2026, 01:16 PM
          0 responses
          20 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 06-17-2026, 10:32 AM
          0 responses
          13 views
          0 likes
          Last Post CaptainJack  
          Started by kinfxhk, 06-17-2026, 04:15 AM
          0 responses
          19 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 06-17-2026, 04:06 AM
          0 responses
          22 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Working...
          X