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

  System: Current Position Matches Parameter [System_MatchesParameter]  
Return to Complete List of Functions
The System: Current Position Matches Parameter function determines if the current position of an entry/exit system matches a parameter indicating to check for long or short positions.

Parameters
------------------
Is Short Position      Set this to non-zero to check if the current position of the system is short.
                               Otherwise, check if the current position of the system is long.

Function Value
------------------------
If IsShortPosition is non-zero, this function returns 1 if the current position of an entry/exit system is short, otherwise it returns 0.
If IsShortPosition is zero, this function returns 1 if the current position of an entry/exit system is long, otherwise it returns 0.

This function is used by "Rule: Exit" functions to determine which condition to test for. This is needed since "Rule: Exit" functions test can be used as both long and short exit rules, but should only return true for the appropriate type of exit.

The length and position of the current trade are based on the previous values generated by the entry/exit system this function is used in. Because of this, it can only be used from within an entry/exit system or from within a function which will be used 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.