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

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 The_Sec, Yesterday, 03:37 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by vecnopus, Today, 06:15 AM
      0 responses
      1 view
      0 likes
      Last Post vecnopus  
      Started by Aviram Y, Today, 05:29 AM
      0 responses
      5 views
      0 likes
      Last Post Aviram Y  
      Started by quantismo, 04-17-2024, 05:13 PM
      3 responses
      27 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by ScottWalsh, 04-16-2024, 04:29 PM
      7 responses
      36 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X