Discussions
»
Product and Service Development
»
Formula Assistance
»
TASC - Sept 2005 - Shorting Moving Average Pullbacks
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)
|
Steve Palmquist's article in this issue, "Shorting Moving Average Pullbacks", introduces a new trading system. The MetaStock code and instructions for entering this sytem are as follows:
1. Select Tools>The enhanced system tester.
2. Click on New.
3. Enter a Name for the system.
4. Select the "Sell short order" tab and type the following formula:
voltarget:=2000;
setup:=hhv(c,5)<ref(llv(C,20),-20) AND Ref(Sum(C<Mov(C,35,S),15)=15, -1) AND ((Mov(C,35,S)-C)<(0.01*C)) AND C>15 AND Mov(V,50,S)>Voltarget;
Ref(Setup,-1) AND Stoch(5,3) < 80 AND L<Ref(L,-1)
5. Select the "buy to cover order" tab and enter this formula:
simulation.currentpositionage >=3
6. Click on ok to close the system editor.
Note the first line of the "sell short order" formula:
the value of 2000 is correct for locally stored data, if you are using online data you will need to change this value to 200000 to get the correct results.
Thanks to William Golson of Equis International for this system.
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
TASC - Sept 2005 - Shorting Moving Average Pullbacks
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.