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

RE: Formula help



PureBytes Links

Trading Reference Links

Mike,

You're right.  I hadn't considered that.  If the stock keeps dropping (lower
lows and lower highs), then that expression would keep resetting and the
trade would take more than three days to exit.

I haven't checked the syntax of this, but you could put in a test to prevent
this.  Obviously, another approach is required as the days in the trade get
much longer than three.

BarsSince(yourentrycondition=1)=If(Sum(EntryCond=1,3)=1,3,If(Sum(EntryCond=1
,2)=2,2,1));

I haven't had a chance to check that out on MetaStock yet, but my approach
would be something like that.

Dave Nadeau
Fort Collins, CO

-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx
[mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Mike Campbell
Sent: Sunday, January 07, 2001 9:27 PM
To: metastock@xxxxxxxxxxxxx
Subject: RE: Formula help


>>>>> "DN" == Dave Nadeau <dave_nadeau@xxxxxxxxx> writes:


DN> Another way is to use BarsSince(yourentrycondition=1)=3 in the
DN> Exit tab of the system tester.

Does this work if your entry condition hits also on the day after you
entered the trade?

--
Mike Campbell


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com