涨停:=C/REF(C,1)>1.0970 AND C=H AND C/REF(C,1)<1.11;
T:=BArslAST(REF(CLOSE,1)/REF(CLOSE,2)>1.05);
魔笛量化值:=(COST(90+(100-90)/2)-COST((100-90)/2))/(COST(90+(100-90)/2)+COST((100-90)/2))*100/2;
周期:=BARSLAST(REF(NOT(涨停),1) AND 涨停);
量化起点:周期=0 AND CLOSE>=REF(CLOSE,T+1);