主图
HH:=HHV(HIGH,5);
LL:=LLV(LOW,5);
HH1:=BARSLAST((HH > REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
IF((HH1 < LL1),LL,DRAWNULL),LINETHICK2,COLORBB0066;
IF((HH1 > LL1),HH,DRAWNULL),LINETHICK2,COLOR1B8800;
STICKLINE((HH1 < LL1),CLOSE,OPEN,3,0),COLORRED;
STICKLINE((HH1 < LL1),HIGH,LOW,0,0),COLORRED;
STICKLINE((HH1 > LL1),CLOSE,OPEN,3,0),COLORFF0000;
STICKLINE((HH1 > LL1),HIGH,LOW,0,0),COLORFF0000;
DRAWICON(CROSS(HH1,LL1),HH,11);
DRAWICON(CROSS(LL1,HH1),LL,12);
DRAWTEXT(CROSS(HH1,LL1),HH,'鍗?'),COLORFF0000;
DRAWTEXT(CROSS(LL1,HH1),LL,'小魔 '),COLORFF00FF;
DRAWTEXT(FILTER(((HH1 < REF(HH1,1)) AND (HH1 < LL1)),90),LOW,'买吗'),COLORFF00FF;
DRAWTEXT(FILTER(((LL1 < REF(LL1,1)) AND (HH1 > LL1)),90),HIGH,'鈾€鍑?'),COLORFF0000;
副图1
A1:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416>70;
A2:=UPNDAY(C,3);
A3:=C/REF(C,3)<1.1 AND C/REF(C,3)/3<1.035;
XG: A1 AND A2 AND A3;
副图2
STICKLINE(CLOSE,30,40,4,1),COLOR404000;
STICKLINE(CLOSE,20,30,4,1),COLOR404000;
STICKLINE(CLOSE,0,20,4,1),COLOR404000;
STICKLINE(CLOSE,0,10,4,1),COLOR404000;
XA_1:=EMA(CLOSE,5);
XA_2:=EMA(VOL,5);
XA_3:=MA(CLOSE,5);
XA_4:=MA(CLOSE,10);
XA_5:=MA(CLOSE,20);
XA_6:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
XA_7:=CLOSE>XA_3;
XA_8:=CLOSE>XA_4;
XA_9:=CLOSE>XA_5;
XA_10:=XA_3>XA_4;
XA_11:=XA_3>XA_5;
XA_12:=REF(XA_5,1);
XA_13:=XA_5>XA_12;
XA_14:=IF(XA_7,10,0-10)+IF(XA_8,10,0-10)+IF(XA_9,10,0-10)+IF(XA_10,10,0-10)+IF(XA_11,10,0-10)+IF(XA_13,10,0-10);
XA_15:=ATAN((XA_1/REF(XA_1,1)-1)*100)*180/3.1416;
XA_16:=ATAN((XA_2/REF(XA_2,1)-1)*100)*180/3.1416;
XA_17:=CLOSE>XA_6 AND OPEN>XA_6 AND CLOSE>OPEN AND XA_15>50 AND XA_16>70;
XA_18:=FILTER(XA_17,13);
XA_19:=XA_18<=0;
XA_20:=BARSLAST(NOT(XA_19));
XA_21:=MA(LOW+(HIGH-LOW)/2,26)*1.15;
XA_22:=MA(LOW+(HIGH-LOW)/2,26)*0.95;
XA_23:=(XA_21+XA_22)/2;
XA_24:=(MA(CLOSE,5)+MA(OPEN,5))/2*1.06;
XA_25:=(MA(CLOSE,5)+MA(OPEN,5))/2*0.98;
XA_26:=(XA_24+XA_25)/2;
XA_27:=XA_24>XA_22;
XA_28:=XA_24>XA_23;
XA_29:=XA_24>XA_21;
XA_30:=XA_26>XA_22;
XA_31:=XA_26>XA_23;
XA_32:=XA_26>XA_21;
XA_33:=XA_25>XA_22;
XA_34:=XA_25>XA_23;
XA_35:=XA_25>XA_21;
XA_36:=IF(XA_27,10,0-10)+IF(XA_28,10,0-10)+IF(XA_29,10,0-10)+IF(XA_30,10,0-10)+IF(XA_31,10,0-10)+IF(XA_32,10,0-10)+IF(XA_33,10,0-10)+IF(XA_34,10,0-10)+IF(XA_35,10,0-10);
XA_37:=EMA(EMA(EMA(CLOSE,13),13),13);
XA_38:=ATAN((XA_37/REF(XA_37,1)-1)*100)*180/3.1416;
XA_39:=XA_38>0;
XA_40:=BARSLAST(NOT(XA_39));
XA_41:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
XA_42:=CEILING(SMA(XA_41,13,8));
XA_43:=XA_42<10 AND XA_14=(-60) AND XA_15<(-60);
XA_44:=BARSLAST(NOT(XA_43<1));
STICKLINE(XA_43>0,1,9,3,1),COLORRED;
STICKLINE(XA_18=1,11,19,3,1),COLORMAGENTA;
STICKLINE(XA_36=10 AND REF(XA_36<10,1),21,29,3,1),COLORGREEN;
STICKLINE(XA_40=1,31,39,3,1),COLORYELLOW;
DRAWNUMBER(XA_39>=0,36,XA_40),COLORWHITE;
DRAWNUMBER(XA_36>=0,26,XA_36),COLORWHITE;
DRAWNUMBER(XA_36<0,26,0),COLORWHITE;
DRAWNUMBER(XA_18<=1,16,XA_20),COLORWHITE;
DRAWNUMBER(XA_43>=0,6,XA_44),COLORWHITE;