QUOTE (RedEagle9)
sadly I get "error : Must be boolean formula"
Thanks!
You can plot below chart.
Use a Custom PCF, not Percent True PCF.
Thanks

This should work.
Use regular PCF not % true.
ABS(AVGC5 > AVGC5.1 AND AVGC9 > AVGC9.1) + ABS(AVGC5 < AVGC5.1 AND AVGC9 < AVGC9.1) * 1
Thanks

QUOTE (Bruce_L)
This is what I come up with adding 5 to all of the bars ago parameters.
(SGN(4 * C5  MAXH9.31  MINL9.31  MAXH26.31  MINL26.31) + SGN(2 * C5  MAXH52.31  MINL52.31) + SGN(2 * (MAXH9.5 + MINL9.5)  MAXH9.31  MINL9.31  MAXH26.31  MINL26.31) + SGN(MAXH9.5 + MINL9.5  MAXH52.31  MINL52.31) + SGN(2 * (MAXH26.5 + MINL26.5)  MAXH9.31  MINL9.31  MAXH26.31  MINL26.31) + SGN(MAXH26.5 + MINL26.5  MAXH52.31  MINL52.31) + 2 * SGN(MAXH9.5 + MINL9.5  MAXH26.5  MINL26.5) + SGN(C5  H31) + SGN(C5  L31)) / 2
This did work but it turned out I was actualy using a moving average of 13 to offset.
(I forgot that I had smoothed it)
I tried a moving average of 13 simple (not offset becuse this PCF is already 5ago)
It didnt work.
I also tried smoothing with the period box in the indicator.
That also didnt work.
Seems to only be the two PCFs Ive posted here.
I have many other scans/conditions that use offsets that are working fine.
Thanks

Bruce
I have a post here about a PCF that stopped working in a watchlist column.
I have a scan condition with PCF6 above.
Like the other it is offset by 5 with a moving average of 1.
It has also stopped working.
(after getting about 300 stocks per day based on my other parameters it now gives me none)
Can you give me PCF6 with the parameters shifted by 5. (C=C5)
So I can see if the raw PCF works vs an MAV of 1 shifted by 5.
Thanks

I did that with the raw PCF and it worked.
It didnt work when I used the moving average of 1 and offset it by 5.
I offset the PCFs parameters by 5 so that I could use the direct PCF
and it worked.
Of course it doesnt explain why the original stopped working.
Thanks

I have this PCF in a watchlist column:
(((MAXH8MINL8.8)(MAXH8.8MINL8))/(((MAXH8MINL8.8)+(MAXH8.8MINL8))*.5))*100
Ive been using it for months, but all of a sudden it doesnt give values. (just shows 3 dots)
It works when I plot if as an indicator or recall a saved version as an indicator.
This has only been over the last couple of days.
I would add, Im looking at a five day ago value, I applied a 1 period moving average
and offset it by 5.
I have other PCFs in the watchlist columns also offset by 5 and they all work.
Im using version 12.5.
Any ideas?
Thanks

QUOTE (Aces4Me)
General Question Linear Regression
If i plot Moving Linear Regression 30 Period
IS A CROSSOVER the same place it would be if you had a linear regression line 30
At the last bar.
Its basically a moving last bar of a regression line.
Thanks

QUOTE (Bruce_L)
This formula should be getting a lot shorter soon.
Is new PCF language on the way?
Thanks

Are the 13/20 emas weekly or daily?
Thanks

QUOTE (Bruce_L) Here are two other possible interpretations you might wish to try out:
SQR(((100 * (C / MAXC14  1)) ^ 2 + (100 * (C1 / MAXC14  1)) ^ 2 + (100 * (C2 / MAXC14  1)) ^ 2 + (100 * (C3 / MAXC14  1)) ^ 2 + (100 * (C4 / MAXC14  1)) ^ 2 + (100 * (C5 / MAXC14  1)) ^ 2 + (100 * (C6 / MAXC14  1)) ^ 2 + (100 * (C7 / MAXC14  1)) ^ 2 + (100 * (C8 / MAXC14  1)) ^ 2 + (100 * (C9 / MAXC14  1)) ^ 2 + (100 * (C10 / MAXC14  1)) ^ 2 + (100 * (C11 / MAXC14  1)) ^ 2 + (100 * (C12 / MAXC14  1)) ^ 2 + (100 * (C13 / MAXC14  1)) ^ 2 ) / 14)
SQR(((100 * (C / MAXC14  1)) ^ 2 + (100 * (C1 / MAXC14.1  1)) ^ 2 + (100 * (C2 / MAXC14.2  1)) ^ 2 + (100 * (C3 / MAXC14.3  1)) ^ 2 + (100 * (C4 / MAXC14.4  1)) ^ 2 + (100 * (C5 / MAXC14.5  1)) ^ 2 + (100 * (C6 / MAXC14.6  1)) ^ 2 + (100 * (C7 / MAXC14.7  1)) ^ 2 + (100 * (C8 / MAXC14.8  1)) ^ 2 + (100 * (C9 / MAXC14.9  1)) ^ 2 + (100 * (C10 / MAXC14.10  1)) ^ 2 + (100 * (C11 / MAXC14.11  1)) ^ 2 + (100 * (C12 / MAXC14.12  1)) ^ 2 + (100 * (C13 / MAXC14.13  1)) ^ 2 ) / 14)
I really don't know how it is calculated, but based on your English language descriptions, I would tend to think your algorithm and the first formula I provided would be closest to the mark.
Using the second version in your post, can you create, 5, 8, 13, 21 period versions?
Thanks
