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

RE: Multiple buy signals


  • To: <metastock@xxxxxxxxxxxxx>
  • Subject: RE: Multiple buy signals
  • From: "Yngvi Hardarson" <hardy@xxxxxxxxxxxxx>
  • Date: Tue, 1 Jun 1999 19:10:43 -0400 (EDT)
  • In-reply-to: <000d01beabe2$5bfe3ea0$fdab7018@xxxxxxxx-A.flfrd1.on.wave.home.com>

PureBytes Links

Trading Reference Links

Ed!

Perhaps you can use a comparative BarsSince(), i.e. BarsSince(x) vs.
BarsSince(y) but I don't find your question too clear. Please rephrase your
question?

Best regards,
Yngvi Hardarson
hardy@xxxxxxxxxxxxx

-----Original Message-----
From:	owner-metastock@xxxxxxxxxxxxx [mailto:owner-metastock@xxxxxxxxxxxxx]
On Behalf Of Ed Middleton
Sent:	1. júní 1999 03:54
To:	Metastock list
Subject:	Multiple buy signals

I am trying to develop a buy signal that buys the stock on a Monday whenever
I do not own the stock with a trailing stop based on the high of the day.  I
can get the test to run but because I cannot distinguish between the Monday
that I bought and the next Monday it is hard to determine the maximum high
during the purchase period.

I have tried the "highest since" function but because the buy signal is a
Monday, every Monday during the trade restarts the calculation of the
highest high.  Any one have any ideas on how to get around this.

Again,

My long formula is:  dayofweek()=1
I want my exit formula to be a percentage trailing stop of the highest high
during the trade.  I would use the stop portion of the system test but I
cannot optimize the percentage.  The system test has only a fixed percentage
trailing stop.

exit formula:   highest high during trade * (1-opt1)

thanks in advance,

Ed Middleton