动态筹码附用法说明筹码金品通达信公式 副图 源码附图
XA_1:=COST(0.1);
XA_2:=COST(99.900002);
XA_3:=(XA_2-XA_1)/10;
STICKLINE((WINNER(XA_1+XA_3)-WINNER(XA_1))*100>1,XA_1,XA_1+XA_3,3,0),COLOR000066;
STICKLINE((WINNER(XA_1+XA_3*2)-WINNER(XA_1+XA_3))*100>1,XA_1+XA_3,XA_1+XA_3*2,3,0),COLOR5533FF;
STICKLINE((WINNER(XA_1+XA_3*3)-WINNER(XA_1+XA_3*2))*100>1,XA_1+XA_3*2,XA_1+XA_3*3,3,0),COLOR7777FF;
STICKLINE((WINNER(XA_1+XA_3*4)-WINNER(XA_1+XA_3*3))*100>1,XA_1+XA_3*3,XA_1+XA_3*4,3,0),COLORWHITE;
STICKLINE((WINNER(XA_1+XA_3*5)-WINNER(XA_1+XA_3*4))*100>1,XA_1+XA_3*4,XA_1+XA_3*5,3,0),COLORFFCC00;
STICKLINE((WINNER(XA_1+XA_3*6)-WINNER(XA_1+XA_3*5))*100>1,XA_1+XA_3*5,XA_1+XA_3*6,3,0),COLORCC6600;
STICKLINE((WINNER(XA_1+XA_3*7)-WINNER(XA_1+XA_3*6))*100>1,XA_1+XA_3*6,XA_1+XA_3*7,3,0),COLOR663300;
STICKLINE((WINNER(XA_1+XA_3*8)-WINNER(XA_1+XA_3*7))*100>1,XA_1+XA_3*7,XA_1+XA_3*8,3,0),COLOR006633;
STICKLINE((WINNER(XA_1+XA_3*9)-WINNER(XA_1+XA_3*8))*100>1,XA_1+XA_3*8,XA_1+XA_3*9,3,0),COLOR009933;
STICKLINE((WINNER(XA_2)-WINNER(XA_1+XA_3*9))*100>1,XA_1+XA_3*9,XA_2,3,0),COLOR00DD33;
筹一:(WINNER(XA_1+XA_3)-WINNER(XA_1))*100,NODRAW;{股票指标网 }
筹二:(WINNER(XA_1+XA_3*2)-WINNER(XA_1+XA_3))*100,NODRAW;
筹三:(WINNER(XA_1+XA_3*3)-WINNER(XA_1+XA_3*2))*100,NODRAW;
筹四:(WINNER(XA_1+XA_3*4)-WINNER(XA_1+XA_3*3))*100,NODRAW;
筹五:(WINNER(XA_1+XA_3*5)-WINNER(XA_1+XA_3*4))*100,NODRAW;
筹六:(WINNER(XA_1+XA_3*6)-WINNER(XA_1+XA_3*5))*100,NODRAW;
筹七:(WINNER(XA_1+XA_3*7)-WINNER(XA_1+XA_3*6))*100,NODRAW;
筹八:(WINNER(XA_1+XA_3*8)-WINNER(XA_1+XA_3*7))*100,NODRAW;
筹九:(WINNER(XA_1+XA_3*9)-WINNER(XA_1+XA_3*8))*100,NODRAW;
筹十:(WINNER(XA_2)-WINNER(XA_1+XA_3*9))*100,NODRAW;
DRAWNUMBER(筹一>1,XA_1+XA_3,INTPART(筹一)),COLOR7777FF;
DRAWNUMBER(筹二>1,XA_1+XA_3*2,INTPART(筹二)),COLOR7777FF;
DRAWNUMBER(筹三>1,XA_1+XA_3*3,INTPART(筹三)),COLORWHITE;
DRAWNUMBER(筹四>1,XA_1+XA_3*4,INTPART(筹四)),COLOR7777FF;
DRAWNUMBER(筹五>1,XA_1+XA_3*5,INTPART(筹五)),COLORWHITE;
DRAWNUMBER(筹六>1,XA_1+XA_3*6,INTPART(筹六)),COLORFFCC00;
DRAWNUMBER(筹七>1,XA_1+XA_3*7,INTPART(筹七)),COLORFFCC00;
DRAWNUMBER(筹八>1,XA_1+XA_3*8,INTPART(筹八)),COLOR00DD33;
DRAWNUMBER(筹九>1,XA_1+XA_3*9,INTPART(筹九)),COLOR00DD33;
DRAWNUMBER(筹十>1,XA_2,INTPART(筹十)),COLORWHITE;
{DRAWKLINE(HIGH,OPEN,LOW,CLOSE)};
现价:CLOSE,COLOR99FFFF,LINETHICK3;
浮筹:(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))/WINNER(HHV(HIGH,0))*100,NODRAW,COLOR99FFFF,LINETHICK3;
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
XA_1赋值:获利盘为0.1%的成本分布
XA_2赋值:获利盘为99.900002%的成本分布
XA_3赋值:(XA_2-XA_1)/10
STICKLINE((XA_1+XA_3计算的获利盘比例-WINNER(XA_1))*100>1,XA_1,XA_1+XA_3,3,0),COLOR000066
STICKLINE((XA_1+XA_3*2计算的获利盘比例-WINNER(XA_1+XA_3))*100>1,XA_1+XA_3,XA_1+XA_3*2,3,0),COLOR5533FF
STICKLINE((XA_1+XA_3*3计算的获利盘比例-WINNER(XA_1+XA_3*2))*100>1,XA_1+XA_3*2,XA_1+XA_3*3,3,0),COLOR7777FF
STICKLINE((XA_1+XA_3*4计算的获利盘比例-WINNER(XA_1+XA_3*3))*100>1,XA_1+XA_3*3,XA_1+XA_3*4,3,0),画白色
STICKLINE((XA_1+XA_3*5计算的获利盘比例-WINNER(XA_1+XA_3*4))*100>1,XA_1+XA_3*4,XA_1+XA_3*5,3,0),COLORFFCC00
STICKLINE((XA_1+XA_3*6计算的获利盘比例-WINNER(XA_1+XA_3*5))*100>1,XA_1+XA_3*5,XA_1+XA_3*6,3,0),COLORCC6600
STICKLINE((XA_1+XA_3*7计算的获利盘比例-WINNER(XA_1+XA_3*6))*100>1,XA_1+XA_3*6,XA_1+XA_3*7,3,0),COLOR663300
STICKLINE((XA_1+XA_3*8计算的获利盘比例-WINNER(XA_1+XA_3*7))*100>1,XA_1+XA_3*7,XA_1+XA_3*8,3,0),COLOR006633
STICKLINE((XA_1+XA_3*9计算的获利盘比例-WINNER(XA_1+XA_3*8))*100>1,XA_1+XA_3*8,XA_1+XA_3*9,3,0),COLOR009933
STICKLINE((XA_2计算的获利盘比例-WINNER(XA_1+XA_3*9))*100>1,XA_1+XA_3*9,XA_2,3,0),COLOR00DD33
输出筹一:(XA_1+XA_3计算的获利盘比例-WINNER(XA_1))*100,NODRAW
输出{股票指标网 }
筹二:(XA_1+XA_3*2计算的获利盘比例-WINNER(XA_1+XA_3))*100,NODRAW
输出筹三:(XA_1+XA_3*3计算的获利盘比例-WINNER(XA_1+XA_3*2))*100,NODRAW
输出筹四:(XA_1+XA_3*4计算的获利盘比例-WINNER(XA_1+XA_3*3))*100,NODRAW
输出筹五:(XA_1+XA_3*5计算的获利盘比例-WINNER(XA_1+XA_3*4))*100,NODRAW
输出筹六:(XA_1+XA_3*6计算的获利盘比例-WINNER(XA_1+XA_3*5))*100,NODRAW
输出筹七:(XA_1+XA_3*7计算的获利盘比例-WINNER(XA_1+XA_3*6))*100,NODRAW
输出筹八:(XA_1+XA_3*8计算的获利盘比例-WINNER(XA_1+XA_3*7))*100,NODRAW
输出筹九:(XA_1+XA_3*9计算的获利盘比例-WINNER(XA_1+XA_3*8))*100,NODRAW
输出筹十:(XA_2计算的获利盘比例-WINNER(XA_1+XA_3*9))*100,NODRAW
DRAWNUMBER(筹一>1,XA_1+XA_3,INTPART(筹一)),COLOR7777FF
DRAWNUMBER(筹二>1,XA_1+XA_3*2,INTPART(筹二)),COLOR7777FF
DRAWNUMBER(筹三>1,XA_1+XA_3*3,INTPART(筹三)),画白色
DRAWNUMBER(筹四>1,XA_1+XA_3*4,INTPART(筹四)),COLOR7777FF
DRAWNUMBER(筹五>1,XA_1+XA_3*5,INTPART(筹五)),画白色
DRAWNUMBER(筹六>1,XA_1+XA_3*6,INTPART(筹六)),COLORFFCC00
DRAWNUMBER(筹七>1,XA_1+XA_3*7,INTPART(筹七)),COLORFFCC00
DRAWNUMBER(筹八>1,XA_1+XA_3*8,INTPART(筹八)),COLOR00DD33
DRAWNUMBER(筹九>1,XA_1+XA_3*9,INTPART(筹九)),COLOR00DD33
DRAWNUMBER(筹十>1,XA_2,INTPART(筹十)),画白色
{DRAWKLINE(最高价,开盘价,最低价,收盘价)}
输出现价:收盘价,COLOR99FFFF, 线宽为3
输出浮筹:(收盘价*1.1计算的获利盘比例-WINNER(收盘价*0.9))/WINNER(0日内最高价最高值)*100,NODRAW,COLOR99FFFF, 线宽为3