StockFetcher Forums · Filter Exchange · Random Walk Filter for your edification<< >>Post Follow-up
SAFeTRADE
608 posts
msg #159740
Ignore SAFeTRADE
10/30/2022 9:24:08 PM




Fetcher[set{a1,high - low 1 day ago}
set{b1, atr(1) 1 day ago}
set{c1, a1 / b1}
set{d1, c1 / pow(c1,0.50)}

set{a12,high - low 2 day ago}
set{b12, atr(2) 2 day ago}
set{c12, a12 / b12}
set{d12, c12 / pow(c12,0.50)}


set{a13,high - low 3 day ago}
set{b13, atr(3) 3 day ago}
set{c13, a13 / b13}
set{d13, c13 / pow(c13,0.50)}

set{a14,high - low 4 day ago}
set{b14, atr(4) 4 day ago}
set{c14, a14 / b14}
set{d14, c14 / pow(c14,0.50)}

set{a15,high - low 5 day ago}
set{b15, atr(5) 5 day ago}
set{c15, a15 / b15}
set{d15, c15 / pow(c15,0.50)}

set{a16,high - low 6 day ago}
set{b16, atr(6) 6 day ago}
set{c16, a16 / b16}
set{d16, c16 / pow(c16,0.50)}

set{e12, max(d1,d12)}
set{f12, max(e12,d13)}
set{g12, max(f12,d14)}
set{h12, max(g12,d15)}
/*set{i12, max(h12,d16)}*/


/*********************************************************************************/

set{a1a,high 1 day ago - low}
set{b1a, atr(1) 1 day ago}
set{c1a, a1a / b1a}
set{d1a, c1a / pow(c1a,0.50)}

set{a1b,high 2 day ago - low}
set{b1b, atr(2) 2 day ago}
set{c1b, a1b / b1b}
set{d1b, c1b / pow(c1b,0.50)}

set{a1c,high 3 day ago - low}
set{b1c, atr(3) 3 day ago}
set{c1c, a1c / b1c}
set{d1c, c1c / pow(c1c,0.50)}

set{a1d,high 4 day ago - low}
set{b1d, atr(4) 4 day ago}
set{c1d, a1d / b1d}
set{d1d, c1d / pow(c1d,0.50)}

set{a1e,high 5 day ago - low}
set{b1e, atr(5) 5 day ago}
set{c1e, a1e / b1e}
set{d1e, c1e / pow(c1e,0.50)}

set{a1f,high 6 day ago - low}
set{b1f, atr(6) 6 day ago}
set{c1f, a1f / b1f}
set{d1f, c1f / pow(c1f,0.50)}

set{e1b, max(d1a,d1b)}
set{e1c, max(e1b,d1c)}
set{e1d, max(e1c,d1d)}
set{e1e, max(e1d,d1e)}
/*set{e1f, max(e1e,d1f)}*/





symlist(spy,dia,qqq,xiv,vxx)
draw g12 line at 1
draw e1d line at 1
draw ma(20)
draw macd(8,21,5)
draw adx(3,3)
draw macd(2,3,2)

draw e1e on plot h12
add column h12
add column d1a

chart-length is 6 months
]



SAFeTRADE
608 posts
msg #159743
Ignore SAFeTRADE
10/31/2022 10:03:40 AM

Edit.

