DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
DIFL:=EMA(VOL,12)-EMA(VOL,26);
DEAL:=EMA(DIFL,9);
MACL:=(DIFL-DEAL)*2,COLORSTICK;
基點(diǎn):=CONST(LLV(MACL,250));
STICKLINE(MACL>=0,0,MACL,2,-1),COLORLIRED;
STICKLINE(MACL<=0,0,MACL,2,-1),COLORLIBLUE;
分:=CONST(LLV(MACD,250));
C比:=(MACD-分)/百;
價(jià)柱:C比*基+基點(diǎn),COLORSTICK;
DIF1:DIFL,COLORGREEN;
DEA1:DEAL,COLORMAGENTA;
分1:=CONST(LLV(DIF,250));
C比1:=(DIF-分1)/百1;
價(jià)F:C比1*基+基點(diǎn),COLORWHITE,LINETHICK1;
分2:=CONST(LLV(DEA,250));
C比2:=(DEA-分2)/百2;
價(jià)A:C比2*基+基點(diǎn),COLORYELLOW,LINETHICK1;
{攻擊波}
HS:=V/CAPITAL*100;
十日換手:=SUM(HS,10)>15;
攻擊波:=(DYNAINFO(7)-L>0.3 AND DYNAINFO(17)>3
STICKLINE(攻擊波,0,MACL/2,1,0),COLORMAGENTA;
強(qiáng)勢(shì)出關(guān):=COUNT("KDJ.J"<0,4)>=3 AND
100*(WINNER(C)-WINNER(O))>15;
STICKLINE(強(qiáng)勢(shì)出關(guān),0,MACL/0.75,1,0),COLORYELLOW;
聯(lián)系客服