Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/12/2012(UTC) Posts: 44
|
Hi
I have a indicator that gives a buy and sell signal. +1 or -1
I trade crude oil with it
Is there anyway that if I apply the same indicator to gold
That the indicator in crude oil will only be + 1 if it's conditions are met, but also if the gold indicator (same) is also +1
Thank you
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Hi indexarb
Check out the Security() function - it has many uses and what you're trying to do is one of them. I've recently used it to extract trading signals from the SPX and applied those same signals to a basket of stocks. Once the SPX (e.g. gold pr crude oil) signals are available you can apply whatever filters you need.
Roy
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/12/2012(UTC) Posts: 44
|
Would this also enable me to run a system test to see how effective the strategy is?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Yes. I would probably extract signals from Trdae Equity (an indicator generating trade data via the Security() function from the master security), but it could probably be done just as easily by using merged entry and exit signals delivering + and - values as buy and sell points as suggested by your original question.
Roy
|
|
|
|
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.