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

  Previous Signal of System (Variable Length) [PrevSignalVL]  
Return to Complete List of Functions
The Previous Signal of System (Variable Length) function returns the value of the entry/exit system containing this function for a varying number of bars ago.

Parameters
------------------
Period          The number of bars of data to include in the calculation, not including the current day.
                    For example, a period of 1 returns the value from the previous 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 returns the value of the entry/exit system containing this function for a varying number of bars ago. If the previous value is not defined, this function returns 0.

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.

This function enables functions and entry/exit system rules to be written which are based on the position that the entry/exit system is currently in. Since it evaluates the previous value of an entry/exit system, it can only be used in entry/exit system rules and functions which will be used in entry/exit system rules.

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 value of the containing function at the time of the highest high in the last ten bars:

PrevSignalVL ( BarsSinceHigh ( High, 10 ), 10)

Since the Previous Value function can only be used within other functions, it is only available from within the formula editor for functions and entry/exit systems.

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.