TradingSolutions Home  |  Products  |  Services  |  Downloads  |  Resources  |  Support  |  Order NeuroDimension Home  
'
   Products
     TradingSolutions
     Trader68
     Add-Ons
     Bundles
     Financial Books
     Other Products
   Services
     System Development
     Custom Software
   Downloads
     Free Evaluation Copy
     Product Updates
     Free Systems
   Resources
     Sample Performance
     Video Tour
     Data Sources
     TradingSolutions FAQ
     Online Brokers
   Viewpoints
     Customer Interviews
     Customer Quotes
     News and Reviews
   Support
     How to Get Help
     Licensed User Center
     Contact NeuroDimension
   Order

   ND Corporate Website
   NeuroSolutions.com
   Trader68.com

TradingSolutions Function Library

  Open For Previous Day [OpenForPrevDay]  
Return to Complete List of Functions
The Open For Previous Day function returns the opening price for the previous trading day. This function is primarily used for intraday data.

Parameters
------------------
Open         The opening price of the security for each bar of an intraday data series.

Note that while this function is intended for use with these specific values, any values can be used for these parameters, including other price values and averaged prices.

Function Value
------------------------
This function returns the opening price for the previous trading day.

It uses the function IsFirstBarOfDay to determine when a new day begins. On the first bar of a new day, it gets the value of the OpenForDay function for the previous bar, which is the last bar of the previous day.

The value for the first day of the data series is not set since there is no previous opening price on the first day.

Usage
-----------
This function is primarily used for calculating the change or percent change of a value from the opening price of the previous day.

TradingSolutions Home  |  Products  |  Downloads  |  Resources  |  Support  |  Order

Contact NeuroDimension | Privacy Policy
Webmasters, join our affiliate program. Interested in selling our software? Become a reseller!
Web Site Design and Implementation Copyright © 2010 NeuroDimension, Inc.
Risks of Forex Trading.