通达信喇叭口或嘴选股/副图指标
喇叭口的意思就是股价上涨,成交量小跌,喇叭嘴就是股价下跌,成交量放大。这二个是相反形态。
副图源码
JZ:=MA((H-L)/L*100,30);
喇叭嘴:=EVERY(C REF(C,1),2) AND EVERY(V REF(V,1),2) AND (HHV(H,3)/LLV(L,3)-1)*100 =JZ*3;
喇叭口:=EVERY(C REF(C,1),2) AND EVERY(V REF(V,1),2) AND (HHV(H,3)/LLV(L,3)-1)*100 =JZ*3;
STICKLINE(喇叭嘴,0,1,0,0),COLORWHITE;
STICKLINE(喇叭口,0,-1,0,0),COLORYELLOW;
DRAWTEXT(FILTER(喇叭嘴,2),0, 喇叭嘴 ),COLORWHITE;
DRAWTEXT(FILTER(喇叭口,2),0, 喇叭口 ),COLORYELLOW;
选股源码:
JZ:=MA((H-L)/L*100,30);
喇叭嘴:=EVERY(C REF(C,1),2) AND EVERY(V REF(V,1),2) AND (HHV(H,3)/LLV(L,3)-1)*100 =JZ*3;
喇叭口:=EVERY(C REF(C,1),2) AND EVERY(V REF(V,1),2) AND (HHV(H,3)/LLV(L,3)-1)*100 =JZ*3;
XG:(喇叭嘴 OR 喇叭口) AND C=L;