通达信牛股识别系统三个公式
{牛股识别主图}
var100:=dma(amount/v/100,v/capital);
筹码线:var100*1.1,colorwhite,linethick2;{1.1}
牛熊线:COST(75),colorblue,linethick2;
持仓线:MA(CLOSE,20) ,coloryellow,linethick0;
STICKLINE(c>0,o,c,8,0), colorblue;
STICKLINE(c>0,h,l,0.8,0) ,colorblue;
a:=close>筹码线 and CLOSE>牛熊线 and CLOSE>持仓线;
b:=close>筹码线 and CLOSE<牛熊线 and CLOSE>持仓线;
STICKLINE(a>0,o,c,8,0) ,coloryellow;
STICKLINE(a>0,h,l,0.8,0), coloryellow;
STICKLINE(b>0,h,l,0.8,0), COLORMAGENTA;
STICKLINE(b>0,o,c,8,0), COLORMAGENTA;
牛股识别附图
Aa1:=SUMBARS(VOL,CAPITAL);
换手成本:=IF(CAPITAL>0,SUM(AMOUNT,Aa1)/SUM(VOL,Aa1)/100,EMA(CLOSE,120)){,pointdot,COLORGRAY,LINETHICK2;100%换手平均成本线};
换手成本20:HHV((llV(换手成本,1)+HHV(换手成本,2))/2,20),COLORyellow,LINETHICK2;
换手成本120:HHV((llV(换手成本,1)+HHV(换手成本,2))/2,120),COLORred,LINETHICK2;
(换手成本120,换手成本120=换手成本20,rgb(255,0,0),换手成本120>换手成本20 or 换手成本120<换手成本20,rgb(0,255,0)),linethick4;
牛股 选股
CROSS(WINNER(CLOSE),0.95);
829477939.jpg
|