{M1:2 M2:60} MID1:=(3*CLOSE+LOW+OPEN+HIGH)/6; 乖離率:(SMA(MID1,M1,1)-MA(SMA(MID1,2,1),M2))/MA(SMA(MID1,2,1),M2)*100,COLOR999999; MID:=乖離率; MA1:(10*MID+9*REF(MID,1)+8*REF(MID,2)+7*REF(MID,3)+6*REF(MID,4)+5*REF(MID,5) +4*REF(MID,6)+3*REF(MID,7)+2*REF(MID,8)+1*REF(MID,9))/55,COLOR0000DD; MA2:EMA(MA1,8),COLORWHITE; {MA1取普通平均值} IF(MA1<=REF(MA1,1) ,MA1,DRAWNULL),COLOR22FF22; IF(MA2<=REF(MA2,1),MA2,DRAWNULL),COLOR33FF33; |
|