Peak &Trough for Metastock
Peak and Trough system.
Screenshots
Indicator / Formula
Copy & Paste Friendly
{Bullish}
X:=1;
BarsSince(Cross(ValueWhen(1,Trough(1,C,X)<>Ref(Trough(1,C,X),-1),C),C))>
BarsSince(Cross(C,ValueWhen(1,Peak(1,C,X)<>Ref(Peak(1,C,X),-1),C)));
{Bearish}
X:=1;
BarsSince(Cross(ValueWhen(1,Trough(1,C,X)<>Ref(Trough(1,C,X),-1),C),C))<
BarsSince(Cross(C,ValueWhen(1,Peak(1,C,X)<>Ref(Peak(1,C,X),-1),C)));1 comments
Leave Comment
Please login here to leave a comment.
Its not matched the picture
Any one know how to fix !!!!!!