飞狐黑马五步加强版副图源码

这是再次优化后的源码,主要是对参数进行了调整,与前指标各有特点.这样是为了便于看反弹,主升,洗盘的区别

N:=42;m:=66;
RSV:=(CLOSE-LLV(LOW,n/2))/(HHV(HIGH,n/2)-LLV(LOW,n/2))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,3,1);
J:3*K-2*D,COLORYELLOW;
MJ:EMA(J,3),COLORGREEN;
PARTLINE(j>MJ AND J>ref(J,1),J),COLOR7F00FF;
主力线:SMA(100*(C-LLV(LOW,N))/(HHV(H,N)-LLV(LOW,N)),5,2), COLORRED,LINETHICK2;
CC:=(ABS(C-MA(c,n))/MA(c,n)+V/CAPITAL)/2;
判别线:DMA(主力线,CC),COLORAAAA00,LINETHICK2;
PARTLINE(判别线>主力线,判别线),COLOR00bb00,COLORGRAY,LINETHICK2;
起爆线: 60,COLORYELLOW,LINEDOT;
爆发线:78,COLOR7F00FF,,LINEDOT;
DRAWTEXT(CROSS(主力线,爆发线),75,'★爆发!') ,COLORRED,ALIGN0;
临界线:42,COLORWHITE,LINEDOT;
卧槽线:24,COLORGREEN,LINEDOT;
抄底线:6,COLORAAAA00,,LINEDOT;
DRAWTEXT(CROSS(主力线,判别线)AND 判别线<15,10,'★抄底') ,COLORAAAA00,ALIGN0;
DRAWTEXT(CROSS(主力线,临界线),45,'★加仓') ,COLORWHITE,ALIGN0;
DRAWTEXT(CROSS(主力线,起爆线),60,'★起爆') ,COLORYELLOW,ALIGN0;
DRAWTEXT(CROSS(92,主力线),95,'★风险') ,COLORGREEN,ALIGN0;
DRAWTEXT(CROSS(判别线,主力线)AND 判别线>60,判别线-5,'★空仓') ,COLORMAGENTA,ALIGN0;
cm:(cost(M)/(cost(0)+cost(100))*100),COLORMAGENTA,LINETHICK2;
partline(cm>主力线,cm),COLOR00bb00,LINETHICK2;
partline(cm>主力线,主力线),COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(主力线,CM),CM,'主力★进场') ,COLORRED,ALIGN0;




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

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

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