筹码攻击量通达信公式 副图 源码附图
HSL:=EMA(V/CAPITAL,3);
ZDL:=HHV(HSL,240);
ZXL:=LLV(HSL,240);
XS:=MA(C,33);
HL10:WINNER(C/1.1)*100,STICK,COLORRED;
STICKLINE(((C/1.1)*100),HL10,0,2.7,0),COLOR000055;
STICKLINE(((C/1.1)*100),HL10,0,1.7,0),COLOR000077;
STICKLINE(((C/1.1)*100),HL10,0,0.7,0),COLOR0000BB;
STICKLINE(((C/1.1)*100),HL10,0,0.2,0),COLOR0000FF;
HL20:WINNER(C/1.2)*100,STICK,COLORYELLOW;
STICKLINE(((C/1.2)*100),HL20,0,2.7,0)COLOR009999;
STICKLINE(((C/1.2)*100),HL20,0,1.7,0)COLOR00BBBB;
STICKLINE(((C/1.2)*100),HL20,0,0.7,0)COLOR00DDDD;
STICKLINE(((C/1.2)*100),HL20,0,0.2,0)COLOR00FFFF;
HL30:WINNER(C/1.3)*100,STICK,COLORFF00FF;
STICKLINE(((C/1.3)*100),HL30,0,2.7,0),COLORFF1100;
STICKLINE(((C/1.3)*100),HL30,0,1.7,0),COLORFF5500;
STICKLINE(((C/1.3)*100),HL30,0,0.7,0),COLORFF9900;
STICKLINE(((C/1.3)*100),HL30,0,0.2,0),COLORFFDD00;
BB:=100,POINTDOT,LINETHICK2,COLORRED;
AA:=15,COLORYELLOW;
DD:=70,COLORYELLOW;
CC:=300,POINTDOT,LINETHICK2,COLORGREEN;
X4:=EMA(C,20);{股票指标网}
廿斜率:(X4-REF(X4,1))/REF(X4,1)*100,LINETHICK0;
十换手:SUM(VOL,10)/CAPITAL*100,LINETHICK0;
锁定筹码:EMA((HSL-ZXL)/ZXL*XS,13),LINETHICK2;
浮动筹码:EMA((ZDL-HSL)/HSL*XS,13),LINETHICK2;
力量对比:锁定筹码-浮动筹码,COLORSTICK;
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
HSL赋值:V/当前流通股本的3日指数移动平均
ZDL赋值:240日内HSL最高值
ZXL赋值:240日内HSL最低值
XS赋值:C的33日简单移动平均
输出HL10:C/1.1计算的获利盘比例*100,STICK,画红色
STICKLINE(((C/1.1)*100),HL10,0,2.7,0),COLOR000055
STICKLINE(((C/1.1)*100),HL10,0,1.7,0),COLOR000077
STICKLINE(((C/1.1)*100),HL10,0,0.7,0),COLOR0000BB
STICKLINE(((C/1.1)*100),HL10,0,0.2,0),COLOR0000FF
输出HL20:C/1.2计算的获利盘比例*100,STICK,画黄色
STICKLINE(((C/1.2)*100),HL20,0,2.7,0)COLOR009999
STICKLINE(((C/1.2)*100),HL20,0,1.7,0)COLOR00BBBB
STICKLINE(((C/1.2)*100),HL20,0,0.7,0)COLOR00DDDD
STICKLINE(((C/1.2)*100),HL20,0,0.2,0)COLOR00FFFF
输出HL30:C/1.3计算的获利盘比例*100,STICK,COLORFF00FF
STICKLINE(((C/1.3)*100),HL30,0,2.7,0),COLORFF1100
STICKLINE(((C/1.3)*100),HL30,0,1.7,0),COLORFF5500
STICKLINE(((C/1.3)*100),HL30,0,0.7,0),COLORFF9900
STICKLINE(((C/1.3)*100),HL30,0,0.2,0),COLORFFDD00
BB赋值:100,POINTDOT, 线宽为2,画红色
AA赋值:15,画黄色
DD赋值:70,画黄色
CC赋值:300,POINTDOT, 线宽为2,画绿色
X4赋值:C的20日指数移动平均
输出{股票指标网}
廿斜率:(X4-1日前的X4)/1日前的X4*100,LINETHICK0
输出十换手:10的成交量日累和/当前流通股本*100,LINETHICK0
输出锁定筹码:EMA((HSL-ZXL)/ZXL*XS,13), 线宽为2
输出浮动筹码:EMA((ZDL-HSL)/HSL*XS,13), 线宽为2
输出力量对比:锁定筹码-浮动筹码,COLORSTICK