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

  Bars Since Time [BarsSinceTime]  
Return to Complete List of Functions
The Bars Since Time function determines the number of bars between the current record and a given time.

Parameters
------------------
Hour           The hour of the time.
Minute        The minute of the time.

Function Value
------------------------
This function determines the number of bars between the current record and a given time. If it is currently before the given time, the number of bars since that time on the most recent previous day is returned, or one if there is no previous day. If the data series starts before the given time, but does not contain a record on the given time, one is returned.

Date/Time    BarsSinceTime(10,30)
--------------------------------------------------------
1/2  11:00                  1          <--- start count at 1 since after 10:30
1/3  10:30                  0          <--- time is 10:30
1/3  11:00                  1
1/4  10:00                  2          <--- before 10:30, still bars from 10:30 on previous day
1/4  11:00                  1          <--- skipped over 10:30, this is one bar after 10:30
1/4  11:30                  2

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.