3、6,a2,3,0),colorgreen;stickline(a6>c1,a6,c1,3,0),coloryellow;stickline(a1>c1,a1,c1,3,0),colorGREEN;tj:=c1>a;tj2:=c1>openorc1=openandc1>ref(c1,1);STICKLINE(tj2,HIGH,LOW,0.5,0),colorred;STICKLINE(tj,OPEN,CLOSE,8,0),color102088;STICKLINE(tj,OPEN,CLOSE,7,0),color102099;STICKLINE(tj,OPEN,CLOSE,6,0),color1
4、020aa;STICKLINE(tj,OPEN,CLOSE,5,0),color1020bb;STICKLINE(tj,OPEN,CLOSE,4,0),color1020cc;STICKLINE(tj,OPEN,CLOSE,3,0),color1020dd;STICKLINE(tj,OPEN,CLOSE,2,0),color1020ee;STICKLINE(tj,OPEN,CLOSE,1,0),color1020ff;STICKLINE(not(tj),OPEN,CLOSE,8,0),colorff7700;STICKLINE(not(tj),OPEN,CLOSE,7,0),colorff88
5、00;STICKLINE(not(tj),OPEN,CLOSE,6,0),colorff9900;STICKLINE(not(tj),OPEN,CLOSE,5,0),colorffaa00;STICKLINE(not(tj),OPEN,CLOSE,4,0),colorffbb00;STICKLINE(not(tj),OPEN,CLOSE,3,0),colorffcc00;STICKLINE(not(tj),OPEN,CLOSE,2,0),colorffdd00;STICKLINE(not(tj),OPEN,CLOSE,1,0),colorffee00;c11:=ref(c,1);c2:=hhv
6、(c11,2);c3:=llv(c11,1);et:=hhv(c11,2);et1:=ref(et,1);xb:=llv(c11,1);xb1:=ref(xb,1);m:=BARSLAST(c=xb1);m1:=ref(m,1);n9:=BARSLAST(c>etandc11<=et1);n1:=ref(n9,1);m2:=BARSLAST(m-n9>0andm1<=n1)+1;n2:=BARSLAST(n9-m>0andn1<=m1)+1;et2:=hhv(et,m2);xb2:=llv(xb,n2);app:=if(m-n9>0andm1<=n1,1,if(n9-m>0
7、andn1<=m1,0,2));h11:=if(m-n9>0,c,et2);h2:=if(app=1,c,c2);h3:=if(m-n9<0,c,xb2);h4:=if(app=1,c,xb2);关键位:=if(m-n9>0orapp=1,c,h3);p1:=laand量比>1anda1>ref(a1,1)and关键位>ref(关键位,1)orcross(c,a)and量比>1and