盈亏比例用来监控筹码的有用法通达信公式 副图 源码附图
当前获利:=WINNER(C)*100,COLORAAAAFF,NODRAW;
Y10:WINNER(C/1.1)*100,COLOR34DCC2,NODRAW;
Y20:WINNER(C/1.2)*100,COLORYELLOW,NODRAW;
Y30:WINNER(C/1.3)*100,COLOR40C7EE,NODRAW;
Y40:WINNER(C/1.4)*100,COLORFF57AB,NODRAW;
Y50:WINNER(C/1.5)*100,COLORRED,NODRAW;
L10:=当前获利-Y10;
STICKLINE(1,当前获利,Y10,-1,1),COLORLIRED;
STICKLINE(1,Y10,Y20,-1,0),COLOR34DCC2;
STICKLINE(1,Y20,Y30,-1,0),COLORYELLOW;
STICKLINE(1,Y30,Y40,-1,0),COLOR5E92FF;
STICKLINE(1,Y40,Y50,-1,0),COLORFF57AB;
STICKLINE(1,Y50,0,-1,0),COLORRED;
K10:(1-WINNER(C/0.9))*100,COLORLIGRAY,NODRAW;
K20:(1-WINNER(C/0.8))*100,COLORFFDD00,NODRAW;
K30:(1-WINNER(C/0.7))*100,COLOR009933,NODRAW;
K40:(1-WINNER(C/0.6))*100,COLOREE8800,NODRAW;
K50:(1-WINNER(C/0.5))*100,COLORGREEN,NODRAW;
F10:=100-K10-当前获利{负利};
STICKLINE(C>0,100-K10,100-K20,-1,0),COLORLIGRAY;
STICKLINE(C>0,100-K20,100-K30,-1,0),COLORFFDD00;
STICKLINE(C>0,100-K30,100-K40,-1,0),COLOR009933;
STICKLINE(C>0,100-K40,100-K50,-1,0),COLOREE8800;
STICKLINE(C>0,100-K50,100,-1,0),COLORGREEN;
现价HL盘%:当前获利,COLORLIRED,NODRAW;
当日L套牢:当前获利-REF(当前获利,1),COLORA4D902,NODRAW;
五日利比:LWINNER(5,C)*100,COLOR59A2C8,NODRAW;{洗盘结束5日获利盘为0};
浮筹%:L10+F10,COLOR91BDDB,NODRAW;
FY:L10,COLORFF99FF,NODRAW;
FK:F10,COLOR1199DD,NODRAW;
老筹:PPART(30)*100,COLORBROWN,LINETHICK3;
QJ集中度:(WINNER(C*(1+0.05))-WINNER(C*(1-0.05)))*100,COLORD9A39B,NODRAW;
{40,DOTLINE,COLORLIGRAY;
70,DOTLINE;
12.5,CIRCLEDOT,COLORBROWN;}
{SAR}
持币:IF(SAR(10,2,20)>=H,105,DRAWNULL),CIRCLEDOT,COLORWHITE,LINETHICK2;
持股:IF(SAR(10,2,20)<=L,105,DRAWNULL),CIRCLEDOT,COLORMAGENTA,LINETHICK2;
{股票指标网}
{KDJDD}
RSV:=LLV(LOW,21),COLOR7D9CB5,DOTLINE;
RSS:=HHV(HIGH,21),COLORFFFF00,DOTLINE;
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
量2:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金/量2)/100);
提纯:=(((CLOSE-过滤)/过滤)*100);
黄金:=((提纯<(0)) AND ZXNH);
低买:=黄金 AND RSVV<VARB2-2;
L13:=L<=RSV OR L>RSV*1.002;
DM:(低买>0 AND L13)*60,COLORD9A39B,LINETHICK2;
STICKLINE(DM,0,50,0.5,0),COLOR99FFFF;
L1:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*200-60;
凤K:SMA(L1,3,1),COLOR00BFBF,LINETHICK2;
凤D:SMA(凤K,3,1),COLOR73E600,LINETHICK2;
DRAWICON(CROSS(凤K,凤D),凤D,1);
40,DOTLINE,COLORLIGRAY;
70,DOTLINE,COLORLICYAN;
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:LWINNER
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
当前获利赋值:C计算的获利盘比例*100,COLORAAAAFF,NODRAW
输出Y10:C/1.1计算的获利盘比例*100,COLOR34DCC2,NODRAW
输出Y20:C/1.2计算的获利盘比例*100,画黄色,NODRAW
输出Y30:C/1.3计算的获利盘比例*100,COLOR40C7EE,NODRAW
输出Y40:C/1.4计算的获利盘比例*100,COLORFF57AB,NODRAW
输出Y50:C/1.5计算的获利盘比例*100,画红色,NODRAW
L10赋值:当前获利-Y10
当满足条件1时,在当前获利和Y10之间画柱状线
当满足条件1时,在Y10和Y20之间画柱状线
当满足条件1时,在Y20和Y30之间画柱状线
当满足条件1时,在Y30和Y40之间画柱状线
当满足条件1时,在Y40和Y50之间画柱状线
当满足条件1时,在Y50和0之间画柱状线
输出K10:(1-C/0.9计算的获利盘比例)*100,COLORLIGRAY,NODRAW
输出K20:(1-C/0.8计算的获利盘比例)*100,COLORFFDD00,NODRAW
输出K30:(1-C/0.7计算的获利盘比例)*100,COLOR009933,NODRAW
输出K40:(1-C/0.6计算的获利盘比例)*100,COLOREE8800,NODRAW
输出K50:(1-C/0.5计算的获利盘比例)*100,画绿色,NODRAW
F10赋值:100-K10-当前获利{负利}
当满足条件C>0时,在100-K10和100-K20之间画柱状线
当满足条件C>0时,在100-K20和100-K30之间画柱状线
当满足条件C>0时,在100-K30和100-K40之间画柱状线
当满足条件C>0时,在100-K40和100-K50之间画柱状线
当满足条件C>0时,在100-K50和100之间画柱状线
输出现价HL盘%:当前获利,COLORLIRED,NODRAW
输出当日L套牢:当前获利-1日前的当前获利,COLORA4D902,NODRAW
输出五日利比:L5,C计算的获利盘比例*100,COLOR59A2C8,NODRAW
{洗盘结束5日获利盘为0}
输出浮筹%:L10+F10,COLOR91BDDB,NODRAW
输出FY:L10,COLORFF99FF,NODRAW
输出FK:F10,COLOR1199DD,NODRAW
输出老筹:PPART(30)*100,COLORBROWN, 线宽为3
输出QJ集中度:(C*(1+0.05计算的获利盘比例)-WINNER(C*(1-0.05)))*100,COLORD9A39B,NODRAW
{40,DOTLINE,COLORLIGRAY
70,DOTLINE
12.5,CIRCLEDOT,COLORBROWN
输出}
{SAR}
持币:IF(SAR(10,2,20)>=H,105,DRAWNULL),CIRCLEDOT,画白色, 线宽为2
输出持股:IF(SAR(10,2,20)<=L,105,DRAWNULL),CIRCLEDOT,画洋红色, 线宽为2
{股票指标网}
{KDJDD}
RSV赋值:21日内最低价最低值,COLOR7D9CB5,DOTLINE
RSS赋值:21日内最高价最高值,COLORFFFF00,DOTLINE
RSVV赋值:(收盘价-10日内最低价最低值)/(10日内最高价最高值-10日内最低价最低值)*100
VARB2赋值:(RSVV/2+22)*1
量2赋值:成交量的13日指数移动平均
资金赋值:成交额的13日指数移动平均
过滤赋值:((资金/量2)/100)
提纯赋值:(((收盘价-过滤)/过滤)*100)
黄金赋值:((提纯<(0)) AND ZXNH)
低买赋值:黄金 AND RSVV
L13赋值:L<=RSV OR L>RSV*1.002
输出DM:(低买>0 AND L13)*60,COLORD9A39B, 线宽为2
当满足条件DM时,在0和50之间画柱状线
L1赋值:(收盘价-11日内最低价最低值)/(11日内最高价最高值-11日内最低价最低值)*200-60
L1的3日[1日权重]移动平均
凤K的3日[1日权重]移动平均
DRAWICON(凤K上穿凤D,凤D,1)
40,DOTLINE,COLORLIGRAY
70,DOTLINE,COLORLICYAN