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

Stocks between 20ma and 50 ma. Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
levalencia
Posted : Sunday, September 8, 2013 2:47:12 PM
Registered User
Joined: 10/20/2012
Posts: 68

I am looking for a pcf that returns me stocks like these where the last candle is between to MAs before it might breakout to the upside

 

http://screencast.com/t/m2s5psIzNrLn

Bruce_L
Posted : Monday, September 9, 2013 7:58:35 AM


Worden Trainer

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

If just the current price needs to be between the 20 and 50 period simple moving averages:

AVGC20 + AVGC50 - ABS(AVGC20 - AVGC50) <= 2 * C AND 2 * C <= AVGC20 + AVGC50 + ABS(AVGC20 - AVGC50)

If just the body of the candle needs to be between the 20 and 50 period simple moving averages:

AVGC20 + AVGC50 - ABS(AVGC20 - AVGC50) <= O + C - ABS(O - C) AND O + C + ABS(O - C) <= AVGC20 + AVGC50 + ABS(AVGC20 - AVGC50)

If the entire candle needs to be between the 20 and 50 period simple moving averages:

AVGC20 + AVGC50 - ABS(AVGC20 - AVGC50) <= 2 * L AND 2 * H <= AVGC20 + AVGC50 + ABS(AVGC20 - AVGC50)

The above formulas can be simplified if the 50 period simple moving average needs to be above the 20 period simple moving average as well:

Just the price becomes:

AVGC20 <= C AND C <= AVGC50

Just the body becomes:

2 * AVGC20 <= O + C - ABS(O - C) AND O + C + ABS(O - C) <= 2 * AVGC50

And the entire candle becomes:

AVGC20 <= L AND H <= AVGC50

Min Max PCFs



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