HL:=(H+L)/2;
JXC:=MA(HL,5)-MA(HL,34);
TJ1:=REF(C,1)/L>1.05 AND C/L>1.05 AND L<REF(L,1) AND REF(L,1)<REF(L,2);
TJ2:=REF(TJ1,4)=1 OR REF(TJ1,5)=1 OR REF(TJ1,6)=1 OR REF(TJ1,7)=1 OR REF(TJ1,8)=1;
TJ3:=JXC>REF(JXC,1) AND REF(JXC,1)>REF(JXC,2) AND REF(JXC,2)>REF(JXC,3) AND
REF(JXC,3)<REF(JXC,4) AND REF(JXC,4)<REF(JXC,5) AND REF(JXC,5)<REF(JXC,6) AND
REF(JXC,6)<REF(JXC,7) AND REF(JXC,7)<REF(JXC,8) AND REF(JXC,8)<0;
SLZ:=TJ2 AND TJ3; {钱袋}
DX:=JXC>0 AND JXC>REF(JXC,1) AND REF(JXC,1)<REF(JXC,2) AND REF(JXC,2)<REF(JXC,3) AND REF(JXC,3)<REF(JXC,4); {红箭头}
BCOUNT:=BARSLAST(JXC>0);
BD:=LLV(JXC,BCOUNT);
BCOUNTD:=LLVBARS(JXC,BCOUNT);
B3:=JXC<0 AND REF(JXC,1)<REF(JXC,2) AND JXC>REF(JXC,1);
B31:=COUNT(B3,BCOUNTD);
AA:=JXC>REF(JXC,1) AND REF(JXC,1)<REF(JXC,2) AND REF(JXC,2)<REF(JXC,3) AND REF(JXC,3)<REF(JXC,4);
SF:=B31>=2 AND B3 AND AA; {向上手指}
XG:SLZ OR DX OR SF;
九毛八公式解读
HL赋值:(最高价+最低价)/2 JXC赋值:HL的5日简单移动平均-HL的34日简单移动平均 TJ1赋值:1日前的收盘价/最低价>1.05 AND 收盘价/最低价>1.05 AND 最低价<1日前的最低价 AND 1日前的最低价<2日前的最低价 TJ2赋值:4日前的TJ1=1 OR 5日前的TJ1=1 OR 6日前的TJ1=1 OR 7日前的TJ1=1 OR 8日前的TJ1=1 TJ3赋值:JXC>1日前的JXC AND 1日前的JXC>2日前的JXC AND 2日前的JXC>3日前的JXC ANDREF(JXC,3)<4日前的JXC AND 4日前的JXC<5日前的JXC AND 5日前的JXC<6日前的JXC ANDREF(JXC,6)<7日前的JXC AND 7日前的JXC<8日前的JXC AND 8日前的JXC<0 SLZ赋值:TJ2 AND TJ3 DX赋值:JXC>0 AND JXC>1日前的JXC AND 1日前的JXC<2日前的JXC AND 2日前的JXC<3日前的JXC AND 3日前的JXC<4日前的JXC BCOUNT赋值:上次JXC>0距今天数 BD赋值:BCOUNT日内JXC的最低值 BCOUNTD赋值:BCOUNT日内JXC距今天数 B3赋值:JXC<0 AND 1日前的JXC<2日前的JXC AND JXC>1日前的JXC B31赋值:统计BCOUNTD日中满足B3的天数 AA赋值:JXC>1日前的JXC AND 1日前的JXC<2日前的JXC AND 2日前的JXC<3日前的JXC AND 3日前的JXC<4日前的JXC SF赋值:B31>=2 AND B3 AND AA 输出 XG:SLZ OR DX OR SF