StockFetcher Forums · View by Author: (586 messages)  [ Display By: Date / Subject ]<< 1 2 3 4 5 ... 59 >> 
Filter Exchange · Something I have been working on that I think is self explanatory.
SAFeTRADE
msg #157534
9/9/2021 1:45:29 PM

make sure

draw e_ema on plot price

is your first line to be drawn

Filter Exchange · Something I have been working on that I think is self explanatory.
SAFeTRADE
msg #157525
9/9/2021 2:18:39 AM

Cheese, probably would be better to plot rs5c instead. Price above rs5c market is in up trend below
it would be in downtrend. One cannot see that very well unless one looks at inverse etf's such as
SPXS,SQQQ,SDOW.

Filter Exchange · Something I have been working on that I think is self explanatory.
SAFeTRADE
msg #157524
9/9/2021 2:06:39 AM

Mac the code below is to plot MACD on price.

@safeTRADE
Can you explain your below code of your filter
I have not printed all three lines on e_ema

draw e_ema on plot price

_____________________________________________

Cheese I do not plot d1. d1 plots the zero line or a close approximation of it.

see below

@safeTRADE
Can you explain your below code of your filter

Fetcher[set{f, 8 + 1}
set{s, 21 + 1}
set{fastcoef, 2.00 / f}
set{slowcoef, 2.00 / s}

set{ema3, ema(8)}
set{ema6, ema(21)}

set{a, ema3 * fastcoef}
set{b, ema6 * slowcoef}
set{c, a - b}
set{d, fastcoef - slowcoef}
set{e, c / d}
set{e_ema, cema(e,5)}
set{cls2, close}
set{a1,1 - fastcoef}
set{a2, a1 * ema3}
set{b1,1 - slowcoef}
set{b2, b1 * ema6}
set{c1, a2 - b2}
set{c2, 0 - c1}
set{d1, c2 / d}

draw e_ema on plot price
draw e on plot price
draw d1 on plot price
symlist(spy)
draw macd(8,21,5)
]



Filter Exchange · Something I have been working on that I think is self explanatory.
SAFeTRADE
msg #157513
modified
9/8/2021 6:43:39 AM

I call this Trading the Kitchen Sync!


Fetcher[
symlist(xlb,xle,xlf,xli,xlk,xlp,xlt,xlu,xlv,xly,xlre,iau,tlt,spy)
set{buy, count(rsi(2) crossed above 50,1)}
set{sell, count(rsi(2) crossed below 20,1)}
set{rs5, indposition(close,5)*100}
set{rs5_5ago, rs5 5 days ago}

set{rs10, indposition(close,10)*100}
set{rs20, indposition(close,20)*100}
set{rs45, indposition(close,45)*100}
/* Plot Macd(8,21,5) on price */
set{f, 8 + 1}
set{s, 21 + 1}
set{fastcoef, 2.00 / f}
set{slowcoef, 2.00 / s}

set{ema3, ema(8)}
set{ema6, ema(21)}

set{a, ema3 * fastcoef}
set{b, ema6 * slowcoef}
set{c, a - b}
set{d, fastcoef - slowcoef}
set{e, c / d}
set{e_ema, cema(e,5)}
set{cls2, close}
set{a1,1 - fastcoef}
set{a2, a1 * ema3}
set{b1,1 - slowcoef}
set{b2, b1 * ema6}
set{c1, a2 - b2}
set{c2, 0 - c1}
set{d1, c2 / d}

draw e_ema on plot price
/* END Plot macd(8,21,5) on plot price */
add column rs5_5ago
add column rs5
add column rs10
add column rs20
add column rs45
draw macd(8,21,5)
draw buy
draw sell
draw macd(3,5,3)
draw Stochastic %K(5,3,3)
draw rs5_5ago on plot rs20
draw rs5 on plot rs20
sort column 6 descending


set{overbought,50}
set{oversold, 50}
set{OB1, rs5 - overbought}
set{OS1, rs5_5ago - oversold}
set{OB2, OB1 /1000}
set{OS2, OS1 / 1000}
set{OB3, close * OB2}
set{OS3, close * OS2}
set{rs5c, close - OB3}
set{rs5p, close - OS3}
set{x,Min(rs5c,rs5p)}
draw x on plot price
draw rsi(2) line at 20



/*draw rs5c on plot price*/
/*draw rs5p on plot price*/

]



