底部选股(源码 副图/选股 通达信)
A:=COUNT( MACD.MACD 0,14)=14;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
零上:=A andDIFF 0 and DEA 0 andMACD
筹码:=low*0.95 COST(10) and CLOSE*1.01 COST(50) and h*1.15 COST(80);
MA6:=MA(C,6);
MA18:=MA(C,18);
买进价:=((C-REF(MA6,1))/6+MA6)*1.004;
买进条件:=CROSS(C,买进价) AND 买进价 REF(买进价,1);
上轨:=(1+6/100)*MA(CLOSE,25);
交叉:=CROSS(c,上轨);
交筹:=CROSS(ma(c,3),COST(50));
白金:零上 and 筹码 and 买进条件 and V 1.7*REF(V,1);
{前:=ref(c,1) c andcount(白金,3) }
新高:=HHV(CLOSE,30)=CLOSE;
买:筹码 andV 1.7*REF(V,1) and (交叉 or 交筹) and 新高;