筹码分布筹码类公式通达信公式 副图 源码附图
当前获利:=WINNER(C)*100,COLORAAAAFF,STICK,NODRAW;
赚10%:WINNER(C/1.1)*100,COLORRED,NODRAW;
赚20%:WINNER(C/1.2)*100,COLORYELLOW,NODRAW;
赚30%:WINNER(C/1.3)*100,COLORMAGENTA,NODRAW;
R10:=当前获利-赚10%;
STICKLINE(1,当前获利,赚10%,-1,0),COLORRED,NODRAW;
STICKLINE(1,赚10%,赚20%,-1,0)COLOR0000CC;
STICKLINE(1,赚20%,赚30%,-1,0),COLOR00FFFF;
STICKLINE(1,赚30%,0,-1,0),COLORFF00FF;
亏10%:(1-WINNER(C/0.9))*100,COLORWHITE,NODRAW;
亏20%:(1-WINNER(C/0.8))*100,COLORGREEN,NODRAW;
亏30%:(1-WINNER(C/0.7))*100,COLORCYAN,NODRAW;
S10:=100-亏10%-当前获利;
STICKLINE(C>0,100-亏10%,100-亏20%,-1,0),COLORCYAN;
STICKLINE(C>0,100-亏20%,100-亏30%,-1,0),COLORGREEN;
STICKLINE(C>0,100-亏30%,100,-1,0),COLORWHITE;
{通达信公式大全 股票指标网}
当前价获利盘%:当前获利,COLORYELLOW,LINETHICK1,NODRAW;
当日获利套牢:当前获利-REF(当前获利,1),NODRAW;
近5日获利比例:LWINNER(5,C)*100,COLORRED,NODRAW;
浮筹:R10+S10,DOTLINE,COLORWHITE,LINETHICK2;
老筹:PPART(30)*100,COLORLIRED,LINETHICK3;
{区间集中度:(WINNER(C*(1+0.05))-WINNER(C*(1-0.05)))*100,NODRAW;
40,DOTLINE,COLORLIMAGENTA;
70,DOTLINE;
12.5,CIRCLEDOT,COLORWHITE;}
{SAR}
{持币:IF(SAR(10,2,20)>=H,100,DRAWNULL),CIRCLEDOT,COLORWHITE,LINETHICK4;
持股:IF(SAR(10,2,20)<=L,100,DRAWNULL),CIRCLEDOT,COLORRED,LINETHICK4;};
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:LWINNER
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
当前获利赋值:C计算的获利盘比例*100,COLORAAAAFF,STICK,NODRAW
输出赚10%:C/1.1计算的获利盘比例*100,画红色,NODRAW
输出赚20%:C/1.2计算的获利盘比例*100,画黄色,NODRAW
输出赚30%:C/1.3计算的获利盘比例*100,画洋红色,NODRAW
R10赋值:当前获利-赚10%
当满足条件1时,在当前获利和赚10%之间画柱状线
当满足条件1时,在赚10%和赚20%之间画柱状线
当满足条件1时,在赚20%和赚30%之间画柱状线
当满足条件1时,在赚30%和0之间画柱状线
输出亏10%:(1-C/0.9计算的获利盘比例)*100,画白色,NODRAW
输出亏20%:(1-C/0.8计算的获利盘比例)*100,画绿色,NODRAW
输出亏30%:(1-C/0.7计算的获利盘比例)*100,画青色,NODRAW
S10赋值:100-亏10%-当前获利
当满足条件C>0时,在100-亏10%和100-亏20%之间画柱状线
当满足条件C>0时,在100-亏20%和100-亏30%之间画柱状线
当满足条件C>0时,在100-亏30%和100之间画柱状线
输出{通达信公式大全 股票指标网}
当前价获利盘%:当前获利,画黄色,LINETHICK1,NODRAW
输出当日获利套牢:当前获利-1日前的当前获利,NODRAW
输出近5日获利比例:L5,C计算的获利盘比例*100,画红色,NODRAW
输出浮筹:R10+S10,DOTLINE,画白色, 线宽为2
输出老筹:PPART(30)*100,COLORLIRED, 线宽为3
输出{区间集中度:(C*(1+0.05计算的获利盘比例)-WINNER(C*(1-0.05)))*100,NODRAW
40,DOTLINE,COLORLIMAGENTA
70,DOTLINE
12.5,CIRCLEDOT,画白色
输出}
{SAR}
{持币:IF(SAR(10,2,20)>=H,100,DRAWNULL),CIRCLEDOT,画白色,LINETHICK4
输出持股:IF(SAR(10,2,20)<=L,100,DRAWNULL),CIRCLEDOT,画红色,LINETHICK4
}