Fetcher[set{a1,high - low 1 day ago}
set{b1, atr(1) 1 day ago}
set{c1, a1 / b1}
set{d1, c1 / pow(c1,0.50)}

set{a12,high - low 2 day ago}
set{b12, atr(2) 2 day ago}
set{c12, a12 / b12}
set{d12, c12 / pow(c12,0.50)}


set{a13,high - low 3 day ago}
set{b13, atr(3) 3 day ago}
set{c13, a13 / b13}
set{d13, c13 / pow(c13,0.50)}

set{a14,high - low 4 day ago}
set{b14, atr(4) 4 day ago}
set{c14, a14 / b14}
set{d14, c14 / pow(c14,0.50)}

set{a15,high - low 5 day ago}
set{b15, atr(5) 5 day ago}
set{c15, a15 / b15}
set{d15, c15 / pow(c15,0.50)}

/*set{a16,high - low 6 day ago}
set{b16, atr(6) 6 day ago}
set{c16, a16 / b16}
set{d16, c16 / pow(c16,0.50)}*/

set{e12, max(d1,d12)}
set{f12, max(e12,d13)}
set{g12, max(f12,d14)}
set{h12, max(g12,d15)}
/*set{i12, max(h12,d16)}*/


/*********************************************************************************/

set{a1a,high 1 day ago - low}
set{b1a, atr(1) 1 day ago}
set{c1a, a1a / b1a}
set{d1a, c1a / pow(c1a,0.50)}

set{a1b,high 2 day ago - low}
set{b1b, atr(2) 2 day ago}
set{c1b, a1b / b1b}
set{d1b, c1b / pow(c1b,0.50)}

set{a1c,high 3 day ago - low}
set{b1c, atr(3) 3 day ago}
set{c1c, a1c / b1c}
set{d1c, c1c / pow(c1c,0.50)}

set{a1d,high 4 day ago - low}
set{b1d, atr(4) 4 day ago}
set{c1d, a1d / b1d}
set{d1d, c1d / pow(c1d,0.50)}

set{a1e,high 5 day ago - low}
set{b1e, atr(5) 5 day ago}
set{c1e, a1e / b1e}
set{d1e, c1e / pow(c1e,0.50)}

/*set{a1f,high 6 day ago - low}
set{b1f, atr(6) 6 day ago}
set{c1f, a1f / b1f}
set{d1f, c1f / pow(c1f,0.50)}*/

set{e1b, max(d1a,d1b)}
set{e1c, max(e1b,d1c)}
set{e1d, max(e1c,d1d)}
set{e1e, max(e1d,d1e)}
/*set{e1f, max(e1e,d1f)}*/





symlist(spy,dia,qqq,xiv,vxx)
draw g12 line at 1
draw e1d line at 1
draw ma(20)
draw macd(8,21,5)
draw adx(3,3)


draw e1e on plot h12
add column h12
add column d1a

chart-length is 6 months
]



SAFeTRADE
608 posts
msg #159761
Ignore SAFeTRADE
11/7/2022 7:09:33 PM

Follow up:

