通達(dá)信底部確認(rèn)指標(biāo)公式
A:=LLV(L,34); XD:=SMA(ABS(L-REF(L,1)),34,1); CD:=SMA(MAX(L-REF(L,1),0),34,2); 收盤買:=-(EMA(IF(L<=A,XD/CD,-3),9)); 搶反彈:收盤買<0 AND 收盤買>REF(收盤買,1) AND REF(EVERY(收盤買<REF(收盤買,1),3),1),COLORYELLOW; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; X2:=LLV(J,2)=LLV(J,8); B:CROSS(J,REF(J+0.01,1)) AND X2 AND J<20 AND 收盤買<0 AND 收盤買>REF(收盤買,1),COLORRED; B2:CROSS(J,REF(J+0.01,1)) AND X2 AND J<20,COLORMAGENTA; DRAWTEXT(B2,0.35,★關(guān)注★),COLOR109090; B3:=搶反彈 AND REF(B2,1); DRAWBAND(B2,RGB(255,100,30),B3,RGB(255,20,20)); DRAWTEXT(B3,0.45,★不買更后悔★); B4:=搶反彈 AND REF(B2,1)OR REF(B2,2); DRAWTEXT(B3,0.35,★反彈確認(rèn)★),COLORYELLOW; STICKLINE(B3,0,0.43,2,0),COLORYELLOW; STICKLINE(B,0,0.43,2,0),COLORRED; DRAWTEXT(B,0.35,★不買后悔★),COLORRED; B8:=REF((CROSS(J,REF(J+0.01,1)) AND X2 AND J<20),2) AND 搶反彈; DRAWTEXT(B8,0.8,★階段底部確認(rèn)★),COLORYELLOW; DRAWBAND(B2,RGB(255,100,50),B8,RGB(255,30,30)); STICKLINE(B2,0,0.36,2,0),COLOR109090; STICKLINE(B2 AND REF(PSY<=10,1),0,0.68,2,0),COLOR801090; DRAWTEXT(B2 AND REF(PSY<=10,1),0.68,★買點★),COLOR801090; STICKLINE(B2 AND H>O AND C=H AND L<O AND L>REF(L,1) AND C>O AND REF((C<O),1),0,0.18,2,0)COLOR801090; DRAWTEXT(B2 AND H>O AND C=H AND L<O AND L>REF(L,1) AND C>O AND REF((C<O),1),0.18,階段底部低吸★),COLOR801090; STICKLINE(B2 AND REF(RSI<=20,1),0,0.10,2,0),COLOR900000;
|