通达信快线慢线 高抛低吸指标副图源码
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
JJ:=9*(3*D-2*K);
J:=((3 * K) - (2 * D));
MAIRU:= CROSS(K,D) AND K
MAICHU:= CROSS(D,K) AND D
快线:(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2,COLORRED;
慢线:SMA(快线,3,1),COLORFFFF00;
空:SMA(慢线,3,1),COLORCD7F32;
牛股:IF(BARSLAST(CROSS(慢线,空)) 9 AND CROSS(慢线,空) AND 慢线 20,90,0),STICK,COLORFF937F;
STICKLINE(牛股,0,90,1,0),COLORFF937F;
BB:=IF(BARSLAST(CROSS(慢线,快线)) =3 AND CROSS(快线,慢线) AND 慢线 30,20,0);
STICKLINE(BB,0,-20,3,0),COLORYELLOW;
低买:IF(BB,-20,-40),COLORYELLOW;
DRAWICON(BB 0,-35,7);
AA:=IF(BARSLAST(CROSS(快线,慢线)) =4 AND CROSS(慢线,快线) AND 快线 50,20,0);
STICKLINE(AA,100,120,3,0),COLOR00FF00;
高卖:IF(AA,120,140),COLOR00FF00;
DRAWICON(AA 0,150,8);