買點(diǎn)1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; 買點(diǎn)2:=SMA(買點(diǎn)1,3,1); 買點(diǎn)3:=SMA(買點(diǎn)2,3,1); 買點(diǎn)4:=3*買點(diǎn)2-2*買點(diǎn)3; 買點(diǎn)5:=C-REF(C,1); 買點(diǎn)6:=100*EMA(EMA(買點(diǎn)5,6),6)/EMA(EMA(ABS(買點(diǎn)5),6),6); 買點(diǎn):=LLV(買點(diǎn)6,2)=LLV(買點(diǎn)6,7) AND COUNT(買點(diǎn)6<0,2) AND CROSS(買點(diǎn)6,MA(買點(diǎn)6,2)); STICKLINE(買點(diǎn),OPEN,CLOSE,2,0),COLORYELLOW; 好線:=38,COLORFF3311,NODRAW; 平線:=51,COLORFF1155,NODRAW; OK:=REF(CLOSE,1),NODRAW; RSI1:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORWHITE,NODRAW; RSI2:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORWHITE,NODRAW; 魚:SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORMAGENTA,NODRAW; RSI4:=SMA(魚,7,1),LINETHICK1,COLORWHITE,NODRAW; 趨勢(shì)A:=MA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF,NODRAW; 趨勢(shì)B:=MA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD,NODRAW; 趨勢(shì)C:=EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORYELLOW,LINETHICK1,NODRAW; A1:=MA(趨勢(shì)A,7)*1.372,COLORGREEN,LINETHICK1,NODRAW; A2:=A1*1.0887; A3:=(1.5*(趨勢(shì)B+RSI4)-(A2+A1))+12,COLORGREEN,LINETHICK1,DOTLINE; 網(wǎng):IF((CROSS(RSI2,RSI4) OR CROSS(RSI2,A3) AND A3<好線 AND RSI1<平線),48,38),COLORRED,LINETHICK1,DOTLINE,NODRAW; 柱:網(wǎng)=48 AND CROSS(魚,好線) AND REF(MA(C,3),1)<=MA(C,3),COLORRED,NODRAW; {STICKLINE(柱,48,68,1,0)COLORMAGENTA;} STICKLINE(柱,OPEN,CLOSE,2,0),COLORBLUE; 陰:C>O AND MA(C,5)<MA(C,10) AND REF(C<O,1) AND REF(C<O,2) AND REF(C<O,3) AND (REF(C,1)<REF(C,4)*0.88 OR REF(C,1)<REF(O,4)*0.88)COLORGREEN,NODRAW; {STICKLINE(陰,10,19,1,0)COLORGREEN;} STICKLINE(陰,OPEN,CLOSE,2,0),COLORWHITE; N:=10; DIR:=ABS(CLOSE-REF(CLOSE,N)); VIR:=SUM(ABS(CLOSE-REF(CLOSE,1)),N); ER:=DIR/VIR; CS:=ER*(2/3-2/31)+2/31; CQ:=CS*CS; AMA1: DMA(CLOSE,CQ),COLORGREEN,LINETHICK1; AMA2: IF(AMA1>REF(AMA1,1),AMA1,DRAWNULL), COLORRED,LINETHICK1; |
|