MACD1:EMA((DIF-DEA)*2,3),COLORCYAN; DRAWCOLORLINE(MACD>MACD1,MACD,COLORRED,COLORCYAN); DRAWCOLORLINE(MACD>MACD1,MACD1,COLORRED,COLORCYAN); M:=INTPART(3*20/5); A12:=REF(MACD,M)=HHV(MACD,2*M+1); B12:=FILTER(A12,12); C12:=BACKSET(B12,M+1); D12:=FILTER(C12,12); {高點} R112:=BACKSET(ISLASTBAR,BARSLAST(D12)+1); S112:=R112>REF(R112,1); M1:=INTPART(3*10/5); M2:=REF(MACD,M1)=HHV(MACD,2*M1+1); M3:=FILTER(M2,6); M4:=BACKSET(M3,M1+1); M5:=FILTER(M4,6); M6:=BACKSET(ISLASTBAR,BARSLAST(M5)+1); M7:=M6>REF(M6,1); 趨勢3:TRENDLINES(M5 ,MACD,M7,MACD),POINTDOT; M10:=INTPART(3*15/5); |
|
來自: 育龍指標 > 《公眾號育龍指標公式網(wǎng)》