logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
virginiatrader  
#1 Posted : Saturday, January 27, 2007 10:42:03 AM(UTC)
virginiatrader

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 7/18/2005(UTC)
Posts: 8
Location: Virginia

Good afternoon from the Commonwealth...

I would like to execute trades on a price series based on signals generated on another price series. The date ranges for both securities will be the same. I am unsure of how to make this work. Any and all guidance and suggestions are appreciated in advance.

Many regards,

virginiatrader

hayseed  
#2 Posted : Sunday, January 28, 2007 9:17:03 AM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey virginiatrader..... good morning from the deepsouth...... if you thinkin along the lines of selling 'amat' when the 'smh' turns south, you could use the security data function in your formula.... its something i use quite often..... the formula below could be expanded to include a multiple choice of indicators, stoch, macd, ad, rsi, and such ..... and of course the variables, 20,10 , could also be inputs as well...... along with multiple conditions.... stoch and macd.... rsi() and ad() and so on......h

a:= Security("C:\Metastock Data\etf\smh", Stoch(20 ,10 ) ) ;

b:= If(a < Ref(a,-1),1,0);

b

virginiatrader  
#3 Posted : Sunday, January 28, 2007 4:10:25 PM(UTC)
virginiatrader

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 7/18/2005(UTC)
Posts: 8
Location: Virginia

Howdy, Hayseed...

Sorry for the late reply. Looked into the SECURITY DATA feature, and that may be headed in the direction I want to go:

Example: I wish to trade the 10 Year Note, basing my system entries and exits of the 10y on a variant of the 10 Year Note price series. The standard 10 Year and the variant 10 Year price series both have the same date range.

When a system signal is generated on the variant 10 Year price series, I would like to see the trade entry and exit arrows on the standard 10 Year price series, as well as generate trade summaries. I know I can run regular system tests on each price series individually, and could manually trade the standard 10 Year this way, but wish to automate the testing as much as possible.

Always many thanks for the help!

virginiatrader

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.