HJ_1:=IF(DATE<1161231,1,DRAWNULL);
HJ_2:=IF(HJ_1=1,MACD.DIF,DRAWNULL);
HJ_3:=IF(HJ_1=1,MACD.DEA,DRAWNULL);
HJ_4:=CROSS(0,HJ_3);
HJ_5:=BARSLAST(HJ_4);
HJ_6:=COUNT(CROSS(HJ_2,HJ_3) AND HJ_2<(-0.25),HJ_5);
DRAWNUMBER(CROSS(HJ_2,HJ_3) AND HJ_2<(-0.25),LOW*1,HJ_6);
HJ_7:=BARSLAST(CROSS(HJ_2,HJ_3) AND HJ_2<(-0.25));
HJ_8:=IF(HJ_7<HJ_5,HJ_7,0);
HJ_9:=COUNT(CROSS(HJ_2,0),HJ_8);
HJ_10:=REF(HJ_9,1)=0 AND HJ_9=1;
HJ_11:=BARSLAST(HJ_10);
HJ_12:=CROSS(HJ_2,HJ_3) AND HJ_3>0 AND HJ_2<0.25;
HJ_13:=COUNT(HJ_12,HJ_11);
HJ_14:=REF(HJ_13,1)=0 AND HJ_13=1;
HJ_15:=HJ_14;{www.fxjgsw.com}
HJ_16:=IF(HJ_15,HHV(HIGH,HJ_11+1),DRAWNULL);
HJ_17:=IF(HJ_15,LLV(LOW,HJ_11+1),DRAWNULL);
HJ_18:=(HJ_16-HJ_17)/HJ_17*100;
HJ_19:=HJ_18/HJ_11;
HJ_20:=BARSLAST(HJ_15);
DRAWICON(HJ_15,LOW*0.96,7);
HJ_21:=COUNT(CLOSE>REF(HJ_16,HJ_20),HJ_20);
HJ_22:=HJ_21=1 AND REF(HJ_21,1)=0 AND VOL>REF(VOL,1);
DRAWICON(HJ_22,LOW*0.96,26);
HJ_23:=BARSLAST(HJ_22);
龙门_顶:IF(HJ_22,REF(HJ_16,HJ_20),DRAWNULL),NODRAW,COLORRED;
预测买:IF(HJ_22,(HIGH+LOW)/2,DRAWNULL),NODRAW,COLORMAGENTA;
突破天数:IF(HJ_22,HJ_11,DRAWNULL),NODRAW,COLORWHITE;
突破总换:IF(HJ_22,SUM(HSL,HJ_11),DRAWNULL),NODRAW,COLORMAGENTA;
突破均换:IF(HJ_22,突破总换/HJ_11,DRAWNULL),NODRAW,COLORGREEN;
振幅:IF(HJ_22,REF(HJ_18,HJ_20),DRAWNULL),NODRAW,COLORYELLOW;
流通市值:FINANCE(7)*CLOSE/100000000,NODRAW,COLORCYAN;
NOTEXT龙门顶:DRAWLINE(HJ_15,HJ_16,HJ_22,REF(HJ_16,HJ_20),0),COLORMAGENTA;
STICKLINE(HJ_20>0 AND HJ_20<21,REF(HJ_16,HJ_20),REF(HJ_16,HJ_20),1,0),COLORMAGENTA;
DRAWNUMBER(HJ_22,HIGH*1.04,INTPART(SUM(ZJBY.净流入,HJ_11))),COLORYELLOW;
HJ_24:=IF(HJ_1=1,HHV(HIGH,HT),0);
HJ_25:=IF(HJ_1=1,LLV(LOW,LT),1);
HJ_26:=BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(LOW=HJ_25)+1))+1;
HJ_27:=BARSSINCE(BACKSET(ISLASTBAR,BARSLAST(HIGH=HJ_24)+1))+1;
HJ_28:=IF(CLOSE>100,SUM(HIGH*VOL,HJ_27)/SUM(VOL,HJ_27),SUM(AMOUNT,HJ_27)/SUM(VOL,HJ_27)/100*SUM(HIGH,HJ_27)/SUM(CLOSE,HJ_27));
HJ_29:=IF(CLOSE>100,SUM(LOW*VOL,HJ_26)/SUM(VOL,HJ_26),SUM(AMOUNT,HJ_26)/SUM(VOL,HJ_26)/100*SUM(LOW,HJ_26)/SUM(CLOSE,HJ_26));
NOTEXT点金_压:IF(REF(HIGH,HJ_27)>REF(HIGH,HJ_27+1) AND REF(HIGH,HJ_27)>REF(HIGH,HJ_27-1),HJ_29,HJ_28),COLORRED,LINETHICK2;
NOTEXT点金_支:IF(REF(HIGH,HJ_26)>REF(HIGH,HJ_26+1) AND REF(HIGH,HJ_26)>REF(HIGH,HJ_26-1),HJ_28,HJ_29),COLORGREEN,LINETHICK2;
HJ_30:=IF(CLOSE>100,SUM(LOW*VOL,HJ_27)/SUM(VOL,HJ_27),SUM(AMOUNT,HJ_27)/SUM(VOL,HJ_27)/100*SUM(LOW,HJ_27)/SUM(CLOSE,HJ_27));
HJ_31:=IF(CLOSE>100,SUM(HIGH*VOL,HJ_26)/SUM(VOL,HJ_26),SUM(AMOUNT,HJ_26)/SUM(VOL,HJ_26)/100*SUM(HIGH,HJ_26)/SUM(CLOSE,HJ_26));
NOTEXT点金_压1:IF(REF(HIGH,HJ_27)>REF(HIGH,HJ_27+1) AND REF(HIGH,HJ_27)>REF(HIGH,HJ_27-1),HJ_31,HJ_30),COLORLIMAGENTA;
NOTEXT点金_支1:IF(REF(HIGH,HJ_26)>REF(HIGH,HJ_26+1) AND REF(HIGH,HJ_26)>REF(HIGH,HJ_26-1),HJ_30,HJ_31),COLOR00FF7F;
DRAWNUMBER(ISLASTBAR,NOTEXT点金_压*1.005,CONST(NOTEXT点金_压)),COLORRED;
DRAWNUMBER(ISLASTBAR,NOTEXT点金_支*1.005,CONST(NOTEXT点金_支)),COLORGREEN;
DRAWNUMBER(ISLASTBAR,NOTEXT点金_压1*1.005,CONST(NOTEXT点金_压1)),COLORLIMAGENTA;
DRAWNUMBER(ISLASTBAR,NOTEXT点金_支1*1.005,CONST(NOTEXT点金_支1)),COLOR00FF7F;
HJ_32:=CLOSE>REF(CLOSE,4);
HJ_33:=BARSLASTCOUNT(HJ_32);
HJ_34:=HJ_33=9;
HJ_35:=ISLASTBAR AND BETWEEN(HJ_33,1,8);
HJ_36:=(BACKSET(HJ_34>0,9) OR BACKSET(HJ_35>0,HJ_33))*HJ_33;
DRAWTEXT(HJ_36>0,HIGH*1.02,VAR2STR(HJ_36,0)),COLORMAGENTA;
DRAWNUMBER(HJ_33=9,HIGH*1.02,9),COLORGREEN;
HJ_37:=CLOSE<REF(CLOSE,4);
HJ_38:=BARSLASTCOUNT(HJ_37);
HJ_39:=HJ_38=9;
HJ_40:=ISLASTBAR AND BETWEEN(HJ_38,1,8);
HJ_41:=(BACKSET(HJ_39>0,9) OR BACKSET(HJ_40>0,HJ_38))*HJ_38;
DRAWTEXT(HJ_41>0,LOW*0.98,VAR2STR(HJ_41,0)),COLORMAGENTA;
DRAWNUMBER(HJ_38=9,LOW*0.98,9),COLORGREEN;
DRAWTEXT_FIX(1,0,0,0,1),COLOR0080FF;
DRAWTEXT_FIX(1,0.03,0,0,HYBLOCK),COLOR0080FF;
DRAWTEXT_FIX(1,0,0.04,0,2),COLORYELLOW;
DRAWTEXT_FIX(1,0.03,0.04,0,DYBLOCK),COLORYELLOW;
{-----------------------------------} |