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

Price at 50 day SMA Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
tradingalgo06
Posted : Thursday, April 19, 2018 12:09:23 PM
Registered User
Joined: 4/5/2017
Posts: 15

Hi Bruce,

 

Could you please tell me how to scan for stocks that are currently at 50day sma on daily OR within 1-3% of it . As you know 50 day sma is great support/resistance for most stocks. thank you!

Bruce_L
Posted : Thursday, April 19, 2018 12:27:25 PM


Worden Trainer

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

A condition formula for the current price bar touching the 50 period simple moving average can be written as follows.

L <= AVGC50 AND AVGC50 <= H

A condition formula for the current price being within 1% of the 50 period simple moving average can be written as follows.

100 * (C / AVGC50 - 1) <= 1

A condition formula for the current price being within 3% of the 50 period simple moving average can be written as follows.

100 * (C / AVGC50 - 1) <= 3



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
tradingalgo06
Posted : Thursday, April 19, 2018 1:07:22 PM
Registered User
Joined: 4/5/2017
Posts: 15

Perfect.  Thank you!! :) :) 

Bruce_L
Posted : Thursday, April 19, 2018 1:08:00 PM


Worden Trainer

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

You're welcome.



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