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

Previous Day's Ending Price

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

    Previous Day's Ending Price

    I'd like to calculate the change from the current bar's closing price and the previous day's ending price. Is there a method to easily retrieve the previous day's ending price?

    #2
    Yes, you can work with PriorDayOHLC().PriorClose - http://www.ninjatrader.com/support/h...r_day_ohlc.htm for this task.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Works like charm! Thanks!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sdauteuil, 09-23-2021, 10:16 AM
      10 responses
      1,263 views
      0 likes
      Last Post NinjaTrader_RyanS  
      Started by Grantx, 05-31-2020, 06:49 AM
      7 responses
      1,384 views
      0 likes
      Last Post marcus2300  
      Started by ETFVoyageur, 05-18-2024, 12:45 AM
      3 responses
      20 views
      0 likes
      Last Post ETFVoyageur  
      Started by sylviannyc, Today, 09:07 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by warpinator, 05-16-2024, 10:44 AM
      4 responses
      36 views
      0 likes
      Last Post warpinator  
      Working...
      X