主力操盘(主力控盘系数、主力控盘连红)
ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZSHTL:=SHCM/(ZLCM+SHCM)*100;
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;
ZCMZL:=MA(ZLCM+SHCM,13);
ZSHJJ:=EMA(ZSHTL,89);
ZZLJJ:=EMA(ZZLKP,89);
ZJLRQD:=(ZZLKP-ZZLJJ);
SH8:=EMA(ZSHTL,8);
DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);
主力控盘系数:(ZZLKP),LINETHICK1,COLORRED;
50,DASHLINE,COLORYELLOW;
DRAWTEXTABS(0,175,'系数50%');
主力控盘连红:LAST(ZZLKP>REF(ZZLKP,1)),COLORBLUE;
STICKLINE(ZZLKP<50,ZZLKP,0,7,0),COLORBLUE;
STICKLINE(ZZLKP>=50 AND ZZLKP<75,50,0,7,0),COLORBLUE;
STICKLINE(ZZLKP>=50 AND ZZLKP<75,50,ZZLKP,7,0),COLORYELLOW;
STICKLINE(ZZLKP>=75,50,0,7,0),COLORBLUE;
STICKLINE(ZZLKP>=75,50,75,7,0),COLORYELLOW;
STICKLINE(ZZLKP>=75,75,ZZLKP,7,0),COLORRED;
IF(ZZLKP>REF(ZZLKP,1),ZZLKP+5,0),CIRCLEDOT,COLORRED; |