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

Test for 1 or more bars down then bar moves above previous up bar. Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
egorth
Posted : Friday, October 6, 2017 4:37:50 PM
Registered User
Joined: 3/4/2005
Posts: 55

Bruce,

Is it possible using PCFs/EasyScan with TC2000 PC version, to scan for stocks where a price bar moves above a previous bar which has one to x bars in between that are lower than the first (previous) bar?  Basically price moves up (1st bar), dips one or more bars, then closes above price of 1st bar.

Thanks,

Ed 

Bruce_L
Posted : Friday, October 6, 2017 4:44:05 PM


Worden Trainer

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

Is there a limit to x?

Does the price need to go above the high or the close of x bars ago?



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
egorth
Posted : Friday, October 6, 2017 4:59:40 PM
Registered User
Joined: 3/4/2005
Posts: 55

x can be one to ten, and price needs to close above close x bars ago.

Bruce_L
Posted : Friday, October 6, 2017 5:06:51 PM


Worden Trainer

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

Please try the following Condition Formula.

(C > C2 AND C1 < C2) OR (C > C3 AND MAXC2.1 < C3) OR (C > C4 AND MAXC3.1 < C4) OR (C > C5 AND MAXC4.1 < C5) OR (C > C6 AND MAXC5.1 < C6) OR (C > C7 AND MAXC6.1 < C7) OR (C > C8 AND MAXC7.1 < C8) OR (C > C9 AND MAXC8.1 < C9) OR (C > C10 AND MAXC9.1 < C10) OR (C > C11 AND MAXC10.1 < C11)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
egorth
Posted : Friday, October 6, 2017 5:24:01 PM
Registered User
Joined: 3/4/2005
Posts: 55

Looks to be doing what I'm wanting.  Pretty clever using the MAX cmd.

Thank you Bruce...

Ed

 

Bruce_L
Posted : Saturday, October 7, 2017 9:08:42 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.