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

Hihgest and Lowest time range in today and next day

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

    Hihgest and Lowest time range in today and next day

    Hallo, about your indicator "SampleGetHighLowByTimeRange_NT8.zip" I would to know if is possible to have the same indicator with two range line visible also in next day trading session.
    For example, since the maximum and minimum range between 12.00 and 13.00 on day 17 June, you can see the two horizontal lines could choose:
    - Up to 24.00 o'clock of 17 June (actual setup indicator)
    - Up to 24.00 o'clock of 06 June
    thank you very much for your support.
    Denis

    #2
    Hello DenisF,

    Thank you for your post.

    Are you trying to plot the value from the previous session until we pass the time range on the current session?

    Why do you mention the 6th of June in reference to the 17th? Are you looking to plot the value from the 6th to the 17th?

    I look forward to your response.

    Comment


      #3
      Yes I have need to draw the line of this indicator even after the current session.

      Sorry for "6 June"...I meant 16 June.
      For example: since the highest and lowest range between 12.00 and 13.00 o'clock on day 16 June, you can see two horizontal lines could choose between :
      - from 13.00 o'clock of 16 June until 24.00 o'clock of same day (actual setup indicator)
      - from 00.00 o'clock of 17 June untile 24.00 o'clock of same day (next session)
      Alternatively see the indicator's lines only in the next session (range 12.00 - 13.00 in 16 June and lines in 00.00 - 24.00 in 17 June.
      Thank you again
      Denis
      Thank you

      Comment


        #4
        Hello DenisF,

        Just to clarify:

        Are you wanting two different parameters to fill in? For example, a start hour, start minute, end hour, end minute, and then a second start hour, second start minute, second end hour, and second end minute?

        So, for instance, you would like to have two sets of highest highs and lowest lows based on two different spans of time?

        I look forward to your reply and assisting you further.
        Zachary G.NinjaTrader Customer Service

        Comment


          #5
          Hello DenisF,

          I have created an indicator that will plot out two sets of highest highs and lowest lows based on two time periods. You can find it attached to this post.

          Please, let us know if we may be of further assistance!
          Attached Files
          Zachary G.NinjaTrader Customer Service

          Comment


            #6
            Hallo Zachary, I have try import the indicator but i have an erroe message:"Import Failed. C:\Users\D\Downloads\SampleGetHighLowbyTwoTimeRang e(1).zip is likely corrupt and can't be imported"
            What can I do?
            At today I never had problems importing the indicators.
            thank you for your help
            D

            Comment


              #7
              Hello DenisF,

              The indicator I have created was for NinjaTrader 8 as you have mentioned that you were using SampleGetHighLowByTimeRange_NT8.zip.

              This is a sample indicator. As we do not provide programming services, I would suggest opening the ZIP file and viewing the code for SampleGetHighLowByTwoTimeRange.cs as code for both NinjaTrader 7 and NinjaTrader 8 are quite similar with some subtle changes.

              Please, let us know if we may be of further assistance.
              Zachary G.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by helpwanted, Today, 03:06 AM
              1 response
              7 views
              0 likes
              Last Post sarafuenonly123  
              Started by Brevo, Today, 01:45 AM
              0 responses
              7 views
              0 likes
              Last Post Brevo
              by Brevo
               
              Started by aussugardefender, Today, 01:07 AM
              0 responses
              5 views
              0 likes
              Last Post aussugardefender  
              Started by pvincent, 06-23-2022, 12:53 PM
              14 responses
              242 views
              0 likes
              Last Post Nyman
              by Nyman
               
              Started by TraderG23, 12-08-2023, 07:56 AM
              9 responses
              385 views
              1 like
              Last Post Gavini
              by Gavini
               
              Working...
              X