【基本面分析与超跌反弹结合战法】因超跌情绪引起的过度下跌而反弹交易策略模型

净资收益率:=(FINANCE(33)/FINANCE(34)*100);
主营利润率:=(FINANCE(23)/FINANCE(20)*100);
现金负债比:=(FINANCE(25)/FINANCE(15));
主营收入同比:=FINANCE(44);{主营收入同比增长率}
净利润同比:=FINANCE(43);{净利润同比增长率}
DRAWTEXT_FIX(1,0.133,0.01,0,'财务资料(1):'),COLORLIBLUE;
DRAWTEXT_FIX(1,0.133,0.05,0,'净资产收益率:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.133,0.09,0,'主营业务利润率:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.133,0.13,0,'现金流动负债比:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.133,0.17,0,'主营收入同比:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.133,0.21,0,'净利润同比:'),COLORLIGREEN;
DRAWTEXT_FIX(1,0.226,0.05,0,STRCAT(VAR2STR(净资收益率,2),' %')),COLORCYAN;
DRAWTEXT_FIX(1,0.226,0.09,0,STRCAT(VAR2STR(主营利润率,2),' %')),COLORCYAN;
DRAWTEXT_FIX(1,0.226,0.13,0,CON2STR(现金负债比,2)),COLORCYAN;
DRAWTEXT_FIX(1,0.226,0.17,0,STRCAT(VAR2STR(主营收入同比,0),' %')),COLORCYAN;
DRAWTEXT_FIX(1,0.226,0.21,0,STRCAT(VAR2STR(净利润同比,0),' %')),COLORCYAN;
N:=5;
M:=0.05;
M1:=3;
T:=5;
TT:=50;
MA5:=MA(CLOSE,5);
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M1,1);
J:=3*K-2*D;
PRICE_MA5:=MA(CLOSE,5);
PRICE_MA10:=MA(CLOSE,10);
ULTRA_SHORT:= (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<-M ;
REBOUND:=CROSS(CLOSE,MA5) AND VOL>REF(VOL,1)*1.2;
FTTJ:=REF(J,1)<J;
WYZBB:=ULTRA_SHORT AND REBOUND AND FTTJ;
WYZB1:=STRCAT(HYBLOCK,1);
WYZB2:=STRCAT(WYZB1,DYBLOCK);
WYZB3:=STRCAT(WYZB2,1);
短上线:EMA(HIGH,T),COLORRED;
短下线:EMA(LOW,T),COLORGREEN;
NOTEXT短下线0:IF(CLOSE>短下线,短下线,DRAWNULL),COLORRED;
NOTEXT短上线0:IF(CLOSE>短上线,短上线,DRAWNULL),COLORRED;
NOTEXT短下线1:IF(CLOSE<短下线,短下线,DRAWNULL),COLORGREEN;
NOTEXT短上线1:IF(CLOSE<短上线,短上线,DRAWNULL),COLORGREEN;
WYZB4:=短上线-短下线;
长上线:=EMA(HIGH,TT),COLORMAGENTA;
长下线:=EMA(LOW,TT),COLORBLUE;
WYZB5:=长上线-长下线;
DRAWTEXT(REF(CLOSE,3)<REF(短下线,3) OR REF(CLOSE,3)<REF(短上线,3) AND (REF(CLOSE,2)<REF(短下线,2) OR REF(CLOSE,2)<REF(短上线,2)) AND (REF(CLOSE,1)<REF(短下线,1) OR REF(CLOSE,1)<REF(短上线,1)) AND CLOSE>短上线 AND 短上线<长下线 AND COUNT(CLOSE<短下线,6)>0,LOW*0.96,37),COLORMAGENTA;
WYZB6:=CLOSE>REF(CLOSE,4);
WYZB7:=BARSLASTCOUNT(WYZB6);
WYZB8:=WYZB7=9;
WYZB9:=ISLASTBAR AND BETWEEN(WYZB7,1,8);
WYZB10:=(BACKSET(WYZB8>0,9) OR BACKSET(WYZB9>0,WYZB7))*WYZB7;
DRAWTEXT(WYZB10>0,HIGH*1.001,VAR2STR(WYZB10,0)),COLORWHITE;
WYZB11:=CLOSE<REF(CLOSE,4);
WYZB12:=BARSLASTCOUNT(WYZB11);
WYZB13:=WYZB12=9;
WYZB14:=ISLASTBAR AND BETWEEN(WYZB12,1,8);
WYZB15:=(BACKSET(WYZB13>0,9) OR BACKSET(WYZB14>0,WYZB12))*WYZB12;
DRAWTEXT(WYZB15>0,LOW*0.998,VAR2STR(WYZB15,0)),COLORWHITE;
WYZB16:=TOPRANGE(HIGH);
WYZB17:=LOWRANGE(LOW);
WYZB18:=LLVBARS(HIGH,WYZB16);
WYZB19:=LLVBARS(LOW,WYZB16);
WYZB20:=HHVBARS(LOW,WYZB17);
WYZB21:=HHVBARS(HIGH,WYZB17);
WYZB22:=HHV(LOW,WYZB18+1)>LLV(HIGH,WYZB18+1);
WYZB23:=HHV(LOW,WYZB20+1)>LLV(HIGH,WYZB20+1);
WYZB24:=COUNT(LOW>=REF(LOW,1),WYZB19)>2 AND COUNT(HIGH>=REF(HIGH,1),WYZB18)>2;
WYZB25:=COUNT(HIGH<=REF(HIGH,1),WYZB21)>2 AND COUNT(LOW<=REF(LOW,1),WYZB20)>2;
WYZB26:=WYZB16 AND WYZB22 AND WYZB24 AND WYZB19>3;
WYZB27:=WYZB17 AND WYZB23 AND WYZB25 AND WYZB21>3;
WYZB28:=BARSLAST(WYZB26);
WYZB29:=BARSLAST(WYZB27);
WYZB30:=IF(WYZB28=0,WYZB29,WYZB28)>=3;
WYZB31:=WYZB26 AND WYZB30 AND HIGH=HHV(HIGH,BARSLAST(WYZB27));
WYZB32:=WYZB27 AND WYZB30 AND LOW=LLV(LOW,BARSLAST(WYZB26));
NOTEXT上笔划线:DRAWLINE(WYZB32,LOW,WYZB31,HIGH,0),DOTLINE,COLORYELLOW;
NOTEXT下笔划线:DRAWLINE(WYZB31,HIGH,WYZB32,LOW,0),DOTLINE,COLORYELLOW;
DRAWICON(WYZBB, L, 1);
DRAWTEXT(WYZBB,L*0.97,'↖超跌反弹战法'),LINETHICK1,COLORYELLOW;



未来函数检测结果如下:
该公式包含未来函数:BACKSET
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图