Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 10/7/2004 Posts: 1
|
I would like to scan for stocks "if 25 <= Price.Last" and also
the last price is greater than 10% higher than the 50 day moving average and also
the RSI(14) value > 70 on day before
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You will need to Edit the following RealCode Condition once it is created to set the RSI settings as desired:
Creating Conditions
Scanning with Conditions
Writing Conditions in RealCode
'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:Jerome 50125
'|******************************************************************
'# RSI = indicator.Library.Relative Strength Index (RSI)
If 25 <= Price.Last AndAlso _
RSI.Value(1) > 70 AndAlso _
Price.Last > Price.AVGC(50) * 1.1 Then Pass
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 6/14/2013 Posts: 17
|
hi Bruce,
how to set formula so in the middle of the market i can find stock that has current price (real time price) greather than yesterday close? do i have to subscribe to platinum version? if i must use platinum services, how to create such formula?
thank you
djoko
|
|
Registered User Joined: 6/14/2013 Posts: 17
|
btw i use tc2000 ver 12.3
thx
|
|
Registered User Joined: 6/14/2013 Posts: 17
|
also can i have email notification when you answer my question? thx
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You can create a Daily Condition Formula to check for the current price being above the previous close in TC2000 as:
C > C1
Until the market closes, C represents the current price. You can do this using Gold service, but the streaming realtime data will be based entirely on the BATS exchange with the rest of the consolidated tape being 15-minutes delayed.
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
Near the upper right section of this topic there should be a place where you can select Watch this Topic to get notified when there are any edits or new posts to the topic.
Learn how to use the forums: post a new topic, reply, Search existing topics
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |