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


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Cloud Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
diceman
Posted : Wednesday, October 5, 2016 9:34:03 AM
Registered User
Joined: 1/28/2005
Posts: 6,049

Can I have a PCF for:

 

(Base Line)-(1.5*14 period ATR simple)

 

 

 

 

Thanks

 

Bruce_L
Posted : Wednesday, October 5, 2016 3:34:49 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Please try the following Indicator Formula.

(MAXH26 + MINL26) / 2 - 1.5 * ((AVGH14 - AVGL14) / 2 + (ABS(H - C1) + ABS(C1 - L) + ABS(H1 - C2) + ABS(C2 - L1) + ABS(H2 - C3) + ABS(C3 - L2) + ABS(H3 - C4) + ABS(C4 - L3) + ABS(H4 - C5) + ABS(C5 - L4) + ABS(H5 - C6) + ABS(C6 - L5) + ABS(H6 - C7) + ABS(C7 - L6) + ABS(H7 - C8) + ABS(C8 - L7) + ABS(H8 - C9) + ABS(C9 - L8) + ABS(H9 - C10) + ABS(C10 - L9) + ABS(H10 - C11) + ABS(C11 - L10) + ABS(H11 - C12) + ABS(C12 - L11) + ABS(H12 - C13) + ABS(C13 - L12) + ABS(H13 - C14) + ABS(C14 - L13)) / 28)

Ichimoku Cloud
Please provide a description and PCF for calculating an ATR value to be used as a stop loss value



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
diceman
Posted : Friday, October 14, 2016 1:30:18 PM
Registered User
Joined: 1/28/2005
Posts: 6,049

Bruce

I would like these PCFs if they can be created.

PCF1:

Price > Cloud = +1

Price< Cloud = -1

Price in CLOUD = 0

 

PCF2:

CONVERSION LINE ABOVE CLOUD = +1

CONVERSION LINE BELOW CLOUD = -1

CONVERSION LINE IN CLOUD = 0

PCF3:

BASE LINE ABOVE CLOUD= +1

BASE LINE BELOW CLOUD= -1

BASE LINE IN CLOUD = 0

PCF4:

CONVERSION>BASE = +1

CONVERSION<BASE = -1

CONVERSION=BASE = 0

PCF5:

LAGGING SPAN > CANDLE WHERE ITS PLOTED = +1

LAGGING SPAN < CANDLE WHERE ITS PLOTTED = -1

LAGGING SPAN INSIDE (VS. THE CANDLE HIGH AND LOW) THE CANDLE WHERE ITS PLOTTED = 0

 

PCF6:

SUMS THE VALUES ABOVE SO IT EQUALS +5 WHEN ALL ARE 1

-5 WHEN ALL ARE -1 AND ALL VALUES IN-BETWEEN.

 

HOPE THAT MAKES SENSE

 

Thanks

 

 

 

Bruce_L
Posted : Friday, October 14, 2016 1:39:42 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

PCF1:

(SGN(4 * C - MAXH9.26 - MINL9.26 - MAXH26.26 - MINL26.26) + SGN(2 * C - MAXH52.26 - MINL52.26)) / 2

PCF2:

(SGN(2 * (MAXH9 + MINL9) - MAXH9.26 - MINL9.26 - MAXH26.26 - MINL26.26) + SGN(MAXH9 + MINL9 - MAXH52.26 - MINL52.26)) / 2

PCF3:

(SGN(2 * (MAXH26 + MINL26) - MAXH9.26 - MINL9.26 - MAXH26.26 - MINL26.26) + SGN(MAXH26 + MINL26 - MAXH52.26 - MINL52.26)) / 2

PCF4:

SGN(MAXH9 + MINL9 - MAXH26 - MINL26)

PCF5:

(SGN(C - H26) + SGN(C - L26)) / 2

PCF6:

(SGN(4 * C - MAXH9.26 - MINL9.26 - MAXH26.26 - MINL26.26) + SGN(2 * C - MAXH52.26 - MINL52.26) + SGN(2 * (MAXH9 + MINL9) - MAXH9.26 - MINL9.26 - MAXH26.26 - MINL26.26) + SGN(MAXH9 + MINL9 - MAXH52.26 - MINL52.26) + SGN(2 * (MAXH26 + MINL26) - MAXH9.26 - MINL9.26 - MAXH26.26 - MINL26.26) + SGN(MAXH26 + MINL26 - MAXH52.26 - MINL52.26) + 2 * SGN(MAXH9 + MINL9 - MAXH26 - MINL26) + SGN(C - H26) + SGN(C - L26)) / 2



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
diceman
Posted : Wednesday, December 21, 2016 8:59:53 AM
Registered User
Joined: 1/28/2005
Posts: 6,049

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

Bruce_L
Posted : Wednesday, December 21, 2016 9:07:26 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

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



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
diceman
Posted : Thursday, December 22, 2016 12:29:51 PM
Registered User
Joined: 1/28/2005
Posts: 6,049

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

 

Bruce_L
Posted : Thursday, December 22, 2016 1:43:50 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Development is taking a look at it. I can work around the issue using internal v17 builds by using the new PCF syntax, but haven't found a way to work around the issue in existing production builds without writing a very long formula (by manually expanding the 13 period moving average).



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.