通达信筹码变化规律指标公式
吸筹线1:=COST(50)*COST(50)/COST(80);
吸筹线2:=COST(40)*COST(40)/COST(60);
差:吸筹线2-吸筹线1,NODRAW;
STICKLINE(差>0 AND C>吸筹线2,0,差,2,0),COLORRED;
STICKLINE(差>0 AND C>吸筹线2 AND C<MA(C,10),0,差*0.2,2,0),COLORYELLOW;
STICKLINE(差>0 AND C<吸筹线2,0,差,2,0),COLORCYAN;
STICKLINE(差>0 AND C<吸筹线2 AND C<吸筹线1,0,差*0.5,2,0),COLORBLUE;
STICKLINE(差>0 AND C<吸筹线2 AND C<吸筹线1,差*0.5,差,2,0),COLORYELLOW;
STICKLINE(差<0,0,差,2,0),COLORCYAN;
STICKLINE(差<0 AND C>吸筹线1,0,差,2,0),COLORMAGENTA;
STICKLINE(差<0 AND C>吸筹线1 AND C<MA(C,5),0,差*0.2,2,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.5,1.5 ,0,'绿空仓-粉重仓-红满仓-红绿相间1/3-粉绿相间1/2'),COLORYELLOW;
赞 (0)