Strategy using 2 symbols
Author: LoneTreeTrading
Creation Date: 10/22/2008 9:04 AM
profile picture

LoneTreeTrading

#1
I am trying to create a strategy that uses a moving average test for the market, defined here as the QQQQ, and price crossing a symbol's moving average. I want to use the Q's relative to it's moving average in my entry and exits for symbols. Can anyone point me to where I need to look on how to use both symbols?

CODE:
Please log in to see this code.
profile picture

Eugene

#2
Maybe you were imagining something like that? Instead of Close (i.e. Bars.Close) you need to call naz.Close to access the external data:
CODE:
Please log in to see this code.
profile picture

LoneTreeTrading

#3
LOL. No I knew I wasn't getting what I wanted.

Thanks for the help.