神奇指标网

优化的布林指标 副图指标 源码

浏览 4702次浏览 来源:大智慧公式 编辑:神奇指标网 发布日期:2022-09-05

以下是优化的布林指标 副图指标 源码

MID:MA(c,N);
UPPER:MID + P*std(c,N);
LOWER:MID - P*STD(c,N);
dRAWTEXTABS( 200, 0,'上轨红色代表布林张口,绿色表收口;中轨红表示趋势向上,绿表趋势向下');
if (c>o or(c=o and c>ref(c,1))) then
begin
STICKLINE(CLOSE,high,low,0.1,1),colorred;
STICKLINE(CLOSE,open,close,4,1),colorred;
end
if (c<o or(c=o and c<ref(c,1))) then
begin
STICKLINE(CLOSE,high,low,0.1,1),coloraaee00;
STICKLINE(CLOSE,open,close,4,0),coloraaee00;
end;
上下轨比值:upper/lower,linethick0;
PARTLINE(upper,上下轨比值>ref(上下轨比值,1),rgb(255,0,0),上下轨比值<ref(上下轨比值,1),rgb(0,255,0));
PARTLINE(mid,mid>ref(mid,1),rgb(255,0,0),mid<ref(mid,1),rgb(0,255,0));

神奇指标网(https://www.shenqizhibiao.com/)所有指标公式及文章来源于网络仅供学习研究

神奇指标收藏 收藏
神奇指标分享 分享

网友评论

已有0人评论

清除 发表评论