StockFetcher Forums · Filter Exchange · Guppy KST (sort of)<< >>Post Follow-up
push5280
201 posts
msg #155020
Ignore push5280
modified
12/18/2020 4:02:04 PM

I've been playing around with this for a few days now and thought I'd share. I took the Guppy MMA and added Pring's KST weighting. shortMA_trigger starts the short term trend up and usually the longMA_trigger rolls over starting a bit longer up trend
Fetcher[
/*The short-term MAs are typically set at 3, 5, 8, 10, 12, and 15 periods. The longer-term MAs are typically set at 30, 35, 40, 45, 50, and 60.*/
set{short_ma1, ema(3) * 6}
set{short_ma2, ema(5) * 5}
set{short_ma3, ema(8) * 4}
set{short_ma4, ema(10) * 3}
set{short_ma5, ema(12) * 2}
set{short_ma6, ema(15) * 1}
set{long_ma1, ema(30) * 1}
set{long_ma2, ema(35) * 2}
set{long_ma3, ema(40) * 3}
set{long_ma4, ema(45) * 4}
set{long_ma5, ema(50) * 5}
set{long_ma6, ema(60) * 6}
set{short_ma7, short_ma1 + short_ma2}
set{short_ma8, short_ma7 + short_ma3}
set{short_ma9, short_ma8 + short_ma4}
set{short_ma10, short_ma9 + short_ma5}
set{short_ma, short_ma10 + short_ma6}
set{short_val, short_ma / 21}
set{long_ma7, long_ma1 + long_ma2}
set{long_ma8, long_ma7 + long_ma3}
set{long_ma9, long_ma8 + long_ma4}
set{long_ma10, long_ma9 + long_ma5}
set{long_ma, long_ma10 + long_ma6}
set{long_val, long_ma / 21}
set{longMA_trigger, count(long_ma > cema(long_ma,9),1)}

set{shortMA_trigger, count(short_ma > cema(short_ma,9),1)}
draw shortMA_trigger
draw longMA_trigger
draw short_ma on plot long_ma
draw cema(short_ma,9)
draw cema(long_ma,9)
draw long_val on plot price
draw short_val on plot price
draw rsi(2)
draw rsi(14)
average volume(63) > 250,000
close > 1
sort column 2 ascending
]



VirginTrader
73 posts
msg #155021
Ignore VirginTrader
12/18/2020 7:35:42 PM

I like it push! thanks for sharing.

I tweaked mine with this...
set{longMA_trigger, count(long_ma crossed above cema(long_ma,9),1)}
set{shortMA_trigger, count(short_ma crossed above cema(short_ma,9),1)}

set{entry, longMA_trigger + shortMA_trigger}
entry > 0

Just need to figure out how to reduce the hits to a few high probability ones...thanks again!

push5280
201 posts
msg #155023
Ignore push5280
modified
12/18/2020 10:22:42 PM

Maybe when cema(rsi(14),5) crosses cema(rsi(14),9).
rsi_trigger > 0
Fetcher[
/*The short-term MAs are typically set at 3, 5, 8, 10, 12, and 15 periods. The longer-term MAs are typically set at 30, 35, 40, 45, 50, and 60.*/
set{short_ma1, ema(3) * 6}
set{short_ma2, ema(5) * 5}
set{short_ma3, ema(8) * 4}
set{short_ma4, ema(10) * 3}
set{short_ma5, ema(12) * 2}
set{short_ma6, ema(15) * 1}
set{long_ma1, ema(30) * 1}
set{long_ma2, ema(35) * 2}
set{long_ma3, ema(40) * 3}
set{long_ma4, ema(45) * 4}
set{long_ma5, ema(50) * 5}
set{long_ma6, ema(60) * 6}
set{short_ma7, short_ma1 + short_ma2}
set{short_ma8, short_ma7 + short_ma3}
set{short_ma9, short_ma8 + short_ma4}
set{short_ma10, short_ma9 + short_ma5}
set{short_ma, short_ma10 + short_ma6}
set{short_val, short_ma / 21}
set{long_ma7, long_ma1 + long_ma2}
set{long_ma8, long_ma7 + long_ma3}
set{long_ma9, long_ma8 + long_ma4}
set{long_ma10, long_ma9 + long_ma5}
set{long_ma, long_ma10 + long_ma6}
set{long_val, long_ma / 21}
set{longMA_trigger, count(long_ma > cema(long_ma,9),1)}
set{shortMA_trigger, count(short_ma > cema(short_ma,9),1)}
set{rsi_trigger, count(cema(rsi(14),5) > cema(rsi(14),9),1)}
set{entry, longMA_trigger + shortMA_trigger}
entry > 0
draw rsi_trigger
draw shortMA_trigger
draw longMA_trigger
draw short_ma on plot long_ma
draw cema(short_ma,9)
draw cema(long_ma,9)
draw long_val on plot price
draw short_val on plot price
draw rsi(2)
draw rsi(14)
draw cema(rsi(14),9)
draw cema(rsi(14),5)
average volume(63) > 250,000
close > 1
sort column 2 ascending
]



VirginTrader
73 posts
msg #155028
Ignore VirginTrader
modified
12/19/2020 9:49:22 PM

that is an option. i would give my left nut for a back testing feature there at SF! ;=P



VirginTrader
73 posts
msg #155030
Ignore VirginTrader
12/20/2020 12:06:50 PM

push, here's with the RSI. still a few false breakouts

Fetcher[
set{short_ma1, ema(3) * 6}
set{short_ma2, ema(5) * 5}
set{short_ma3, ema(8) * 4}
set{short_ma4, ema(10) * 3}
set{short_ma5, ema(12) * 2}
set{short_ma6, ema(15) * 1}

set{long_ma1, ema(30) * 1}
set{long_ma2, ema(35) * 2}
set{long_ma3, ema(40) * 3}
set{long_ma4, ema(45) * 4}
set{long_ma5, ema(50) * 5}
set{long_ma6, ema(60) * 6}

set{short_ma7, short_ma1 + short_ma2}
set{short_ma8, short_ma7 + short_ma3}
set{short_ma9, short_ma8 + short_ma4}
set{short_ma10, short_ma9 + short_ma5}
set{short_ma, short_ma10 + short_ma6}
set{TGP, short_ma / 21}

set{long_ma7, long_ma1 + long_ma2}
set{long_ma8, long_ma7 + long_ma3}
set{long_ma9, long_ma8 + long_ma4}
set{long_ma10, long_ma9 + long_ma5}
set{long_ma, long_ma10 + long_ma6}
set{IGP, long_ma / 21}

draw IGP on plot price
draw TGP on plot price

optionable
market is not OTCBB
market is not AMEX
Average Volume(30) > 500,000
add column Average Volume(30){av30}

set{x1, count(TGP crossed above IGP,1)}
set{x2, count(cema(rsi(14),5) > cema(rsi(14),9),1)}
set{x3, x1 * x2}
x3 > 0

draw x1
draw x2
]



StockFetcher Forums · Filter Exchange · Guppy KST (sort of)<< >>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.