网站首页 > 通达信公式 > 通达信主副图指标 正文
QQ交流群586838595 |
通达信完整策略副图指标 指标介绍
板块选择:=6;
股价上限:=120;
股价下限:=2;
市值上限:=1000;
市值下限:=15;
基准值:=5;
投入金额:=5;
KS:=BARSCOUNT(C)+1;
STBZ:=IF(NAMEINCLUDE(ST),0,1);
GPDM:=STR2CON(CODE);
GPJD:=REF(C,1);
ZGB:=FINANCE(1);
ZSZ:=INTPART(GPJD*ZGB/10000/10000);
SCXZA:=IF(GPDM>=1 AND GPDM<2000,1,IF(GPDM>=2000 AND GPDM<300000,2,
IF(GPDM>=300000 AND GPDM<600000,3,IF(GPDM>=600000 AND GPDM<688000,4,
IF(GPDM>=688000 AND GPDM<690000,5,0)))));
{个股所属市场表示,1-深圳主板,2-深圳中小板,3-深圳创业板,4-上海主板,
5-上海科创板,6-全市场所有股票}
JA1A:=IF(板块选择=6,1,IF(板块选择=SCXZA,1,0));
JA1B:=IF(GPJD<=股价上限 AND GPJD>=股价下限,1,0);
JA1C:=IF(ZSZ<=市值上限 AND ZSZ>=市值下限,1,0);
JA1D:=IF((JA1A+JA1B+JA1C+STBZ)=4,1,0);
JX1:=INTPART(MA(C,基准值)*100)/100;
JX2:=INTPART(MA(C,基准值*2)*100)/100;
JX3:=INTPART(MA(C,基准值*4)*100)/100;
JA2A:=IF(JX1
JA2B:=IF(REF(JA2A,1)=1 AND JA2A=0,1,0);
JA3A:=IF(JX1>JX2 AND JX2>JX3,1,0);
JA3B:=IF(REF(JA3A,1)=0 AND JA3A=1,1,0);
CSH:=IF(COUNT(JA2B=1,KS)>=2 AND COUNT(JA3B=1,KS)>=2,1,0);
JB1A:=IF(CSH=1,{}
IF(COUNT(JX1
JB1B:=IF(CSH=1,IF(JA3A=1 OR JB1A=1,1,0),0);
JB1C:=IF(REF(JB1B,1)=0 AND JB1B=1,1,0);
JB2A:=IF(JX1>JX2,1,0);
JB2B:=IF(COUNT(JX1
JB2C:=IF(REF(JB2B,1)=1 AND JB2B=0,1,0);
JB2D:=IF(JB2C=1,LLV(L,3),0);
JB2E:=IF(COUNT(JB2C=1,KS)>=1,IF(COUNT(C
AND COUNT(JB2B=1,SUMBARS(JB2C,1))=0,1,0),0);
JB2F:=IF(JB2B=1 OR JB2E=1,1,0);
JC1A:=IF(JB1B=1,IF(SUMBARS(JB1C,1)<=基准值 AND SUMBARS(JA2B,1)<=2*基准值
AND COUNT(JA1D=1,SUMBARS(JB1C,1))>=1,1,0),0);
JC1B:=IF(REF(JC1A,1)=1,1,0);
JC1C:=IF(REF(JC1B,1)=0 AND JC1B=1,1,0);
JC2A:=IF(JC1A=1,JX2,0);
JC3A:=IF(JC1B=1,IF(L<=REF(JC2A,1),1,0),0);
JC3B:=IF(JC1B=1,IF(JC3A=1,IF(O
JC3C:=IF(JC1B=1,IF(JC3A=1,IF(COUNT(JC3A=1,SUMBARS(JC1C,1))=1,1,0),0),0);
JC4A:=IF(COUNT(JC3C=1,KS)>=1,IF(COUNT(JB2F=0,SUMBARS(JC3C,1))=0,1,0),0);
JC4B:=IF(JC4A=1 OR (JC4A=0 AND REF(JC4A,1)=1),1,0);
TRE:=投入金额*10000;
JD1A:=IF(CSH=1,IF(REF(JC4B,1)=0 AND JC4B=1 AND JC3C=1,1,0),0);
JD1B:=IF(COUNT(JD1A=1,KS)>=1,IF(JC4B=1,IF(COUNT(JC4B=0,SUMBARS(JD1A,1))=0,1,0),0),0);
JD2A:=IF(JD1A=1,JC3B,0);
JD2B:=IF(JD1A=1,INTPART(TRE/JD2A/100)*100,0);
JD2C:=IF(JD1A=1,JD2A*JD2B,0);
JD2D:=IF(JD1B=1,REF(JD2A,SUMBARS(JD1A,1)-1),0);
JD2E:=IF(JD1B=1,REF(JD2B,SUMBARS(JD1A,1)-1),0);
JD2F:=IF(JD1B=1,REF(JD2C,SUMBARS(JD1A,1)-1),0);
JD2G:=IF(JD1B=1,(C-JD2D)*JD2E,
IF(REF(JD1B,1)=1 AND JD1B=0,(O-REF(JD2D,1))*REF(JD2E,1),0));
JD2H:=IF(JD1B=1,JD2G/JD2F*100,IF(REF(JD1B,1)=1 AND JD1B=0,JD2G/REF(JD2F,1)*100,0));
买价格:JD2A;
买数量:JD2B;
买金额:JD2C;
持成本:JD2D;
持数量:JD2E;
持投入额:JD2F;
持盈亏:JD2G;
持盈亏率%:JD2H;
卖价:IF(REF(JD1B,1)=1 AND JD1B=0,O,0);
DRAWICON(JD1A,JD2C,1);
DRAWICON(REF(JD1B,1)=1 AND JD1B=0,IF(JD2G>REF(JD2F,1),JD2G,REF(JD2F,1)),2);
选股票看什么指标最好 >QQ交流群586838595 |
- 上一篇: 通达信久跌回暖选股指标
- 下一篇: 通达信涨停强盗副图指标
猜你喜欢
- 2025-03-30 通达信《山峰心理线》副图指标 PSY+RSI+BIAS三剑客 deepspeek优化 精准捕捉顶底信号 股市实战操盘指南
- 2025-03-30 通达信【龙二波】副图/选股指标 捕捉龙头回调二次启动信号 无未来函数 不飘逸
- 2025-03-30 通达信《波段趋势赢》副图/选股 RSI、DMI、KDJ组合指标 无未来函数
- 2025-03-30 通达信《死叉13天》副图 / 选股指标,巧妙融合斐波那契数列、MACD 指标与 RSI 指标,每次波段都能精准捕捉(限时送)
- 2025-03-30 通达信《阴线尾盘擒阳》主副图/选股 阴线选股尾盘买入 今买明卖速战速决 高胜率 源码无未来
- 2025-03-30 通达信《涨停回调密码》副图与选股指标的完美结合,采用回调踩均线模式,且源码无未来函数
- 2025-03-29 通达信《巨阳过左峰》主副图/选股 双趋势线精准定位 红钻突破信号 高效交易系统
- 2025-03-28 【通达信指标】波段精英指标公式,跟随机构建仓加仓波段操作(副图+选股)
- 2025-03-27 【通达信指标】二波浪指标公式,行情回归二波拉升信号(副图+选股)
- 2025-03-26 通达信《乾坤量柱》副图/选股指标 自用精品 专为量能分析设计 源码