PureBytes Links
Trading Reference Links
|
Randy,
There are two ways to do this. You can code it, and use
ExitLong:=BarsSince(yourbuysignal=1)=3;
Or you can use the System Tester, and under Stops, there's an Inactivity
tab. Check Longs and Shorts, and set the Minimum change to something very
large like 50,000 and periods equal to 3. That will force the exit during a
system test.
Dave Nadeau
Fort Collins, CO
-----Original Message-----
From: RGHSTOCKS@aol.com [mailto:RGHSTOCKS@aol.com]
Sent: Monday, January 01, 2001 12:49 PM
To: omega-list@eskimo.com
Cc: RGHSTOCKS@aol.com
Subject: Metastock programming question
I know this is easy to do with tradestation which I normally use but I can't
figure out how to do it with Metastock 7. In creating a system, I just want
to exit or close the position after a specified number of days after the
system gave a signal to buy (i.e. 3 days after the buy signal). Any help
with how to write the exit would be appreciated.
Thanks
Randy
|