程序化指标公式
问答中心

通达信七指共振指标公式

通达信指标 2023-10-06阅读量:1676

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击 安装指南 步骤操作。

STICKLINE(MA(V,5)>MA(V,10),0.6,1.4,4,0)COLORLIMAGENTA;
STICKLINE(MA(V,5)<MA(V,10),0.6,1.4,4,0)COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1,' 筹码'),COLORFFFFFF;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
STICKLINE(CCI>0,1.6,2.4,4,0)COLORLIMAGENTA;
STICKLINE(CCI<0,1.6,2.4,4,0)COLORGREEN;
DRAWTEXT(ISLASTBAR=1,2,' CCI'),COLORFFFFFF;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
STICKLINE(DIFF>DEA,2.6,3.4,4,0)COLORLIMAGENTA;
STICKLINE(DIFF<DEA,2.6,3.4,4,0)COLORGREEN;
DRAWTEXT(ISLASTBAR=1,3,' MACD'),COLORFFFFFF;
CC:=(C+O+H+L)/4;
STICKLINE(CC>SAR(4,2,20),3.6,4.4,4,0)COLORLIMAGENTA;
STICKLINE(CC<SAR(4,2,20),3.6,4.4,4,0)COLORGREEN;
DRAWTEXT(ISLASTBAR=1,4,' SAR'),COLORFFFFFF;
LC:=REF(CLOSE,1);{}
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
STICKLINE(RSI1>RSI2,4.6,5.4,4,0)COLORLIMAGENTA;
STICKLINE(RSI1<RSI2,4.6,5.4,4,0)COLORGREEN;
DRAWTEXT(ISLASTBAR=1,5,' RSI'),COLORFFFFFF;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
STICKLINE(K>D,5.6,6.4,4,0)COLORLIMAGENTA;
STICKLINE(K<D,5.6,6.4,4,0)COLORGREEN;
DRAWTEXT(ISLASTBAR=1,6,' KDJ'),COLORFFFFFF;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
DD:=MA(J,3);
KK:=MA(J,1);
STICKLINE(KK>DD,6.6,7.4,4,0)COLORLIMAGENTA;
STICKLINE(KK<DD,6.6,7.4,4,0)COLORGREEN;
DRAWTEXT(ISLASTBAR=1,7,' CJDX'),COLORFFFFFF;
T:=MA(V,5)>MA(V,10) AND CCI>0 AND DIFF>DEA AND CC>SAR(4,2,20) AND RSI1>RSI2 AND K>D AND KK>DD;
七指共振:IF(T AND REF(T,1)=0,7.4,DRAWNULL)STICK,COLORRED,LINETHICK6;
DRAWTEXT(T AND REF(T,1)=0,0.3,' 七指共振')COLORRED;
DRAWICON(T AND REF(T,1)=0,0,1);



版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