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

Scan for TASC Article Swing Trading Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
gllawson
Posted : Saturday, December 14, 2013 1:15:53 AM
Registered User
Joined: 3/18/2010
Posts: 35

In the Dec 2013 TASC under Trader Tips there's reference to writing a scan for 1) price exceeding the 5 period moving average of daily high by 5 ticks and 2) price prior to the break of the upper moving average has closed above the 50 day EMA.  Can you explain how to write it?

johnthurrell
Posted : Saturday, December 14, 2013 6:46:04 PM
Registered User
Joined: 8/1/2011
Posts: 4

Yes I would like to know as well

Bruce_L
Posted : Monday, December 16, 2013 10:20:32 AM


Worden Trainer

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

If I'm understanding the requirements correctly, a Condition Formula for this could be written as:

C >= AVGH5 + .05 AND C1 > XAVGC50.1

This just checks for the current price to be at least .05 above the 5-period simple moving average of the high and the previous price to have been above the 50-period exponential moving average of the close.

If price needs to have been below AVGH5 + .05 during the previous bar:

C >= AVGH5 + .05 AND C1 < AVGH5.1 + .05 AND C1 > XAVGC50.1

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



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