DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9); MACD := 2*(DIFF-DEA), COLORSTICK; BV:=SUM(MACD,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; SMACD:BV-REF(BV,BC),COLORSTICK; |
|
來(lái)自: 浪三江 > 《纏中說(shuō)禪》