Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

back tester Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
chopper
Posted : Thursday, January 4, 2007 5:19:18 PM
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
StockGuy
Posted : Thursday, January 4, 2007 5:27:00 PM

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.

QUOTE
When 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 694 time(s).

Bruce_L
Posted : Thursday, January 4, 2007 5:36:59 PM


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
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.