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

Notification

Icon
Error

Options
Go to last post Go to first unread
ahkow  
#1 Posted : Sunday, August 22, 2010 4:26:05 AM(UTC)
ahkow

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 8/22/2010(UTC)
Posts: 4

Hi,

Just join the forum. Would like to find out that has anybody program Barros Swing in metastock before?



henry1224  
#2 Posted : Sunday, August 22, 2010 2:49:28 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
from the looks of his swing lines on his web site, they are just swings from 3 time frames or different lengths
henry1224  
#3 Posted : Sunday, August 22, 2010 2:55:18 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
Per1:=Input("1st swing",1,50,5);
Per2:=Input("2nd swing",2,50,9);
Per3:=Input("3rd swing",3,50,15);
D:=Input("Decimal point",.001,100.0,1.0);
PD:= Input("1= % 2= $",1,2,1);
A:= If( Rally(), HIGH,
If( Reaction(), LOW,
If( Outside(), If( Ref(Rally(),-1), HIGH, LOW ),
If( Inside(),
If( Ref(Rally(),-1), Ref(HIGH,-1)-0.001, Ref(LOW,-1)+0.001 ), P
))));
S1:=If(PD=1,Zig(A,(Per1*D),%), Zig(A,(Per1*D),$));
S2:= If(PD=1,Zig(A,(Per2*D),%), Zig(A,(Per2*D),$));
S3:= If(PD=1,Zig(A,(Per3*D),%), Zig(A,(Per3*D),$));
S1;
S2;
S3;


Remember that the last swing is dynamic and subject tochange
ahkow  
#4 Posted : Monday, August 23, 2010 4:45:12 PM(UTC)
ahkow

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 8/22/2010(UTC)
Posts: 4

Hi Henry,

Thank you.


Regards

Users browsing this topic
Guest (Hidden)
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.