Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Openning price and extended session

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

    Openning price and extended session

    I would like to compare the current price versus the days opening value.

    However, i would just like to deal with the NYSE normal hours, 9:30-4:00pm EST. So how would i find the opening value for the bar at 9:30am? Or is there a way to tell the software, to only use regular hours as its source for bars.

    Thanks in advance.

    #2
    Hi rscott6666, welcome to our support forums! You could set your session times to the regular market hours (double click on the chart and set those in the Chart properies under Session Begin / End).

    For a programmatic approach, you can use GetBar() - http://www.ninjatrader-support.com/H...V6/GetBar.html
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thank you, i've already figured the answer out.

      i thought i had tried setting the session times and it not doing what i wanted, but i've since noticed that indeed it does the trick. Knowing the getBar function will help as well.

      Thanks again.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by MaybellMcKee, Today, 10:18 PM
      0 responses
      5 views
      0 likes
      Last Post MaybellMcKee  
      Started by Lance El Camino, Today, 04:14 PM
      1 response
      13 views
      0 likes
      Last Post s.kinra
      by s.kinra
       
      Started by jtrading82, Today, 04:56 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by dmking, Today, 06:00 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_EricB  
      Started by WHICKED, Today, 03:23 PM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X