共振五星评级指标公式

时尚   2024-09-26 15:54   陕西  

这里发的指标均是通达信电脑版软件指标公式,手机软件有的可能不通用,但大部分通用,具体没测试过复制指标源码,新建粘贴到软件保存即可,不懂的公众号菜单看指标教程或回复关键字:指标帮助  。

指标说明:副图指标,把KDJ. LHJ. MACD CCI RSI SAR等指标做一个共振信号给出评级。



指标源码:
1;
LH:=100-EMA((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,34);
J:=EMA(LH,21);
DRAWTEXT(LH>J,1.6,'★'),COLORRED;
DRAWTEXT(LH<J,1.6,'★'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.6,' LHJ'),COLORYELLOW;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
DRAWTEXT(DIF>DEA,1.5,'★'),COLORRED;
DRAWTEXT(DIF<DEA,1.5,'★'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.5,' MACD'),COLORYELLOW;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DRAWTEXT(K>D,1.4,'★'),COLORRED;
DRAWTEXT(K<D,1.4,'★'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.4,' KDJ'),COLORYELLOW;
TYP:=(HIGH LOW CLOSE)/3;
CCI:=(TYP-MA(TYP,14))*1000/(15*AVEDEV(TYP,14));
DRAWTEXT(CCI>100,1.3,'★'),COLORRED;
DRAWTEXT(CCI<100,1.3,'★'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.3,' CCI'),COLORYELLOW;
DRAWTEXT(C>SAR.SAR,1.2,'★'),COLORRED;
DRAWTEXT(C<SAR.SAR,1.2,'★'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.2,' SAR'),COLORYELLOW;
DRAWTEXT(RSI.RSI1>50,1.1,'★'),COLORRED;
DRAWTEXT(RSI.RSI1<50,1.1,'★'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.1,' RSI'),COLORYELLOW;
X1:=LH>J;
X2:=DIF>DEA;
X3:=K>D;
X4:=CCI>100;
X5:=C>SAR.SAR;
X6:=RSI.RSI1>50;
XJ:X1 AND X2 AND X3 AND X4 AND X5 AND X6,NODRAW;
STICKLINE(1,1.7,1.8,3,1),COLOR666666;
DRAWNUMBER(1,1.77,XJ),COLORLIGRAY;
DRAWNUMBER(XJ=6,1.77,XJ),COLORMAGENTA;
DRAWNUMBER(XJ=5,1.77,XJ),COLORRED;
DRAWTEXT(ISLASTBAR=1,1.75,' 评级'),COLORYELLOW;
XG:X1 AND X2 AND X3 AND X4 AND X5 AND X6,NODRAW;



关注我更多新指标新经验免费分享大家......

关注我更多新指标新经验免费分享大家......

关注我更多新指标新经验免费分享大家......

关注我更多新指标新经验免费分享大家......

关注我更多新指标新经验免费分享大家......

关注我更多新指标新经验免费分享大家......

关注我更多新指标新经验免费分享大家......


我的早盘号,每天9点30之前公布集合竞价选股结果


我的午盘号,中午公布早盘竞价票数据最强个股



股票量化研究所
每天量化分析大盘、个股走势动态; 每天分享炒股指标源码和经验技巧; 每天推送最热点敏感财经资讯内容; 每天交流个人的实盘技术心态心得。
 最新文章