通达信妖股回调超金钻副图 妖股涨停回调 在变盘时介入 指标源码

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;
TDXCC_KK:=SMA(TDXCC_VV,TDXAB_S3,TDXAB_S1);
TDXCC_DD:=SMA(TDXCC_KK,TDXAB_S3,TDXAB_S1);
TDXCC_JJ:=TDXAB_S3*TDXCC_KK-TDXAB_S2*TDXCC_DD;
TDXDD_E1:=EMA(TDXAB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Y,5) AND 最后涨停距今数>=6 AND 最后涨停距今数<=9;
DRAWTEXT(妖股回头2>0,0.3,'★ 妖股回头1'),LINETHICK1,COLORYELLOW;


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

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

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

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