Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 10/29/2004 Posts: 20
|
When specifying a Trade Stop based on trade length, is it not possible to use an equal sign to get out after a fixed number of days no matter what?
When using Worden stochastics in the backtester, is it not possible to compare each day's value against the value the day before?
Thanks
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
QUOTE (chopper) When specifying a Trade Stop based on trade length, is it not possible to use an equal sign to get out after a fixed number of days no matter what?
Sure, just use the Trade Length condition and set it to >= the number of days you want.
QUOTEWhen using Worden stochastics in the backtester, is it not possible to compare each day's value against the value the day before?
Thanks
Download the attached condition to compare Stochastics vs Stochastics. The default settings will return True when the 10 period Stochastic is above the previous bar's 10 period Stochastic.Attachments: Stochastics vs. Stochastics.scond - 5 KB, downloaded 691 time(s).
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
QUOTE (chopper) When specifying a Trade Stop based on trade length, is it not possible to use an equal sign to get out after a fixed number of days no matter what? You can always left-click on the BackScan Condition and select More to edit the Block Diagram. Right-clicking on the Greater Than or Equal Block and selecting Replace... will allow you to select the Equal Block instead. That said, if you think about it for a minute, there is no reason to do so. Since it is Greater Than or Equal, it will get you out at the same point as an Equal Block if it is the only condition.
There's actually a very real reason for using Greater Than or Equal instead of Equal in the Web Library version however. If you AND it with another condition with the intent to stay in a trade for at least a certain number of days but you only want to get out when the second condition is True as well, the Equals version will keep you in the trade forever unless the second condition happens exactly on the right day while the Greater Than or Equal version will work as expected.
QUOTE (chopper) When using Worden stochastics in the backtester, is it not possible to compare each day's value against the value the day before? Of course it is possible, there just isn't a BackScan Condition in the Web Library yet that does it. StockGuy already created a BackScan Condition for you, but you could also create the BackScan Condition on your own using a Block Diagram. You may wish to review the following:
Your First 3 Block Diagrams
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |