Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Opening Range Indicator

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

    Opening Range Indicator

    Hey guys!

    Hope you are having a great weekend!

    I have come across this great indicator which works really well!

    8-20-19 Fixed a bug in the display of prior days. This indicator draws a line at the High and at the Low price of the range specified by the user. Features: User can specify Start Time and End time User can enable the indicator to draw a line at the mid price of the High […]


    However, I was wondering if it would possible to be able to adjust not just the hour and minutes, but the seconds also?

    I'm looking to see the opening range for the first 30 seconds of different markets.

    I'm not sure if this would be easy to configure but if it is, I'd be very appreciative of your time and efforts in making it possible.

    Thanks very much for your time.

    Kind Regards,
    Josh

    #2
    Hello Josh,

    It would be possible to add seconds to an input using property editor attribute.

    Below is a link to a forum post with example code.
    Is there a way to create a User input variable(maybe a string) that would allow a user to input the time value in as one field? Variable startTime = "10,30,00" TimeSpan = (startTime) Or would I have to have separate input variables for each segment Variables - hour * minute * second TimeSpan = (hour,minute,second)
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hey thanks NinjaTrader_ChelseaB

      Unfortunately I'm not very proficient with coding - I was wondering if one of your team might be able to edit this for me?

      I'd be super appreciative. I have already attempted and not sure what I'm doing wrong.

      Thanks for your time.

      Kind Regards,
      Josh

      Comment


        #4
        Cant you just change your data series / or your chart's time interval?

        Comment


          #5
          Hello Josh,

          Unfortunately, in the support department at NinjaTrader it is against our policy to create, debug, or modify, code or logic for our clients. Further, we do not provide C# programming education services or one on one educational support over the phone in our NinjaScript Support department. This is so that we can maintain a high level of service for all of our clients as well as our associates.

          That said, through email we are happy to answer any questions you may have about NinjaScript if you decide to code this yourself. We are also happy to assist with finding resources in our help guide as well as simple examples, and we are happy to assist with guiding you through the debugging process to assist you with understanding unexpected behavior.

          We do have a large ecosystem available to help you with programming logic questions. You can post on our forum and ask the other 40,000+ forum members.

          https://ninjatrader.com/support/foru.../ninjatrader-8

          You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our NinjaTrader Ecosystem team follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request or provide one on one educational services.


          Which property editor attribute did you add to your input?

          Are you getting an error?
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          629 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          362 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
          564 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          568 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X