通达信【主力量能】副图指标 成交资金异动 源码附图

换手:=V/CAPITAL*100,STICK;
STICKLINE(换手,0,换手,2,1),COLORRED;
红色区域可做票:=MA(CLOSE,5),COLORYELLOW,NODRAW;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,30);
STICKLINE((OBV>REF(OBV,1) AND OBV>MAOBV),0,换手,2,1),COLORLIRED;
STICKLINE(NOT(OBV>REF(OBV,1) AND OBV>MAOBV),0,换手,2,0),COLORCYAN;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
买1:=QJ0*(MIN(OPEN,CLOSE)-LOW)*2;
买2:=QJ0*(JJ-MIN(CLOSE,OPEN))*2;
卖1:=QJ0*(MAX(CLOSE,OPEN)-JJ)*2;
卖2:=QJ0*(HIGH-MAX(OPEN,CLOSE))*2;
DT:=((买1+买2)-(卖1+卖2))/10000*6,NODRAW;
STICKLINE(DT>0,0,换手*0.5,0.5,0),COLOR0000FF;
STICKLINE(DT< 0,0,-换手*0.4,0.5,0),COLORGREEN;
TD1:=QJ0*(MIN(OPEN,CLOSE)-LOW);
DD1:=QJ0*(JJ-MIN(CLOSE,OPEN));
DD2:=QJ0*(HIGH-MAX(OPEN,CLOSE));
TD2:=QJ0*(MAX(CLOSE,OPEN)-JJ);
TD:=TD1-TD2;
DA:=DD1-DD2;
XD1:=1-(TD1+DD1);
XD2:=1-(TD2+DD2);
TZ:=V/SUM(V,60)*100;
DTA:=((XD1-XD2)/10000)/TZ;
散户减:DTA,NODRAW,COLORGREEN;
主力比散户:=DT/ABS(DTA),NODRAW;
主力增:DT,NODRAW,COLORRED;
趋势为先:(EMA(CLOSE,12)-EMA(CLOSE,26)),COLORYELLOW,,NODRAW;
缩量买进:EMA(趋势为先,9),COLORMAGENTA,LINETHICK2,NODRAW;
DRAWICON(CROSS(趋势为先,缩量买进),缩量买进,9);
ACB11:=MA(HHV(HIGH,485),17);
ACB21:=MA(HHV(HIGH,222),17);
ACB31:=MA(HHV(HIGH,96),17);
ACB41:=MA(LLV(LOW,485),17);
ACB51:=MA(LLV(LOW,222),17);
ACB61:=MA(LLV(LOW,96),17);
ACB71:=MA((ACB41*0.96+ACB51*0.96+ACB61*0.96+ACB11*0.558+ACB21*0.558+ ACB31*0.558) /6,17);
ACB81:=MA((ACB41*1.25+ACB51*1.23+ACB61*1.2+ACB11*0.55+ACB21*0.55+ACB31*0.65) /6,17);
ACB91:=MA((ACB41*1.3+ACB51*1.3+ACB61*1.3+ACB11*0.68+ACB21*0.68+ACB31*0.68) /6,17);
ACBA:=MA((ACB71*3+ACB81*2+ACB91)/6*1.738,17);
ACBB:=IF(DATE<=1341231,ACBA,ACBA*DAY);
ACBC:=LOW;
ACBD:=REF(LOW,1);
ACBE:=SMA(ABS(ACBC-ACBD),3,1)/SMA(MAX(ACBC-ACBD,0),3,1)*100;
ACBF:=MA(IF(CLOSE*1.35<=ACBB,ACBE*10,ACBE/10),3);
ACB10:=LLV(LOW,30);
ACB111:=HHV(ACBF,30);
ACB12:=1341231;
SS:=IF(DATE<=ACB12,MA(IF(LOW<=ACB10,(ACBF+ACB11*2)/2,0),3),100000000);
STICKLINE(SS,换手,换手*0.5,0.5,0),COLORBLUE;
N:=3;
M1:=10;
ACB1:=(C-EMA(C,6))/EMA(C,6)*100;
ACB2:=(C-MA(C,24))/MA(C,24)*100;
ACB3:=(C-MA(C,32))/MA(C,32)*100;
ACB4:=(ACB1+ACB2+ACB3)/3;
量价结合:MEMA(ACB4,N),COLORWHITE,LINETHICK2;
波段操作:MEMA(量价结合,3),COLORGREEN,LINETHICK2;
ABC1:IF(量价结合>REF(量价结合,1),量价结合,DRAWNULL),COLORYELLOW,LINETHICK2;
ABC2:IF(波段操作>REF(波段操作,1),波段操作,DRAWNULL),COLORFF00FF,LINETHICK2;
KX1:=MEMA(量价结合,2);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG:=MACD>0;
DRAWTEXT(CROSS(量价结合,KX1) AND (波段操作>REF(波段操作,1))AND XG,换手*1.1,'★关注'),COLORYELLOW;
DRAWICON(CROSS(量价结合,KX1) AND (波段操作>REF(波段操作,1))AND XG,换手*1.1,1);



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

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

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