VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*25;买1:=IF((VAR4<10),80,100);RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;买2:=IF(J<0,10,0);BDDD:=LLV(J,2)=LLV(J,8);买3:=IF(OSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0);买:=(买3 AND 买1=100 AND 买2=0 );DRAWTEXT(买,LOW,'买'),COLORWHITE;