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

Re: pattern recognition



PureBytes Links

Trading Reference Links



On Sun, 25 Apr 1999, michael arnoldi wrote:

> has anyone been able to come up with a metastock formula for certain
> pattern recognition: head & shoulder, triangle ?

If you can construct a complex pattern from a number of simpler
indicators, then assign a unique power of 2 to each indicator stated as a
true/false condition. If that component is 'true' (e.g. slope(x)>k) add
that power of 2. The pattern is true if you have all ones (11111) in the
binary representation of the total. The binary representation of the state
of your system is useful for finding other patterns, but you probably have
to do this outside of MS since there are no logical operators like XOR for
filtering subpatterns. 


Cheers,

Jim