N1:=10;N2:=9;
Var1:=IF(YEAR>=2001 AND MONTH>10,0,1);
Var2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100*Var1;
Var3:=vol/CAPITAL*100*Var1;
Var4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100*Var1;
Var5:=VOL/CAPITAL*100*Var1;
DRAWTEXTAbs(5,5,' '),linethick1,COLOR00EEff;
峰值: MA(MAX(SUM(Var2,15)/Var3,0),N1)*Var1, LINESTICK;
金叉底部线: 0.5*Var1;
金叉地平线: 5*Var1, crOSSDOT;
异动峰值: MA(MAX(SUM(Var2,2)/SUM(AMOUNT,1.9)
*100000000,0),N1)/1.5*Var1, LINESTICK;
金叉收盘价: CLOSE*Var1;