近期涨幅:=9;
今日跌幅:=5;
时间跨度:=100;
上升通道:=100;
中长距离:=50;
建仓值:=-1;
X_2:=26;X_1:=12;
X_3:=9;
X_4:=EMA(CLOSE,X_1)-EMA(CLOSE,X_2);
X_5:=EMA(X_4,X_3);
X_7:=9;
X_8:=3;
X_9:=3;
X_10:=(CLOSE-LLV(LOW,X_7))/(HHV(HIGH,X_7)-LLV(LOW,X_7))*100;
X_11:=SMA(X_10,X_8,1);
X_12:=SMA(X_11,X_9,1);
X_13:=3*X_11-2*X_12;
X_15:=EMA(CLOSE,5);
X_16:=EMA(X_15,8);
X_17:=EMA(X_16,13);
X_18:=EMA(X_17,50);
X_19:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_20:=(20*X_19+19*REF(X_19,1)+18*REF(X_19,2)+17*REF(X_19,3)+16*REF(X_19,4)+15*REF(X_19,5)+14*REF(X_19,6)+13*REF(X_19,7)+12*REF(X_19,8)+11*REF(X_19,9)+10*REF(X_19,10)+9*REF(X_19,11)+8*REF(X_19,12)+7*REF(X_19,13)+6*REF(X_19,14)+5*REF(X_19,15)+4*REF(X_19,16)+3*REF(X_19,17)+2*REF(X_19,18)+REF(X_19,20))/210;
X_21:=EMA(X_20,13);
X_34:=X_4<X_5 AND X_13>X_12;
X_39:=CLOSE>X_21 AND REF(CLOSE,1)<REF(X_21,1) AND CLOSE/REF(CLOSE,1)>1.09;
X_43:=X_21/X_18<1+0.01*中长距离;
X_46:=IF(EXIST(X_34,5),0,1);
主力突破:IF(X_39 AND X_43 AND X_46,40,0),COLORMAGENTA,LINETHICK2;