通达信短期头部-见信号2天必见顶-改别人的源码
头部判断对于短线很难,这源码就是找出见光死的信号,2天内选较高价位逃跑
N:=3;
M:=39;
ZF:=(HHV(H,N)-LLV(L,N))/LLV(L,N);
CQ:=REF(ZF,1)<M/100;
GL:=BARSCOUNT(C)>N;
TP:=C>=REF(HHV(H,N),1);
A1:=CQ AND GL AND TP;
A2:=MA(C,5) >MA(C,10)AND MA(C,10) >MA(C,20);
A3:=MACD>0;
A4:=(C-REF(C,1))/REF(C,1) >6/100;
A7:=MA(C#WEEK,5)>MA(C#WEEK,10);
A8:=MA(C#WEEK,10)>MA(C#WEEK,20);
A9:=MACD#WEEK >0;
A10:=A1 AND A2 AND A3 AND A4;
A11:= A7 AND A8;
A9 AND A10 AND A11;{平台选股:CROSS(0.2,A1+A2+A3+A4+A7+A8+A9=0);};
814144447.jpg
|