Rank: Newbie
Groups: Registered Users
Joined: 9/7/2014(UTC) Posts: 2
|
I try to create indicator to show buy signal if recent low when stochastic cross up lower than previous low when the stochastic cross up .But it didn't work.
The formular is
Lcv1:= LowestSince(1, Cross(Mov(Stoch(10,3),3,S),Stoch(10,3)), L);
Lcu1:=LowestSince(1, Cross(Stoch(10,3),Mov(Stoch(10,3),3,S)), L);
Lcv2:= LowestSince(2, Cross(Mov(Stoch(10,3),3,S),Stoch(10,3)), L);
Lcu2:=LowestSince(2, Cross(Stoch(10,3),Mov(Stoch(10,3),3,S)), L);
Lw1:=Min(Lcv1,Lcu1);
Lw2:=Min(Lcv2,Lcu2);
Lw:=If(Lw1<Lw2 ,1,0) ;
Buy:=Cross(Stoch(10,3),Mov(Stoch(10,3),3,S)) AND Lw=1;
Buy;
Thanks Edited by user Wednesday, September 17, 2014 7:39:13 PM(UTC)
| Reason: Not specified
|