M13:=MA(C,13);
M55:=MA(C,55);
T:=BARSLAST(CROSS(M13,C));
GL:=M55/MIN(C,O);
BL:=M13/M55;
TJ1:=EVERY(GL<1.025,T);
TJ2:=EVERY(BL<1.12,T);
TJ3:=EVERY(M55>=REF(M55,1) AND M13>M55,T+1);
TJ4:=COUNT(CROSS(C,M13),T+1)=1 AND CROSS(C,M13);
XG:TJ1 AND TJ2 AND TJ3 AND TJ4 AND BETWEEN(T,5,10) AND BL<1.03;
九毛八公式解读
M13赋值:收盘价的13日简单移动平均 M55赋值:收盘价的55日简单移动平均 T赋值:上次M13上穿收盘价距今天数 GL赋值:M55/收盘价和开盘价的较小值 BL赋值:M13/M55 TJ1赋值:最近T日一直存在GL<1.025 TJ2赋值:最近T日一直存在BL<1.12 TJ3赋值:最近T+1日一直存在M55>=1日前的M55ANDM13>M55 TJ4赋值:统计T+1日中满足收盘价上穿M13的天数=1 AND 收盘价上穿M13 输出XG:TJ1 AND TJ2 AND TJ3 AND TJ4 AND T位于5和10之间 AND BL<1.03