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

  Is Crossing Value [Cross]  
Return to Complete List of Functions
The Is Crossing Value function indicates when a data series crosses above or below a given threshold.

Parameters
------------------
Data          The value to compare. This is typically a field in a data series or a calculated value.
Threshold  The threshold to compare the data to. This can be a constant, a field, or a calculated value.

Function Value
------------------------
The function returns +1 only when the field actually crosses the threshold. In all other situations, it returns 0.

For example, in the table below, notice how the value is +1 when the closing price actually crosses above or below the value 3.

Close     Cross(Close,3)
-------------------------------------
   2                  0
   3                  0
   4                  1          <--- Close crosses above 3
   5                  0
   3                  0
   2                  1          <--- Close crosses below 3
   1                  0

Usage
-----------
The threshold can be a constant or another data series. For example, this function can be used to determine when a data series crosses its moving average.

Crossing functions are typically used in entry/exit systems to generate signals when one value rises above another value. See the sample entry/exit systems for an example of using crossing functions in an entry/exit system.

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.