当前位置首页 > 通达信指标公式大全

主力筹码看位置指标源码

  来源:  
 
主力筹码:=EMA(CLOSE,6) - EMA(CLOSE,13);
看位置:=EMA(主力筹码,4);
MACD:=2*(主力筹码-看位置);
X:0;{选股公式-选股指标www.gs6699.com}
STICKLINE((MACD > 0),0,MACD,2.8,1),COLOR0000CC;
STICKLINE((MACD < 0),0,MACD,2.8,1),COLORCC0033;
指标源码:=6;
ssdds1:=REF(CLOSE,1);
ssdds2:=SMA(MAX(CLOSE-ssdds1,0),指标源码,1)/SMA(ABS(CLOSE-ssdds1),指标源码,1)*100;
ssdds3:=COST(0.01);
ssdds4:L<ssdds3 AND ssdds2<20,COLOR8977FF,NODRAW;
STICKLINE(ssdds4,0,1.5,2,0),COLOR8977FF;
ssdds5:REF(ssdds4,1)=1 AND ssdds4=0,COLORRED,NODRAW;
STICKLINE(ssdds5,0,2,2,0),COLORRED;
ssdds6:=COST(0.05);
ssdds7:L<ssdds6 AND ssdds2<25,COLOR00FFFF,NODRAW;
STICKLINE(ssdds7,0,0.8,2,0),COLOR00FFFF;
ssdds8:REF(ssdds7,1)=1 AND ssdds7=0,COLORFF00FF,NODRAW;
STICKLINE(ssdds8,0,1.2,2,0),COLORFF00FF;
ssdds9:=COST(0.7);
ssdds91:H>ssdds9 AND ssdds2>83,COLORFFFFFF,NODRAW;
STICKLINE(ssdds91,0,1.5,2,0),COLORFFFFFF;
ssdds92:REF(ssdds91,1)=1 AND ssdds91 =0,COLORFFFF00,NODRAW;
STICKLINE(ssdds92,0,2,2,0),COLORFFFF00;
DRAWTEXT(ssdds92,1.8,''),COLOR0066FF;
ssdds93:=COST(0.5);
ssdds95:H>ssdds93 AND ssdds2>80,COLOR00FF00,NODRAW;
STICKLINE(ssdds95,0,0.8,2,0),COLOR00FF00;
ssdds98:REF(ssdds95,1)=1 AND ssdds95 =0,COLORFF0000,NODRAW;
STICKLINE(ssdds98,0,1.6,2,0),COLORFF0000;
DRAWTEXT(ssdds98,0.8,''),COLOR0000FF;
DRAWTEXT(ssdds91,1.4,''),COLOR0000FF;
DRAWTEXT(ssdds5,1.8,''),COLOR00FFFF;
DRAWTEXT(ssdds8,0.8,''),COLOR00FFFF;

4.jpg
高手公式网