Fetcher[set{a1,high - low 1 day ago}
set{b1, atr(1) 1 day ago}
set{c1, a1 / b1}
set{d1, c1 / pow(c1,0.50)}

set{a12,high - low 2 day ago}
set{b12, atr(2) 2 day ago}
set{c12, a12 / b12}
set{d12, c12 / pow(c12,0.50)}


set{a13,high - low 3 day ago}
set{b13, atr(3) 3 day ago}
set{c13, a13 / b13}
set{d13, c13 / pow(c13,0.50)}

set{a14,high - low 4 day ago}
set{b14, atr(4) 4 day ago}
set{c14, a14 / b14}
set{d14, c14 / pow(c14,0.50)}

set{a15,high - low 5 day ago}
set{b15, atr(5) 5 day ago}
set{c15, a15 / b15}
set{d15, c15 / pow(c15,0.50)}

set{a16,high - low 6 day ago}
set{b16, atr(6) 6 day ago}
set{c16, a16 / b16}
set{d16, c16 / pow(c16,0.50)}

set{e12, max(d1,d12)}
set{f12, max(e12,d13)}
set{g12, max(f12,d14)}
set{rwih, max(g12,d15)}
set{zenith,1.5}
set{nadir,.5}
set{one,1}


set{a1a,high 1 day ago - low}
set{b1a, atr(1) 1 day ago}
set{c1a, a1a / b1a}
set{d1a, c1a / pow(c1a,0.50)}

set{a1b,high 2 day ago - low}
set{b1b, atr(2) 2 day ago}
set{c1b, a1b / b1b}
set{d1b, c1b / pow(c1b,0.50)}

set{a1c,high 3 day ago - low}
set{b1c, atr(3) 3 day ago}
set{c1c, a1c / b1c}
set{d1c, c1c / pow(c1c,0.50)}

set{a1d,high 4 day ago - low}
set{b1d, atr(4) 4 day ago}
set{c1d, a1d / b1d}
set{d1d, c1d / pow(c1d,0.50)}

set{a1e,high 5 day ago - low}
set{b1e, atr(5) 5 day ago}
set{c1e, a1e / b1e}
set{d1e, c1e / pow(c1e,0.50)}

set{a1f,high 6 day ago - low}
set{b1f, atr(6) 6 day ago}
set{c1f, a1f / b1f}
set{d1f, c1f / pow(c1f,0.50)}

set{e1b, max(d1a,d1b)}
set{e1c, max(e1b,d1c)}
set{e1d, max(e1c,d1d)}
set{rwil, max(e1d,d1e)}

set{cls2,close}
set{ma21,ema(21)}
set{psar5,Parabolic SAR(0.05,0.5)}

/***************************************************************************/
draw rwil on plot one
draw rwih on plot one


set{cl, weekly low + weekly close}
set{clo, weekly open + weekly high}
set{clos, cl + clo}
set{cls, clos / 4}
set{clz, close}
set{op1, weekly open 1 week ago + weekly close 1 week ago}
set{op, op1 / 2}
set{ha1,cls + op}
set{ha, ha1 / 2}

set{bias_risk_on, count(cls above op,1)}
set{bias_risk_off, count(cls below op,1)}

set{buy, count(MACD(4,11,4) slow line > 0,1)}
set{sell, count(close crossed below vstopl,1)}




draw vstoph on plot price
draw vstopl on plot price
draw bias_risk_on
draw bias_risk_off
draw buy
draw sell
draw op on plot cls
draw ha on plot cls
draw diff1 on plot diff2
draw diff3 on plot diff2
draw adx(8,8)
draw macd(4,11,4)
draw psar5 on plot clz
draw ma21 on plot clz


dow 30
add column bias_risk_on
add column bias_risk_off
add column buy
add column sell
add column macd(8,21,5)
]



SAFeTRADE
608 posts
msg #159762
Ignore SAFeTRADE
11/7/2022 9:04:29 PM

Fetcher[
set{cl, weekly low + weekly close}
set{clo, weekly open + weekly high}
set{clos, cl + clo}
set{cls, clos / 4}
set{clz, close}
set{op1, weekly open 1 week ago + weekly close 1 week ago}
set{op, op1 / 2}
set{ha1,cls + op}
set{ha, ha1 / 2}

set{bias_risk_on, count(cls above op,1)}
set{bias_risk_off, count(cls below op,1)}

set{buy, count(MACD(4,11,4) slow line > 0,1)}






draw bias_risk_on
draw bias_risk_off
draw buy
draw sell
draw op on plot cls
draw ha on plot cls
draw macd(4,11,4)
draw adx(8,8)
draw macd(4,11,4)



dow 30
add column bias_risk_on
add column bias_risk_off
add column buy
add column sell
add column macd(8,21,5)
]



SAFeTRADE
608 posts
msg #159763
Ignore SAFeTRADE
11/8/2022 8:50:39 AM

