Gary3302 5 posts msg #127800 - Ignore Gary3302 |
4/2/2016 11:34:37 AM
I have been using the below RSI (2) scan for long trades and I am looking for some help duplicating the formula for short trades. The short triggers seem to appear on the charts, but I am looking for a clickable formula. I believe the scan was developed by Chetron a while back. Thanks in advance for the help.
/* rsi(2) power scan */
/* WITH CHETRONISMS */
/* ADDED VOLUME THING */
/* SUPER TIGHT LONGS */
/* VARME REPRESENTS HOW MANY DAYS RSI(2) HAS BEEN ABOVE 98 IN THE LAST 34 DAYS */
set{rsi_MUD,days(rsi(2) above 2,100)}
set{rsi_run,days(rsi(2) BELOW 98,100)}
SET{VARME,COUNT(RSI_RUN ABOVE .5,34)}
ADD COLUMN VARME
SET{VAR1,COUNT(RSI_MUD CROSSED BELOW .5,1)}
SET{VAR2,COUNT(RSI_RUN CROSSED BELOW .5,1)}
SET{VTRIGGER,VAR1 + VAR2}
DRAW RSI_RUN ON PLOT RSI_MUD
RSI_MUD BELOW .5
RSI_MUD 1 DAY AGO ABOVE .5
DO NOT DRAW VTRIGGER
stock is optionable
average volume(30) above 750000
SET{VAR51,AVGVOL(100) * 2}
SET{TRIGGER,COUNT(VOLUME ABOVE VAR51,1)}
SET{VAR52,VOLUME}
DRAW TRIGGER
DRAW AVGVOL(100)
VOLUME ABOVE VAR51
DO NOT DRAW VAR51
CLOSE ABOVE .1
add column rsi(2)
add column rsi(2) 1 day ago {rsi2 -1}
add column rsi(2) 2 days ago {rsi2 -2}
add column rsi(2) 3 days ago {rsi2 -3}
add column rsi(2) 4 days ago {rsi2 -4}
add column rsi(2) 5 days ago {rsi2 -5}
add column rsi(2) 6 days ago {rsi2 -6}
add column rsi(2) 7 days ago {rsi2 -7}
add column rsi(2) 8 days ago {rsi2 -8}
add column rsi(2) 9 days ago {rsi2 -9}
add column rsi(2) 10 days ago {rsi2 -10}
add column rsi(2) 11 days ago {rsi2 -11}
add column rsi(2) 12 days ago {rsi2 -12}
add column rsi(2) 13 days ago {rsi2 -13}
add column rsi(2) 14 days ago {rsi2 -14}
add column rsi(2) 15 days ago {rsi2 -15}
add column rsi(2) 16 days ago {rsi2 -16}
add column rsi(2) 17 days ago {rsi2 -17}
set{sm%, weekly atr(8)/ weekly close(8)}
add column sm%
SORT COLUMN 5 DESCENDING
|