红持股绿持币,注意两条彩带共振,均线空头慎用
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
STICKLINE(VAR9>VARA,VAR9,VARA,3,0),colorred;
STICKLINE(VAR9<=VARA,VAR9,VARA,3,0),colorgreen;
AA:30,coloryellow;
BB:70,coloryellow;
RSV:= (CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
FASTK:=SMA(RSV,5,1);
K:=SMA(FASTK,5,1);
D:=SMA(K,3,1);
AA1:=K-REF(K,1);
STICKLINE(AA1>0,REF(K,1),K,3,0),COLOR8000FF;
STICKLINE(AA1<=0,REF(K,1),K,3,0),COLORFFFF00;