SAFeTRADE 645 posts msg #159776 - Ignore SAFeTRADE |
11/12/2022 9:54:22 AM
/***************************************************************/
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{BUY, COUNT(CLOSE CROSSED ABOVE MID20,1)}
set{cl, weekly low + weekly close}
set{clo, weekly open + weekly high}
set{clos, cl + clo}
set{cls, clos / 4}
set{clz, close}
set{cloze,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}
/* Interpretations of Short Term SIGNALS */
set{st_ob, count(close > vstoph,1)} /*OVER BOUGHT*/
set{st_n, count(close < vstoph,1) * count(close > vstopl,1)} /* NEUTRAL */
set{st_os, count(close < vstopl,1)} /* OVER SOLD */
/* Interpretations of Long Term SIGNALS */
set{Lt_ob, count(close > MID20,1)} /*OVER BOUGHT*/
set{Lt_n, count(close < MID20,1) * count(close > MID10,1)} /* NEUTRAL */
set{Lt_os, count(close < MID10,1)} /* OVER SOLD */
watchlist(sectors)
draw ema(21)
draw mid20 on plot cloze
draw mid10 on plot cloze
draw buy
draw vstopl on plot clz
draw vstoph on plot clz
draw op on plot cls
draw ha on plot cls
draw adx(7,7)
draw macd(4,11,4)
ADD COLUMN SEPARATOR
ADD COLUMN ST_OS
ADD COLUMN ST_N
ADD COLUMN ST_OB
ADD COLUMN SEPARATOR
ADD COLUMN LT_OS
ADD COLUMN LT_N
ADD COLUMN LT_OB
add column separator
ADD COLUMN BUY
|