通达信永恒妖股回头副图/选股预警源码

[复制链接]
查看313 | 回复0 | 2021-8-28 01:11:54 | 显示全部楼层 |阅读模式

以下是通达信永恒妖股回头副图/选股预警源码(无源码的请下载附件导入)

永恒妖股回头副图/选股预警 源码 通达信 贴图

{妖股好回头12}

TDXAB_L1:=L;
 TDXAB_H1:=H;
 TDXAB_C1:=C;
 TDXAB_O1:=O;
 TDXAB_V1:=V;
 TDXAB_S0:=0;
 TDXAB_S1:=1;
 TDXAB_S2:=2;
 TDXAB_S3:=3;
 TDXAB_S4:=4;
 TDXAB_S5:=5;
 TDXAB_S6:=6;
 TDXAB_S7:=7;
 TDXAB_S8:=8;
 TDXAB_S9:=9;
 TDXAB_S10:=10;
 TDXAB_S12:=12;
 TDXAB_S20:=20;
 TDXAB_S26:=26;
 TDXAB_S27:=27;
 TDXAB_S30:=30;
 TDXAB_S60:=60;
 TDXAB_S35:=35;
 TDXAB_S100:=100;
 TDXAB_S135:=135;
 TDXAB_S109:=1.09;
 TDXAB_S1095:=1.095;
 TDXBB_V5:=MA(TDXAB_V1,TDXAB_S5);
 TDXBB_V10:=MA(TDXAB_V1,TDXAB_S10);
 TDXBB_V35:=MA(TDXAB_V1,TDXAB_S35);
 TDXBB_V135:=MA(TDXAB_V1,TDXAB_S135);
 TDXBB_M3:=MA(TDXAB_C1,TDXAB_S3);
 TDXBB_M5:=MA(TDXAB_C1,TDXAB_S5);
 TDXBB_M10:=MA(TDXAB_C1,TDXAB_S10);
 TDXBB_M20:=MA(TDXAB_C1,TDXAB_S20);
 TDXBB_M30:=MA(TDXAB_C1,TDXAB_S30);
 TDXBB_M60:=MA(TDXAB_C1,TDXAB_S60);
 TDXA_01:=LLV(TDXAB_L1,TDXAB_S9);
 TDXA_02:=HHV(TDXAB_H1,TDXAB_S9);
 TDXA_03:=TDXAB_C1-TDXA_01;
 TDXA_04:=TDXA_02-TDXA_01;
 TDXA_05:=TDXA_03/TDXA_04;
 TDXCC_VV:=TDXA_05*TDXAB_S100;
 T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DXAB_S1)>TDXAB_S0;
 B3:=TDXCC_JJ>REF(TDXCC_JJ,TDXAB_S1);
 B4:=TDXCC_JJ<TDXCC_KK;
 B5:=TDXAB_C1>TDXAB_O1;
 B6:=COUNT(ZZ3,TDXAB_S30)>TDXAB_S0;
 B7:=TDXBB_M60>TDXAB_S0;
 YY:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7;
妖股回头2:FILTER(YY,5),LINETHICK2,COLORYELLOW;
 DRAWTEXT(妖股回头2>0,0.3,'★ 妖股回头2'),LINETHICK1,COLORYELLOW;


2033244145.png

2033244145.png

2033333457.png

2033333457.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则