阴生阳,阳延阳,阳亡阴,无限循环。追涨杀跌是多数小散最爱犯的错误,阴线是阳线产生的沃土。指标取连续跌幅超过5%的三根阴线,另外可调整为三天二天满足同样可以,过阴线开盘价为买入信号。希望该指标对各位指标爱好者有用!!!
{主图}
AA:=BARSLAST(COUNT((REF(C,1)/C-1)*100 =幅度,3) =根数 AND (REF(C,1)/C-1)*100 =幅度);
BB:IF(AA 30,REF(O,BARSLAST(CURRBARSCOUNT=CONST(AA)+1)),DRAWNULL),LINETHICK2,COLORRED;
CC:=BARSLAST(CURRBARSCOUNT=CONST(AA)+2);
DRAWTEXT(CC,H,'三外有三'),DRAWABOVE;
DRAWICON((COUNT(C BB,CC)=1 AND C BB OR CROSS(C,BB)) AND CC =30,L,1);
{选股}
AA:=BARSLAST(COUNT((REF(C,1)/C-1)*100 =幅度,3) =根数 AND (REF(C,1)/C-1)*100 =幅度);
BB:=IF(AA 30,REF(O,BARSLAST(CURRBARSCOUNT=CONST(AA)+1)),DRAWNULL);
CC:=BARSLAST(CURRBARSCOUNT=CONST(AA)+2);
XG:=(COUNT(C BB,CC)=1 AND C BB OR CROSS(C,BB)) AND CC
COUNT(XG,5);