源码
VAR2:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4),coloryellow;
庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2),colorred;
大单净差BBD:=BIGBUYCOUNT1+WAITBUYCOUNT1-BIGSELLCOUNT1-WAITSELLCOUNT1;
BBDS:=大单净差BBD;
DIFF:=EMA(大单净差BBD,6) - EMA(大单净差BBD,13),coloryellow;
DIFF2:=EMA(大单净差BBD,9) - EMA(大单净差BBD,20),coloryellow;
Ms5:=SMA(MA(C,2),5,3);
Ms13:=SMA(C,13,2);
Ms21:=SMA(C,21,1);
RSV=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
a=SMA(RSV,3,1);
b=SMA(a,3,1);
DIFF:=EMA(BBDS,6) - EMA(BBDS,13);
DIFF2:=EMA(BBDS,9) - EMA(BBDS,20);
m1=0;m2=0;m3=0;m4=0;m5=0;m6=0;
IF(Ms5>REF(Ms5,1))
m1=10;
ELSE IF(Ms5
m1=-10; IF(Ms5 m2=5; ELSE IF(Ms5>C) m2=-5; IF(Ms13>REF(Ms13,1)) m3=5; ELSE IF(Ms13
m3=-5; IF(Ms21>REF(Ms21,1)) m4=10;