RSV1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
RSV2:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,37)-LLV(LOW,37))*100;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:=SMA(RSV3,5,1),COLORYELLOW;
黄金坑:=(短线< 19 AND 中线< 11 AND 长线< 7);
VAR1:=HHV(HIGH,21);
VAR2:=LLV(LOW,21);
阻力线:=EMA((CLOSE-VAR2)/(VAR1-VAR2),21)*100,COLORF0F000,LINETHICK2;
操作线:=EMA((CLOSE-VAR2)/(VAR1-VAR2),5)*100,COLORMAGENTA,LINETHICK2;
预测底:=(阻力线+操作线)*1.18>(短线+中线+长线);
B:crOSS(操作线,阻力线) AND (黄金坑 OR 预测底);