StockFetcher Forums · General Discussion · Brain Fart<< >>Post Follow-up
graftonian
1,089 posts
msg #133739
Ignore graftonian
1/14/2017 6:19:12 PM

Can one code to find 10 week low of a User Defined Variable?

Mactheriverrat
3,153 posts
msg #133741
Ignore Mactheriverrat
1/15/2017 12:45:24 AM


Fetcher[Find stocks where the Low reached a new 10 week low]



compound_gains
222 posts
msg #133743
Ignore compound_gains
1/15/2017 8:15:58 AM

set{x1, Whatever your User Defined Variable is}
set{x, x1 10 week low}
add column x

Fetcher[
/*An example*/
set{x1, high + low}
set{x, x1 10 week low}
add column x
]




graftonian
1,089 posts
msg #133746
Ignore graftonian
1/15/2017 12:41:51 PM

Thanks C_G,
Trying to write a filter to find stocks coming out of a deep smooth drop in MACD histogram. Still working on the smooth part. Thanks to your input, I've got the deep part solved.If I knew how to use Strata Search or similar, perhaps could optimize the time frame. Thanks again
Fetcher[
close between .50 and 100
Average Volume(30) > 123456
draw MACD
/*restrict position of MACD*/
MACD slow between -.1 and .1
MACD histogram crossed above 0
/*Define shape of previous months MACD histogram*/0
8 day slope of MACD histogram > 8 day slope of MACD histogram 8 days ago
8 day slope of MACD histogram 16 days ago < 8 day slope of MACD histogram 8 days ago
/*sort on down slope*/
add column 8 day slope of macd histogram 16 days ago{downslope}
add column 8 day slope of MACD histogram{upslope}
/*Thanks compound_gains*/
/*find maximum MACD divergence*/
set{max_div, MACD histogram 24 day low}
add column max_div
/*sort on largest drop*/
sort on column 7 ascending
]



StockFetcher Forums · General Discussion · Brain Fart<< >>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.