RSV1N:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2N:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
短线:SMA(SMA(RSV1N,3,1),3,1)+3*STD(CLOSE,21)NODRAW;
中线:SMA(RSV2N,5,1)+2*STD(CLOSE,37),NODRAW;
RSV3N:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:SMA(RSV3N,5,1),NODRAW;
看底:STICKLINE(中线 15,中线,15,6,0),COLORFF00FF;
黄金坑:STICKLINE(短线 20 AND 中线 20 AND 长线 20,MAX(长线,MAX(短线,中线)),20,3,0),COLOR00CCFF;
看顶:STICKLINE(中线 80,80,中线,3,0),COLORFFF000;
DRAWICON(CROSS(长线,15),中线,1);
DRAWTEXT(LONGCROSS(中线,20,15),20,'追涨');
公式模块:
RSV2N:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
中线:=SMA(RSV2N,5,1)+2*STD(CLOSE,37);
XG:LONGCROSS(中线,20,15);