New version 18 available now


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


New account application Trading resources
Margin rates Stock & option commissions

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

V7 pcf Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Michaelc1507
Posted : Tuesday, September 11, 2018 1:29:43 PM
Gold Customer Gold Customer

Joined: 12/3/2006
Posts: 274

Morning Bruce - would you please make me a pcf for the 50 sma.  I'd like it to be rising and then start rolling over and heading down.  It's that rollover to the dowside I'm looking for.

Thanks - Mike

 
Bruce_L
Posted : Tuesday, September 11, 2018 1:42:28 PM


Worden Trainer

Joined: 10/7/2004
Posts: 64,082

You could write this as follows.

AVGC50 <= AVGC50.1 AND AVGC50.1 > AVGC50.2

But this could be shortened to the following.

C <= C50 AND C1 > C51



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Michaelc1507
Posted : Tuesday, September 11, 2018 1:55:41 PM
Gold Customer Gold Customer

Joined: 12/3/2006
Posts: 274

Thanks for the speedy reply!

 

Mike

Michaelc1507
Posted : Friday, October 05, 2018 8:46:41 AM
Gold Customer Gold Customer

Joined: 12/3/2006
Posts: 274

Morning Bruce - this is working just fine but I'd like to back it up a bit.  Could you please tweek the above so that this turndown happens 10 days back.

 

Thanks - Mike

Bruce_L
Posted : Friday, October 05, 2018 10:16:51 AM


Worden Trainer

Joined: 10/7/2004
Posts: 64,082

You can just add 10 to all of the bars ago parameters.

C10 <= C60 AND C11 > C61

If you need the moving average to have continued to go down since, then you would have to also check that the most recent 10 moving average values decreased as well.

C < C50 AND C1 < C51 AND C2 < C52 AND C3 < C53 AND C4 < C54 AND C5 < C55 AND C6 < C56 AND C7 < C57 AND C8 < C58 AND C9 < C59 AND C10 <= C60 AND C11 > C61



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Michaelc1507
Posted : Friday, October 05, 2018 12:43:03 PM
Gold Customer Gold Customer

Joined: 12/3/2006
Posts: 274

Thank you - I'll have something to play with this weekend! 

Have a great weekend

 

Mike

Bruce_L
Posted : Friday, October 05, 2018 12:45:36 PM


Worden Trainer

Joined: 10/7/2004
Posts: 64,082

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.