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

PCF % of last days Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
SILVERWESOKE
Posted : Tuesday, May 23, 2017 12:44:19 PM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

Can you tell me how to write a pcf that screens for

Price <=3 % higher than the  the higest high of the last 5 days.

 

thanks.

Bruce_L
Posted : Tuesday, May 23, 2017 12:53:46 PM


Worden Trainer

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

If you mean price has to be above the high but less than 3% higher and the last 5 days:

MAXH5.1 <= C AND C <= 1.03 * MAXH5.1

If it just needs to be below this value with checking for it being above the high:

C <= 1.03 * MAXH5.1



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