StockFetcher Forums · Filter Exchange · Need help in creating a channel filter using slope<< >>Post Follow-up
alanhair
2 posts
msg #119242
Ignore alanhair
4/28/2014 4:48:31 PM

New to stock fetcher and need a little guidance. Trying create a filter that shows a channel over a given time period where the slope only varies between a specific range. For example over the last 30 days a stock with (#)day slope has only fluctuated between -0.1 and 0.1.

Any help is greatly appreciated.

Thanks

four
3,995 posts
msg #119246
Ignore four
modified
4/28/2014 10:56:37 PM

Fetcher[
low > 11 and volume > 321321

/*5 day slope of close*/

set{x, 5 day slope of close}
draw x line at .1
draw x line at -.1

/* zero for both variables means the slope has remained between -.1 and .1 for the last 10 days */

set{z_above, count(x above .1,10)}
add column z_above < 1
set{z_below, count(x below -.1,10)}
add column z_below < 1

do not draw z_above
do not draw z_below
]



alanhair
2 posts
msg #119255
Ignore alanhair
4/29/2014 9:55:34 AM

Perfect! thanks for the help

StockFetcher Forums · Filter Exchange · Need help in creating a channel filter using slope<< >>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 2016 - 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