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 » Customer Training & Support » PCFs, EasyScan and Custom Indicators » Double Smoothed Stochastic Bressert (DSS-BR)

100 * XAVG((XAVG(STOCp.1.z, k) - MIN(XAVG(STOCp.1.z, k), p)) / (MAX(XAVG(STOCp.1.z, k), p) - MIN(XAVG(STOCp.1.z, k), p)), k)

100 * XAVG((XAVG((w - MIN(w, p)) / (MAX(w, p) - MIN(w, p)), k) - MIN(XAVG((w - MIN(w, p)) / (MAX(w, p) - MIN(w, p)), k), p)) / (MAX(XAVG((w - MIN(w, p)) / (MAX(w, p) - MIN(w, p)), k), p) - MIN(XAVG((w - MIN(w, p)) / (MAX(w, p) - MIN(w, p)), k), p)), k)

w

p

k

z

'05/04/2015'

Hello. Is there any way to color the up and down legs on this?

You could use a Custom PCF Indicator to plot the Bressert Stochastic using the Dot Plot Style. You would need to have two indicators. One would plot all of the values (or just the ups if you prefer) and the other would plot just the down values.

So let us say we have a DSS Bressert Stochastic 10. 5 (used different numbers to make things easier to adjust). The base stochastic would use the following Formula in the Custom PCF Indicator.

100 * XAVG((XAVG(STOC10, 5) - MIN(XAVG(STOC10, 5), 10)) / (MAX(XAVG(STOC10, 5), 10) - MIN(XAVG(STOC10, 5), 10)), 5)

While the "down version" would use the following formula.

100 * XAVG((XAVG(STOC10, 5) - MIN(XAVG(STOC10, 5), 10)) / (MAX(XAVG(STOC10, 5), 10) - MIN(XAVG(STOC10, 5), 10)), 5) / ABS(XAVG((XAVG(STOC10, 5) - MIN(XAVG(STOC10, 5), 10)) / (MAX(XAVG(STOC10, 5), 10) - MIN(XAVG(STOC10, 5), 10)), 5) < XAVG((XAVG(STOC10.1.1, 5) - MIN(XAVG(STOC10.1.1, 5), 10)) / (MAX(XAVG(STOC10.1.1, 5), 10) - MIN(XAVG(STOC10.1.1, 5), 10)), 5))

They need to be plotted in the same pane and scale (you probably want to set the scale to 0 to 100 anyway and they need to use the Dot Plot Style with different colors for each indicator.

You may want to plot the first indicator twice (once as dots and another using the Line Plot Style) in order to "connect the dots". Another option to do the same thing would be to add a 1 period moving average to the first Custom PCF Indicator.

This is great, perfect. Thanks so much, Bruce.

Bruce, I'd like to create a scan condition that returns ticksers undergoing change from red to green. I tried various conditions using the dialog but none seems to return the change.

I drew out a signal line per the instruction above. Now I'm just trying to evaluate those starting an up leg.

I'm using this for UP: 100 * XAVG((XAVG(STOC4, 2) - MIN(XAVG(STOC4, 2), 4)) / (MAX(XAVG(STOC4, 2), 4) - MIN(XAVG(STOC4, 2), 4)), 2) and this for DOWN: 100 * XAVG((XAVG(STOC4, 2) - MIN(XAVG(STOC4, 2), 4)) / (MAX(XAVG(STOC4, 2), 4) - MIN(XAVG(STOC4, 2), 4)), 2) / ABS(XAVG((XAVG(STOC4, 2) - MIN(XAVG(STOC4, 2), 4)) / (MAX(XAVG(STOC4, 2), 4) - MIN(XAVG(STOC4, 2), 4)), 2) < XAVG((XAVG(STOC4.1.1, 2) - MIN(XAVG(STOC4.1.1, 2), 4)) / (MAX(XAVG(STOC4.1.1, 2), 4) - MIN(XAVG(STOC4.1.1, 2), 4)), 2)) Thank you very much.

Please try the following Condition Formula.

XAVG((XAVG(STOC10, 5) - MIN(XAVG(STOC10, 5), 10)) / (MAX(XAVG(STOC10, 5), 10) - MIN(XAVG(STOC10, 5), 10)), 5) > XAVG((XAVG(STOC10.1.1, 5) - MIN(XAVG(STOC10.1.1, 5), 10)) / (MAX(XAVG(STOC10.1.1, 5), 10) - MIN(XAVG(STOC10.1.1, 5), 10)), 5) AND XAVG((XAVG(STOC10.1.1, 5) - MIN(XAVG(STOC10.1.1, 5), 10)) / (MAX(XAVG(STOC10.1.1, 5), 10) - MIN(XAVG(STOC10.1.1, 5), 10)), 5) <= XAVG((XAVG(STOC10.1.2, 5) - MIN(XAVG(STOC10.1.2, 5), 10)) / (MAX(XAVG(STOC10.1.2, 5), 10) - MIN(XAVG(STOC10.1.2, 5), 10)), 5)

Thanks very much, Bruce. Very helpful, much appreciated.

You're welcome.