New version 17 available now


Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

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

Profile: diceman
About
User Name: diceman
Groups: Gold User, Member, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Friday, January 28, 2005
Last Visit: Wednesday, January 11, 2017 6:02:50 PM
Number of Posts: 5,901
[2.13% of all post / 1.35 posts per day]
Avatar
Last 10 Posts
Topic: home made oscillator from 2 SMA
Posted: Tuesday, January 10, 2017 1:27:43 AM

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

 

Topic: home made oscillator from 2 SMA
Posted: Saturday, January 07, 2017 2:20:31 PM

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


 

Topic: Cloud
Posted: Thursday, December 22, 2016 12:29:51 PM

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

 

 

Thanks

 

Topic: Cloud
Posted: Wednesday, December 21, 2016 8:59:53 AM

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

Topic: Blank column
Posted: Wednesday, December 21, 2016 8:51:16 AM

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

 

 

 

Topic: Blank column
Posted: Tuesday, December 20, 2016 11:50:27 AM

I have this PCF in a watchlist column:

 

(((MAXH8-MINL8.8)-(MAXH8.8-MINL8))/(((MAXH8-MINL8.8)+(MAXH8.8-MINL8))*.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 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.

Any ideas?

 

 

Thanks

Topic: Moving Linear Regression
Posted: Saturday, December 17, 2016 12:51:32 PM

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

 

Topic: Moving Linear Regression
Posted: Thursday, December 08, 2016 3:02:07 PM

QUOTE (Bruce_L)

This formula should be getting a lot shorter soon.

 

Is new PCF language on the way?

 

Thanks

 

Topic: Help needed to construct a PCF for downtrend stocks and now 13EMA crosses 20EMA
Posted: Saturday, December 03, 2016 11:41:02 AM

Are the 13/20 emas weekly or daily?

 

 

Thanks

 

Topic: Ulcer Index PCF?
Posted: Wednesday, November 30, 2016 12:32:06 PM

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&#39;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