通达信抢夺牛股线主图指标

指标源码:

DRAWKLINE(H,O,L,C);
当前获利筹码:IF(WINNER(CLOSE),WINNER(CLOSE)*100,0),COLORFF7700,NODRAW;
线上强:=EMA(C,21);
 PLOYLINE(MA(C,3)>线上强,线上强),COLORRED,LINETHICK2;
 PLOYLINE(MA(C,5)<线上强,线上强),COLORLIGREEN,LINETHICK2;

JH:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
 SZ:=FILTER(CROSS(JH,35),13);
 SX:=FILTER(CROSS(JH,30),7);
 AA:=IF(CAPITAL<1,SZ,SX);
 CC:=REF(HHV(CLOSE,120),1);
 DD:=REF(LLV(CLOSE,120),1);
 WW:=((100 * (CLOSE - DD)) / (CC - DD));
 EE:=AMOUNT;
 FF:=(EMA(EE,5) / REF(EMA(EE,5),5));

抢夺:=FILTER(((((((FF >= 2)) AND (WW < 35))) AND (BARSCOUNT(CLOSE) > 30)) OR (((((FF >= 2)) AND (WW < 100))) AND (BARSCOUNT(CLOSE) < 50))),90);
 STICKLINE(C>REF(C,1),H,L,0,0),COLOR0099FF;
 STICKLINE(C>REF(C,1),C,O,3.2,0),COLOR0000AA;
 STICKLINE(C>REF(C,1),C,O,2.7,0),COLOR0000DD;
 STICKLINE(C>REF(C,1),C,O,2.1,0),COLOR0022FF;
 STICKLINE(C>REF(C,1),C,O,1.5,0),COLOR0066FF;
 STICKLINE(C>REF(C,1),C,O,0.9,0),COLOR0099FF;
 STICKLINE(C>REF(C,1),C,O,0.3,0),COLOR00DDFF;

{STICKLINE(霸占,HIGH,LOW,0,1),COLOR0000FF;}
 STICKLINE(抢夺,C,O,3,2),COLOR000055;
 STICKLINE(抢夺,C,O,2.7,0),COLOR000077;
 STICKLINE(抢夺,C,O,2.1,0),COLOR000099;
 STICKLINE(抢夺,C,O,1.5,0),COLOR0000BB;
 STICKLINE(抢夺,C,O,0.9,0),COLOR0000DD;
 STICKLINE(抢夺,C,O,0.3,0),COLOR0000FF;
 {STICKLINE(AA,HIGH,LOW,0,1),COLORYELLOW;}
 STICKLINE(AA,CLOSE,OPEN,3.2,0),COLOR0088FF;
 STICKLINE(AA,CLOSE,OPEN,2.7,0),COLOR00AAFF;
 STICKLINE(AA,CLOSE,OPEN,2.1,0),COLOR00CCFF;
 STICKLINE(AA,CLOSE,OPEN,1.5,0),COLOR22FFFF;
 STICKLINE(AA,CLOSE,OPEN,0.9,0),COLOR66FFFF;
 STICKLINE(AA,CLOSE,OPEN,0.3,0),COLOR99FFFF;
涨停:=IF(C>1.099*REF(C,1),1,0);
 STICKLINE(涨停,OPEN,CLOSE,1.5,0),COLORYELLOW;
跌停:=IF(C<0.901*REF(C,1),1,0);
 STICKLINE(跌停,OPEN,CLOSE,1.5,0),COLORBLUE;
 QQ:=BARSCOUNT(C);
 DRAWTEXT((QQ+0)/18=FLOOR((QQ+0)/18),H*1.00,'时间窗'),COLORFFFFFF;




未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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