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(CLOSE,1) 1.05 AND DYNAINFO(7)/OPEN 1.05;
HJ_27:=VOL/REF(VOL,1) 1.2 AND COUNT(CLOSE OPEN,1) OR (LOW REF(HIGH,1) AND COUNT(OPEN CLOSE,1) AND VOL/REF(VOL,1) 1.2);
HHD31:=HJ_24 AND CLOSE/REF(CLOSE,1) 1.095 AND HJ_27 AND HJ_26 OR STICKLINE(CLOSE/REF(CLOSE,1) =1.096 AND HIGH=CLOSE,OPEN,CLOSE,2,0),COLORYELLOW;
QD:=FILTER(HHD31,5),NODRAW;
擒龙箭:JNQB AND QD;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
J1:=REVERSE(J);
AA:=REF(MA(C,1),10) REF(MA(C,60),10);
买入:=CROSS(J,J1) AND AA;
主力进:买入;
STICKLINE(买入,0,30,6,0),COLORRED;
STICKLINE(买入,30,60,4,0),COLORYELLOW;
STICKLINE(买入,60,80,2,0),COLORYELLOW;
DRAWTEXT(买入,70,'★主力进'),COLORRED;
STICKLINE(擒龙箭,40,20,3.5,0),COLORA8A8A8;
STICKLINE(擒龙箭,101,96,0.1,0),COLORWHITE;
STICKLINE(擒龙箭,96,92,0.3,0),COLORWHITE;
STICKLINE(擒龙箭,92,88,0.6,0),COLORWHITE;
STICKLINE(擒龙箭,88,84,0.9,0),COLORWHITE;
STICKLINE(擒龙箭,84,80,1.2,0),COLORWHITE;
STICKLINE(擒龙箭,80,50,1.4,0),COLORWHITE;
STICKLINE(擒龙箭,74,70,0.6,0),COLORRED;
STICKLINE(擒龙箭,65,64,1.5,0),COLORBLUE;
STICKLINE(擒龙箭,51,49,1.5,0),COLORBLUE;
STICKLINE(擒龙箭,49,25,1.5,0),COLORWHITE;
STICKLINE(擒龙箭,25,20,1.3,0),COLORRED;
STICKLINE(擒龙箭,20,13,1,0),COLORRED;
STICKLINE(擒龙箭,13,7,0.7,0),COLORRED;
STICKLINE(擒龙箭,7,1,0.3,0),COLORRED;
STICKLINE(擒龙箭,1,(-7),0.1,0),COLORRED;
STICKLINE(擒龙箭,24.799999,21.799999,1,0),COLORYELLOW;
STICKLINE(擒龙箭,21.799999,18.799999,0.5,0),COLORYELLOW;
STICKLINE(擒龙箭,18.799999,15.8,0.1,0),COLORYELLOW;
STICKLINE(擒龙箭,60,55,0.5,0),COLORRED;