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

RE: System with two securities



PureBytes Links

Trading Reference Links

Rick,

The answer is Yes and No.  Yes, you can build a system in Metastock to do
this, but I suspect you would like to do that in the system tester.
Unfortunately, that can't be done.

You'd have to write code in Formula Language to create an Equity Line
indicator that you'd plot on that chart of the two securities.  You'd need
to write IF statements that would say, if system1 sends a trade signal then
Cumulate the close of security1 - previous close of security2 for the
duration of the trade else if system2 send a trade signal then Cumulate the
close of security2....

The sum of those would be your equity line.  Obviously, this is not a
trivial task, but it can be done.

Dave Nadeau
Fort Collins, CO

-----Original Message-----
From: owner-metastock@xxxxxxxxxxxxx [mailto:owner-metastock@xxxxxxxxxxxxx]On
Behalf Of Rick Parsons
Sent: Thursday, June 28, 2001 2:44 PM
To: metastock@xxxxxxxxxxxxx
Subject: System with two securities


I know I can place two securities on a chart.  But is it possible to build a
system where the Enter Long and Exit Long logic will select either one
security or the other security to buy or sell?

Thanks,

Rick


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com