Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 GussJ, 03-04-2020, 03:11 PM
          12 responses
          3,239 views
          0 likes
          Last Post Leafcutter  
          Started by AveryFlynn, Today, 04:57 AM
          0 responses
          5 views
          0 likes
          Last Post AveryFlynn  
          Started by RubenCazorla, 08-30-2022, 06:36 AM
          3 responses
          79 views
          0 likes
          Last Post PaulMohn  
          Started by f.saeidi, Yesterday, 12:14 PM
          9 responses
          25 views
          0 likes
          Last Post f.saeidi  
          Started by Tim-c, Today, 03:54 AM
          0 responses
          5 views
          0 likes
          Last Post Tim-c
          by Tim-c
           
          Working...
          X