M:DUALVOLUME('M');
N:DUALVOLUME('N');
DRAWCOLUMNCHART(N,SCALE =0.5,M
LC := REF(CLOSE,1);
RSI:SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
EVERY(ISUP,2) EVERY(N 0,2) RSI =21,BK;
EVERY(ISDOWN,2) EVERY(N 0,2) RSI =79,SK;
AUTOFILTER;