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);
BBD:=BIGBUYCOUNT1+WAITBUYCOUNT1-BIGSELLCOUNT1-WAITSELLCOUNT1;
DIFF:=EMA(BBD,6) - EMA(BBD,13);
DIFF2:=EMA(BBD,9) - EMA(BBD,20);
m1=0;m2=0;m3=0;m4=0;m5=0;m6=0;
IF(Ms5 REF(Ms5,1))
m1=10;
ELSE IF(Ms5 REF(Ms5,1))
m1=-10;
IF(Ms5 C)
m2=5;
ELSE IF(Ms5 C)
m2=-5;
IF(Ms13 REF(Ms13,1))
m3=5;
ELSE IF(Ms13 REF(Ms13,1))
m3=-5;
IF(Ms21 REF(Ms21,1))
m4=10;
ELSE IF(Ms21 REF(Ms21,1))
m4=-10;
IF(b 90)
m5=-10;
ELSE IF(b 90 AND b 10)
m5=0;
ELSE IF(b 10)
m5=10;
IF(diff 0 AND diff2 0)
m6=10;
ELSE IF(diff 0 OR diff2 0)
m6=0;
ELSE IF(diff 0 AND diff2 0)
m6=-10;
Z:0;
大盘仓位:(m1+m2+m3+m4+m5+m6+50);
STICKLINE(大盘仓位 50,0,大盘仓位,9,1),colorF000FF;
STICKLINE(大盘仓位 =50,0,大盘仓位,9,0),colorgreen;