PureBytes Links
Trading Reference Links
|
He Roy,
Can you give me the details of how the zig zag formula is created? Does
your zipped MetaStock formula file explain how the zig zag indicator is
created in MetaStock? I have been trying to recreate the indicator myself,
but am unable to do so. The built-in zig zag indicator in MetaStock plots
data on the first day and the last day. I really don't see how MetaStock
can do this. I have not been able to find anyone who knows how the zig zag
indicator is written in MetaStock. I created a formula that draws a linear
line from the first day of data to the last day of data, but I am unable to
have it switch back and forth at defined percent intervals. Basically, I
created a zig without the zag.
A:=If((C-PREV)/PREV<.1,PREV,C);
slope:=(LastValue(C)-ValueWhen(1,Cum(1)=1,C))/LastValue(Cum(1));
line:=ValueWhen(1,Cum(1)=1,C)+Cum(slope);
line;
Thanks,
Steve
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading!
Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/aM1XQD/od7FAA/uetFAA/zMEolB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|