Registered User Joined: 6/25/2010 Posts: 44
|
I am trying to create a back-testing condition to trade at the open based on a profit target on the open. The existing function "add trade-based rule" will trade at the open, if that is selected, but based only on the profit at the closing price that day (look ahead and non-sensical). Can you show me how to create a condition that would allow a profit target measured by the opening price? Thanks, Richard
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Except for the Trade-Based Rules that are built into BackScanner, I do not know of a way to make a Condition aware of the Trade without recreating the entire BackScan 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
|