动态筹码通达信公式 和谐源码分享 K线图

 
VAR1:=COST(0.1);
VAR2:=COST(99.900002);
VAR3:=(VAR2-VAR1)/10;
STICKLINE((WINNER(VAR1+VAR3)-WINNER(VAR1))*100>1,VAR1,VAR1+VAR3,3,0),COLOR000066;
STICKLINE((WINNER(VAR1+VAR3*2)-WINNER(VAR1+VAR3))*100>1,VAR1+VAR3,VAR1+VAR3*2,3,0),COLOR5533FF;
STICKLINE((WINNER(VAR1+VAR3*3)-WINNER(VAR1+VAR3*2))*100>1,VAR1+VAR3*2,VAR1+VAR3*3,3,0),COLOR7777FF;
STICKLINE((WINNER(VAR1+VAR3*4)-WINNER(VAR1+VAR3*3))*100>1,VAR1+VAR3*3,VAR1+VAR3*4,3,0),COLORWHITE;
STICKLINE((WINNER(VAR1+VAR3*5)-WINNER(VAR1+VAR3*4))*100>1,VAR1+VAR3*4,VAR1+VAR3*5,3,0),COLORFFCC00;
STICKLINE((WINNER(VAR1+VAR3*6)-WINNER(VAR1+VAR3*5))*100>1,VAR1+VAR3*5,VAR1+VAR3*6,3,0),COLORCC6600;
STICKLINE((WINNER(VAR1+VAR3*7)-WINNER(VAR1+VAR3*6))*100>1,VAR1+VAR3*6,VAR1+VAR3*7,3,0),COLOR663300;
STICKLINE((WINNER(VAR1+VAR3*8)-WINNER(VAR1+VAR3*7))*100>1,VAR1+VAR3*7,VAR1+VAR3*8,3,0),COLOR006633;
STICKLINE((WINNER(VAR1+VAR3*9)-WINNER(VAR1+VAR3*8))*100>1,VAR1+VAR3*8,VAR1+VAR3*9,3,0),COLOR009933;
STICKLINE((WINNER(VAR2)-WINNER(VAR1+VAR3*9))*100>1,VAR1+VAR3*9,VAR2,3,0),COLOR00DD33;
筹一:(WINNER(VAR1+VAR3)-WINNER(VAR1))*100,NODRAW;
筹二:(WINNER(VAR1+VAR3*2)-WINNER(VAR1+VAR3))*100,NODRAW;
筹三:(WINNER(VAR1+VAR3*3)-WINNER(VAR1+VAR3*2))*100,NODRAW;
筹四:(WINNER(VAR1+VAR3*4)-WINNER(VAR1+VAR3*3))*100,NODRAW;
筹五:(WINNER(VAR1+VAR3*5)-WINNER(VAR1+VAR3*4))*100,NODRAW;
筹六:(WINNER(VAR1+VAR3*6)-WINNER(VAR1+VAR3*5))*100,NODRAW;
筹七:(WINNER(VAR1+VAR3*7)-WINNER(VAR1+VAR3*6))*100,NODRAW;
筹八:(WINNER(VAR1+VAR3*8)-WINNER(VAR1+VAR3*7))*100,NODRAW;
筹九:(WINNER(VAR1+VAR3*9)-WINNER(VAR1+VAR3*8))*100,NODRAW;
筹十:(WINNER(VAR2)-WINNER(VAR1+VAR3*9))*100,NODRAW;
DRAWNUMBER(筹一>1,VAR1+VAR3,INTPART(筹一)),COLOR7777FF;
DRAWNUMBER(筹二>1,VAR1+VAR3*2,INTPART(筹二)),COLOR7777FF;
DRAWNUMBER(筹三>1,VAR1+VAR3*3,INTPART(筹三)),COLORWHITE;
DRAWNUMBER(筹四>1,VAR1+VAR3*4,INTPART(筹四)),COLOR7777FF;
DRAWNUMBER(筹五>1,VAR1+VAR3*5,INTPART(筹五)),COLORWHITE;
DRAWNUMBER(筹六>1,VAR1+VAR3*6,INTPART(筹六)),COLORFFCC00;
DRAWNUMBER(筹七>1,VAR1+VAR3*7,INTPART(筹七)),COLORFFCC00;
DRAWNUMBER(筹八>1,VAR1+VAR3*8,INTPART(筹八)),COLOR00DD33;
DRAWNUMBER(筹九>1,VAR1+VAR3*9,INTPART(筹九)),COLOR00DD33;
DRAWNUMBER(筹十>1,VAR2,INTPART(筹十)),COLORWHITE;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
现价:CLOSE,COLOR99FFFF,LINETHICK4;
浮筹:(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))/WINNER(HHV(HIGH,0))*100,NODRAW,COLOR99FFFF,LINETHICK3;
 



来函数检测结果如下
该公式包含未来函数:WINNER
该公式包含未来函数:COST

解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

