XA_1:=EMA(CLOSE,7);
XA_2:=EMA(CLOSE,13);
L3:EMA(CLOSE,18);
XA_3:=EMA(CLOSE,34);
M1:EMA(EMA(EMA(L3,1),1),1),COLORGREEN,LINETHICK3;
IF(M1>=REF(M1,1),M1,DRAWNULL),COLORRED,LINETHICK3;
XA_4:=MAX(XA_1,XA_2);
XA_5:=MAX(XA_4,L3);
XA_6:=MAX(XA_5,XA_3);
XA_7:=MIN(XA_1,XA_2);
XA_8:=MIN(XA_7,L3);
XA_9:=MIN(XA_8,XA_3);
XA_10:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_11:=MA(XA_10,9);{www.fxjgsw.com}
XA_12:=IF(CROSS(XA_10,XA_11),1,0);
XA_13:=IF(REF(XA_10,1)<REF(XA_11,1) AND REF(XA_10,2)<REF(XA_11,2) AND REF(XA_10,3)<REF(XA_11,3) AND REF(XA_10,4)<REF(XA_11,4) AND REF(XA_10,5)<REF(XA_11,5) AND REF(XA_10,6)<REF(XA_11,6) AND REF(XA_10,7)<REF(XA_11,7) AND REF(XA_10,8)<REF(XA_11,8) AND REF(XA_10,8)<REF(XA_11,8) AND REF(XA_10,9)<REF(XA_11,9) AND REF(XA_10,10)<REF(XA_11,10),1,0);
XA_14:=IF(REF(XA_10,1)>0 AND REF(XA_10,2)>0 AND REF(XA_10,3)>0 AND REF(XA_10,4)>0 AND REF(XA_10,5)>0 AND REF(XA_10,6)>0 AND REF(XA_10,7)>0 AND REF(XA_10,8)>0 AND REF(XA_10,9)>0 AND REF(XA_10,10)>0,1,0);
XA_15:=IF((REF(XA_6,1)-REF(XA_9,1))/((REF(CLOSE,1)+REF(OPEN,1))/2)<0.1 AND (REF(XA_6,2)-REF(XA_9,2))/((REF(CLOSE,2)+REF(OPEN,2))/2)<0.1 AND (REF(XA_6,3)-REF(XA_9,3))/((REF(CLOSE,3)+REF(OPEN,3))/2)<0.1,1,0);
XA_16:=IF(XA_12+XA_13+XA_14+XA_15=4,1,0);
XA_17:=IF(DATE<=1991230,1,0);
XA_18:=XA_16=1 AND XA_17=1;
XA_19:=IF(FINANCE(7)<2000000000,1,0);
DRAWICON(CLOSE>OPEN AND CLOSE>XA_6 AND LOW<XA_9 AND DATE<=1991230 AND FILTER(CLOSE>OPEN AND CLOSE>XA_6 AND LOW<XA_9 AND DATE<=1991230,20),LOW,1),COLORWHITE;
DRAWICON(XA_16=1 AND XA_17=1,LOW,1);
DRAWICON(CLOSE>OPEN AND HIGH>XA_6 AND LOW<XA_9 AND XA_10>XA_11 AND DATE<=1991230,LOW,1);
DRAWICON(CLOSE!=OPEN AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND OPEN>REF(CLOSE,1) AND CLOSE>REF(HIGH,1) AND CLOSE>REF(HIGH,2) AND CLOSE>REF(HIGH,3) AND CLOSE>REF(HIGH,4) AND CLOSE>REF(HIGH,5) AND (CLOSE+OPEN)*0.5>REF(HIGH,1) AND OPEN-REF(CLOSE,1)>0.3*(REF(HIGH,1)-REF(LOW,1)) AND FILTER(CLOSE!=OPEN AND OPEN>REF(CLOSE,1) AND CLOSE>REF(HIGH,1) AND CLOSE>REF(HIGH,2) AND CLOSE>REF(HIGH,3) AND CLOSE>REF(HIGH,4) AND CLOSE>REF(HIGH,5) AND (CLOSE+OPEN)*0.5>REF(HIGH,1) AND OPEN-REF(CLOSE,1)>0.3*(REF(HIGH,1)-REF(LOW,1)),10) AND DATE<=1991230,OPEN,7);
XA_20:=BACKSET(REF(CLOSE,7)=HHV(CLOSE,13),8);
XA_21:=CROSS(XA_20,0.9);
XA_22:=BACKSET(REF(CLOSE,7)=LLV(CLOSE,13),8);
XA_23:=CROSS(XA_22,0.9);
压力:REF(CLOSE,BARSLAST(XA_21)),POINTDOT,COLORWHITE;
STICKLINE(CLOSE,REF(CLOSE,BARSLAST(XA_21)),REF(CLOSE,BARSLAST(XA_21)),5,0),COLORWHITE;
支撑:REF(CLOSE,BARSLAST(XA_23)),POINTDOT,COLORYELLOW;
STICKLINE(CLOSE,REF(CLOSE,BARSLAST(XA_23)),REF(CLOSE,BARSLAST(XA_23)),5,0),COLORYELLOW;
DRAWICON(CLOSE>OPEN AND CLOSE>压力 AND LOW<压力,LOW,1);
|