TC2000.com• Download software • Tutorial videos • Subscription & data-feed pricing • Class schedule
TC2000Brokerage.com• New account application • Trading resources • Margin rates • Stock & option commissions
Worden Discussion Forum
sadly I get "error : Must be boolean formula"
You can plot below chart.
Use a Custom PCF, not Percent True PCF.
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
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 5-ago)
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.
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.
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.
I have this PCF in a watchlist column:
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 off-set it by 5.
I have other PCFs in the watchlist columns also off-set by 5 and they all work.
Im using version 12.5.
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.
This formula should be getting a lot shorter soon.
Is new PCF language on the way?
Are the 13/20 emas weekly or daily?
Using the second version in your post, can you create, 5, 8, 13, 21 period versions?