Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
Gomu Vetrivel’s article, “Improving Your Trading System with Speed,” discusses the value of measuring speed in your trading systems. He uses a basic system as a control and two variations using speed in different ways. The MetaStock code and instructions for entering these systems are as follows:
Select Tools > the Enhanced System Tester.
Click New
Enter a name, “Base System”
Select the Buy Order tab and enter the following formula.
Cross( C, Mov( C, 10, S ) )
Select the Sell Order tab and enter the following formula.
Cross( Mov( C, 5, S ), C )
Select the Sell Short Order tab and enter the following formula:
Cross( Mov( C, 10, S ), C )
Select the Buy to Cover Order tab and enter this formula
Cross( C, Mov( C, 5, S ) )
Click OK to close the system editor
Click New
Enter a name, “Hypothesis 1”
Select the Buy Order tab and enter the following formula.
X:= Abs( Roc( C, 1, $ ) );
Cross( C, Mov( C, 10, S ) ) AND X > Ref( X, -1 )
Select the Sell Order tab and enter the following formula.
Cross( Mov( C, 5, S ), C )
Select the Sell Short Order tab and enter the following formula:
X:= Abs( Roc( C, 1, $ ) );
Cross( Mov( C, 10, S ), C ) AND X > Ref( X, -1 )
Select the Buy to Cover Order tab and enter this formula
Cross( C, Mov( C, 5, S ) )
Click OK to close the system editor
Click New
Enter a name, “Hypothesis 2”
Select the Buy Order tab and enter the following formula.
X:= Abs( Roc( C, 1, $ ) );
Cross( C, Mov( C, 10, S ) ) AND X < Ref( X, -1 )
Select the Sell Order tab and enter the following formula.
Cross( Mov( C, 5, S ), C )
Select the Sell Short Order tab and enter the following formula:
X:= Abs( Roc( C, 1, $ ) );
Cross( Mov( C, 10, S ), C ) AND X < Ref( X, -1 )
Select the Buy to Cover Order tab and enter this formula
Cross( C, Mov( C, 5, S ) )
Click OK to close the system editor
Thanks to William Golson of Equis International
|