Registered User Joined: 1/28/2005 Posts: 6
|
3/4/05 SPY shows a level MinL10 and an increasing MaxH3 but I can’t get %True to show this condition
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
You cannot string three equals in a row in a PCF. MINL10 returns the lowest low in the last 10 days. When you say a level MINL10 do you mean you don't want a new low in the recent 2 days? You formula implies that. If PCF language accepted your syntax you would only get a FALSE if today or yesterday was a new low for the last 10 or so days.
As for your highs, you seem to be looking for today to be a new high for the three days. This is easy:
MAXH3=H
This will return true if today's high is a new 3-day high (today's high must have increased if it is the new highest high.
If you can elaborate more on what you mean by level lows then I can help you finish the PCF.
In the meantime, here is the corrected version of your PCF for the indicator and it does return TRUE for SPY:
(MinL10 = MinL10.1) AND (MINL10.1=MINL10.2) AND (MaxH3 > MaxH3.1)
- Craig Here to Help!
|
Registered User Joined: 1/28/2005 Posts: 6
|
Thank you so much. Exactly what I wanted. Don't know why I didn't catch the double equals.
|