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
|

 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
|