N1:=6;N2:=12;M:=5;
LC:=REF(CLOSE,1);
RS1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
顶:CROSS(82,RS1),NODRAW;
DRAWTEXT(顶,RS1*1.01,’顶’),COLORYELLOW;
RS2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
趋势:MA((RS1+RS2)/2,M),COLOR00FF33;
启:CROSS(RS1,50) AND 趋势>REF(趋势,1),NODRAW;
DRAWTEXT(启,RS1,’★’),COLORRED;
趋率:(趋势-REF(趋势,1))/REF(趋势,1)*100,NODRAW;
B:RS1REF(趋势,1),趋势,DRAWNULL),COLORRED,LINETHICK3;
乖离:RS1-RS2,NODRAW;
超卖:20;超买:80;多空界:50,COLORCYAN,LINETHICK2;
{BS:IF(BETWEEN(ABS(乖离),8,10)};
【股票投资】【通达信】强度布林指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。