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 sjsj2732, 03-23-2026, 04:31 AM
          0 responses
          42 views
          0 likes
          Last Post sjsj2732  
          Started by NullPointStrategies, 03-13-2026, 05:17 AM
          0 responses
          295 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          290 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          135 views
          1 like
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          98 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Working...
          X