重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
平衡:EMA(((SLOPE(C,13) * 22) + C),50),COLORYELLOW;
黄升:IF(重心>=平衡,平衡,DRAWNULL),COLORYELLOW;
蓝降:IF(重心< 平衡,平衡,DRAWNULL),COLORBLUE;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8< 0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW*0.985,'准备'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,1,0),COLORYELLOW;
JG:=CROSS(MA(C,5),MA2);
VOLUME:=VOL;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
NL:=CROSS(MAVOL1,MAVOL2);
DIF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIF,9);
NA:=CROSS(DIF,DEA);
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
KD:=CROSS(K,D) AND CROSS(J,D);
定乾坤:DRAWTEXT((JG AND NL AND NA) OR (JG AND NL AND KD) OR (JG AND NA AND KD) OR (NL AND NA AND KD),L*0.93,'定乾坤'),COLORYELLOW;
X1:=LLV(J,2)=LLV(J,8);
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X1 AND J< 20,LOW*0.98,'进'),COLORLIMAGENTA;