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 Jonker, 04-27-2024, 01:19 PM
      3 responses
      23 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by businessman1929, 04-29-2024, 01:28 PM
      2 responses
      22 views
      0 likes
      Last Post businessman1929  
      Started by bltdavid, 03-27-2023, 05:32 AM
      18 responses
      347 views
      0 likes
      Last Post ETFVoyageur  
      Started by NM_eFe, Today, 05:15 PM
      0 responses
      5 views
      0 likes
      Last Post NM_eFe
      by NM_eFe
       
      Started by vitaly_p, Today, 05:09 PM
      0 responses
      7 views
      0 likes
      Last Post vitaly_p  
      Working...
      X