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;DIFF:EMA(J,8) - EMA(J,16),COLOR00FF00,LAYER0;;DEA:EMA(DIFF,5),COLORFF9900,LAYER0;;:2*(DIFF-DEA), COLORSTICK;;0,COLORff9900,DOTLINE;FILLRGN(DIFF,DEA,DIFF>DEA,RGB(80,0,80),DIFF
10 AND AAX1[0,2),LAYER0,COLOR00ffFF;drawtext(减仓,10*1.6,'◆'),ALIGN2,co
]