Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Gap up Rule for Price for Symbol indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
kjackson01
Posted : Sunday, February 7, 2010 1:10:45 PM
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
Kuf
Posted : Tuesday, February 9, 2010 8:39:13 PM


Administration

Joined: 9/18/2004
Posts: 3,522
pfs.open

Ken Gilb (Kuf)
Chief Software Engineer - Worden Brothers Inc.
Try/Catch - My RealCode Blog
kjackson01
Posted : Sunday, February 14, 2010 1:32:17 PM
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.
Kuf
Posted : Monday, February 15, 2010 1:43:04 PM


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
Users browsing this topic
Guest-1

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.