StockFetcher Forums · General Discussion · Hi Y'all ...<< 1 ... 5 6 7 8 9 >>Post Follow-up
Mactheriverrat
2,946 posts
msg #158845
Ignore Mactheriverrat
3/20/2022 11:43:03 AM

@karennma
Very interesting link but you got me on the coding part. Maybe some coders here better than me can come up with something.
John

Cheese
1,374 posts
msg #158846
Ignore Cheese
modified
3/20/2022 1:14:31 PM

@karennma,
maybe something like this.
problem is sF may not entertain 390 & 530 days

Fetcher[


/* https://www.stockfetcher.com/forums/General-Discussion/Hi-Y-all/158432/50 */

symlist(Spy,QQQ)
chart-type Ohlc
chart-time 7 months

set{spk1,cma(roc(10),10)}

set{spk2a,2*cma(roc(15),10)}
set{spk2,spk2a+spk1}

set{spk3a,3*cma(roc(20),10)}
set{spk3,spk3a+spk2}

set{spk4a,4*cma(roc(30),15)}
set{spk4,spk4a+spk2}


set{spk5a,1*cma(roc(40),50)}
set{spk5,spk5a+spk4}

set{spk6a,2*cma(roc(65),65)}
set{spk6,spk6a+spk5}

set{spk7a,3*cma(roc(75),75)}
set{spk7,spk7a+spk6}

set{spk8a,4*cma(roc(100),100)}
set{spk8,spk8a+spk7}



set{spk9a,1*cma(roc(195),130)}
set{spk9,spk9a+spk8}

set{spk10a,2*cma(roc(265),130)}
set{spk10,spk10a+spk9}

set{spk11a,3*cma(roc(390),130)}
set{spk11,spk11a+spk10}

set{spk12a,4*cma(roc(530),195)}
set{Pring.Special.K,spk12a+spk11}


add column Pring.Special.K
draw Pring.Special.K
/* draw cma(Pring.Special.K,100) */
]



I also wrote a flexible Martin Pring's KST Know Sure Thing for Quilln here (so Quilln can change
the parms)
https://www.stockfetcher.com/forums/Filter-Exchange/KST-know-sure-thing/110064/-1/146482

Cheese
1,374 posts
msg #158847
Ignore Cheese
3/20/2022 1:34:04 PM

/* https://www.stockfetcher.com/forums/General-Discussion/Hi-Y-all/158432/50 *
============================

tomm1111 wrote a 2/3 version of Special K here
https://www.stockfetcher.com/forums/Filter-Exchange/KST-long-ema/73748/-1/73862

It was a work-in-progress that would require an advanced sub and seemed to be abandoned.
Don't know if it actually works or not, but maybe something could take it to a successful completion.

Cheese
1,374 posts
msg #158848
Ignore Cheese
3/20/2022 1:53:04 PM

/*
https://www.stockfetcher.com/forums/Filter-Exchange/KST-long-ema/73748/-1/73862
chetron 4/22/2009 11:24:51 AM
*/

chetron uses sF off the shelf kst long DAILY Sma (not ema !)
Click to see the big chart, which gives suggestion of weakness, divergence and potential exit

Fetcher[
SYMLIST(SPY,QQQ)
chart-type ohlc
chart-time 24 months
draw kst long DAILY Sma(3) line at 0
]



Cheese
1,374 posts
msg #158849
Ignore Cheese
3/20/2022 6:26:44 PM

/* https://www.stockfetcher.com/forums/General-Discussion/Hi-Y-all/158432/50 */
============================

