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 |

Price greater than moving average by 10% or more Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Jerome
Posted : Friday, December 10, 2010 7:19:26 PM
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
Bruce_L
Posted : Monday, December 13, 2010 8:36:41 AM


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
djoko.say
Posted : Saturday, August 3, 2013 6:25:15 AM
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

 

djoko.say
Posted : Saturday, August 3, 2013 6:26:18 AM
Registered User
Joined: 6/14/2013
Posts: 17

btw i use tc2000 ver 12.3

 

thx

 

djoko.say
Posted : Saturday, August 3, 2013 6:28:24 AM
Registered User
Joined: 6/14/2013
Posts: 17

also can i have email notification when you answer my question? thx

Bruce_L
Posted : Monday, August 5, 2013 1:45:53 PM


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