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 |

Merging Moving Averages Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
couto7
Posted : Thursday, July 12, 2018 10:46:17 PM
Gold Customer Gold Customer

Joined: 10/14/2004
Posts: 202

Please write a PCF where 4,9 and 18 Simple Moving Averages are all converging together at the same time on a daily  chart  Thanks

Bruce_L
Posted : Friday, July 13, 2018 8:43:10 AM


Worden Trainer

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

If you want all of the moving averages to be within say 1% of each other:

AVGC9 <= 1.01 * AVGC4 AND AVGC18 <= 1.01 * AVGC4 AND AVGC4 <= 1.01 * AVGC9 AND AVGC18 <= 1.01 * AVGC9 AND AVGC4 <= 1.01 * AVGC18 AND AVGC9 <= 1.01 * AVGC18

This could be written as follows in TC2000 v18.

GREATEST(AVGC4, AVGC9, AVGC18) <= 1.01 * LEAST(AVGC4, AVGC9, AVGC18)



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