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

[Metastockusers] Re: How to reproduce the zig zag



PureBytes Links

Trading Reference Links



Without external help (dll), your chances of coding the ZigZag using 
plain old MetaStock code are... zero, zilch.

Think about it - how will you look back in retrospect, find peaks & 
troughs after they have passed by, using hindsight with MS code, 
without help from any of the functions in the ZigZag class?

MetaStock processes data from left to right, and the only exceptions 
are the LastValue() & ZigZag-type (Peak/Trough, etc) functions.  
Forget forward-referencing functions (Ref(y,+x), DPO, etc.) because 
this introduces null (N/A) bars.

Anyone that understands the basic way MetaStock handles data from left 
to right, knows well enough to forget about re-inventing the wheel.


jose '-)
http://www.metastocktools.com



--- In Metastockusers@xxxxxxxxxxxxxxx, "Steve Grala" <stevegrala@xxxx> 
wrote:
> 
> 
> 
> 
> Hi Roy
> 
>    I have been writing formulas for Metastock for 12 years.  I 
consider myself a very competent formula writer.  I always wondered 
how the zig zag formula was created.  It seems straight forward 
enough.  I think if I spend enough time on it I could figure it out 
totally.  Part of the problem is that I am a active player in the 
market and there just isn't enough time in the day.  Thanks for being 
honest with your limitations.  If I come up with the formula I will 
post it.  For now I will just move on.  Good luck to all and keep 
building the most profitable trading system.  
> 
> 
> 
> Steve
>  
> 
>    From: "Roy Larsen" <
> rlarsen@xxxx>
> 
> Subject: Re: How to reproduce the zig zag formula
> 
> Steve
> 
> If you want to learn the formula language I suggest to you pick 
another exercise. There are
> certainly enough to choose from. I'm not one to give up easily on 
challenges, but ZigZag and SAR are
> two that have proved to be beyond me. Then there are others that 
have, shall we say, been on the
> back-burner for a long time.
> 
> Limitations with the formula language make it very difficult to 
string an indeterminate number of
> lines together, particularly when they are not horizontal or equal 
in pitch or length. When you can
> string just two lines together, such that one starts where the other 
finishes, you'll have a better
> appreciation of the difficulties involved.
> 
> For a competent programmer with access to the MetaStock Development 
Kit it's probably a breeze, but
> for us mere mortals confined to the MetaStock Formula Language I 
think this particular challenge
> should be left sitting out of sight in the "too hard" basket.
> 
> Kind regards





------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/zMEolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

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

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