Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Rate of Change PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Savrad
Posted : Friday, February 2, 2018 12:39:49 PM
Gold Customer Gold Customer

Joined: 1/24/2005
Posts: 97

Although I viewed the Rate of Change threads I didn't see how to actually write one that would do this:

-After for example 25 bars below the 11 MA it crosses on current bar:

https://www.screencast.com/t/ysNQpLpog

Thanks for any help!

Paul

 

Bruce_L
Posted : Friday, February 2, 2018 12:57:06 PM


Worden Trainer

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

Please try the following.

C - C20 > AVGC11 - AVGC11.20 AND C1 - C21 < AVGC11.1 - AVGC11.21 AND C2 - C22 < AVGC11.2 - AVGC11.22 AND C3 - C23 < AVGC11.3 - AVGC11.23 AND C4 - C24 < AVGC11.4 - AVGC11.24 AND C5 - C25 < AVGC11.5 - AVGC11.25 AND C6 - C26 < AVGC11.6 - AVGC11.26 AND C7 - C27 < AVGC11.7 - AVGC11.27 AND C8 - C28 < AVGC11.8 - AVGC11.28 AND C9 - C29 < AVGC11.9 - AVGC11.29 AND C10 - C30 < AVGC11.10 - AVGC11.30 AND C11 - C31 < AVGC11.11 - AVGC11.31 AND C12 - C32 < AVGC11.12 - AVGC11.32 AND C13 - C33 < AVGC11.13 - AVGC11.33 AND C14 - C34 < AVGC11.14 - AVGC11.34 AND C15 - C35 < AVGC11.15 - AVGC11.35 AND C16 - C36 < AVGC11.16 - AVGC11.36 AND C17 - C37 < AVGC11.17 - AVGC11.37 AND C18 - C38 < AVGC11.18 - AVGC11.38 AND C19 - C39 < AVGC11.19 - AVGC11.39 AND C20 - C40 < AVGC11.20 - AVGC11.40 AND C21 - C41 < AVGC11.21 - AVGC11.41 AND C22 - C42 < AVGC11.22 - AVGC11.42 AND C23 - C43 < AVGC11.23 - AVGC11.43 AND C24 - C44 < AVGC11.24 - AVGC11.44 AND C25 - C45 < AVGC11.25 - AVGC11.45

Note this will not actually return true for CPRT on the date in your image, but the ROC20 had only been below its SMA 11 for 23 bars in a row at the time.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Savrad
Posted : Friday, February 2, 2018 4:51:04 PM
Gold Customer Gold Customer

Joined: 1/24/2005
Posts: 97

Thanks Bruce-I tried that-zero stocks came up-probably because the market cratered today...I'll try it again next week...thanks for your help!

Paul

Savrad
Posted : Tuesday, February 6, 2018 4:59:49 PM
Gold Customer Gold Customer

Joined: 1/24/2005
Posts: 97

Yep 7 on the scan today-it worked...much appreciated!!

Paul

Bruce_L
Posted : Tuesday, February 6, 2018 5:01:19 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.