LC := REF(CLOSE,1);
rsi:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(Abs(CLOSE-LC),14,1)*100;
STOCKRSI:=100*(RSI-LLV(RSI,5))/(HHV(RSI,5)-LLV(RSI,5));
AA:STOCKRSI*2-100,COLORFF00FF,LINETHICK2;
{AA:"STOCKRSI"(14,5)*2-100,COLORFF00FF,LINETHICK2; }
超卖:IF(FILTER(crOSS(-80,AA),5),-80,0),COLORFF6600;
启动:IF(FILTER(CROSS(AA,-80),5),30,0),COLORFFFFFF;
超买:IF(FILTER(CROSS(AA,80),5),80,0),COLOR00FFFF;
低吸:IF(FILTER(CROSS(80,AA),5),-30,0),COLOR00FF00;
小心:IF(COUNT(AA>80,5)>=4 AND AA>80,8,0),COLOR0000FF,POINTDOT,LINETHICK0;
Pao1:=COUNT(CROSS(80,AA),5)>=2 AND CROSS(80,AA);
PAO2:=COUNT(CROSS(0,AA),5)>=2 AND CROSS(0,AA);
清仓:IF(PAO1 OR PAO2,1,0),COLORFF9999,POINTDOT,LINETHICK0;
{以下设置副图显示方式}
STICKLINE(C,80,80,4,1),colorFFFFFF;
STICKLINE(C,-80,-80,4,1),colorFFFFFF;
DRAWTEXT(超买,0, ‘●’),COLOR00FFFF;
DRAWTEXT(超买,0, ‘¤’),COLOR00FFFF;
DRAWTEXT(小心,80, ‘$’),COLOR0000FF;
DRAWTEXT(清仓,80, ‘↓’),COLORFF9999;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。