PureBytes Links
Trading Reference Links
|
Hi Mike,
Don't know what makes your lines drooping but some time ago I experimented
with a volatilty stop.
I came up with these two simple formula's:
Mov(L,3,S ) + ATR(5) Stop for short positions
Mov(H,3,S ) - ATR(5) Stop for long positions
If you apply these two formula's a nice channel appears on your chart.
And for example it did pretty well on the Dow 30: When you went long at 7900
level at 9 October'98 it kept you all the way in untill 30 November at the
9200 level.
Maybe this can be optimized for even better results.
Best wishes,
Frans
At 04:53 4-12-98 -0800, you wrote:
>I want to draw two lines on my chart to use for stops. The following kind
>of works, but I want the lines to never decrease, and today's chart for
>INTC shows the lines drooping. Can you tell what I've done wrong?
>
>Thanks,
>
>Mike
>
>
>Dir:= Mov(C, 10, E) - Mov(C, 11, E);
>Dir1:= Ref(Mov(C, 10, E) - Mov(C, 11, E),-1);
>
>s2:=HHV(H, 5) - 2*ATR(10);
>s21:=Ref((HHV(H, 5) - 2*ATR(10)),-1);
>ss2:=LLV(L, 5) + 2*ATR(10);
>ss21:=Ref((LLV(L, 5) + 2*ATR(10)),-1);
>
>If( dir>=0, If(dir1<0,s2,Max(s2,s21)), If(dir1>=0,ss2,Min(ss2,ss21)));
>
>s4:=HHV(H, 5) - 4*ATR(10);
>s41:=Ref(HHV(H, 5) - 4*ATR(10),-1);
>ss4:=LLV(L, 5) + 4*ATR(10);
>ss41:=Ref(LLV(L, 5) + 4*ATR(10),-1);
>
>If( dir>=0, If(dir1<0,s4,Max(s4,s41)), If(dir1>=0,ss4,Min(ss4,ss41)));
>
>
>
|