通达信公式5日线回踩买入
思路要点:
1、股价回落到至5日线均和10日均线之间时,两均线仍保持向上运行; 2、股价回落时,成交量处在缩量状态; 3、股价首次回落至两均线夹角处时,预警信号4个点以下。
{主图} M5:MA(C,5); M10:MA(C,10); TJ1:=EVERY(V<REF(V,3),2)AND MIN(C,O)<REF(MIN(C,O),1)OR L<REF(L,1); GL:=(M5/M10-1)*100; TJ2:=EVERY(GL<18 AND M5>M10 AND M10>=REF(M10,1),3); TJ3:=(RANGE(REF(C,1),REF(M10,1),REF(M5,1)) OR RANGE(REF(O,1),REF(M10,1),REF(M5,1))) ; XG:=REF(TJ1,1) AND TJ3 AND TJ2 AND CROSS(C+0.01>=M5,0.5); DRAWICON(XG,L*0.95,1); STICKLINE(XG,C,O,2,0),COLORYELLOW; STICKLINE(XG,H,L,0,0),COLORYELLOW;
{幅图}
M5:=MA(C,5); M10:=MA(C,10); TJ1:=EVERY(V<REF(V,3),2)AND MIN(C,O)<REF(MIN(C,O),1)OR L<REF(L,1); GL:=(M5/M10-1)*100; TJ2:=EVERY(GL<18 AND M5>M10 AND M10>=REF(M10,1),3); TJ3:=(RANGE(REF(C,1),REF(M10,1),REF(M5,1)) OR RANGE(REF(O,1),REF(M10,1),REF(M5,1))) ; XG:=REF(TJ1,1) AND TJ3 AND TJ2 AND CROSS(C+0.01>=M5,0.5); STICKLINE(XG,0,7,1.5,0),COLORYELLOW;
{选股}
M5:=MA(C,5); M10:=MA(C,10); TJ1:=EVERY(V<REF(V,3),2)AND MIN(C,O)<REF(MIN(C,O),1)OR L<REF(L,1); GL:=(M5/M10-1)*100; TJ2:=EVERY(GL<18 AND M5>M10 AND M10>=REF(M10,1),3); TJ3:=(RANGE(REF(C,1),REF(M10,1),REF(M5,1)) OR RANGE(REF(O,1),REF(M10,1),REF(M5,1))) ; XG:REF(TJ1,1) AND TJ3 AND TJ2 AND CROSS(C+0.01>=M5,0.5);
|