公式源码:}
X_1:=1160418;
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6);
MA7:MA(CLOSE,M7);
MA8:MA(CLOSE,M8);
MA9:MA(CLOSE,M9);
MA10:MA(CLOSE,M10);
DRAWICON(DATE<X_1 AND MA(CLOSE,20)<REF(MA(CLOSE,20),BARSLASTCOUNT(MA(CLOSE,20)<=REF(MA(CLOSE,20),2))*2) AND (LOW<MA(CLOSE,20) OR CLOSE<OPEN),OPEN,2);
DRAWICON(DATE<X_1 AND BARSLASTCOUNT(COUNT(BARSLASTCOUNT(HIGH>MA(CLOSE,20) OR CLOSE>OPEN AND MA(CLOSE,20)>REF(MA(CLOSE,20),BARSLASTCOUNT(MA(CLOSE,20)>=REF(MA(CLOSE,20),2))*2))=1,BARSLASTCOUNT(LLV(LOW,20)>=REF(LLV(LOW,20),1)))=1)=1,OPEN,1);
DRAWTEXT_FIX(DATE>=X_1,0.9,0.09,1,61),COLORRED,LINETHICK2;
DRAWNUMBER_FIX(DATE>=X_1,0.9,0.13,1,X_1+19000000),COLOR990099;