Filter Exchange · TRO'S CROCK POT 2.0
SAFeTRADE
msg #157464
8/29/2021 9:48:59 AM

Made one(1) tweak. Why not go with the up trend short term? Can you find the tweak?

Fetcher[


set{hiop,high - open}
set{hioppct,hiop / open}
set{trigger,0.03} /*Trigger - Stock Up 3% from open*/
set{trigger1,1 + trigger}
set{triggervalue,trigger1 * open}
set{gain0.25%,trigger + 0.0025}
set{gain0.5%,trigger + 0.005}
set{gain1.0%,trigger + 0.01}
set{gain1.5%,trigger + 0.015}
set{gain2.0%,trigger + 0.02}
set{gain2.5%,trigger + 0.025}
set{gain3.0%,trigger + 0.03}
set{uptrigger,count(hioppct > trigger,100)}/*Count how many times stock achieves 3% above open*/
set{upgain0.25%,count(hioppct > gain0.25%,100)}/*Count how many times stock achieves 0.25% above trigger*/
set{upgain0.5%,count(hioppct > gain0.5%,100)}/*Count how many times stock achieves 0.5% above trigger*/
set{upgain1.0%,count(hioppct > gain1.0%,100)}/*Count how many times stock achieves 1.0% above trigger*/
set{upgain1.5%,count(hioppct > gain1.5%,100)}/*Count how many times stock achieves 1.5% above trigger*/
set{upgain2.0%,count(hioppct > gain2.0%,100)}/*Count how many times stock achieves 2.0% above trigger*/
set{upgain2.5%,count(hioppct > gain2.5%,100)}/*Count how many times stock achieves 2.5% above trigger*/
set{upgain3.0%,count(hioppct > gain3.0%,100)}/*Count how many times stock achieves 3.0% above trigger*/
set{5upgain1.0%,count(hioppct > gain1.0%,5)}/*Count how many times stock achieves 1.0% above trigger*/
set{up0.25,upgain0.25%}
set{up0.5,upgain0.5%}
set{up1.0,upgain1.0%}
set{5up1.0,5upgain1.0%}
set{up1.5,upgain1.5%}
set{up2.0,upgain2.0%}
set{up2.5,upgain2.5%}
set{up3.0,upgain3.0%}
set{sigup, count(Stochastic %K(5,3,3) crossed above Stochastic %d(5,3,3),1)}
add column open
add column uptrigger{trigger3%}
add column triggervalue
add column up0.25{up0.25%}
add column up0.5{up0.5%}
add column up1.0{up1%}
add column sigup
add column up1.5{up1.5%}
add column up2.0{up2%}
add column up2.5{up2.5%}
add column up3.0{up3.0%}
sort column 8 descending

average volume(30) above 500000
close above 10
draw Stochastic %K(5,3,3)
draw 5up1.0
draw sigup
uptrigger above 40


/* **************************** a start for ron22 to tweak further Aug 17, 2021 ************************** */

set{98%ofopen,0.98 * open}
set{2.0%belowopen,count(price < 98%ofopen,100)}/*Count how many times stock achieves 2.0% below open*/
add column 2.0%belowopen
draw 2.0%belowopen

/* **************************** add diff for ron22 to tweak further Aug 17, 2021 ************************** */

set{diff, up2.0 - 2.0%belowopen}
add column diff
]



Public Filter List · Work in Progress
SAFeTRADE
msg #157106
modified
6/29/2021 3:46:11 PM

