源码:
VAR1:=1;
VAR2:=1/WINNER(CLOSE);
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,21,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,21,1);
VARA:=3*VAR8-2*SMA(VAR8,13,1);
VARB:=3*VAR9-2*SMA(VAR9,13,1);
VARC:=100-VARB;
平衡:50.5,COLOR998899,POINTDOT;
散户: (100-VARA)*VAR1,COLOR999900,LINETHICK2;
主力: MA(WINNER(CLOSE*0.95)*100,3)*VAR1,COLORYELLOW,LINETHICK2;
DRAWTEXT(CROSS(主力,散户) AND 主力>50,主力,'G');
→:100,LINETHICK2,COLOR008833;