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 |

PCF price above the 50 simple for at least the last 30 days Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
loadmanjoe
Posted : Tuesday, June 16, 2015 9:08:45 PM
Registered User
Joined: 6/17/2008
Posts: 22

Can you write a PCF that will show stocks that are above the 50 simple at least the last 30 days . Thank you for any and all help.

Bruce_L
Posted : Wednesday, June 17, 2015 9:44:47 AM


Worden Trainer

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

You would have to check eac bar individually to do this as a Condition Formula. This checks for price closing above the moving average. You would need to do something different if the entire price bar needs to be above the average for the entire time.

C > AVGC50 AND C1 > AVGC50.1 AND C2 > AVGC50.2 AND C3 > AVGC50.3 AND C4 > AVGC50.4 AND C5 > AVGC50.5 AND C6 > AVGC50.6 AND C7 > AVGC50.7 AND C8 > AVGC50.8 AND C9 > AVGC50.9 AND C10 > AVGC50.10 AND C11 > AVGC50.11 AND C12 > AVGC50.12 AND C13 > AVGC50.13 AND C14 > AVGC50.14 AND C15 > AVGC50.15 AND C16 > AVGC50.16 AND C17 > AVGC50.17 AND C18 > AVGC50.18 AND C19 > AVGC50.19 AND C20 > AVGC50.20 AND C21 > AVGC50.21 AND C22 > AVGC50.22 AND C23 > AVGC50.23 AND C24 > AVGC50.24 AND C25 > AVGC50.25 AND C26 > AVGC50.26 AND C27 > AVGC50.27 AND C28 > AVGC50.28 AND C29 > AVGC50.29

Personal Criteria Formula Syntax



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