Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator for 2 times of Day

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

    Indicator for 2 times of Day

    I am attempting (my first) to create an indicator that will show a stub line on the right of the screen like the indicator PriorDayOHLC but I want it to be only a high and a low line for two distinct user selected times today. I could modify the indicator CurrentDayOHL by removing the line for the Open but I don't want it to track the whole day only the times that the user indicates for example 9:00 to 11:00 AM. Can anyone help me change the code in CurrentDayOHL or aim me in the correct direction. Oh, and I want the lines to remain visable all day today.
    Thanks

    #2
    What you want to do is go ahead and modify the CurrentDayOHL in the way you mentioned then add a time filter onto it. For an example of how to use a time filter please see this reference sample.

    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Dean,

      I just created an indicator to show the high and low of a specific time range for each day. Maybe it's what you're looking for?

      It's at: http://www.ninjatrader-support.com/v...ead.php?t=4156

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      163 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      313 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      245 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      350 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X