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

Notification

Icon
Error

Options
Go to last post Go to first unread
ntsoubanas  
#1 Posted : Friday, February 11, 2005 8:13:51 PM(UTC)
ntsoubanas

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 2/4/2005(UTC)
Posts: 1

Could anyone pls, provide me with an explorer code that will explore for double bottoms/tops of price or indicator. thank you in advance, Nicholas
RUAGOODP  
#2 Posted : Friday, February 11, 2005 11:32:41 PM(UTC)
RUAGOODP

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 1/13/2005(UTC)
Posts: 87
Location: perth australia

DOUBLE BOTTOM PK:=Zig(C,10,%)<Ref(Zig(C,10,%),-1) AND Ref(Zig(C,10,%),-1)>Ref(Zig(C,10,%),-2); TR:=Zig(C,10,%)>Ref(Zig(C,10,%),-1) AND Ref(Zig(C,10,%),-1)<Ref(Zig(C,10,%),-2); TR1:=TroughBars(1,C,10); DOUBLE TOP PK:=Zig(C,10,%)<Ref(Zig(C,10,%),-1) AND Ref(Zig(C,10,%),-1)>Ref(Zig(C,10,%),-2); TR:=Zig(C,10,%)>Ref(Zig(C,10,%),-1) AND Ref(Zig(C,10,%),-1)<Ref(Zig(C,10,%),-2); PK1:=PeakBars(1,C,10); Hope it is of use Rua
Patrick  
#3 Posted : Monday, February 14, 2005 4:42:23 PM(UTC)
Patrick

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)
Here is the complete version of this formula, this version will give you a one when the formation occured. {Double Bottom} plot:=CLOSE; PK:=Zig(plot,10,%)<Ref(Zig(plot,10,%),-1) AND Ref(Zig(plot,10,%),-1)>Ref(Zig(plot,10,%),-2); TR:=Zig(plot,10,%)>Ref(Zig(plot,10,%),-1) AND Ref(Zig(plot,10,%),-1)<Ref(Zig(plot,10,%),-2); TR1:=TroughBars(1,plot,10); TR2:=TroughBars(2,plot,10); (ValueWhen(1,TR,Ref(plot,-1))/ValueWhen(2,TR,Ref(plot,-1))> 1 AND ValueWhen(1,TR,Ref(plot,-1)) / ValueWhen(2,TR,Ref(plot,-1))<1.06) AND TR2-TR1>=10 AND Cross(plot,ValueWhen(1,PK,Ref(plot,-1))) {Double Top} plot:=Close; PK:=Zig(plot,10,%)<Ref(Zig(plot,10,%),-1) AND Ref(Zig(plot,10,%),-1)>Ref(Zig(plot,10,%),-2); TR:=Zig(plot,10,%)>Ref(Zig(plot,10,%),-1) AND Ref(Zig(plot,10,%),-1)<Ref(Zig(plot,10,%),-2); PK1:=PeakBars(1,plot,10); PK2:=PeakBars(2,plot,10); (ValueWhen(1,PK,Ref(plot,-1))/ValueWhen(2,PK,Ref(plot,-1))>0.94 AND ValueWhen(1,PK,Ref(plot,-1)) / ValueWhen(2,PK,Ref(plot,-1))<1) AND PK2-PK1>=10 AND Cross(ValueWhen(1,TR,Ref(plot,-1)),plot)
thanks 1 user thanked Patrick for this useful post.
doctormazraie on 4/26/2019(UTC)
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.