StockFetcher Forums · General Discussion · Question regarding Stochastics<< >>Post Follow-up
SAFeTRADE
646 posts
msg #145487
Ignore SAFeTRADE
12/7/2018 6:46:45 PM

Hey guys why does this not catch the slow %d cross below 80?
Fetcher[
symlist(spy)
set{cross_below, count(Fast Stochastics Fast %K(8,3) slow %d crossed below 80,1)}
draw fast stochastics(8,3)
draw cross_below
]



four
5,087 posts
msg #145490
Ignore four
12/7/2018 7:39:53 PM

perhaps...

Fetcher[
symlist(spy)
set{x, count(Fast Stochastics Fast %K(8,3) crossed above Fast Stochastics Slow %d(8,3),1)}
set{xx, count(fast stochastics %k(8,3) < 80,1)}
set{z, x + xx}

/*fast crossed above slow AND occurred below 80 when z = 2*/
draw z line 2

draw fast stochastics %K(8,3)
]



SAFeTRADE
646 posts
msg #145491
Ignore SAFeTRADE
12/7/2018 9:03:28 PM

Thanks four, always front and center.

SAFeTRADE
646 posts
msg #145496
Ignore SAFeTRADE
12/8/2018 7:53:33 AM

Fetcher[
symlist(spy,dia)
set{cross_below, count(slow Stochastics Fast %K(8,3) slow %d crossed
below 80,1)}
draw fast stochastics(8,3)
draw cross_below
]



This also works.

four
5,087 posts
msg #145500
Ignore four
12/8/2018 11:35:32 AM

welcome

StockFetcher Forums · General Discussion · Question regarding Stochastics<< >>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.