一、通达信CPS强弱指数指标公式
超盘手强弱指数:=C*10000/"999999$CLOSE";
短期强弱: EMA(超盘手强弱指数,10),COLORYELLOW,LINETHICK1;
中期强弱: EMA(超盘手强弱指数,30),COLORRED,LINETHICK2;
长期强弱: EMA(超盘手强弱指数,60),COLORWHITE,LINETHICK3;
二、通达信缠论顶底背驰指标公式
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
禅:(EMA(CS,3)-50)*2,COLORSTICK;
极弱:-80,COLOR0000FF;
风险:80,COLOR00FF00;
VAR4:=(1.1)*CLOSE;
VAR5:=(0.9)*CLOSE;
VAR6:=100*(WINNER(VAR4)-WINNER(VAR5));
一比: EMA(100-VAR6,1),LINETHICK0;
S2:=EMA(一比,9);
二比: MA(S2,9),LINETHICK0;
比差:ABS(二比-一比),LINETHICK0,COLORRED;
STICKLINE(1,(-1)*100,(-1)*100,0,0),COLOR000000;
STICKLINE(1,100,100,0,0),COLOR000000;
DRAWICON(禅>80,100,2);
DRAWICON(禅<((-1)*80),(-1)*80,1);