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.
Size:
Color:
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.
Size:
Color:
LOL. No I knew I wasn't getting what I wanted.
Thanks for the help.
Size:
Color: