
A1:=DATE<=20291231;
主力攻击线:((MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,9))/3)*A1,COLORWHITE;
X_1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,9))/3;
主力控盘线:((MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,15)+MA(CLOSE,20)+MA(CLOSE,25)+MA(CLOSE,30))/6)*A1,COLORYELLOW,LINETHICK2;
X_2:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,15)+MA(CLOSE,20)+MA(CLOSE,25)+MA(CLOSE,30))/6;
IF(X_1>REF(X_1,1) AND X_1>X_2,X_1,DRAWNULL),COLORRED;
DRAWTEXT_FIX(C>O,0.01,0.81,0,'更多精彩指标公式,
请关注微信公众号:指标公式源码'),COLORYELLOW;
X_3:=CLOSE/REF(CLOSE,1)>=1.098 AND CLOSE=HIGH;
X_4:=COUNT(X_3,2)>=1 AND NOT(COUNT(X_3,3)>=2);
X_5:=FILTER(X_4,13),COLORRED;
X_6:=COUNT(X_3,3)>=2 AND NOT(COUNT(X_3,4)>=3);
X_7:=X_5 AND COUNT(X_5,18)=1,COLORRED;
X_8:=FILTER(X_6,13);
X_9:=X_8 AND COUNT(X_8,18)=1;
X_10:=X_9;
STICKLINE(REF(X_7,0),OPEN,CLOSE,3.3,0),COLORYELLOW;
STICKLINE(REF(X_7,0),OPEN,CLOSE,3.3,0),COLOR0033FF;
STICKLINE(REF(X_7,0),OPEN,CLOSE,3,0),COLOR0066FF;
STICKLINE(REF(X_7,0),OPEN,CLOSE,2.2,0),COLOR0099FF;
STICKLINE(REF(X_7,0),OPEN,CLOSE,1.5,0),COLOR00CCFF;
STICKLINE(REF(X_7,0),OPEN,CLOSE,0.4,0),COLORYELLOW;
DRAWICON(X_7,LOW*1,24);
DRAWICON(X_8,LOW*1,25);
STICKLINE(REF(X_10,0),HIGH,LOW,0,0),COLORFF33FF;
STICKLINE(REF(X_10,0),OPEN,CLOSE,3.2,0),COLORFF33FF;
STICKLINE(REF(X_10,0),OPEN,CLOSE,2.7,0),COLORFF55FF;
STICKLINE(REF(X_10,0),OPEN,CLOSE,2.1,0),COLORFF77FF;
STICKLINE(REF(X_10,0),OPEN,CLOSE,1.5,0),COLORFF99FF;
STICKLINE(REF(X_10,0),OPEN,CLOSE,0.9,0),COLORFFBBFF;
STICKLINE(REF(X_10,0),OPEN,CLOSE,0.3,0),COLORFFDDFF;