通达信波段利器逃顶抄底 源码

B1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
B2:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
B3:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
B4:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;
M:=(LOW+HIGH+CLOSE)/3;
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((HD>0) AND (HD>LD)),HD,0),5) );
DMM:=SUM(IF(((LD>0) AND (LD>HD)),LD,0),5);
STX:=(((DMP)*100)/TR);
FZX:=((DMM*100)/TR);
{}
XXX:=(MA(((ABS((FZX-STX))/(FZX+STX)) * 100),3));
WJDB:=IF(((XXX>88) AND (STX<5.8)),25,0);
DRAWICON(WJDB=25,-5,9);
STICKLINE(B1<-7,5,0,3,0),COLOR0099FF;
STICKLINE(B2<-9,10,0,2.2,0),COLOR0066FF;
STICKLINE(B3<-11,15,0,1.4,0),COLOR0033FF;
STICKLINE(B4<-13,20,0,0.6,0),COLOR0000FF;
DRAWTEXT(B1<-7 AND B2<-9 AND B3<-11 AND B4<-13,18,'超跌'),COLORYELLOW;
STICKLINE(B1>10,0,-5,3,0),COLORFFFF33;
STICKLINE(B2>15,0,-10,2.2,0),COLORFFCC00;
STICKLINE(B3>20,0,-15,1.4,0),COLORFF9933;
STICKLINE(B4>25,0,-20,0.6,0),COLORFF6633;
DRAWTEXT(B1>10 AND B2>15 AND B3>20 AND B4>25,-18,'预警'),COLORYELLOW;
BL:(B1+B2+B3+B4)/2,LINETHICK2,COLORFF00FF;
BLMA:MA(BL,6),LINETHICK2,COLORCC0000;
DRAWTEXT(BL>50,BL-2,'◆谨慎'),COLORYELLOW;
DRAWTEXT(BL<-35,BL+2,'◆关注'),COLORYELLOW


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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