C1:=O>REF(C,1) AND L>REF(H,1);
C2:=BETWEEN(C/O,1.045,0.98);
C3:=H/MAX(C,O)>MAX(C,O)/MIN(C,O) OR H/MAX(C,O)>1.03;
C4:=MIN(C,O)/L<MAX(C,O)/MIN(C,O) AND MIN(C,O)/L<1.02;
C5:=BETWEEN(V/REF(V,1),1.1,4);
C6:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20);
C7:=C=HHV(C,7);
八戒昨天:=C1 AND C2 AND C3 AND C4 AND C5 AND C6 AND C7;
D1:=O/REF(C,1)>0.98;
D2:=L>REF(H,2);
D3:=C/REF(MAX(C,O),1)>1.01;
八戒今天:=D1 AND D2 AND D3;
XA:=REF(八戒昨天,1) AND 八戒今天;
DRAWTEXT(XA,50,'-------八戒仙人指路'),COLORMAGENTA;
STICKLINE(XA,40,20,3.5,0),COLORA8A8A8;
STICKLINE(XA,50,49,1.7,0),COLORA8A8A8;
STICKLINE(XA,49,48,1.9,0),COLORA8A8A8;
STICKLINE(XA,48,47,2.1,0),COLORA8A8A8;
STICKLINE(XA,47,46,2.3,0),COLORA8A8A8;
STICKLINE(XA,46,45,2.5,0),COLORA8A8A8;
STICKLINE(XA,45,44,2.7,0),COLORA8A8A8;
STICKLINE(XA,44,43,2.9,0),COLORA8A8A8;
STICKLINE(XA,43,42,3.1,0),COLORA8A8A8;
STICKLINE(XA,42,41,3.3,0),COLORA8A8A8;
STICKLINE(XA,41,40,3.5,0),COLORA8A8A8;
STICKLINE(XA,101,96,0.1,0),COLORWHITE;
STICKLINE(XA,96,92,0.3,0),COLORWHITE;
STICKLINE(XA,92,88,0.6,0),COLORWHITE;
STICKLINE(XA,88,84,0.9,0),COLORWHITE;
STICKLINE(XA,84,80,1.2,0),COLORWHITE;
STICKLINE(XA,80,50,1.4,0),COLORWHITE;
STICKLINE(XA,74,70,0.6,0),COLORRED;
STICKLINE(XA,65,64,1.5,0),COLORBLUE;
STICKLINE(XA,51,49,1.5,0),COLORBLUE;
STICKLINE(XA,49,25,1.5,0),COLORWHITE;
STICKLINE(XA,25,20,1.3,0),COLORRED;
STICKLINE(XA,20,13,1,0),COLORRED;
STICKLINE(XA,13,7,0.7,0),COLORRED;
STICKLINE(XA,7,1,0.3,0),COLORRED;
STICKLINE(XA,1,(-7),0.1,0),COLORRED;
STICKLINE(XA,24.799999,21.799999,1,0),COLORYELLOW;
STICKLINE(XA,21.799999,18.799999,0.5,0),COLORYELLOW;
STICKLINE(XA,18.799999,15.8,0.1,0),COLORYELLOW;
STICKLINE(XA,60,55,0.5,0),COLORRED;