Fetcher[set{green,dma(5,3)}
set{red,dma(8,5)}
set{blue,dma(13,8)}
set{cls2,close}

s&P 500
close < 45
set{psarup, count(close > Parabolic SAR(0.09,0.9),1) * count(close > Parabolic SAR(0.02,0.2),1)}
set{psardn, count(close < Parabolic SAR(0.09,0.9),1) * count(close < Parabolic SAR(0.02,0.2),1)}
set{spycls,ind(spy,close)}
set{spyval, indposition(spycls,60)*100}
set{clsval, indposition(close,60)*100}


draw psarup
draw up1ago
draw psardn
draw ma(13)
draw rsi(13) line at 50
draw rsi(13) line at 40
draw macd(8,21,5)
draw macd(5,8,13)
draw Parabolic SAR(0.09,0.9)
draw Parabolic SAR(0.02,0.2)
add column rsi(13)
draw red on plot blue
draw green on plot blue
draw cls2 on plot blue

add column psarup

add column psardn
add column clsval
add column spyval
]



Filter Exchange · VWAP Breakout or Breakdown filter
SAFeTRADE
msg #157057
6/20/2021 11:26:30 PM

Look at this thread, TRO is the Master coder.

https://www.stockfetcher.com/forums/Filter-Exchange/A-work-in-progress-VWAP/39405/-1/39457

Filter Exchange · Hybrid MACD and Alligator
SAFeTRADE
msg #156972
6/11/2021 5:17:20 PM

Here is a filter for you guys to tinker with to your hearts content.

Fetcher[set{green, dma(5,3)}
set{red, dma(8,5)}
set{blue, dma(13,8)}
set{cls2, close}
set{momo, count(close crossed above green,1)}


set{f, 3 + 1}
set{s, 6 + 1}
set{fastcoef, 2.00 / f}
set{slowcoef, 2.00 / s}

set{ema3, ema(3)}
set{ema6, ema(6)}

set{a, ema3 * fastcoef}
set{b, ema6 * slowcoef}
set{c, a - b}
set{d, fastcoef - slowcoef}
set{e, c / d}
set{e_ema, cema(e,6)}
set{cls, close}
set{clsval, indposition(close,60)*100}


draw e_ema on plot price
draw e on plot price
draw d1 on plot price
draw price line at d1

symlist(spy,vxx,spmd,spyg,spxl,spyv,fvd,sphd)





set{a1,1 - fastcoef}
set{a2, a1 * ema3}
set{b1,1 - slowcoef}
set{b2, b1 * ema6}
set{c1, a2 - b2}
set{c2, 0 - c1}
set{d1, c2 / d}
set{buy, count(crsi(e,3) crossed above 69,1)}
set{sell, count(crsi(e,3) crossed below 50,1)}
draw d1 on plot price

add column e{mfastline}
add column e_ema{mslowline}
add column d1{zeroline}

draw macd(3,6,9)
draw crsi(e,3)
draw buy
draw sell
draw crsi(e,4)
draw momo
draw red on plot blue
draw green on plot blue
draw cls2 on plot blue
draw clsval

add column momo
add column buy
add column sell
add column clsval

chart-length 6 months
]



Filter Exchange · SPY in relation to VXX & VVIX
SAFeTRADE
msg #156873
5/28/2021 6:21:35 PM

Fetcher[symlist(vxx,spy)
set{spy_cls, ind(spy,close)}
set{vxx_cls, ind(vxx,close)}
set{vvix, ind(^vvix,close)}
set{vvix_val, indposition(vvix,10)*100}
set{vxx_val, indposition(vxx_cls,10)*100}
set{spy_val, indposition(spy_cls,10)*100}
set{vvix_avg, cma(vvix,10)}
draw vvix on plot vvix_avg
draw vxx_val on plot vvix_val
draw spy_val on plot vvix_val
draw vvix_val line at 80
draw vvix_val line at 20
draw Stochastic %K(8,3,3) line at 40
draw Stochastic %K(8,3,3) line at 40
draw Stochastic %K(8,3,3) line at 60
draw Williams %R(10) line at -50
draw macd(3,4,3)
draw ma(10)
draw ma(20)
]



Filter Exchange · Fake Filter example HOW do I get MA(40)?
SAFeTRADE
msg #156732
modified
5/3/2021 7:28:05 PM

Fetcher[
symlist(zm,spy)

draw cma(Williams Accumulation Distribution,40)}
draw cma(Accumulation Distribution,40)}
draw cma(Accumulation Swing Index ,40)}

draw ma(40)
]





StockFetcher Forums ·  · << 1 2 3 4 5 ... 59 >>

*** 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 2021 - 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.