'
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
| Days Since Bars Ago (Variable Length) [DaysSinceBarsVL] |
|
Return to Complete List of Functions |
The Days Since Bars Ago (Variable Length) function determines the number of days between the date for the current record and the date for the record a given number of bars ago.
Parameters ------------------ Period The number of bars of data to include in the calculation, not including the current bar. Maximum Period The maximum value that Period can contain. Larger values require extra memory to be set aside for this function to be calculated.
Function Value ------------------------ This function determines the number of days between the date for the current record and the date for the record a given number of bars ago.
The value at the beginning of a data series is not defined until there are enough values to fill the given period. If the period is greater than the maximum period or negative, the value is not defined. If the period contains a fractional number, only the integer portion will be used.
Usage ----------- Variable length functions can be used in association with other calculations, such as "Bars Since" functions, to determine values since an event occurred. For example, the following formula would return the number of days since the highest high in the last ten bars:
DaysSinceBarsVL ( BarsSinceHigh ( High, 10 ) , 10)
|
|
|
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.
|
|