DX:=(C+H+L+O)/4; MTM:=C-REF(C,1); ZLGJ:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); FB:=MA(DX,17)+ABS(MA(DX,17)-REF(MA(DX,17),1)); FS:=MA(DX,17)+MA(DX,17)-REF(MA(DX,17),1); 買1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0); 賣1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0); STICKLINE(FILTER(買1=1,5),C,O,6,0),COLORFF00FF; STICKLINE(FILTER(賣1=1,1),C,O,6,0),COLOR00FF00; RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; A:=(3*C+L+O+H)/6; BB:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6) +13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12) +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210; MA101:=MA(CLOSE,10); 周MA101:MA(MA101,5),COLORRED,LINETHICK2; 上翹:IF(周MA101>REF(周MA101,1),周MA101,DRAWNULL),COLORRED,LINETHICK4; 下拐:IF(周MA101<REF(周MA101,1),周MA101,DRAWNULL),COLORGRAY,LINETHICK4; BOLL:MA(CLOSE,20); UPPER:BOLL+2*STD(CLOSE,20); LOWER:BOLL-2*STD(CLOSE,20); |
|