VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:=VOL,POINTDOT;
主买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
P1:=8;
P2:=3;
VARA:=LLV(LOW,P1);
VARB:=HHV(HIGH,P1);
K:= EMA((CLOSE-VARA)/(VARB-VARA)*1000000,P2);
D:= EMA(0.667*REF(K,1)+0.333*K,2);
STICKLINE(主买盘>-主卖盘,0,V,2,0),COLORRED;
STICKLINE(-主卖盘>主买盘,0,V,2,0),COLOR00FF00;
STICKLINE((SUM(主买盘,3)-SUM(-主卖盘,3))>0,0,主买盘,2,0),COLORRED;
STICKLINE(-主卖盘>主买盘,0,主卖盘,2,0),COLOR00FF00;
STICKLINE(地量>0 ,0,VOL,1,0),COLORYELLOW;
STICKLINE(V2>=1 AND DIF>DEA,V,0,1,0),COLORBLUE;
净流入1:(SUM(主买盘,27)-SUM(-主卖盘,27)),COLORYELLOW,LINETHICK3;
{
"SH000001$ADVANCE"+2500;
"SH000001$DECLINE"+2500;
}{
"SZ399001$ADVANCE"-1500;
"SZ399001$DECLINE"-1500;
}
总涨家数:"SH000001$ADVANCE"+"SZ399001$ADVANCE",POINTDOT,COLORWHITE;
总跌家数:"SH000001$DECLINE"+"SZ399001$DECLINE",POINTDOT,COLOR00FF00;
流入:IF((主买盘)-(-主卖盘)>0,(主买盘)-(-主卖盘),DRAWNULL),POINTDOT,COLORYELLOW;
流出:IF((主买盘)-(-主卖盘)<0,(主买盘)-(-主卖盘),DRAWNULL),POINTDOT,COLOR00FF00;
RSV1:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,20)-LLV(LOW,20))*-500000;
K1:SMA(RSV1,9,1);
D1:SMA(K1,3,1);
J1:3*K1-2*D1;
0,COLORWHITE;