V1:=AMOUNT/10000/C; 成交金额:=V1/1000; MA1:MA(AMOUNT/10000,C); MA2:MA(AMOUNT/10000,O); MA3:MA(AMOUNT/10000,H); 换手率:=100*V/CAPITAL/C; VAR1:=REF(C,1); VAR4:=(VAR1-L)/(H-L); VAR5:=V1*VAR4; VAR2:=V*VAR4; VAR3:ABS(VAR2); VAR6:=ABS(VAR5); VAR7:=ABS(V1-VAR6); 买盘:ABS(V-VAR3)/100; 卖盘:VAR3/100; 买卖盘比%:ABS(V-VAR3)/V*100; STICKLINE(C>0,0,VAR6,3,0),COLORCYAN; STICKLINE(换手率<3,VAR6,V1 ,3 ,0),COLORRED; STICKLINE(换手率>=3 AND 换手率<7,VAR6, V1,3,0),COLORYELLOW; STICKLINE(换手率>=7,VAR6, V1, 3,0) ,COLORGREEN; |