Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 8/12/2005(UTC) Posts: 73
|
I think is was originally done by henry1224. I think it needs to be little optimized for current markets. Any suggestions?
Code:{PP+ Ugly Double Bottom Sell Signal}
HP1:=ExtFml("PowerPivots.NthPivotPrice",1,0,1);HP2:=ExtFml("PowerPivots.NthPivotPrice",1,1,1);LP1:=ExtFml("PowerPivots.NthPivotPrice",-1,0,1);LP2:=ExtFml("PowerPivots.NthPivotPrice",-1,1,1);LP3:=ExtFml("PowerPivots.NthPivotPrice",-1,2,1);BHP1:=ExtFml("PowerPivots.BarsSinceNthPivot",1,0);BHP2:=ExtFml("PowerPivots.BarsSinceNthPivot",1,1);BLP1:=ExtFml("PowerPivots.BarsSinceNthPivot",-1,0);BLP2:=ExtFml("PowerPivots.BarsSinceNthPivot",-1,1);BLP3:=ExtFml("PowerPivots.BarsSinceNthPivot",-1,2);LP:=Min(If(BHP2>BLP1 AND BLP1>BHP1,LP1,1E6),Min(If(BHP2>BLP2 AND BLP2>BHP1,LP2,1E6),If(BHP2>BLP3 AND BLP3 >BHP1,LP3,1E6)));((HP2/HP1>1.05) AND (HP2/HP1<1.15) AND C<LP AND Ref(C,-1)>=LP AND LP<1E6)
|