StockFetcher Forums · Filter Exchange · Back-test this filter please<< >>Post Follow-up
Carmackjw
12 posts
msg #155339
Ignore Carmackjw
1/17/2021 6:49:12 AM

Curious if anyone could backtest this filter with a buy and hold of 5 days (sell on 5th day of close); or another day (3rd, 4th, 10th etc...) if more optimal.


ema(5) crossed above ema(20)
count(MACD Histogram(12,26,9) crossed above 0,3) > 0
count(rsi(14) crossed above 40,3) > 0
close > 5
60 day slope of close above 0
close above ema(20)
average(30) day volume above 500000
date offset 0

jimvin
173 posts
msg #155355
Ignore jimvin
1/18/2021 5:25:58 PM

If there are no volunteers, you can cut out these lines:

close > 5
average(30) day volume above 500000

(the current version offers no hits) and use the Fetcher "Filter Performance" tool to check it,

Here are the results as of today using the default 68-day Change Offset setting:

1 days -16.98%
2 days -7.5%
3 days -1.11%
4 days -12.88%
5 days -9.59%
23 days -16.4%
48 days 21.52% 5
to current day 32.24%


graftonian
1,089 posts
msg #155362
Ignore graftonian
1/19/2021 11:41:49 AM

Fetcher[
/* creating "flags" is a work around for the lack of backtesting in SF */
optionable
set{flag1, count(close > MA(200), 1)}
set{flag2, count(close crossed above ema(13), 1)}
set{flag3, count(close > close 1 day ago, 1)}
/*sum the flags, 1 math function per line*/
set{trig1, flag1 + flag2}
set{trigger, trig1 + flag3}
draw trigger
trigger equals 3
]



StockFetcher Forums · Filter Exchange · Back-test this filter please<< >>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.