动态筹码通达信公式 和谐源码分享 K线图_通达信公式_量化交易

忍者欲妖主图简化版通达信公式 和谐源码分享 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;
 

通达信公式选点