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 muratb35, Today, 03:36 AM
      0 responses
      3 views
      0 likes
      Last Post muratb35  
      Started by fernlicht, Today, 02:16 AM
      1 response
      8 views
      0 likes
      Last Post NT-Roland  
      Started by fernlicht, 04-12-2021, 06:01 PM
      1 response
      28 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by memonolog, Today, 02:10 AM
      2 responses
      4 views
      0 likes
      Last Post NT-Roland  
      Started by orenytz, Today, 12:25 AM
      0 responses
      8 views
      0 likes
      Last Post orenytz
      by orenytz
       
      Working...
      X