Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Marking the extended session (ETH) with markers from the regular session (RTH)

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

    Marking the extended session (ETH) with markers from the regular session (RTH)

    Hi,
    I'm looking at equities data. I've used platforms before which allow you to display the full extended session with regular session markers either by displaying vertical lines or lightly greying out the background of the pre/post sessions or better still both displaying the vertical lines and greying out the background.

    Can someone please help me find a way of doing this?
    Thanks,
    iq

    #2
    Hello iq200,

    Unfortunately there is no setting that will plot vertical lines this way. You could draw vertical lines manually using the drawing tools.

    I tried it by combining 2 data series in 1 chart panel. One data series is RTH (regular trading hours), while other is ETH (extended trading hours). However the trading hours break line only plots at the end of the RTH session.

    You could also program a custom indicator in NinjaScript that will plot vertical lines this way or configure the background as you describe. You can find information on NinjaScript at the link below.

    Comment


      #3
      Hi Jason,
      Thanks for your reply. Is there a sample script that does something similar? I am not sure how to get the session information.
      Thanks,
      iq

      Comment


        #4
        Unfortunately I am not aware of such a sample script. I am not a programmer myself, so I will not be much help upon creating a custom indicator. If you need assistance, please post a new thread under NinjaTrader 8 - Indicator Development.

        Comment


          #5
          Surely I'm not the only one in history of Ninjatrader to be asking something like this? Jason, should I post in the Development area for some other consultant or member who might know?

          Comment


            #6
            Please avoid posting the same inquiry twice. If other users are aware of such a script, they can post it in this forum thread.

            There are NinjaScript educational resources available in our help guide.

            Comment


              #7
              Sorry I already posted it as I wasn't expecting a reply. Can you please just move the replies after my initial post and append to the other one in the Indicator Development section?

              Comment


                #8
                No worries, I have deleted the thread.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Hwop38, 05-04-2026, 07:02 PM
                0 responses
                173 views
                0 likes
                Last Post Hwop38
                by Hwop38
                 
                Started by CaptainJack, 04-24-2026, 11:07 PM
                0 responses
                328 views
                0 likes
                Last Post CaptainJack  
                Started by Mindset, 04-21-2026, 06:46 AM
                0 responses
                252 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by M4ndoo, 04-20-2026, 05:21 PM
                0 responses
                354 views
                0 likes
                Last Post M4ndoo
                by M4ndoo
                 
                Started by M4ndoo, 04-19-2026, 05:54 PM
                0 responses
                181 views
                0 likes
                Last Post M4ndoo
                by M4ndoo
                 
                Working...
                X