StockFetcher Forums · Filter Exchange · KST (know sure thing)<< 1 2 3 >>Post Follow-up
Cheese
1,374 posts
msg #146482
Ignore Cheese
modified
2/9/2019 1:22:24 PM

Fetcher[
chart-time 3 MONTHS
/* https://www.stockfetcher.com/forums/Filter-Exchange/KST-know-sure-thing/110064/99999 */


/* attempt to simulate KST(10,15,20,30,10,10,10,15,9) */
/* Cheese January 18, 2013 */

set{myKST_roc10_smooth10,roc(10,10)}
set{myKST_roc15_smooth10,roc(15,10)}
set{myKST_roc20_smooth10,roc(20,10)}
set{myKST_roc30_smooth15,roc(30,15)}

set{myKST_temp1,myKST_roc10_smooth10}
set{myKST_temp2,myKST_temp1+myKST_roc15_smooth10}
set{myKST_temp3,myKST_temp2+myKST_roc20_smooth10}
set{myKST_temp4,myKST_temp3+myKST_roc30_smooth15}
set{myKST,myKST_temp4/4}
set{myKST_signal9,cma(myKST,9)}


draw myKST_signal9 on plot myKST
myKST crossed above myKST_signal9

/*
set{TSI2513,TSI(25,13)}
TSI2513 above cema(TSI2513,7)
*/

/*
chart-length 4 months
not otcbb
volume above 1,000,000
*/
/* symlist(SPLS,SLB) */



/* snappyfrog 2/9/2019 */

market is not otcbb
market is not etf
price > 5
Average Volume(30) > 1000000

set{KST_smooth10,roc(10,10)}
set{KST_smooth15,roc(15,10)}
set{KST_smooth20,roc(20,10)}
set{KST_smooth30,roc(30,15)}

set{KST_S10,KST_smooth10 * 1}
set{KST_S15,KST_smooth15 * 2}
set{KST_S20,KST_smooth20 * 3}
set{KST_S30,KST_smooth30 * 4}

set{KST_S10a,KST_S10 + KST_S15}
set{KST_S10b,KST_S20 + KST_S30}
set{KST_S10c,KST_S10a + KST_S10b}
set{KST_S10d,cma(KST_S10c,9)}

set{KST_Sig,cma(KST_S10c,20)}

draw KST_Sig on plot KST_S10d

KST_S10d > KST_S10d 1 day ago
]



snappyfrog
731 posts
msg #146486
Ignore snappyfrog
2/9/2019 4:06:01 PM

Thanks Cheese. I see what you mean. It may be that I have a different smoothing on this line:

set{KST_Sig,cma(KST_S10c,20)}

I was playing with different smoothing periods to try to make it less jagged.

Thanks again.

Cheese
1,374 posts
msg #146487
Ignore Cheese
2/9/2019 4:23:53 PM

Thanks, snappy.
I do miss Quilln, such a gentleman.

nibor100
1,044 posts
msg #161338
Ignore nibor100
9/4/2024 7:09:00 PM

@snappyfrog,

I was looking at KST on a couple of Interactive Broker charts on another forum, and your filter version seems to match their version of KST exactly.

Ed S.

snappyfrog
731 posts
msg #161340
Ignore snappyfrog
9/4/2024 8:41:14 PM

Wow, that's neat.

sr7
149 posts
msg #161342
Ignore sr7
9/5/2024 3:28:22 PM


Interestingly the one at Stockcharts.com uses several sets of numbers: KST (10,15,20,30,10,10,10,15,9)


Here's some code for the Mag 7 & Spy; all indicators have blue & red lines; buy signals occur when all of the blue lines cross above the red lines...

...watch Nvda --- it may have hit bottom.



Fetcher[


symlist(meta,amzn,goog,aapl,nvda,msft,spy)


/* attempt to simulate KST(10,15,20,30,10,10,10,15,9) */
/* from Beautiful British Columbia */
/* January 18, 2013 */

set{myKST_roc10_smooth10,roc(10,10)}
set{myKST_roc15_smooth10,roc(15,10)}
set{myKST_roc20_smooth10,roc(20,10)}
set{myKST_roc30_smooth15,roc(30,15)}

set{myKST_temp1,myKST_roc10_smooth10}
set{myKST_temp2,myKST_temp1+myKST_roc15_smooth10}
set{myKST_temp3,myKST_temp2+myKST_roc20_smooth10}
set{myKST_temp4,myKST_temp3+myKST_roc30_smooth15}
set{myKST,myKST_temp4/4}
set{myKST_signal9,cma(myKST,9)}


draw myKST_signal9 on plot myKST
/* myKST crossed above myKST_signal9 */

set{TSI2513,TSI(25,13)}

/* TSI2513 above cema(TSI2513,7) */

draw TSI2513 on plot cema(TSI2513,7)


/* PSAR,Parabolic ----------------- */
SET{PSAR,Parabolic SAR(0.02,0.2)}
SET{CLS,CLOSE}
SET{BUYPSAR,CLOSE CROSSED ABOVE Parabolic SAR(0.02,0.2),1)}
SET{SELLPSAR,CLOSE CROSSED BELOW Parabolic SAR(0.02,0.2),1)}/*SLOW TO SIGNAL SELL*/

DRAW PSAR ON PLOT CLS

/* --------------------------------- */





/* 12 period Vortex Trend Indicator */

