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 |

RealCode error Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
rostifritz
Posted : Sunday, June 7, 2009 10:47:28 PM
Registered User
Joined: 1/3/2008
Posts: 20
I seem to have one or more errors, that I can't pinpoint.  Can you help?

If price.open < (price.low(1) * 1.2) AndAlso _ 
 (price.close(1)-price.open(1))*.60<price.high(1)-price.low(1) andalso _
 price.close(1)>price.open(1) andalso _
 (price.close(2)-price.open(2))*.60<price.high(2)-price.low(2) andalso _
 price.close(2)>price.open(2) and also _
 (price.close(3)-price.open(3))*.60<price.high(3)-price.low(3) andalso _
 price.close(3)>price.open(3) andalso _
 price.open(2) > price.close(1) andalso _
 price.open(2) > price.close(3) then pass
StockGuy
Posted : Monday, June 8, 2009 9:07:38 AM

Administration

Joined: 9/30/2004
Posts: 9,187

You have an "and also" in the 5th line down.  Should be andalso.
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.