logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
KTP2  
#1 Posted : Wednesday, November 12, 2008 5:01:03 PM(UTC)
KTP2

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/2/2007(UTC)
Posts: 367

Was thanked: 1 time(s) in 1 post(s)

In the article "The [censored]ed Gun Revisited", Rudy Teseo introduces two trading systems using RSI and Stochastics.

To create these systems, in MetaStock, select the System Tester from the Tools menu. Then click New and enter the formulas as listed below

RSI formulas:

Name: RSI enter long
Formula:
Ref( Cross( RSI(14), 30),-1) and H >= Ref( H, -1 )+1

Name: RSI enter short
Formula:
Ref( Cross( 70, RSI(14)),-1) AND L <= Ref( L, -1 )-1

Stochastic formulas:

Name: Stochastic enter long
Formula:
setup:= Mov(Stoch(5,3),3,S) < 20 AND Cross(Stoch(5,3),Mov(Stoch(5,3),3,S));
Ref(setup,-1) AND H >= Ref(H,-1)+1

Name: Stochastic enter short
Formula:
setup:= Mov(Stoch(5,3),3,S) > 80 AND Cross(Mov(Stoch(5,3),3,S),Stoch(5,3));
Ref(setup,-1) AND L <= Ref(L,-1)-1

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