未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
指标源码:
原理解析:
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