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 |

Finding the three highest closes in the past 20 days Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
PRSC24
Posted : Saturday, July 17, 2010 10:38:24 PM
Registered User
Joined: 3/31/2005
Posts: 17
Hello,
Can a PCF be created that averages the three highest closes in the last 20 days?
I would like to look at charts where today’s close is greater than the average of the 3 highest closes over the previous 20 days. As an example, on 4/6/10 AIG closed at 35.91 and the average of the highest 3 closes from the previous 20 days was 35.47 (36.24 on 3/10/10; 35.11 on 3/11/10 and 35.06 on 4/5/10).
Thanks in advance for any help.
Eric
Bruce_L
Posted : Thursday, July 22, 2010 9:05:38 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
A technique for finding these values is described in the PCF for Order Statistics topic, but the formulas will be rather long if written for 20-Periods:

PCF for Order Statistics

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