AA1:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100; AA2:=SMA(AA1,2,1); 主力趨勢(shì):=Sma(AA2,2,1),LINETHICK3,COLORFFCC66; DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); macd:=2*(DIF-DEA); MacD多頭B:=MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<=REF(MACD,2); 均線多頭B:=C>=REF(C,1) AND REF(C ,1)<=REF(C,2) AND REF(C,2)<=REF(C,3); 趨勢(shì)多頭B:=主力趨勢(shì)<11 AND (主力趨勢(shì)>=REF(主力趨勢(shì),1)); 多頭買(mǎi)點(diǎn):=趨勢(shì)多頭B AND MACD多頭B AND 均線多頭B; B:多頭買(mǎi)點(diǎn);
|