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 |

Indicator Vs Condition Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
mktucker
Posted : Sunday, July 11, 2010 4:25:38 PM
Registered User
Joined: 8/12/2006
Posts: 23
I am wondering if I can convert the below realcode indicator can be changed to a realcode condition:

'# Stoc8 = indicator.Library.Stochastics

'# ADX = indicator.Library.Directional Movement DI ADX

 

PLOT = PRICE.Close >= 10 And PRICE.Close <= 200
PLOT = VOLUME.AVG(50) > 5000
PLOT = PRICE.HIGH(65) - PRICE.LOW(65) > 10 Or (PRICE.HIGH(65) - PRICE.LOW(65)) / PRICE.Close > 0.30
PLOT = PRICE.AVG(50) > PRICE.AVG(50.1)
PLOT = PRICE.AVG(20) > PRICE.AVG(50)
PLOT = PRICE.LOW(3) > PRICE.AVG(50)
PLOT = PRICE.CLOSE < PRICE.AVG(20)
PLOT = PRICE.MaxHigh(11) = PRICE.MaxHigh(30)
PLOT = Stoc8.Value < 40

Bruce_L
Posted : Monday, July 12, 2010 9:01:36 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:mktucker 47967 Indicator Vs Condition
'|******************************************************************
'# Stoc8 = indicator.Library.Stochastics
'# ADX = indicator.Library.Directional Movement DI ADX
If Price.Close >= 10 AndAlso Price.Close <= 200 AndAlso _
    Volume.AVG(50) > 5000 AndAlso _
    (Price.High(65) - Price.Low(65) > 10 OrElse _
    (Price.High(65) - Price.Low(65)) / Price.Close > 0.30) AndAlso _
    Price.AVG(50) > Price.AVG(50.1) AndAlso _
    Price.AVG(20) > Price.AVG(50) AndAlso _
    Price.Low(3) > Price.AVG(50) AndAlso _
    Price.Close < Price.AVG(20) AndAlso _
    Price.MaxHigh(11) = Price.MaxHigh(30) AndAlso _
    Stoc8.Value < 40 Then Pass

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
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.