AT:=IF(DATE>1110208,1,1);
M:=60;
散值:=100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*AT;
走:=EMA(CLOSE,12)-EMA(CLOSE,26)*AT;
辅:=EMA(走,9)*AT;
要求:=COUNT(crOSS(走,辅),BArslAST(辅>=0));
加仓:=(CROSS(走,辅) AND 辅<0 AND COUNT(要求=2,21)=1);
加仓XG:加仓 AND 散值<78;
AT:=IF(DATE>1110208,1,1);
M:=60;
散值:=100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*AT;
走:=EMA(CLOSE,12)-EMA(CLOSE,26)*AT;
辅:=EMA(走,9)*AT;
要求:=COUNT(crOSS(走,辅),BArslAST(辅>=0));
加仓:=(CROSS(走,辅) AND 辅<0 AND COUNT(要求=2,21)=1);
加仓XG:加仓 AND 散值<78;