StockFetcher Forums · Filter Exchange · 5 day low along with RSI(2) and ATR(14)<< >>Post Follow-up
snappyfrog
726 posts
msg #160229
Ignore snappyfrog
4/1/2023 12:44:44 PM

Reversal fishing, please help to make this better.

Fetcher[
market is not otcbb
market is not etf
price > 1
volume > 100000
and rsi(2) reached a new 4 week low in the last 10 days
and atr(10) reached a new 4 week low in the last 10 days
add column separator
add column sector
add column industry
and low 1 day ago equals low 5 day low
and low > low 5 day low
]



xarlor
585 posts
msg #160231
Ignore xarlor
4/1/2023 8:15:29 PM

Added my go-to breakout indicator. Really pares down the number of tickers, but increases winning trades if you come up with a good exit plan.

Fetcher[

market is not otcbb
market is not etf
price > 1
volume > 100000
and rsi(2) reached a new 4 week low in the last 10 days
and atr(10) reached a new 4 week low in the last 10 days
add column separator
add column sector
add column industry
and low 1 day ago equals low 5 day low
and low > low 5 day low

close crossed above wma(150) within last 5 days
]



compound_gains
222 posts
msg #160233
Ignore compound_gains
modified
4/2/2023 11:13:33 AM

: sorted on average day range(20) descending
: 5 day look back script for testing
: entry first day open below original 5th day's high {ent} and high above {ent}...maximum 5 days, but more likely no more than 3 days
: exit could be close on 5th day, rsi(2) above 65, a stop loss, whatever
: rsi(2) > 65 as an exit looks to avoid significant losses, but the trade off is not benefiting from runners

Fetcher[
add column average day range(20) 5 days ago {adr20}
sort column 5 descending
market is not otcbb
market is not etf
price 5 days ago > 1
volume 5 days ago > 100000
and rsi(2) 5 days ago reached a new 20 day low in the last 10 days
and atr(10) 5 days ago reached a new 20 low in the last 10 days
add column separator
and low 6 days ago equals low 5 day low 5 days ago
and low 5 days ago > low 5 day low 5 days ago
close 5 days ago crossed above wma(150) 5 days ago within last 5 days
set{ent, high 5 days ago}
set{h1, count(open 4 days ago below ent, 1)}
set{h2, count(high 4 days ago above ent, 1)}
set{h3, h1 + h2}
set{hit5, count(h3 equals 2, 1)}
add column hit5
set{hgh5, high 5 day high / ent}
add column hgh5

set{h4, count(open 3 days ago below ent, 1)}
set{h5, count(high 3 days ago above ent, 1)}
set{h6, h4 + h5}
set{hit4, count(h6 equals 2, 1)}
add column hit4
set{hgh4, high 4 day high / ent}
add column hgh4

set{h7, count(open 2 days ago below ent, 1)}
set{h8, count(high 2 days ago above ent, 1)}
set{h9, h7 + h8}
set{hit3, count(h9 equals 2, 1)}
add column hit3
set{hgh3, high 3 day high / ent}
add column hgh3

set{h10, count(open 1 day ago below ent, 1)}
set{h11, count(high 1 day ago above ent, 1)}
set{h12, h10 + h11}
set{hit2, count(h10 equals 2, 1)}
add column hit2
set{hgh2, high 2 day high / ent}
add column hgh2

set{h13, count(open below ent, 1)}
set{h14, count(high above ent, 1)}
set{h15, h13 + h14}
set{hit1, count(h15 equals 2, 1)}
add column hit1
set{hgh1, high / ent}
add column hgh1

set{ex, count(rsi(2) above 65, 5)}
add column ex {rsi2_exits}
set{cl, close / ent}
add column cl {close}

draw rsi(2)
draw rsi(2) line at 65 on plot rsi(2)

chart-length is 3 months
draw price line at ent on plot price
]



snappyfrog
726 posts
msg #160234
Ignore snappyfrog
4/2/2023 12:54:52 PM

xarlor,

Very nice. I went back through the last 2 weeks and about 6 in the red, but only 2 actually lost money.

I am going to run with that and compare to some other moving averages.

Thanks,
Snappy aka Gary

snappyfrog
726 posts
msg #160235
Ignore snappyfrog
4/2/2023 1:08:37 PM

compound_gains,

Nice setup, this gives me some ideas to play with.

Thanks

snappyfrog
726 posts
msg #160249
Ignore snappyfrog
modified
4/5/2023 8:55:28 AM

compound_gains,

I added "day" to the line and atr(10) .... where I see it got left out.

Fetcher[

add column average day range(20) 5 days ago {adr20}
sort column 5 descending
market is not otcbb
market is not etf
price 5 days ago > 1
volume 5 days ago > 100000
and rsi(2) 5 days ago reached a new 20 day low in the last 10 days
and atr(10) 5 days ago reached a new 20 day low in the last 10 days
add column separator
and low 6 days ago equals low 5 day low 5 days ago
and low 5 days ago > low 5 day low 5 days ago
close 5 days ago crossed above wma(150) 5 days ago within last 5 days
set{ent, high 5 days ago}
set{h1, count(open 4 days ago below ent, 1)}
set{h2, count(high 4 days ago above ent, 1)}
set{h3, h1 + h2}
set{hit5, count(h3 equals 2, 1)}
add column hit5
set{hgh5, high 5 day high / ent}
add column hgh5

set{h4, count(open 3 days ago below ent, 1)}
set{h5, count(high 3 days ago above ent, 1)}
set{h6, h4 + h5}
set{hit4, count(h6 equals 2, 1)}
add column hit4
set{hgh4, high 4 day high / ent}
add column hgh4

set{h7, count(open 2 days ago below ent, 1)}
set{h8, count(high 2 days ago above ent, 1)}
set{h9, h7 + h8}
set{hit3, count(h9 equals 2, 1)}
add column hit3
set{hgh3, high 3 day high / ent}
add column hgh3

set{h10, count(open 1 day ago below ent, 1)}
set{h11, count(high 1 day ago above ent, 1)}
set{h12, h10 + h11}
set{hit2, count(h10 equals 2, 1)}
add column hit2
set{hgh2, high 2 day high / ent}
add column hgh2

set{h13, count(open below ent, 1)}
set{h14, count(high above ent, 1)}
set{h15, h13 + h14}
set{hit1, count(h15 equals 2, 1)}
add column hit1
set{hgh1, high / ent}
add column hgh1

set{ex, count(rsi(2) above 65, 5)}
add column ex {rsi2_exits}
set{cl, close / ent}
add column cl {close}

draw rsi(2)
draw rsi(2) line at 65 on plot rsi(2)

chart-length is 3 months
draw price line at ent on plot price
]



compound_gains
222 posts
msg #160250
Ignore compound_gains
4/5/2023 12:37:56 PM

My bad. Leaving out "day" negated the atr(10) line as a filter. Putting it in significantly reduces the returns, making what I put forward a very ho-hum filter overall. But the hits I was getting without atr(10) were interesting. Back to the drawing board.

StockFetcher Forums · Filter Exchange · 5 day low along with RSI(2) and ATR(14)<< >>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.