DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
{多头买入(买开)} ENTERLONG: CROSS(DIF,DEA) AND EXIST(CROSS(RSI9,20),20); 主图专家指示
LC:=REF(CLOSE,1);
RSI9:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
{多头买入(买开)} ENTERLONG: CROSS(DIF,DEA) AND EXIST(CROSS(RSI9,20),20);