N:=18;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:SMA(RSV,5,1),LINETHICK;D:SMA(K,3,1),LINETHICK;J:=(3*K-2*D);RSV56:=(CLOSE-LLV(LOW,56))/(HHV(HIGH,56)-LLV(LOW,56))*100;K1:SMA(RSV56,15,1),LINETHICK;D1:SMA(K1,4,1),LINETHICK;DRAWBAND(K,RGB(188,28,38),D,RGB(28,134,238));DRAWBAND(K1,RGB(108,0,1),D1,RGB(18,158,518));{WWW.BUYHAOGU.COM}买不亏:4*K1-3*D1,COLOR592CDB;买:(OSS(买不亏,8) AND LLV(买不亏,10)<8 REF(K1,1)<12)*100,STICK,LINETHICK2,COLORRED;B1:=BARSLAST(REF(CROSS(K,D),1));短买:REF(C,B1+1)>C AND K>REF