MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA60:=MA(C,60);
MA250:=MA(C,250);
MVH:=MA(V,3);
MV5:=MA(V,5);
MV10:=MA(V,10);
MV20:=MA(V,20);
MV60:=MA(V,60);
MV250:=MA(V,250);
DIF:=EMA(CLOSE,6)-EMA(CLOSE,20);
DEA:=EMA(DIF,6);
方向:=IF(C>O,C,L);
方向价:=IF(C>MA60 AND 方向>MA20 ,方向-MA20,0);
五日最高:=V>=HHV(V,5);
上多:=MV5>REF(MV5,1) AND MA5>REF(MA5,1) AND MA10>REF(MA10,1) AND MV10>REF(MV10,1) AND C>MA60 AND DIF>0 AND DEA>0 AND DIF>REF(DIF,1)
AND C>MA60 AND 方向价>REF(方向价,1);
启动:=上多 AND 五日最高;
启动XG:启动 AND COUNT(启动,5)=1;