N:=27;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,3,1);D:=SMA(K,9,1);J:=3*K-2*D;STICKLINE(J>D,0,15,2,0),colorred;STICKLINE(J<D,0,15,2,0),colorgreen;BSCG:=HHV(MA(C,17),2);FS:=IF(MA(C,17)<BSCG,(MA(C,17)-(BSCG-MA(C,17))),BSCG);AA:=C>MA(C,5) OR (C>MA(C,5) AND C>FS) OR C>BSCG;BB:=C<MA(C,5);STICKLINE(BB,18,32,2,0),colorgreen;STICKLINE(AA,18,32,2,0),colorred;LC := REF(CLOSE,1);RSI8:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100,coloryellow;RSI16:=SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100;RSI32:=SMA(MAX(CLOSE-LC,0),32,1)/SMA(ABS(CLOSE-LC),32,1)*100;JC:= RSI8>RSI16 AND RSI8>RSI32 AND RSI16>RSI32 ;SC:= RSI8<RSI16 AND RSI8<RSI32 AND RSI16<RSI32 ;空:=IF(SC,5,0),COLORFFCC66 ;多:=IF(JC,5,0),colorwhite;STICKLINE(JC,-4,-18,2,0),colorred;STICKLINE(SC,-4,-18,2,0),COLORFFCC66;STICKLINE(多=0 AND 空=0,-4,-18,2,0),colorred;Q2:=HHV(VOL,10);十量:=VOL>=Q2 ;STICKLINE(十量,40,-18,0,0),colorwhite;LX:=O>C;HX:=O<C;阳包阴:REF(LX,1)=1 AND REF(H,1)<H AND REF(L,1)>L AND HX,coloryellow;STICKLINE(阳包阴,30,-18,1,0),colorblue;