Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 4/12/2005 Posts: 71
|
Hello,
Is there a way to code an indicator that tells you how many of the last 10 days were "up" days? I can do simple things in PCF but not too complicated. Without loops and variables I don't see how I would do this one...thanks!
-Bill
|
|
Registered User Joined: 9/17/2010 Posts: 484
|
If you mean by an Up Day, today's close is higher than yesterday's Close
CountTrue(C>C1,10)
|
|
Registered User Joined: 4/12/2005 Posts: 71
|
QUOTE (bcochrane)
If you mean by an Up Day, today's close is higher than yesterday's Close
CountTrue(C>C1,10)
I will try that...I clearly don't know PCF very well...thanks!
|
|
Guest-1 |