set{plus_vm, abs(high minus low 1 day ago)}
set{minus_vm, abs(low minus high 1 day ago)}

set{plus_vm12, sum(plus_vm, 12)}
set{minus_vm12, sum(minus_vm, 12)}

set{atr1, average true range(1)}
set{tr12, sum(atr1, 12)}

set{vortex_bull, plus_vm12 / tr12}
set{vortex_bear, minus_vm12 / tr12}

/* and weekly vortex_bear crossed weekly vortex_bull */

draw indicator vortex_bull
draw indicator vortex_bear on plot vortex_bull

/* ------------------------------ */


/* chart-length 4 months */
/* not otcbb
volume above 900000 */


draw Aroon Oscillator(15) line at 50
add column Aroon Oscillator(15)
sort column 5 descending



]



snappyfrog
731 posts
msg #161344
Ignore snappyfrog
9/5/2024 9:47:01 PM

By the time all of the lines cross, the moves are just about over it appears.

nibor100
1,044 posts
msg #161348
Ignore nibor100
9/8/2024 12:20:50 PM

1. The following is from StockCharts' Chart School on KST, explaining how they use that number sequence:

RCMA1 = 10-Period SMA of 10-Period Rate-of-Change
RCMA2 = 10-Period SMA of 15-Period Rate-of-Change
RCMA3 = 10-Period SMA of 20-Period Rate-of-Change
RCMA4 = 15-Period SMA of 30-Period Rate-of-Change

KST = (RCMA1 x 1) + (RCMA2 x 2) + (RCMA3 x 3) + (RCMA4 x 4)

Signal Line = 9-period SMA of KST

The default parameters are as follows: KST(10,15,20,30,10,10,10,15,9). The first four numbers represent the rate-of-change settings, the second four represent the moving averages for these rate-of-change indicators, and the last number is the signal line moving average.

2. Their calculation and chart match SnappyFrog's calculation and chart and agree with the 1992 article where Martin Pring introduced KST for the first time.

3. However, if you look closely at the charts from the filter below you'll see that the SF version of KST seems to be a little faster signal and I believe it is because SF is using a 9EMA instead of a 9 SMA for the signal line.

Fetcher[
symlist(ibm,aapl)
KST Daily SMA is above 0


set{KST_smooth10,roc(10,10)}
set{KST_smooth15,roc(15,10)}
set{KST_smooth20,roc(20,10)}
set{KST_smooth30,roc(30,15)}

set{KST_S10,KST_smooth10 * 1}
set{KST_S15,KST_smooth15 * 2}
set{KST_S20,KST_smooth20 * 3}
set{KST_S30,KST_smooth30 * 4}

set{KST_S10a,KST_S10 + KST_S15}
set{KST_S10b,KST_S20 + KST_S30}
set{KST_S10c,KST_S10a + KST_S10b}
set{KST_S10d,cma(KST_S10c,9)}

set{KST_Sig,cma(KST_S10c,20)}

draw KST_Sig on plot KST_S10d
]



4. According to the article, Pring named it "Know Sure Thing" to remind everyone to know that there is No sure thing, in technical analysis when applied to stocks.

Ed S.





sr7
149 posts
msg #161368
Ignore sr7
9/17/2024 1:04:15 AM


-------------------------------------------
snappyfrog:
By the time all of the lines cross, the moves are just about over it appears.
-------------------------------------------



That's true, what we can do is get rid of the slower indicators and use the CMO --- normally, it's set to 20 days, but we cut it down to 15. And also use COG(10,7)

And use the column Aroon Oscillator(15) to help us place the better stocks up at the top on the first row; the worst ones are shown down at the bottom.

By the way, I think DISNEY hit bottom here (I could be wrong though).



Fetcher[

symlist(meta,amzn,goog,aapl,nvda,msft,f,dis,spy)


/* Chande's indicator (normally 20 days) */
draw CMO(15,9)



/* attempt to simulate KST(10,15,20,30,10,10,10,15,9) */
/* from Beautiful British Columbia */
/* January 18, 2013 */

set{myKST_roc10_smooth10,roc(10,10)}
set{myKST_roc15_smooth10,roc(15,10)}
set{myKST_roc20_smooth10,roc(20,10)}
set{myKST_roc30_smooth15,roc(30,15)}

set{myKST_temp1,myKST_roc10_smooth10}
set{myKST_temp2,myKST_temp1+myKST_roc15_smooth10}
set{myKST_temp3,myKST_temp2+myKST_roc20_smooth10}
set{myKST_temp4,myKST_temp3+myKST_roc30_smooth15}
set{myKST,myKST_temp4/4}
set{myKST_signal9,cma(myKST,9)}


draw myKST_signal9 on plot myKST
/* myKST crossed above myKST_signal9 */

set{TSI2513,TSI(25,13)}

/* TSI2513 above cema(TSI2513,7) */

draw TSI2513 on plot cema(TSI2513,7)





/* chart-length 4 months */
/* not otcbb
volume above 900000 */




draw COG(10,7)



add column Aroon Oscillator(10)
sort column 5 descending




]



sr7
149 posts
msg #161369
Ignore sr7
9/17/2024 1:26:30 AM

nibor100 I noticed that at Stockcharts the KST and the Trix(12) look similar; normally it's set to 15.
The Trix is a triple-smooth exponential moving average:

TRIX --- developed in the early 80's.




StockFetcher Forums · Filter Exchange · KST (know sure thing)<< 1 2 3 >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.