'
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
| Rule: Exit On Trade Length [Rule_ExitOnLength] |
|
Return to Complete List of Functions |
The Rule: Exit On Trade Length function determines if an entry/exit system has remained in the current trade a given number of bars.
Parameters ------------------ Bars For Exit The number of bars after entry to exit. For Short Exit Set this parameter to 1 to test for short exit conditions. Otherwise leave at 0.
Function Value ------------------------ This function returns 1 if an entry/exit system has remained in the current trade a given number of bars, otherwise it returns 0.
The "For Short Exit" parameter indicates whether to test for long or short losses. If the parameter is non-zero, the function only returns 1 if the system is currently short. Otherwise, the function only returns 1 if the system is currently long. (This is in addition to the condition being tested.)
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.
|
|