{參數(shù)設(shè)置} SHORT(2,500,13); LONG(2,500,34); MID(2,500,8); -------------------- {公式正文} DIFF:EMA(C,SHORT)-EMA(C,LONG); DEA:EMA(DIFF,MID); MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK2; MA5:=MACD; BV:=SUM(MA5,0); BA:=IF(MAX(BV,REF(BV,2))<REF(BV,1) OR MIN(BV,REF(BV,2))>REF(BV,1),1,0); BC:=BARSLAST(BA)+1; SMA5:=(BV-REF(BV,BC))/8,COLORBLUE,LINETHICK2; 面積:SMA5;
|
|
來自: han晨星 > 《指標(biāo)》