Fetcher[set{vmult, atr(10) * 1.5}
set{vstopu1a, close 10 day low + vmult}
set{vstopu2a, close + vmult}
set{vstoph, min(vstopu1a 1 day ago,vstopu2a)}

set{vstopu1a2, close 10 day high - vmult}
set{vstopu2a2, close - vmult}
set{vstopl, max(vstopu1a2 1 day ago,vstopu2a2)}

set{a1,high - low 1 day ago}
set{b1, atr(1) 1 day ago}
set{c1, a1 / b1}
set{d1, c1 / pow(c1,0.50)}

set{a12,high - low 2 day ago}
set{b12, atr(2) 2 day ago}
set{c12, a12 / b12}
set{d12, c12 / pow(c12,0.50)}


set{a13,high - low 3 day ago}
set{b13, atr(3) 3 day ago}
set{c13, a13 / b13}
set{d13, c13 / pow(c13,0.50)}

set{a14,high - low 4 day ago}
set{b14, atr(4) 4 day ago}
set{c14, a14 / b14}
set{d14, c14 / pow(c14,0.50)}

set{a15,high - low 5 day ago}
set{b15, atr(5) 5 day ago}
set{c15, a15 / b15}
set{d15, c15 / pow(c15,0.50)}

set{a16,high - low 6 day ago}
set{b16, atr(6) 6 day ago}
set{c16, a16 / b16}
set{d16, c16 / pow(c16,0.50)}

set{e12, max(d1,d12)}
set{f12, max(e12,d13)}
set{g12, max(f12,d14)}
set{rwih, max(g12,d15)}
set{zenith,1.5}
set{nadir,.5}
set{one,1}


set{a1a,high 1 day ago - low}
set{b1a, atr(1) 1 day ago}
set{c1a, a1a / b1a}
set{d1a, c1a / pow(c1a,0.50)}

set{a1b,high 2 day ago - low}
set{b1b, atr(2) 2 day ago}
set{c1b, a1b / b1b}
set{d1b, c1b / pow(c1b,0.50)}

set{a1c,high 3 day ago - low}
set{b1c, atr(3) 3 day ago}
set{c1c, a1c / b1c}
set{d1c, c1c / pow(c1c,0.50)}

set{a1d,high 4 day ago - low}
set{b1d, atr(4) 4 day ago}
set{c1d, a1d / b1d}
set{d1d, c1d / pow(c1d,0.50)}

set{a1e,high 5 day ago - low}
set{b1e, atr(5) 5 day ago}
set{c1e, a1e / b1e}
set{d1e, c1e / pow(c1e,0.50)}

set{a1f,high 6 day ago - low}
set{b1f, atr(6) 6 day ago}
set{c1f, a1f / b1f}
set{d1f, c1f / pow(c1f,0.50)}

set{e1b, max(d1a,d1b)}
set{e1c, max(e1b,d1c)}
set{e1d, max(e1c,d1d)}
set{rwil, max(e1d,d1e)}

set{cls2,close}
set{ma21,ema(21)}
set{psar5,Parabolic SAR(0.05,0.5)}

/***************************************************************************/
draw rwil on plot one
draw rwih on plot one


set{cl, weekly low + weekly close}
set{clo, weekly open + weekly high}
set{clos, cl + clo}
set{cls, clos / 4}
set{clz, close}
set{op1, weekly open 1 week ago + weekly close 1 week ago}
set{op, op1 / 2}
set{ha1,cls + op}
set{ha, ha1 / 2}

set{bias_risk_on, count(cls above op,1)}
set{bias_risk_off, count(cls below op,1)}

set{buy, count(MACD(4,11,4) slow line > 0,1)}
set{sell, count(close crossed below vstopl,1)}




draw vstoph on plot price
draw vstopl on plot price
draw bias_risk_on
draw bias_risk_off
draw buy
draw sell
draw op on plot cls
draw ha on plot cls
draw diff1 on plot diff2
draw diff3 on plot diff2
draw adx(8,8)
draw macd(4,11,4)
draw psar5 on plot clz
draw ma21 on plot clz


dow 30
add column bias_risk_on
add column bias_risk_off
add column buy
add column sell
add column macd(8,21,5)
]



SAFeTRADE
608 posts
msg #159774
Ignore SAFeTRADE
11/11/2022 10:08:31 AM

