StockFetcher Forums · Filter Exchange · SPY , QQQ, IWM<< >>Post Follow-up
Mactheriverrat
3,157 posts
msg #160657
Ignore Mactheriverrat
11/13/2023 10:20:18 PM

Using the RSI 2 , fast Stochastics Fast %K(4,2,2) and the RSI 5 can find bottoms/extreme oversolds and the next day off those bottoms.





Submit
Fetcher[
apply to symlist(spy,qqq,iwm)

chart-time 50 days

add column Average Day Range(30)

draw ema(5)
draw ma(5)
draw ma(20)

draw cma(rsi(2),2)
draw RSI(2) line at 30
draw RSI(2) line at 10
draw RSI(2) line at 5

//* rsi2 is number of consecutive days rsi(2) above (+)/below(-) previous 60 *//
set{rsi2b,days( rsi(2) is above 30 ,250)}
set{rsi2a,days( rsi(2) is below 30 ,250)}
set{rsi2, rsi2a - rsi2b} and add column rsi2 {rsi2}
do not Draw rsi2
Set{cntrsi2,count( rsi(2) > 30 ,1)}
draw cntrsi2
Set{cntrsi2b,count( Rsi(2) < 30 ,1)}
draw cntrsi2b

/* 55 is number of consecutive days EMA(5) above (+)/below(-) previous EMA(5) */
set{55b,days( ema(5) is above ema(5) one day ago ,250)}
set{55a,days( ema(5) is below ema(5) one day ago,250)}
set{e55, 55a - 55b} and add column e55 {e55}
Set{cntema5aboveema5,count( eMA(5) > eMA(5) 1day ago,1)}
draw cntema5aboveema5

Set{cntema5aboveema5b,count( eMA(5)< EMA(5) 1day ago,1)}

draw cntema5aboveema5b

/*m55 is number of consecutive days MA(5) above (+)/below(-) previous MA(5) */
set{m55b,days( ma(5) is above ma(5) one day ago ,250)}
set{m55a,days( ma(5) is below ma(5) one day ago,250)}
set{m55, m55a - m55b} and add column m55 {m55}
Set{cntma5abovema5,count( MA(5) > mA(5) one day ago,1)}
draw cntma5abovema5

Set{cntma5abovema5b,count( MA(5)< MA(5) one day ago,1)}

draw cntma5abovema5b

add column separator
add column separator

add column rsi(2)
add column rsi(2) one day ago
add column rsi(2) two day ago

add column separator
add column separator


draw fast Stochastics Fast %K(4,2,2)
add column fast Stochastics Fast %K(4,2,2)
add column fast Stochastics Fast %K(4,2,2) one day ago
add column fast Stochastics Fast %K(4,2,2) two day ago

draw Draw rsi(5) line at 70
draw cma(rsi(5),2)line at 50
draw Draw rsi(5) line at 30


add column separator
add column separator

set{volcnt, count(volume above 50000, 250) }
set{volzero, count(volume equal 0, 250) }

set{x1, high - open}
set{Long_Profit, x1/open }

set{C1A, count(Long_Profit > .04 , 250)}
set{C2A, count(Long_Profit > .09, 250)}
set{C0010, C1A - C2A}

set{D1A, count(Long_Profit > .09 , 250)}
set{D2A, count(Long_Profit > .19, 250)}
set{D1020, D1A - D2A}

set{E1A, count(Long_Profit > .19 , 250)}
set{E2A, count(Long_Profit > .29, 250)}
set{E2030, E1A - E2A}

set{F1A, count(Long_Profit > .29 , 250)}
set{F2A, count(Long_Profit > .39, 250)}
set{F3040, F1A - F2A}

set{G1A, count(Long_Profit > .39 , 250)}


and add column daychg2
and add column C0010 {4_9}
and add column D1020 {10_19}
and add column E2030 {20_29}
and add column F3040 {30_39}
and add column G1A {40+}
and add column C1A {ttl}


]





SAFeTRADE
646 posts
msg #160659
Ignore SAFeTRADE
11/13/2023 11:32:31 PM

Very Good Mac, I like.

Mactheriverrat
3,157 posts
msg #160661
Ignore Mactheriverrat
11/15/2023 11:17:12 AM

TESTING THE RSI 2 TRADING STRATEGY ON US STOCKS

StockFetcher Forums · Filter Exchange · SPY , QQQ, IWM<< >>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.