N:=30;
M:=60;
散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*10000,colorgreen;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
主力线:EMA(J,6)*10000,colorred;
n:=5;
K1:=IF(CLOSE>=REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW+CLOSE-REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW);
K2:=IF(CLOSE<=REF(CLOSE,1),OPEN-LOW+HIGH-CLOSE+REF(CLOSE,1)-CLOSE,OPEN-LOW+HIGH-CLOSE);
dt:=VOL*K1/(K1+K2);
kt:=VOL-DT;
进出量:SUM(dt,n)+-SUM(kt,n),POINTDOT,COLOR00FFFF;
STICKLINE(进出量>=0,0,进出量,6,1),COLOR0000FF;
STICKLINE(进出量<0,0,进出量,6,1),COLORFFFF00;
黄蓝为成交量:0,coloryellow;
量:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE 卖量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE 净量:=买量-卖量>0; STICKLINE(买量,0,VOL,3,0),colorblue; STICKLINE(净量,0,VOL,3,0),coloryellow; zz:=IF(REF(C,1)>REF(O,1) AND O>REF(C,1)*1.014 AND C v5:=MA(V,5); v12:=MA(V,12); V34:=MA(V,34); C6:=MA(C,6);