以下是通达信线合买是底 线分卖是顶(副图指标)源码(无源码的请下载附件导入)
STICKLINE(C>0,0,20,5,0),COLOR000088;
STICKLINE(C>0,20,50,5,0),COLOR585858;
STICKLINE(C>0,50,80,5,0),COLOR880088;
STICKLINE(C>0,80,100,5,0),COLOR008888;
VAR2:=(H+L+C*2)/4;
VAR3:=EMA(VAR2,7);
VAR4:=STD(VAR2,7);
VAR5:=(VAR2-VAR3)*100/VAR4;
VAR6:=EMA(VAR5,3);
BB:(EMA(VAR6,5)+100)/2-3,COLOR00FFFF,LINETHICK2 ;
AA:HHV(BB,3),COLORFF00FF,LINETHICK2;
STICKLINE(BB>=100,100,BB,1,0),COLOR00FFFF;
STICKLINE(AA<0,0,AA,1,0),COLORFF00FF;
0,COLORRED,LINETHICK1;
100,COLOR00FFFF,LINETHICK1;
STICKLINE(C>0,20,20,2,0),COLOR00FF00;
STICKLINE(C>0,80,80,2,0),COLORFFFF00;
STICKLINE(C>0,50,50,2,0),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=10,90,'警示区'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=10,65,'股牛股区'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=22,50,'强弱分界限'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=10,10,'存眷区'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=10,35,'弱势区'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=10,106,'分叉卖'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=10,-6,'归并买'),COLORFFFFFF;
646344625.png
|