N:=3;
X_1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
PH:MA(X_1,3),COLORMAGENTA,LINETHICK2;
X_2:=REF(LOW,5)<REF(PH,5) OR REF(LOW,4)<REF(PH,4) OR REF(LOW,3)<REF(PH,3) OR REF(LOW,2)<REF(PH,2) OR REF(LOW,1)<REF(PH,1);
X_3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_4:=X_3>9.85 AND NOT(CLOSE=OPEN);
X_5:=SUM(X_4,N)<2 AND X_4 AND CLOSE>PH AND X_2;
X_6:=REF(CLOSE,BARSLAST(X_5));
{公式平台,公式源码www.Gspt.com}
STICKLINE(CLOSE,X_6,X_6,4,0),COLORYELLOW;
X_7:=X_4 AND LOW<PH*1.05;
DRAWICON(X_5 AND X_7,LOW*0.98,1);
DRAWICON(X_5 AND X_7,LOW*0.93,23);
X_8:=LOW>LLV(LOW,10) AND X_4 AND HIGH<PH;
DRAWICON(X_8 AND X_7,LOW*0.9,41);
STICKLINE(X_3>9.85,OPEN,CLOSE,3.2,0),COLORRED;
STICKLINE(X_7,OPEN,CLOSE,1.5,0),COLORYELLOW;