Adding external symbol to entry
Author: dct73
Creation Date: 7/4/2009 3:53 PM
profile picture

dct73

#1
Would somebody please tell me how to add an external symbol to my entry. For instance, I want my entry to execute only when the SP500 is above 200 sma. I think I figured out the Bars external = GetExternalSymbol(".SPX", true); part.

Where do I go from there? Thanks. This is a very frustrating experience.

profile picture

Eugene

#2
Take a look at this for a different, hopefully more positive experience: DataSeries > Accessing Secondary Symbols > How to: Access DataSeries of Secondary Symbols in the WealthScript Programming Guide.

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

dct73

#3
Hey, that did it. Thanks for the quick reply!
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).