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支*1,CONST(NOTEXT点金_支)),COLORGREEN;
DRAWNUMBER(ISLASTBAR,NOTEXT点金_压1*1,CONST(NOTEXT点金_压1)),COLORLIMAGENTA;
DRAWNUMBER(ISLASTBAR,NOTEXT点金_支1*1,CONST(NOTEXT点金_支1)),COLOR00FF7F;
HJ_16:=CLOSE>REF(CLOSE,4);
HJ_17:=BARSLASTCOUNT(HJ_16);
HJ_18:=HJ_17=18;{www.fxjgsw.com}
HJ_19:=ISLASTBAR AND BETWEEN(HJ_17,1,17);
HJ_20:=(BACKSET(HJ_18>0,18) OR BACKSET(HJ_19>0,HJ_17))*HJ_17;
DRAWNUMBER(HJ_20>0,HIGH*1.02,HJ_20),COLORMAGENTA;
DRAWNUMBER(HJ_17=9,HIGH*1.02,9),COLORGREEN;
DRAWNUMBER(HJ_17=13,HIGH*1.02,13),COLORYELLOW;
DRAWNUMBER(HJ_17=18,HIGH*1.02,18),COLORYELLOW;
HJ_21:=CLOSE<REF(CLOSE,4);
HJ_22:=BARSLASTCOUNT(HJ_21);
HJ_23:=HJ_22=18;{www.fxjgsw.com}
HJ_24:=ISLASTBAR AND BETWEEN(HJ_22,1,17);
HJ_25:=(BACKSET(HJ_23>0,18) OR BACKSET(HJ_24>0,HJ_22))*HJ_22;
DRAWNUMBER(HJ_25>0,LOW*0.98,HJ_25),COLORMAGENTA;
DRAWNUMBER(HJ_22=9,LOW*0.98,9),COLORGREEN;
DRAWNUMBER(HJ_22=13,LOW*0.98,13),COLORYELLOW;
DRAWNUMBER(HJ_22=18,LOW*0.98,18),COLORYELLOW;
{-----------------------------------} |