源码
JJ :=(C*3+H+L+O)/6;
SK := EMA(JJ,13) - EMA(JJ,21);
SD := EMA(SK,3);
SP := EMA(SK,10);
A1:=EMA(C,7)-EMA(C,21);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
B1,COLORSTICK;
x1:=V/SUM(V,13);
x2:=DMA(C,x1);
x3:=(C-x2)/x2*40;
l2:=MA(AMOUNT/(100*V),13);
CYS13:= (C-l2)/l2*100;
做多:IF(A1>=B1,A1,B1),colorred;
做空:IF(B1-A1,B1,A1),colorgreen;
涨:IF(SD>=SP,SD,SP),colormagenta;
降:IF(SP-SD,SP,SD),ColorFF5B00;
强庄:STICKLINE(CYS13>5,0,-做空,2,0 ),Color006AC8;
主力强度:STICKLINE(x3>0 AND 做多>0,做多+0.1,做多,1,0),Color009FFC;