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

Re: Coding Question



PureBytes Links

Trading Reference Links

Yes, Ken, I'd like to look at the code, if you
wouldn't
mind forwarding what you have (as long as it is not
proprietary or infringes on Equis' copyrights).

I'm essentially looking to create Experts and
Explorations, but System tests would be fine as well.

My problem is, I know how to establish where 2
significant peaks or troughs are, but I do not know
how
to create and access the data of the possible line
connecting them.

Let's say I created an Exploration that identified a 3
peak pattern, which constituted a textbook H&S
pattern-the ability to connect a line between the last
two significant troughs of the pattern, and know when
the close violated the line connecting the
troughs,would give MS at least a crude pattern
recognition ability.

Thanks for you willingness to share what you have.

--- iamken <iamken@xxxxxxxxxxxxxxx> wrote:
> Are you looking to do explorations or do you want to
> do system tests.
> Equis sells a floppy that among other things has
> some indicators that
> can plot the most recent trendline and also explore
> for trendline
> breaks.  The trendline is based on the Peak and
> Trough functions.  I
> have some indicators that plot trendlines on all
> loaded data; actually
> they only plot the part of the trendline that
> extends beyond each
> "Peak1".  They use either Peak/Trough or Zig Zag. 
> Using Peak/Trough/ZZ
> doesn't always plot accurate trendlines but for the
> most part it works
> ok I guess.  I have a test that will mark breakouts
> and the test has a
> "lock in" provision that I *believe* will prevent an
> entry until the
> specific peak or trough (that the trendline is based
> on) is
> established.  But I make no guarantees that the test
> or code is valid.
> The "problem" with using the indicator by itself
> (not in conjunction
> with the test) is that you need to be aware of when
> a peak or trough is
> locked in (or not locked in) so as not to be fooled
> by a trendline break
> that occurs before the peak or trough is
> established.  I haven't looked
> at it in a while so I am just going by what I seem
> to recall about it.
> If you want it let me know, but use at your own
> risk.  Equis' use of
> trendlines on that floppy don't present a problem
> with regards to when a
> peak/trough is established.
> 
> Ken
> 
> 
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com