StockFetcher Forums · Filter Exchange · XIV/VXX RSI Crossover Filter<< >>Post Follow-up
davesaint86
725 posts
msg #141135
Ignore davesaint86
modified
1/18/2018 1:32:06 PM

The blue vertical bar is the RSI(30). The 0 line is a RSI(30) reading of 50. A reading above the 0 line bove is strength and below is weakness. You will notice that the vertical bars on XIV are above the 0 line and the vertical bars on the VXX are below the 0 line. In an up trending ETF like XIV you would want to see the RSI(30) vertical bars over the 0 line. The RSI(4) and RSI(9) indicators should be above the RSI(30) bar or if there is a cross up in the middle of the RSI(30) bar most likely there is going to be a confirmed buy. Preferably you want to see the RSI(4) cross up over the RSI(9). You can just use the RSI(9) crossing above RSI(30) as a buy also. In a down trending ETF like VXX for a buy signal to trigger you would want the RSI(4) and RSI(9) to go over 0 line and sell when the RSI(4) crosses back under the RSI(9). These will be quick trades most likely because there is no established up trend. I personally use the RSI(4), (9), (30) as a confirmation signal to my other indicators I use. I learned this concept from Marty Chenard from stocktiming.com. He uses the RSI(4) and RSI(9) different then I do however. By the way XIV has an embedded Slo Sto 14,3 reading from December 11 to January 12th. You can be confident that during this time that period was a strong trend and you have stayed in the trade that whole until it lost it's embedded reading.

Fetcher[
apply to symlist(vxx,xiv)


draw Bollinger Bands(18,2)
and draw Slow Stochastic(14,3) Fast %K line at 20.00 and draw Slow Stochastic(14,3) Fast %K line at 80.00
and draw Slow Stochastic(14,3) Fast %K line at 50.00
and draw Slow Stochastic(5,1) Fast %K line at 20.00 and draw Slow Stochastic(5,1) Fast %K line at 80.00 and draw Slow Stochastic(5,1) Fast %K line at 50.00
draw ma(18)


set{CRS1, rsi(4),1)}
set{CRS2, rsi(9),1)}
set{CRS3, rsi(30),1)}
set{CCRS1, CRS1 + CRS2}
set{CCRS2, CCRS1 + CRS3}
set{CCRS3, CCRS2 /3}

set{CRS4, weekly rsi(4),1)}
set{CRS5, weekly rsi(9),1)}
set{CRS6, weekly rsi(30),1)}

set{WCRS1, CRS4 + CRS5}
set{WCRS2, WCRS1 + CRS6}
set{WCRS3, WCRS2 /3}

set{CWRSI1, CCRS3 + WCRS3}
set{C-RSI, CWRSI1 /2}


set{RSI30, RSI(30) - 50}
set{CRSI_Bar, RSI30}
draw CRSI_Bar
PlotType{CRSI_Bar,zerobar}
set{RSI9, RSI(9) - 50}
set{RSI9_line, RSI9}
draw RSI9 on plot CRSI_Bar
set{RSI4, RSI(4) - 50}
set{RSI4_line, RSI4}
draw RSI4 on plot CRSI_Bar

set{drsilong1, count(rsi(30) above 5, 1)}
set{drsilong2, count(rsi(4) above rsi(30), 1)}
set{drsilong3, count(rsi(9) above rsi(30), 1)}
set{drsilong4, drsilong1 + drsilong2}
set{drsilong5, drsilong4 + drsilong3}
set{drsilong, count(drsilong5 equals 3, 1)}
set{drsishort, count(drsilong5 less than 3, 1)}
SET{DRSITRIGGER,0}
draw drsilong on plot
draw drsishort on plot

set{wrsi1, weekly rsi(4)}
set{wrsi2, weekly rsi(30)}
set{wrsi3, count(wrsi1 > wrsi2,1)}

set{wrsilong, count(wrsi3 equals 1, 1)}
set{wrsishort, count(wrsi3 less than 1, 1)}

set{CRS21, ROC(21,1)}
set{CRS63, ROC(63,1)}
set{CRS126, ROC(126,1)}
set{CR1, CRS21 + CRS63}
set{C-RS, CR1 + CRS126}

set{wsto, weekly Slow Stochastics(14,3)}
set{dsto, Slow Stochastics(14,3)}
set{wdsto, wsto + dsto}
set{CSTO, wdsto / 2}


set{TWRSI4, weekly RSI(4)}
set{TWRSI9, weekly RSI(9)}
set{TWRSI30, weekly RSI(30)}
set{TWRSI1, TWRSI4 + TWRSI9}
set{TWRSI2, TWRSI1 + TWRSI30}
set{A-WRSI, TWRSI2 / 3}

set{TDRSI4, RSI(4)}
set{TDRSI9, RSI(9)}
set{TDRSI30, RSI(30)}
set{TDRSI1, TDRSI4 + TDRSI9}
set{TDRSI2, TDRSI1 + TDRSI30}
set{A-DRSI, TDRSI2 / 3}

set{E10, close above Upper Bollinger Bands(18,2)}
set{BBLongposition, count(E10 > 0,1)}
set{BBShortposition, count(E10 < 0,1)}
SET{BBTRIGGER,0}

set{var,ind(^vix,close)}
set{var1,ind(^vxv,close)}
set{ratio,var/var1}

add column separator

add column BBLongposition{BBSell}
add column separator

add column drsilong {DRSI}

add column separator

ADD COLUMN ROC(126,1) {6 mth %}
add column separator
ADD COLUMN ROC(63,1) {3 mth %}
add column separator
ADD COLUMN ROC(21,1) {1 mth %}
add column separator
add column C-RS
add column separator
add column Upper Bollinger Bands(18.2) {Up-BB}
add column separator
add column lower Bollinger Bands(18.2) {Low-BB}
ADD COLUMN SEPARATOR
add column weekly Slow Stochastics(14,3){wSto}
ADD COLUMN SEPARATOR
add column Slow Stochastics(14,3){dSto}
ADD COLUMN SEPARATOR
add column csto
ADD COLUMN SEPARATOR

add column A-DRSI
ADD COLUMN SEPARATOR
add column c-rsi
ADD COLUMN SEPARATOR
add column rsi(4){drsi4}
add column separator
add column rsi(9){drsi9}
add column separator
add column rsi(30){drsi30}
add column separator
add column RSI(2)
add column separator
add column ratio
add column separator
add column atr(21) {Atr}
add column separator
add column average day range (21){ADR%}

do not draw MACD(12,26)
do not drawn line 0
do not draw MA(250)
do not draw MA(50)
do not draw EMA(250)

SORT COLUMN 20 DESCENDING
chart-time is 75 days

]



sammyn
81 posts
msg #141685
Ignore sammyn
2/1/2018 11:55:22 AM

Thanks a bunch for this!

StockFetcher Forums · Filter Exchange · XIV/VXX RSI Crossover Filter<< >>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.