N1:=5;
N2:=62;
LA:=(C+O)/2;
LB:=(LA+L)/2;
LC:=(LA+H)/2;
LD:=REF((C+O+H+L)/4,1);
LE:=(H+L)/2;
RSI1:=SMA(MAX(LA-LD,0),N1,2)/SMA(ABS(LA-LD),N1,2)*100;
RSI3:=SMA(MAX(L-LD,0),N2,1)/SMA(ABS(L-LD),N2,1)*100;
RSI4:=SMA(MAX(LB-LD,0),N2,1)/SMA(ABS(LB-LD),N2,1)*100;
V3:=SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),2,1)*100;
V5:=SMA(V3,2,1);
LCC:=REF(CLOSE,1);
RSI111:=SMA(MAX(CLOSE-LCC,0),N1,2)/SMA(ABS(CLOSE-LCC),N1,2)*100,COLORBLACK;
抄底:IF(V3>V5 AND RSI111>REF(RSI111,1) AND V3>REF(V3,1)
AND CROSS(RSI111,V3) AND RSI4>V3 AND V3<28.888 AND V3>3.888 AND V5>REF(V5,1)
,100,0);