Registered User Joined: 12/7/2005 Posts: 19
|
In the Stock Finder back scan, there is a rule for a trailing stop that apparently sets a stop after an x% reduction of the stock's price. Is there a way to create a trailing stop that is triggered by an x% retracement of the gain since entry? For instance, if x=10%, and I bought a stock at 90 that goes to 100, the stop would be triggered at 99.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I do not know of a way to access the Entry Price of the Trade in a generalized fashion in a RealCode Rule or in anything besides one of the built in Trade Based Rules
You pretty much need to re-create the entire BackScan in RealCode to know the Entry Price to use it in RealCode. This is rarely practical as the RealCode required can be very complicated and any changes to the BackScan would require similar alterations to the RealCode as well.
The ATR Exit Strategy contains an example of creating the BackScan entirely in RealCode using an ATR Stop to give you an idea of what is involved.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|