T:=BARSLAST(C>REF(C,1)*1.095 AND C=H);
SY:=H/MAX(C,O);
ST:=MAX(C,O)/MIN(C,O);
XY:=MIN(C,O)/L;
TJ1:=SY>XY AND XY<ST AND SY>ST AND ST>1.005;
TJ2:=XY>SY AND XY>ST AND SY<ST AND ST>1.005;
TJ3:=REF(TJ1,1) AND TJ2;
TT:=BARSLAST(L=LLV(L,30));
ZF:=(C-REF(C,TT+1))/REF(C,TT+1)*100;
XG:CROSS(COUNT(TJ3,T)=1,0.5) AND TT<20 AND ZF<15 AND T<TT;
九毛八公式解读
T赋值:上次收盘价>1日前的收盘价*1.095ANDC=最高价距今天数 SY赋值:最高价/收盘价和开盘价的较大值 ST赋值:收盘价和开盘价的较大值/收盘价和开盘价的较小值 XY赋值:收盘价和开盘价的较小值/最低价 TJ1赋值:SY>XY AND XYST AND ST>1.005 TJ2赋值:XY>SY AND XY>ST AND SY 1.005 TJ3赋值:1日前的TJ1 AND TJ2 TT赋值:上次最低价=30日内最低价的最低值距今天数 ZF赋值:(收盘价-TT+1日前的收盘价)/TT+1日前的收盘价*100 输出XG:统计T日中满足TJ3的天数=1上穿0.5 AND TT<20 AND ZF<15 AND T