Registered User Joined: 2/9/2007 Posts: 21
|
I AM TRYING TO MAKE A BREAKOUT SCAN ,COULD YOU PLEASE HELP WITH FORMULA
BREAKOOUT FORMULA
(( HIGHOF THE PAST 20 TRADING SESSIONS-LOW OF THE PAST 20 TRADING SESSIONS) / HIGH OF THE PAST 20 TRADING SESSIONS +LOW OF THE PAST 20 TRADING SESSIONS ) / 2 < .15 AND THE MOST RECENT CLOSE > HIGH OF THE PAST 20 TRADING SESSIONS
BASICALLY THE BREAKOUT SCAN HELPS IDENTIFY STOCKS HITTTING NEW 20 DAY HIGHS .
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I'm not sure if I have the parentheses correct or not (but you should be able to correct them on your own if I don't). Please try using the following RealCode Condition as a Scan.
Rule Basics
'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:Breakout Scan
'|******************************************************************
If ((Price.MaxHigh(20, 1) - Price.MinLow(20, 1)) / _
(Price.MaxHigh(20, 1) + Price.MinLow(20, 1))) / 2 < .15 AndAlso _
Price.Last > Price.MaxHigh(20, 1) Then Pass
-Bruce Personal Criteria Formulas TC2000 Support Articles
|