Fetcher[

/*
Here is my workable copy of tomm1111 Special K
Click to see the big chart.
https://www.stockfetcher.com/forums/Filter-Exchange/KST-long-ema/73748/-1/73862
*/

symlist(SPY,QQQ)
chart-type OHLC
chart-time 24 months

/* Special K - Pring */
/* Enter Long */
/* Short Term - Day */
set {sd101,close / close 9 days ago}
set{sd102,sd101 * 100}
set{sd10,sd102 - 100}
set{sd_10ma,cma(sd10,10)}

set {sd151,close / close 14 days ago}
set{sd152,sd151 * 100}
set{sd15,sd152 - 100}
set{sd_15ma,cma(sd15,10)}

set {sd201,close / close 19 days ago}
set{sd202,sd201 * 100}
set{sd20,sd202 - 100}
set{sd_20ma,cma(sd20,10)}

set {sd301,close / close 29 days ago}
set{sd302,sd301 * 100}
set{sd30,sd302 - 100}
set{sd_30ma,cma(sd30,15)}

set{var,sd_30ma * 4}
set{var1,sd_20ma * 3}
set{var2,sd_15ma * 2}
set{var3,var2 + var1}
set{var4, var + sd_10ma}
set{sd_kst,var3 + var4}

/* Intermediate Term - Week */
set {sw31,close / close 49 days ago}
set{sw32,sw31 * 100}
set{sw3,sw32 - 100}
set{sw3_3ma,cma(sw3,10)}

set {sw41,close / close 64 days ago}
set{sw42,sw41 * 100}
set{sw4,sw42 - 100}
set{sw4_4ma,cma(sw4,13)}

set {sw61,close / close 74 days ago}
set{sw62,sw61 * 100}
set{sw6,sw62 - 100}
set{sw6_6ma,cma(sw6,15)}

set {sw81,close / close 99 days ago}
set{sw82,sw81 * 100}
set{sw8,sw82 - 100}
set{sw8_8ma,cma(sw8,20)}

set{var02,sw8_8ma * 4}
set{var12,sw6_6ma * 3}
set{var22,sw4_4ma * 2}
set{var32,var22 + var12}
set{var42, var02 + sw3_3ma}
set{sw_kst,var32 + var42}

set{sd_ma,cema(sd_kst,5)}
set{sw_ma,cema(sw_kst,5)}

draw sd_kst
/*
draw sd_ma on plot sd_kst
*/
draw sw_kst
/*
draw sw_ma on plot sw_kst
*/
/*
show stocks where close is above 1
and volume is above 100000
and sd_kst is greater than sd_ma
and sd_kst 1 day ago is less than sd_ma 2 days ago
and sw_kst is greater than sw_ma
*/
add column sd_kst
add column sw_kst
]



karennma
8,056 posts
msg #158850
Ignore karennma
3/20/2022 8:59:59 PM

Sorry if I sound ungrateful ...
You know I don't write filters well...
I was hoping there was a way to draw each ROC on the chart.
I wanted to see what the crossovers looked like.


Cheese
1,374 posts
msg #158851
Ignore Cheese
3/20/2022 9:52:57 PM

https://forums.stockfetcher.com/forums/General-Discussion/Hi-Y-all/158432/50
===============

Fetcher[

/* https://www.stockfetcher.com/forums/General-Discussion/Hi-Y-all/158432/50 */

symlist(Spy,QQQ)
chart-type Ohlc
chart-time 7 months

set{spk1,cma(roc(10),10)}

set{roc10,roc(10)}
draw cma(roc10,10)

set{roc15,roc(15)}
draw cma(roc15,10)

set{roc20,roc(20)}
draw cma(roc20,10)



set{roc30,roc(30)}
draw cma(roc30,15)

set{roc40,roc(40)}
draw cma(roc40,50)



set{roc65,roc(65)}
draw cma(roc65,65)


set{roc75,roc(75)}
draw cma(roc75,75)



set{roc100,roc(100)}
draw cma(roc100,100)


set{roc195,roc(195)}
draw cma(roc195,130)


set{roc265,roc(265)}
draw cma(roc265,130)


set{roc390,roc(390)} /* too long for sF */
draw cma(roc390,130) /* too long for sF */


set{roc530,roc(530)} /* too long for sF */
draw cma(roc530,195) /* too long for sF */



]



karennma
8,056 posts
msg #158852
Ignore karennma
3/21/2022 7:31:13 AM

That kinda sux that you can't use the ROCs in "ribbon" form.
I appreciate your efforts, tho'.
Thanks.



Cheese
1,374 posts
msg #158853
Ignore Cheese
3/21/2022 2:42:04 PM

No more POTUS, Mnuchin, Kudlow, and Navarro to jawbone the markets up.
46, Yellen, and Powell are reporter robots -- not leaders -- just parroting the news to the cameras.

Cheese
1,374 posts
msg #158854
Ignore Cheese
3/21/2022 3:05:30 PM

Ambassador Lighthizer used to be super busy with trade negotiations.
What does the current USTR do?
Shouldn't she negotiate real free trade or lower tariffs to NATO and friendly countries
in order to lower price pressure and inflation?
Just venting and my two cents.

StockFetcher Forums · General Discussion · Hi Y'all ...<< 1 ... 5 6 7 8 9 >>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.