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

Notification

Icon
Error

Options
Go to last post Go to first unread
henry1224  
#1 Posted : Thursday, April 14, 2005 12:25:59 AM(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)
Plot this indicator on top of the price chart. The last leg of each swing is dynamic. 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;
Users browsing this topic
Similar Topics
3 swings % $ (Formula Assistance)
by henry1224 6/26/2005 12:38:26 AM(UTC)
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.