1、S出现为到顶部、B字是见底信号。Z:=MA(C,120);VAR1:=(MA(H,5)-Z)/Z;VAR2:=MA(CLOSE-LLV(LOW,10)/(HHV(HIGH,10)-LLV(LOW,10)*100,3);D1:DRAWTEXT(CROSS(95,VAR2) AND VAR10.3,1.01*HIGH ,S),COLORRED;D2:DRAWTEXT( CROSS(93,VAR2) AND HHV(H,30)/LLV(L,30)1.1 AND REF(Z,1)/Z0.997 ,1.01*HIGH ,S),COLORGREEN;D3:DRAWTEXT(CLOSEZ AND Z90 A
2、ND VAR2REF(VAR2,2) ,1.01*HIGH,S),COLORBLUE;VAR3:=(MA(C,5)-Z)/Z;VAR4:=MA(CLOSE-LLV(LOW,20)/(HHV(HIGH,20)-LLV(LOW,20)*100,3);D4:DRAWTEXT(CLOSEZ AND REF(VAR4,1)REF(VAR4,1) AND REF(VAR4,1)REF(VAR4,2) ,0.99*LOW ,B),COLORRED;D5:DRAWTEXT(REF(VAR4,1)REF(VAR4,1) AND REF(VAR4,1)REF(VAR4,2) AND VAR3-0.1,0.99*LOW ,B),COLORGREEN;D6:DRAWTEXT(CROSS(VAR4,5) AND VAR3-0.3,0.99*LOW ,B),COLORBLUE;