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 |

Need help with a scan I'd like to use Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
hseda
Posted : Saturday, May 30, 2015 12:05:35 PM
Registered User
Joined: 10/7/2004
Posts: 2

I'm looking for a code that will allow me to scan stocks that close within the upper 20% of their daily range.

Thanks

Bruce_L
Posted : Saturday, May 30, 2015 12:21:25 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Checking for price for the current bar being in the top 20% can be done with a stochastic.

STOC1 >= 80

If you want to wait until the next bar starts forming, you can check for the previous bar instead of the current bar.

STOC1.1.1 >= 80

Understanding Stochastics



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
diceman
Posted : Saturday, May 30, 2015 1:24:27 PM
Registered User
Joined: 1/28/2005
Posts: 6,049

Wouldnt that be 80 for the top 20%?

 

 

 

 

Thanks

 

 

Bruce_L
Posted : Saturday, May 30, 2015 2:20:51 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Yes, it would be 80 for the top 20%.



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