本文指标含有选股公式如下:

泽熙抄底之选股指标公式

X_1:=IF(CLOSE>HHV(REF(HIGH,1),2),1,IF(CLOSE<LLV(REF(LOW,1),2),(-1),0));
X_2:=crOSS(X_1,0);
X_3:=CROSS(0,X_1);
X_4:=5;X_5:=10;X_6:=0.01*EMA(AMOUNT,X_4)/EMA(vol,X_4);
X_7:=(X_6/REF(X_6,1)-1)*100;
X_8:=MA(X_7,X_5);
X_9:=X_7<(-1.1) AND X_8<(-1.1);
X_10:=CROSS(X_7,X_8);
X_11:=X_9 AND X_10;X_12:=9;
X_13:=CLOSE-REF(CLOSE,1);
X_14:=100*EMA(EMA(X_13,X_12),X_12)/EMA(EMA(Abs(X_13),X_12),X_12);
X_15:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X_16:=REF(CLOSE,1);
X_17:=SMA(MAX(CLOSE-X_16,0),X_12,1)/SMA(ABS(CLOSE-X_16),X_12,1)*100;
X_18:=(CLOSE-REF(CLOSE,26))/REF(CLOSE,26)*10;
X_19:=CROSS(X_17,20) AND X_14<(-45) AND X_15<12 AND X_18<(-2) AND X_11;
买点:X_19,NODRAW,COLORRED;
卖点:X_3 AND COUNT(X_3,BArslAST(买点))=1,NODRAW,COLORGREEN;
区间:IF(COUNT(X_3,BARSLAST(买点))=0,BARSLAST(买点),DRAWNULL),NODRAW;
STICKLINE(区间>0,(-30),50,4,0),COLOR696960;
STICKLINE(卖点>0,(-30),50,4,0),COLORGREEN;
STICKLINE(买点>0,(-30),50,4,0),COLORRED;
收益点:IF(区间!=DRAWNULL OR 卖点,CLOSE/REF(CLOSE,BARSLAST(X_19))*100-100,DRAWNULL);
IF(区间!=DRAWNULL OR 卖点,CLOSE/REF(CLOSE,BARSLAST(X_19))*100-100,DRAWNULL),COLORSTICK;


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。