HJ_1:=HHV(HIGH,60);
HJ_2:=LLV(LOW,60);
HJ_3:=BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(LOW=HJ_2)+1))+1;
HJ_4:=BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(HIGH=HJ_1)+1))+1;
HJ_5:=IF(CLOSE>100,SUM(HIGH*VOL,HJ_4)/SUM(VOL,HJ_4),SUM(AMOUNT,HJ_4)/SUM(VOL,HJ_4)/100*SUM(HIGH,HJ_4)/SUM(CLOSE,HJ_4));
HJ_6:=IF(CLOSE>100,SUM(LOW*VOL,HJ_3)/SUM(VOL,HJ_3),SUM(AMOUNT,HJ_3)/SUM(VOL,HJ_3)/100*SUM(LOW,HJ_3)/SUM(CLOSE,HJ_3));
点石成金_压:IF(REF(HIGH,HJ_4)>REF(HIGH,HJ_4+1) AND REF(HIGH,HJ_4)>REF(HIGH,HJ_4-1),HJ_6,HJ_5),COLORRED;
点石成金_支:IF(REF(HIGH,HJ_3)>REF(HIGH,HJ_3+1) AND REF(HIGH,HJ_3)>REF(HIGH,HJ_3-1),HJ_5,HJ_6),COLORGREEN;
HJ_7:=IF(CLOSE>100,SUM(LOW*VOL,HJ_4)/SUM(VOL,HJ_4),SUM(AMOUNT,HJ_4)/SUM(VOL,HJ_4)/100*SUM(LOW,HJ_4)/SUM(CLOSE,HJ_4));
HJ_8:=IF(CLOSE>100,SUM(HIGH*VOL,HJ_3)/SUM(VOL,HJ_3),SUM(AMOUNT,HJ_3)/SUM(VOL,HJ_3)/100*SUM(HIGH,HJ_3)/SUM(CLOSE,HJ_3));
点石成金_压1:IF(REF(HIGH,HJ_4)>REF(HIGH,HJ_4+1) AND REF(HIGH,HJ_4)>REF(HIGH,HJ_4-1),HJ_8,HJ_7),COLORRED;
点石成金_支1:IF(REF(HIGH,HJ_3)>REF(HIGH,HJ_3+1) AND REF(HIGH,HJ_3)>REF(HIGH,HJ_3-1),HJ_7,HJ_8),COLORGREEN;
STICKLINE(点石成金_压>0,点石成金_压,点石成金_压1,0,0),COLORRED;
STICKLINE(点石成金_支>0,点石成金_支,点石成金_支1,0,0),COLORGREEN;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
HJ_9:=AMOUNT/VOL/100;{www.fxjgsw.com}
HJ_10:=CLOSE>OPEN AND REF(CLOSE,1)>HJ_9 AND CLOSE>HJ_9 AND CLOSE<300;
STICKLINE(HJ_10,OPEN,CLOSE,1,0),COLORLICYAN;
HJ_11:=OPEN>CLOSE AND CLOSE<HJ_9 AND HJ_9>REF(CLOSE,1);
STICKLINE(HJ_11,OPEN,CLOSE,1,0),COLORRED;
HJ_12:=VOL>REF(VOL,1)*0.95 AND VOL<REF(VOL,1)*1.05;
HJ_13:=WINNER(CLOSE)-WINNER(OPEN)>=0.2 AND HJ_12;
STICKLINE(HJ_13,OPEN,CLOSE,1,0),COLORBLUE;
HJ_14:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
HJ_15:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND HJ_14>=4.945;
HJ_16:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND HJ_14<=(-4.945);
涨停价:IF(HJ_15,REF(CLOSE,1)*1.05,REF(CLOSE,1)*1.1),NODRAW,COLORRED;
跌停价:IF(HJ_16,REF(CLOSE,1)*0.95,REF(CLOSE,1)*0.9),NODRAW,COLORGREEN;
HJ_17:=REF(CLOSE,1);
HJ_18:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1);
STICKLINE(HJ_18,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(HJ_18,OPEN,CLOSE,1,0),COLORMAGENTA;
HJ_19:=CLOSE=DTPRICE(REF(CLOSE,1),0.1);
STICKLINE(HJ_19,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(HJ_19,HIGH,LOW,0,1),COLORGREEN;
流通市值:FINANCE(40)/100000000,NODRAW;
MA5角度:ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*180/3.142,NODRAW,COLORRED;
循环年位置:(CLOSE-LLV(CLOSE,225))/(HHV(CLOSE,225)-LLV(CLOSE,225))*100,NODRAW,COLORGREEN;
HJ_20:=HHV(VOL,10);
HJ_21:=BARSLAST(HJ_20=VOL);
HJ_22:=CROSS(REF(MAX(CLOSE,OPEN),HJ_21),CLOSE);
STICKLINE(HJ_22,MAX(CLOSE,OPEN)*1.02,MIN(CLOSE,OPEN)*0.98,0,1),COLORRED;
STICKLINE(HJ_22,(OPEN+CLOSE)/2,(OPEN+CLOSE)/2,10,0),COLORRED;
DRAWICON(OPEN>REF(MAX(CLOSE,OPEN),1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE>MA(CLOSE,5),LOW*0.97,11);
DRAWICON(OPEN>REF(MAX(CLOSE,OPEN),1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE>MA(CLOSE,5),LOW*0.97,11);
HJ_23:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5);
HJ_24:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2) AND REFX(CLOSE,7)<REFX(CLOSE,3) AND REFX(CLOSE,8)<REFX(CLOSE,4);
HJ_25:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6);
HJ_26:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2) AND REFX(CLOSE,7)<REFX(CLOSE,3);
HJ_27:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7);
HJ_28:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2);
HJ_29:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8);
HJ_30:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1);
HJ_31:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9);
HJ_32:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE;
HJ_33:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10);
HJ_34:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1);
HJ_35:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)>REF(CLOSE,11);
HJ_36:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2);
HJ_37:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)<REF(CLOSE,11) AND REF(CLOSE,8)>REF(CLOSE,12);
HJ_38:=REFX(CLOSE,1)<REF(CLOSE,3);
HJ_39:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)<REF(CLOSE,11) AND REF(CLOSE,8)<REF(CLOSE,12) AND REF(CLOSE,9)>REF(CLOSE,13);
HJ_40:=IF(PERIOD<4,LOW*(1-(PERIOD+1)/10*0.01),LOW*0.98);
HJ_41:=IF(PERIOD<4,HIGH*(1+(PERIOD+1)/10*0.01),HIGH*1.05);
HJ_42:=CURRBARSCOUNT-1;
DRAWNUMBER(HJ_23 AND (HJ_24 OR HJ_42=0 OR (HJ_42=1 AND HJ_38) OR (HJ_42=2 AND HJ_36) OR (HJ_42=3 AND HJ_34) OR (HJ_42=4 AND HJ_32) OR (HJ_42=5 AND HJ_30) OR (HJ_42=6 AND HJ_28) OR (HJ_42=7 AND HJ_26)),HJ_40,1),COLORMAGENTA;
DRAWNUMBER(HJ_25 AND (HJ_26 OR HJ_42=0 OR (HJ_42=1 AND HJ_38) OR (HJ_42=2 AND HJ_36) OR (HJ_42=3 AND HJ_34) OR (HJ_42=4 AND HJ_32) OR (HJ_42=5 AND HJ_30) OR (HJ_42=6 AND HJ_28)),HJ_40,2),COLORMAGENTA;
DRAWNUMBER(HJ_27 AND (HJ_28 OR HJ_42=0 OR (HJ_42=1 AND HJ_38) OR (HJ_42=2 AND HJ_36) OR (HJ_42=3 AND HJ_34) OR (HJ_42=4 AND HJ_32) OR (HJ_42=5 AND HJ_30)),HJ_40,3),COLORMAGENTA;
DRAWNUMBER(HJ_29 AND (HJ_30 OR HJ_42=0 OR (HJ_42=1 AND HJ_38) OR (HJ_42=2 AND HJ_36) OR (HJ_42=3 AND HJ_34) OR (HJ_42=4 AND HJ_32)),HJ_40,4),COLORMAGENTA;
DRAWNUMBER(HJ_31 AND (HJ_32 OR HJ_42=0 OR (HJ_42=1 AND HJ_38) OR (HJ_42=2 AND HJ_36) OR (HJ_42=3 AND HJ_34)),HJ_40,5),COLORMAGENTA;
DRAWNUMBER(HJ_33 AND (HJ_34 OR HJ_42=0 OR (HJ_42=1 AND HJ_38) OR (HJ_42=2 AND HJ_36)),HJ_40,6),COLORMAGENTA;
DRAWNUMBER(HJ_35 AND (HJ_36 OR HJ_42=0 OR (HJ_42=1 AND HJ_38)),HJ_40,7),COLORMAGENTA;
DRAWNUMBER(HJ_37 AND (HJ_38 OR HJ_42<1),HJ_40,8),COLORMAGENTA;
DRAWNUMBER(HJ_39,HJ_40,9),COLORGREEN;
HJ_43:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5);
HJ_44:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)> |