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

Price closing above 50 MA Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
bostonbombay
Posted : Tuesday, November 20, 2018 1:13:01 AM
Gold Customer Gold Customer

Joined: 6/23/2015
Posts: 20

Hi Bruce,

Can you create a PCF for the following

1. Price opening below 50 MA and then closing above 50 MA with the close also being above the 8 EMA.

2.Can we also add a condition that the stockastics crossing from the oversold area.

3. Previous day close was a doji.

Regards,

MK

 

Bruce_L
Posted : Monday, November 26, 2018 9:38:09 AM


Worden Trainer

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

Pleaes try the following condition formula. It assumes the 50 MA is simple, a doji requires the body to be 5% of the candle or less, and that you are interested in the simple stochastic 12,3 %K crossing up through 20.

20 * ABS(O1 - C1) <= H1 - L1 AND XUP(STOC12.3, 20) AND C > AVGC50 AND AVGV50 > O AND C > XAVGC8



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Tuesday, November 27, 2018 7:20:04 AM
Registered User
Joined: 9/30/2011
Posts: 788
The following formula does not generate any signal Up !
 
20 * ABS (O1 - C1) <= H1 - L1 AND XUP (STOC12.3, 20) AND C> AVGC50 AND AVGV50> OR AND C> XAVGC8
 
Thank you for your attention and I greet you cordially.
Raider45
Bruce_L
Posted : Tuesday, November 27, 2018 9:52:55 AM


Worden Trainer

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

Your formula has significant enough changes that it is not functionally the same thing. There is a space between XUP and its opening parenthesis which should not be there. O (which is for Open in this case) got changed to OR when it needs to remain unchanged.

That said, the formula is pretty restrictive and would not have returned any results in a daily time frame when scanning the US Common Stocks WatchList.

Let's break it down into 3 sections.

A - Yesterday was a Doji.

20 * ABS(O1 - C1) <= H1 - L1

B - Stochastics crossed up from oversold.

XUP(STOC12.3, 20)

C - Price opened below but closed above SMA50 and is also above EMA8.

C > AVGC50 AND AVGV50 > O AND C > XAVGC8

A was true for 704 symbols.

B was true for 514 symbols.

C was true for 998 symbols.

But A and B only had 48 symbols in common.

A and C only had 116 symbols in common.

B and C only had 56 symbols in common.

And A, B, and C had no symbols in common.

Each requirement on its own isn't a problem, but the combination is was too restrictive to return any symbols from the US Common Stocks WatchList using yesterday's daily data.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
raider45
Posted : Tuesday, November 27, 2018 10:47:42 AM
Registered User
Joined: 9/30/2011
Posts: 788
Thanks for the clarifications !
 
Sincerely !
bostonbombay
Posted : Wednesday, November 28, 2018 11:46:51 PM
Gold Customer Gold Customer

Joined: 6/23/2015
Posts: 20

QUOTE (Bruce_L)

Pleaes try the following condition formula. It assumes the 50 MA is simple, a doji requires the body to be 5% of the candle or less, and that you are interested in the simple stochastic 12,3 %K crossing up through 20.

20 * ABS(O1 - C1) <= H1 - L1 AND XUP(STOC12.3, 20) AND C > AVGC50 AND AVGV50 > O AND C > XAVGC8

Thank you Bruce, appreciate it.

Regards,

MK

Bruce_L
Posted : Thursday, November 29, 2018 9:10:11 AM


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.