{B1:量金叉,關(guān)注;B2:價(jià)金叉,買(mǎi)點(diǎn);向下綠箭頭,賣(mài)點(diǎn)} {short:1,100,12; long:1,100,26; mid:1,100,9;} VDIF:(EMA(V,SHORT)-EMA(V,LONG)); VDEA:EMA(VDIF,MID); VMACD:(VDIF-VDEA)*2,COLORSTICK; DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:=EMA(DIF,MID); MACD:=(DIF-DEA)*2,COLORSTICK; AA1:=CROSS(VDIF,VDEA); AA2:=CROSS(DIF,DEA); AA3:=COUNT(AA1,3)>=1; B1:AA2 AND AA3; DRAWICON(B1,VDIF,5); DRAWTEXT(B1,VDIF*0.7,'B1'); B2:AA1 AND C/REF(C,1)>1.03 AND C>O,COLORYELLOW; DRAWICON(B2,VDIF,1); DRAWTEXT(B2,VDIF*0.7,'B2'); DRAWICON(CROSS(DEA,DIF),VDIF,2); DRAWTEXT(CROSS(DEA,DIF),VDIF*1.3,'S');股票論壇 www.55188.com |
|