RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),colorwhite;
中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),coloryellow;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:SMA(RSV3,5,1),colorred;//公式平台,公式源码www.Gspt.com
强势:80,colorred,DOTLINE ;
弱势:20,colorred,DOTLINE ;
强弱分界:50,colorgreen ,DOTLINE;
黄金坑:短线<20 AND 中线<20 AND 长线<20,coloryellow,nodraw;