VAR1赋值:获利盘为0.1%的成本分布
VAR2赋值:获利盘为99.900002%的成本分布
VAR3赋值:(VAR2-VAR1)/10
当满足条件(以VAR1+VAR3计算的获利盘比例-以VAR1计算的获利盘比例)*100>1时,在VAR1和VAR1+VAR3位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR000066
当满足条件(以VAR1+VAR3*2计算的获利盘比例-以VAR1+VAR3计算的获利盘比例)*100>1时,在VAR1+VAR3和VAR1+VAR3*2位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR5533FF
当满足条件(以VAR1+VAR3*3计算的获利盘比例-以VAR1+VAR3*2计算的获利盘比例)*100>1时,在VAR1+VAR3*2和VAR1+VAR3*3位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR7777FF
当满足条件(以VAR1+VAR3*4计算的获利盘比例-以VAR1+VAR3*3计算的获利盘比例)*100>1时,在VAR1+VAR3*3和VAR1+VAR3*4位置之间画柱状线,宽度为3,0不为0则画空心柱.,画白色
当满足条件(以VAR1+VAR3*5计算的获利盘比例-以VAR1+VAR3*4计算的获利盘比例)*100>1时,在VAR1+VAR3*4和VAR1+VAR3*5位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLORFFCC00
当满足条件(以VAR1+VAR3*6计算的获利盘比例-以VAR1+VAR3*5计算的获利盘比例)*100>1时,在VAR1+VAR3*5和VAR1+VAR3*6位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLORCC6600
当满足条件(以VAR1+VAR3*7计算的获利盘比例-以VAR1+VAR3*6计算的获利盘比例)*100>1时,在VAR1+VAR3*6和VAR1+VAR3*7位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR663300
当满足条件(以VAR1+VAR3*8计算的获利盘比例-以VAR1+VAR3*7计算的获利盘比例)*100>1时,在VAR1+VAR3*7和VAR1+VAR3*8位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR006633
当满足条件(以VAR1+VAR3*9计算的获利盘比例-以VAR1+VAR3*8计算的获利盘比例)*100>1时,在VAR1+VAR3*8和VAR1+VAR3*9位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR009933
当满足条件(以VAR2计算的获利盘比例-以VAR1+VAR3*9计算的获利盘比例)*100>1时,在VAR1+VAR3*9和VAR2位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR00DD33
输出筹一:(以VAR1+VAR3计算的获利盘比例-以VAR1计算的获利盘比例)*100,NODRAW
输出筹二:(以VAR1+VAR3*2计算的获利盘比例-以VAR1+VAR3计算的获利盘比例)*100,NODRAW
输出筹三:(以VAR1+VAR3*3计算的获利盘比例-以VAR1+VAR3*2计算的获利盘比例)*100,NODRAW
输出筹四:(以VAR1+VAR3*4计算的获利盘比例-以VAR1+VAR3*3计算的获利盘比例)*100,NODRAW
输出筹五:(以VAR1+VAR3*5计算的获利盘比例-以VAR1+VAR3*4计算的获利盘比例)*100,NODRAW
输出筹六:(以VAR1+VAR3*6计算的获利盘比例-以VAR1+VAR3*5计算的获利盘比例)*100,NODRAW
输出筹七:(以VAR1+VAR3*7计算的获利盘比例-以VAR1+VAR3*6计算的获利盘比例)*100,NODRAW
输出筹八:(以VAR1+VAR3*8计算的获利盘比例-以VAR1+VAR3*7计算的获利盘比例)*100,NODRAW
输出筹九:(以VAR1+VAR3*9计算的获利盘比例-以VAR1+VAR3*8计算的获利盘比例)*100,NODRAW
输出筹十:(以VAR2计算的获利盘比例-以VAR1+VAR3*9计算的获利盘比例)*100,NODRAW
当满足条件筹一>1时,在VAR1+VAR3位置书写数字,COLOR7777FF
当满足条件筹二>1时,在VAR1+VAR3*2位置书写数字,COLOR7777FF
当满足条件筹三>1时,在VAR1+VAR3*3位置书写数字,画白色
当满足条件筹四>1时,在VAR1+VAR3*4位置书写数字,COLOR7777FF
当满足条件筹五>1时,在VAR1+VAR3*5位置书写数字,画白色
当满足条件筹六>1时,在VAR1+VAR3*6位置书写数字,COLORFFCC00
当满足条件筹七>1时,在VAR1+VAR3*7位置书写数字,COLORFFCC00
当满足条件筹八>1时,在VAR1+VAR3*8位置书写数字,COLOR00DD33
当满足条件筹九>1时,在VAR1+VAR3*9位置书写数字,COLOR00DD33
当满足条件筹十>1时,在VAR2位置书写数字,画白色
K线
输出现价:收盘价,COLOR99FFFF,线宽为4
输出浮筹:(以收盘价*1.1计算的获利盘比例-以收盘价*0.9计算的获利盘比例)/以0日内最高价的最高值计算的获利盘比例*100,NODRAW,COLOR99FFFF,线宽为3

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

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