| Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 5/14/2009 Posts: 17
|
I'm trying to modify a simple gap up rule and make it apply to the symbol used in the price for symbol indicator. How do I modify the following to have price.open relate to the index symbol?
'# PfS = indicator.PriceforSymbol.2
If price.Open > price.close(1) Then pass
Thanks
|
|

 Administration
Joined: 9/18/2004 Posts: 3,522
|
pfs.open
Ken Gilb (Kuf) Chief Software Engineer - Worden Brothers Inc. Try/Catch - My RealCode Blog
|
|
Registered User Joined: 5/14/2009 Posts: 17
|
When I place pfs.open above "If price.open > price.close(1) Then Pass" I get the following error:
Property Access must assign to the property or use it's value. I tried pfs.price.open and had additional errosrs.
|
|

 Administration
Joined: 9/18/2004 Posts: 3,522
|
You want it to read like this:
If pfs.open > pfs.close(1) Then Pass
Ken Gilb (Kuf) Chief Software Engineer - Worden Brothers Inc. Try/Catch - My RealCode Blog
|
|
|
Guest-1 |