最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信跑赢大盘源码副图

    正文概述    2024-04-13 20:29:11  

    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);


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信跑赢大盘源码副图 加入收藏