Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

New search Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
xxxxx32
Posted : Tuesday, November 9, 2010 3:35:05 PM
Registered User
Joined: 12/21/2004
Posts: 11
I have just installed stockfinder and I would like to request a formula for a search,  I'm looking for a search for a 2 day simple moving average crossing over a 50 day exponential moving average on stocks valued between $35 to $100, and have an average of 100,000 daily volumn.  I need a search for up and down.and search be based on the last bar on a daily chart.  can this be done?

Thanks for your help
Bruce_L
Posted : Tuesday, November 9, 2010 3:44:42 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
One way would be to just add all of the Indicators to the Chart and then right-click on each of them to create Conditions and then Drag and Drop the resulting Conditions onto each other to create a Combo Condition.

Creating Conditions

Another method would be to create RealCode Conditions. The crossing up Condition could be written as:

Writing Conditions in RealCode

'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:xUp
'|******************************************************************
If Price.AVGC(2) > Price.XAVGC(50) AndAlso _
    Price.AVGC(2, 1) <= Price.XAVGC(50.1) AndAlso _
    35 <= Price.Last AndAlso Price.Last <= 100 AndAlso _
    Volume.AVG(90) >= 1000 Then Pass

While the crossdown Condition could be written as:

'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:xDn
'|******************************************************************
If Price.AVGC(2) < Price.XAVGC(50) AndAlso _
    Price.AVGC(2, 1) >= Price.XAVGC(50.1) AndAlso _
    35 <= Price.Last AndAlso Price.Last <= 100 AndAlso _
    Volume.AVG(90) >= 1000 Then Pass

No matter which way you decide to create the Condition, you can use it as a Scan or as a Filter.

Scanning with Conditions
Filtering Lists

-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.