通达信筹码巧抓大牛副图指标 霸哥筹码穿透 源码 附图
穿越筹码:ABS(WINNER(CLOSE)-WINNER(OPEN))*100,STICK,COLORDDDDFF;
换手率::VOL/CAPITAL*100,STICK,COLORFF0099;
地量换手:1/换手率:*100,STICK,COLORRED,LINETHICK3;
A1:=LLV(HIGH,240);
MYP:=100*(CLOSE-A1)/A1;
A2:=REF(HHV(CLOSE,240),1);
B2:=REF(LLV(CLOSE,240),1);
RPY:=100*(CLOSE -B2)/(A2-B2);
A3:=1.1*CLOSE;
B3:=0.9*CLOSE;
ASR:=100*(WINNER(A3)-WINNER(B3));
A4:=WINNER(CLOSE);
A5:=DMA(A4,VOL/CAPITAL);
B4:=DMA(VOL,VOL/CAPITAL)/CAPITAL;
A6:=100*VOL/CAPITAL;
B6:=100*(WINNER(CLOSE)-REF(WINNER(CLOSE),1));
A7:=ABS(B6/A6);
CYB:EMA(A4/B4*50,34),COLORFF00FF,LINETHICK2;
CYC::A5/B4*50,COLORFFFF99,LINETHICK2;
CYD:WINNER(CLOSE)/(VOL/CAPITAL),COLORYELLOW,STICK,LINETHICK4;
STICKLINE(A7>30 AND (VOL/CAPITAL*100)<=3,地量换手,0,3,0),COLORWHITE;
STICKLINE(RPY< 75 AND MYP< 30 AND ASR>60 AND 穿越筹码>=24 AND (VOL/CAPITAL*100)<=3 AND C>=O,地量换手,0,10,0),COLORFF00FF;
STICKLINE(RPY< 75 AND MYP< 30 AND ASR>60 AND 穿越筹码>=24 AND (VOL/CAPITAL*100)<=3 AND C< O,地量换手,0,10,0),COLORFFFF33;
霸哥筹码穿透率:=B6/A6;
STICKLINE(霸哥筹码穿透率>10 AND CLOSE/REF(CLOSE,1)>=1.05 AND 换手率:<=3,地量换手,0,10,0),COLORBLUE;
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
输出穿越筹码:收盘价计算的获利盘比例-WINNER(开盘价的绝对值)*100,STICK,COLORDDDDFF
输出换手率::成交量/当前流通股本*100,STICK,COLORFF0099
输出地量换手:1/换手率:*100,STICK,画红色, 线宽为3
A1赋值:240日内最高价最低值
MYP赋值:100*(收盘价-A1)/A1
A2赋值:REF(240日内收盘价最高值,1)
B2赋值:REF(240日内收盘价最低值,1)
RPY赋值:100*(收盘价 -B2)/(A2-B2)
A3赋值:1.1*收盘价
B3赋值:0.9*收盘价
ASR赋值:100*(A3计算的获利盘比例-WINNER(B3))
A4赋值:收盘价计算的获利盘比例
A5赋值:DA4的成交量/当前流通股本日简单移动平均
B4赋值:D成交量的成交量/当前流通股本日简单移动平均/当前流通股本
A6赋值:100*成交量/当前流通股本
B6赋值:100*(收盘价计算的获利盘比例-REF(收盘价计算的获利盘比例,1))
A7赋值:B6/A6的绝对值
输出CYB:A4/B4*50的34日指数移动平均,COLORFF00FF, 线宽为2
输出CYC::A5/B4*50,COLORFFFF99, 线宽为2
输出CYD:收盘价计算的获利盘比例/(成交量/当前流通股本),画黄色,STICK,LINETHICK4
STICKLINE(A7>30 AND (成交量/当前流通股本*100)<=3,地量换手,0,3,0),画白色
STICKLINE(RPY< 75 AND MYP< 30 AND ASR>60 AND 穿越筹码>=24 AND (成交量/当前流通股本*100)<=3 AND C>=O,地量换手,0,10,0),COLORFF00FF
STICKLINE(RPY< 75 AND MYP< 30 AND ASR>60 AND 穿越筹码>=24 AND (成交量/当前流通股本*100)<=3 AND C< O,地量换手,0,10,0),COLORFFFF33
霸哥筹码穿透率赋值:B6/A6
STICKLINE(霸哥筹码穿透率>10 AND 收盘价/1日前的收盘价>=1.05 AND 换手率:<=3,地量换手,0,10,0), 画蓝色