[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EquisMetaStock Group] Re: Exit signal at 8%



PureBytes Links

Trading Reference Links

I got an error message with the first reply. So maybe this goes in 
twice. Sorry if that is the case. 
Maybe this is what you are looking for. This gives you a 1 if there 
is an 8% (or other) change since a top and a 0 since a bottom. It is 
like a confirmed zigzag.

Perc:= Input("% Change?",1,34,8);
tr:=ValueWhen(1,Zig(C,perc,%)>Ref(Zig(C,perc,%),-1) AND
Ref(Zig(C,perc,%),-1)<Ref(Zig(C,perc,%),-2),Ref(Zig(C,perc,%),-1));
tr:=If( (C-tr)*100/tr>= perc ,tr,0);
tr:=If( tr=0, ValueWhen(1,tr<>0,tr), tr);
pk:=ValueWhen(1,Zig(C,perc,%)<Ref(Zig(C,perc,%),-1) AND
Ref(Zig(C,perc,%),-1)>Ref(Zig(C,perc,%),-2),Ref(Zig(C,perc,%),-1));
pk:=If((C-pk)*100/pk <=-perc ,pk, 0);
pk:=If( pk=0, ValueWhen(1,pk<>0,pk), pk);
res:=If(pk<>Ref(pk,-1), -1,
If(tr<>Ref(tr,-1), 1, 0));
res:=If(res=0,ValueWhen(1,res<>0,res),res);
res

Best regards,
Sylvain


--- In equismetastock@xxxxxxxxxxxxxxx, AMTEK KETMA <bullstrend@xxxx> 
wrote:
>
>   Can any one tell me how to code to achieve the following :
>    
>   Today's close is less than last highest close by 8%.
>   eg. 
>    
>   Day-1 Close = 80
>   Day-2 Close = 95
>   Day-3 Close = 100
>   Day-4 Close = 95
>   Day-5 Close = 98
>   Day-6 Close = 90  (Want to Sell Here since the close is more 
than 8% less than Day 3)
>    
>    
>   Thanks
>    
>   AK
> 
> 
> 			
> ---------------------------------
> Yahoo! Shopping
>  Find Great Deals on Holiday Gifts at Yahoo! Shopping
>









------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/