StockFetcher Forums · General Discussion · Bear Flag or Higher Trough? Which is better?<< >>Post Follow-up
snappyfrog
721 posts
msg #160236
Ignore snappyfrog
modified
4/2/2023 1:49:07 PM

I have been looking at Detrended Price Oscillator and RSI(10). Both give similar looks, but some difference on divergence.

I have a scan with various setups all using the common low 5 day low.

Would it be better to scan for a Bear Flag or a higher trough after the low 5 day low? Most stocks will make this pullback after coming off of a major downtrend. After the bear flag, normally there is a good run.

Any insights or coding on finding the higher trough after the low 5 day low is appreciated.



Fetcher[
market is not otcbb
market is not etf
close > 3
volume > 234567
draw low 5 day low
set{my_dpo, close - MA(20) 11 days ago}
draw my_dpo line 0
draw rsi(10)
]



xarlor
581 posts
msg #160237
Ignore xarlor
4/2/2023 5:49:48 PM

I can't answer your question without seeing more examples of the overall strategy. However, here is my 15-minute work effort to identify a RSI(10) double trough whilst increasing. It triggers ANET on 01/23/23.

Fetcher[
set{rsi_dec,count(rsi(10) decreasing for last 3 days,15)}
set{rsi_inc,count(rsi(10) increasing for last 3 days,15)}
set{trough0,rsi_Dec * rsi_inc}
set{trough1,count(trough0 > 0,1)}

set{rsi_uptrend,count(rsi(10) > rsi(10) 15 days ago,1)}
set{rsi_slope,count(15 day slope of rsi(10) > 1,1)}
set{rsi_60,count(rsi(10) < 60,1)}

set{trigger1,trough1 * rsi_uptrend}
set{trigger2,trigger1 * rsi_slope}
set{trigger,trigger2 * rsi_60}

trigger > 0
trigger 1 day ago equals 0

draw rsi(10)
draw 15 day slope of rsi(10) on plot rsi(10)
]



snappyfrog
721 posts
msg #160238
Ignore snappyfrog
4/2/2023 8:55:18 PM

From your scan, I added the low 5 day low to make the bottom more visible. Red arrows point to significant 2nd troughs.









StockFetcher Forums · General Discussion · Bear Flag or Higher Trough? Which is better?<< >>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.