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;
涨幅:=((C-REF(C,1))/REF(C,1)*100)>4;
X_29:=IF(crOSS(40,多头),CLOSE,REF(CLOSE,BArslAST(CROSS(40,多头))));
多头买点:涨幅 AND CROSS(多头,40) AND LAST(X_29=REF(X_29,1),5,3);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)