StockFetcher Forums · Filter Exchange · This Is It<< >>Post Follow-up
shillllihs
6,044 posts
msg #146498
Ignore shillllihs
modified
2/10/2019 12:01:40 AM

Took elements of some filters and combined them.
Go long TQQQ on long trigger, exit and enter SQQQ when it triggers buy, then bail when it goes under then over -50 line. You can get back in if it goes under -50 line again as long as you are still in a SQQQ buy. If line goes above -50 and TQQQ has not triggered after dipping under then over wait and stay out of the market.

Fetcher[set{bla, high 10 day high - low 10 day low}
set{blb, bla * .25}
set{bl, low 10 day low + blb}

set{bra, bl - close}
set{brb, bra / blb}
set{br, 10 * brb}

set{taa, ma(10) * 2}
set{tab, taa - close}
set{tac, ma(10) / tab }
set{tad, tac + 1}
set{tai, br * tad}

set{pointb1, bla * .125}
set{pointb, bl + pointb1}

set{pointc, low 10 day low + pointb1}

draw bl on plot price


add column separator
add column tai
add column bl
add column separator
set{gr, count(tai above 10,1)}
set{ta, count(tai between -5 and 10,1)}
set{wait, count(tai between -10 and -4.9,1)}
set{bad_idea, count(tai below -10,1)}
set{alpha_start, count(tai below -50,1)}
set{alpha_end, count(tai crossed above -30,1)}

add column gr{get_ready}
add column ta{take_action}
add column wait
add column bad_idea
add column separator
add column alpha_start
add column alpha_end
add column separator

draw tai line at -50
draw tai line at -10
draw tai line at -5
draw tai line at -31













apply to symlist(spy,sh,tqqq,sqqq,vxx,uvxy,svxy,spxl,spxu,uwm,rwm)
chart-time 5 months




Set{ADR15, ATR(20) * 1.5} /* davesaint86 */
Set{ATR1, high 10 day high - ADR15} /* davesaint86 */
Set{Buy1, high 10 day high - ADR15} /* davesaint86 */

draw BUY1 on plot price /* buy or hold above; sell or wait below */
Set{Long,count(close > buy1 ,1)}
Set{Short,count(close < buy1 ,1)}
set{E20,close - buy1 }






draw long on plot
draw short on plot

draw linear regression(10) slope line at 1
draw linear regression(10) slope
draw ma(100)



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

set{CRS4, weekly rsi(7),1)}
set{CRS5, weekly rsi(14),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{RSI14, RSI(14) - 50}
set{RSI14_line, RSI14}
draw RSI14 on plot CRSI_Bar
set{RSI7, RSI(7) - 50}
set{RSI7_line, RSI7}
draw RSI7 on plot CRSI_Bar
set{drsilong1, count(rsi(30) above 5, 1)}
set{drsilong2, count(rsi(7) above rsi(30), 1)}
set{drsilong3, count(rsi(14) 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}


set{wrsi1, weekly rsi(7)}
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{TWRSI7, weekly RSI(7)}
set{TWRSI14, weekly RSI(14)}
set{TWRSI30, weekly RSI(30)}
set{TWRSI1, TWRSI7 + TWRSI14}
set{TWRSI2, TWRSI1 + TWRSI30}
set{A-WRSI, TWRSI2 / 3}
set{TDRSI7, RSI(7)}
set{TDRSI14, RSI(14)}
set{TDRSI30, RSI(30)}
set{TDRSI1, TDRSI7 + TDRSI14}
set{TDRSI2, TDRSI1 + TDRSI30}
set{A-DRSI, TDRSI2 / 3}


add column separator
add column long {Long}
add column separator
add column buy1 {Trigger}
add column separator
add column e20 {$ Delta}
add column separator
set{e21, e20 / close}
set{e22, e21 *100}
add column e22 {% Delta}
add column separator
add column MA(200)
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 csto
ADD COLUMN SEPARATOR
add column c-rsi
ADD COLUMN SEPARATOR

add column RSI(2)
add column separator
add column atr(21) {Atr}
add column separator
add column average day range (21){ADR}
SORT COLUMN 22 DESCENDING
]



draw slow stochastics(5,1) %k
draw slow stochastic(5,1) %k line at 80
draw slow stochastic(5,1) %k line at 20]

StockFetcher Forums · Filter Exchange · This Is It<< >>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.