Fetcher[
set{a1,high - low 1 day ago}
set{b1, atr(1) 1 day ago}
set{c1, a1 / b1}
set{d1, c1 / pow(c1,0.50)}

set{a12,high - low 2 day ago}
set{b12, atr(2) 2 day ago}
set{c12, a12 / b12}
set{d12, c12 / pow(c12,0.50)}


set{a13,high - low 3 day ago}
set{b13, atr(3) 3 day ago}
set{c13, a13 / b13}
set{d13, c13 / pow(c13,0.50)}

set{a14,high - low 4 day ago}
set{b14, atr(4) 4 day ago}
set{c14, a14 / b14}
set{d14, c14 / pow(c14,0.50)}

set{a15,high - low 5 day ago}
set{b15, atr(5) 5 day ago}
set{c15, a15 / b15}
set{d15, c15 / pow(c15,0.50)}

set{a16,high - low 6 day ago}
set{b16, atr(6) 6 day ago}
set{c16, a16 / b16}
set{d16, c16 / pow(c16,0.50)}

set{e12, max(d1,d12)}
set{f12, max(e12,d13)}
set{g12, max(f12,d14)}
set{rwih, max(g12,d15)}
set{zenith,1.5}
set{nadir,.5}
set{one,1}


set{a1a,high 1 day ago - low}
set{b1a, atr(1) 1 day ago}
set{c1a, a1a / b1a}
set{d1a, c1a / pow(c1a,0.50)}

set{a1b,high 2 day ago - low}
set{b1b, atr(2) 2 day ago}
set{c1b, a1b / b1b}
set{d1b, c1b / pow(c1b,0.50)}

set{a1c,high 3 day ago - low}
set{b1c, atr(3) 3 day ago}
set{c1c, a1c / b1c}
set{d1c, c1c / pow(c1c,0.50)}

set{a1d,high 4 day ago - low}
set{b1d, atr(4) 4 day ago}
set{c1d, a1d / b1d}
set{d1d, c1d / pow(c1d,0.50)}

set{a1e,high 5 day ago - low}
set{b1e, atr(5) 5 day ago}
set{c1e, a1e / b1e}
set{d1e, c1e / pow(c1e,0.50)}

set{a1f,high 6 day ago - low}
set{b1f, atr(6) 6 day ago}
set{c1f, a1f / b1f}
set{d1f, c1f / pow(c1f,0.50)}

set{e1b, max(d1a,d1b)}
set{e1c, max(e1b,d1c)}
set{e1d, max(e1c,d1d)}
set{rwil, max(e1d,d1e)}
draw rwil on plot one
draw rwih on plot one
/***************************************************************/

set{vmult, atr(10) * 1.5}
set{vstopu1a, close 10 day low + vmult}
set{vstopu2a, close + vmult}
set{vstoph, min(vstopu1a 1 day ago,vstopu2a)}

set{vstopu1a2, close 10 day high - vmult}
set{vstopu2a2, close - vmult}
set{vstopl, max(vstopu1a2 1 day ago,vstopu2a2)}

set{mid1,vstoph + vstopl}
set{mid10, mid1 / 2}
set{clse,close}


/*****************************************************************/

set{vmult20, atr(20) * 1.5}
set{vstopu1a20, close 20 day low + vmult20}
set{vstopu2a20, close + vmult20}
set{vstoph20, min(vstopu1a20 1 day ago,vstopu2a20)}

set{vstopu1a220, close 20 day high - vmult20}
set{vstopu2a220, close - vmult20}
set{vstopl20, max(vstopu1a220 1 day ago,vstopu2a220)}

set{mid120,vstoph20 + vstopl20}
set{mid20, mid120 / 2}

set{cl, weekly low + weekly close}
set{clo, weekly open + weekly high}
set{clos, cl + clo}
set{cls, clos / 4}
set{clz, close}
set{op1, weekly open 1 week ago + weekly close 1 week ago}
set{op, op1 / 2}
set{ha1,cls + op}
set{ha, ha1 / 2}


symlist(spy,qqq,dia)

draw mid20 on plot clse
draw mid10 on plot clse

draw op on plot cls
draw ha on plot cls

draw macd(4,11,4)
draw adx(7,7)
draw rsi(7) line at 50
draw macd(3,4,3)
]



StockFetcher Forums · Filter Exchange · Random Walk Filter for your edification<< >>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.