20193298403453504.png
X_1:=IF(CLOSE>OPEN AND HIGH>REF(CLOSE,1),ATAN((HIGH-REF(CLOSE,1))/REF(CLOSE,1)),0);
X_2:=IF(CLOSE>OPEN AND HIGH<REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(CLOSE,1)),0);
X_3:=IF(CLOSE>OPEN AND HIGH=REF(CLOSE,1),0,0);
X_4:=IF(CLOSE<OPEN AND HIGH>REF(CLOSE,1),ATAN((HIGH-REF(CLOSE,1))/REF(CLOSE,1)),0);
X_5:=IF(CLOSE<OPEN AND HIGH<REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(CLOSE,1)),0);
X_6:=IF(CLOSE<OPEN AND HIGH=REF(CLOSE,1),0,0);
X_7:=X_1+X_2+X_3+X_4+X_5+X_6;
X_8:=MA(X_7,9);
X_9:=MA(X_7,5);
X_10:=MA(X_7,3);
X_11:=IF(CLOSE>OPEN AND LOW>REF(CLOSE,1),ATAN((LOW-REF(CLOSE,1))/REF(CLOSE,1)),0);
X_12:=IF(CLOSE>OPEN AND LOW<REF(CLOSE,1),-(ATAN(REF(CLOSE,1)-LOW)/REF(CLOSE,1)),0);
X_13:=IF(CLOSE>OPEN AND LOW=REF(CLOSE,1),0,0);
X_14:=IF(CLOSE<OPEN AND LOW>REF(CLOSE,1),ATAN((LOW-REF(CLOSE,1))/REF(CLOSE,1)),0);
X_15:=IF(CLOSE<OPEN AND LOW<REF(CLOSE,1),-ATAN((REF(CLOSE,1)-LOW)/REF(CLOSE,1)),0);
X_16:=IF(CLOSE<OPEN AND LOW=REF(CLOSE,1),0,0);
X_17:=X_11+X_12+X_13+X_14+X_15+X_16;
X_18:=MA(X_17,9);
X_19:=MA(X_17,5);
X_20:=MA(X_17,3);
X_21:=ATAN(X_8/0.09);
X_22:=ATAN(X_9/0.05);
X_23:=ATAN(X_10/0.03);
X_24:=ATAN((-X_18)/0.09);
X_25:=ATAN((-X_19)/0.05);
X_26:=ATAN((-X_20)/0.03);
买线:(X_23+X_22+X_21)/3/6.28*360,COLORRED;
卖线:(X_26+X_25+X_24)/3/6.28*360,COLORGREEN;
买区:买线,STICK,COLORRED;
卖区:卖线,STICK,COLORGREEN;
强势:30,POINTDOT,COLORYELLOW;
X_27:=55;
涨停区:40,COLORYELLOW;
X_28:=买线-卖线;
X_29:=IF(CROSS(40,买线),CLOSE,REF(CLOSE,BARSLAST(CROSS(40,买线))));
DRAWICON(CROSS(买线,40) AND CROSS(X_28,40) AND CLOSE>X_29 AND LAST(X_29=REF(X_29,1),5,3),买线,24); |