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)
|
Then why not use something like :
PostPosted: 02 Mar 2005 09:10 am Post subject:
You should modify this formula :
For Peaks :
Z:=1; { Percent retracement to use }
Plot1:= RSI(14);
CD:=Peak(1,H,Z)<>Ref(Peak(1,H,Z),-1);
STOCK:=Valuewhen(1,CD,H)>Valuewhen(2,CD,H);
I1:=Valuewhen(1,CD,Plot1)<Valuewhen(2,CD,Plot1);
STOCK AND I1
For Troughs :
Z:=1; { Percent retracement to use }
Plot1:= RSI(14);
CD:=Trough(1,L,Z)<>Ref(trough(1,L,Z),-1);
STOCK:=Valuewhen(1,CD,L)<Valuewhen(2,CD,L);
I1:=Valuewhen(1,CD,Plot1)>Valuewhen(2,CD,Plot1);
STOCK AND I1
the question now is, do we use the price peak and trough or the indicator ....
|