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

reversal PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
airsakuragi
Posted : Thursday, September 6, 2018 3:09:24 PM
Registered User
Joined: 4/26/2018
Posts: 84

hi bruce how do i write this in pCF

1. hitting new high or new low

2. 5 or 10 consecutive candle of the same color and on last color is opposite color with a wick at the bottom. ( hammer or hangin man for exmaple for downtrend)

3. RSI is below 10 or 90 above 

4. price is between 1 to 100

 

thanks

 

Bruce_L
Posted : Thursday, September 6, 2018 3:42:40 PM


Worden Trainer

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

Based on a literal interpretation of the requirements, I would write this as follows.

1 <= C AND C <= 100 AND SGN(O - C) = SGN(C1 - O1) AND O1 <> C1 AND TrueInRow(SGN(O1 - C1) = SGN(O2 - C2), 4) = 4 AND ABS(WRSI14 - 50) > 40 AND ((H = MAXH6 AND 2 * GREATEST(O, C) <= H + L) OR (L = MINL6) AND 2 * LEAST(O, C) >= H + L)

But it seems like it might be relatively rare as it doesn't actually currently return true for anything in a daily time frame.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
airsakuragi
Posted : Thursday, September 6, 2018 3:44:35 PM
Registered User
Joined: 4/26/2018
Posts: 84

bruce,

what do you mean by that??

i would like to use it on a 5 min candle.

 

thanks

Bruce_L
Posted : Thursday, September 6, 2018 3:46:29 PM


Worden Trainer

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

I just mean that it is an incredibly restrictive scan. It doesn't currently return true for anything on a 5-minute time frame etiher.

I would seriously consider eliminating or relaxing some of the requirements.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
airsakuragi
Posted : Thursday, September 6, 2018 3:52:58 PM
Registered User
Joined: 4/26/2018
Posts: 84

oh ok,

thanks

Bruce_L
Posted : Thursday, September 6, 2018 3:56:11 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.