通达信跑赢大盘源码副图

CS1:=(CLOSE-LLV(LOW,243))/(HHV(HIGH,243)-LLV(LOW,243))*100;
 DDFX1:=(SMA(CS1,3,1)-50)*2;
 DCS1:=(INDEXC-LLV(INDEXL,243))/(HHV(INDEXH,243)-LLV(INDEXL,243))*100;
 禅1:=(SMA(DCS1,3,1)-50)*2;
 差值1:=DDFX1-禅1;
 CS2:=(CLOSE-LLV(LOW,144))/(HHV(HIGH,144)-LLV(LOW,144))*100;
 DDFX2:=(SMA(CS2,3,1)-50)*2;
 DCS2:=(INDEXC-LLV(INDEXL,144))/(HHV(INDEXH,144)-LLV(INDEXL,144))*100;
 禅2:=(SMA(DCS2,3,1)-50)*2;
 差值2:=DDFX2-禅2;

 CS3:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
 DDFX3:=(SMA(CS3,3,1)-50)*2;
 DCS3:=(INDEXC-LLV(INDEXL,89))/(HHV(INDEXH,89)-LLV(INDEXL,89))*100;
 禅3:=(SMA(DCS3,3,1)-50)*2;
 差值3:=DDFX3-禅3;

 CS4:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
 DDFX4:=(SMA(CS4,3,1)-50)*2;
 DCS4:=(INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100;
 禅4:=(SMA(DCS4,3,1)-50)*2;
 差值4:=DDFX4-禅4;

 CS5:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
 DDFX5:=(SMA(CS5,3,1)-50)*2;
 DCS5:=(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100;
 禅5:=(SMA(DCS5,3,1)-50)*2;
 差值5:=DDFX5-禅5;

 CS6:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
 DDFX6:=(SMA(CS6,3,1)-50)*2;
 DCS6:=(INDEXC-LLV(INDEXL,21))/(HHV(INDEXH,21)-LLV(INDEXL,21))*100;
 禅6:=(SMA(DCS6,3,1)-50)*2;
 差值6:=DDFX6-禅6;
 CS7:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
 DDFX7:=(SMA(CS7,3,1)-50)*2;
 DCS7:=(INDEXC-LLV(INDEXL,13))/(HHV(INDEXH,13)-LLV(INDEXL,13))*100;
 禅7:=(SMA(DCS7,3,1)-50)*2;
 差值7:=DDFX7-禅7;

 CS8:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
 DDFX8:=(SMA(CS8,3,1)-50)*2;
 DCS8:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*100;
 禅8:=(SMA(DCS8,3,1)-50)*2;
 差值8:=DDFX8-禅8;
 DDFX差值:DDFX8-REF(DDFX8,1),NODRAW;
 CS9:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
 DDFX9:=(SMA(CS9,3,1)-50)*2;
 跑赢大盘:(差值1+差值2+差值3+差值4+差值5+差值6+差值7+差值8)/100;
 力度:跑赢大盘-REF(跑赢大盘,1);
 A3:=SMA(跑赢大盘,3,1);
 A5:=SMA(跑赢大盘,5,1);
 A8:=SMA(跑赢大盘,8,1);
 A13:=SMA(跑赢大盘,13,1);
 A21:=SMA(跑赢大盘,21,1);
 A34:=SMA(跑赢大盘,34,1);
 A55:=SMA(跑赢大盘,55,1);
 选股:((CROSS(DDFX8,-0.1) AND DDFX差值>REF(DDFX差值,1)) OR (DDFX8>0 AND DDFX8<70 AND DDFX差值>REF(DDFX差值,1)) OR (DDFX8>-70 AND DDFX8<=0 AND DDFX差值>REF(DDFX差值,1))) AND 跑赢大盘>REF(跑赢大盘,1);




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图