A:=COUNT("MACD.MACD">0,14)=14;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
零上:=A AND DIFF>0 AND DEA>0 AND MACD>0;
筹码:=LOW*0.95<COST(10) AND CLOSE*1.01>COST(50) AND H*1.15>COST(80);
MA6:=MA(C,6);
MA18:=MA(C,18);
买进价:=((C-REF(MA6,1))/6+MA6)*1.004;
买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
上轨:=(1+6/100)*MA(CLOSE,25);
交叉:=CROSS(C,上轨);
交筹:=CROSS(MA(C,3),COST(50));
白金:零上 AND 筹码 AND 买进条件 AND V>1.7*REF(V,1);
{前:=REF(C,1)<C AND COUNT(白金,3)>=1;}
新高:=HHV(CLOSE,30)=CLOSE;
买:筹码 AND V>1.7*REF(V,1) AND (交叉 OR 交筹) AND 新高;