飞狐神奇布林线主图指标公式

{布林带}
MID : MA(CLOSE,21),colorwhite;
UPPER: MID + 1.96*STD(CLOSE,21),coloryellow;
LOWER: MID - 1.96*STD(CLOSE,21),coloryellow;
UP:MID + 2.56*STD(CLOSE,21),colorff00ff;
LOOW:MID - 2.56*STD(CLOSE,21),colorff00ff;
{上升趋势}
stickline(c>=mid,mid,up,6,0),color330066;
{下降趋势}
stickline(c<mid,mid,loow,6,0),Color545454;
mid,colorwhite;
upper,coloryellow;
up,colorff00ff;
lower,coloryellow;
loow,colorff00ff;
开口:=up-loow;
相离:=c-mid;
drawtext(c>=mid and ref(开口,1)=hhv(开口,20),upper,'减仓'),color00FF00;
drawtext(c>=mid and ref(相离,1)=llv(相离,5),mid,'加仓');
股价多头:=c>ma(c,5) and ma(c,5)>ma(c,10) and ma(c,10)>ma(c,20);
drawtext(FILTER(股价多头,20),loow*0.95,'开始建仓'),colorred;
{-股票公式网站 }
drawicon(FILTER(股价多头,20),lower,1),colorred;
drawtext(cross(mid,c),up,'空仓观望'),coloryellow;
drawicon(cross(mid,c),upper,2),coloryellow;

{k线}
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,5.2,0),color070084;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,4,0),color0000A3;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,3.5,0),color0000B7;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,3,0),color0000CD;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,2.5,0),color0000E9;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,2,0),color0754E9;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,1.5,0),color076EF3;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,1,0),color077BF3;
STICKLINE((CLOSE > OPEN),OPEN,LOW,1,0),color077BF3;
STICKLINE((CLOSE > OPEN),CLOSE,HIGH,1,0),color077BF3;
STICKLINE((CLOSE = OPEN and c>ref(c,1)),CLOSE,OPEN,5.2,0),color070084;
STICKLINE((CLOSE = OPEN and c>ref(c,1)),CLOSE,OPEN,4,0),color0000A3;
STICKLINE((CLOSE = OPEN and c>ref(c,1)),CLOSE,OPEN,3.5,0),color0000B7;
STICKLINE((CLOSE = OPEN and c>ref(c,1)),CLOSE,OPEN,3,0),color0000CD;
STICKLINE((CLOSE = OPEN and c>ref(c,1)),CLOSE,OPEN,2.5,0),color0000E9;
STICKLINE((CLOSE = OPEN and c>ref(c,1)),CLOSE,OPEN,2,0),color0754E9;
STICKLINE((CLOSE = OPEN and c>ref(c,1)),CLOSE,OPEN,1.5,0),color076EF3;
STICKLINE((CLOSE = OPEN and c>ref(c,1)),CLOSE,OPEN,1,0),color077BF3;
STICKLINE((CLOSE = OPEN and c>ref(c,1)),OPEN,LOW,1,0),color077BF3;
STICKLINE((CLOSE = OPEN and c>ref(c,1)),CLOSE,HIGH,1,0),color077BF3;
STICKLINE((OPEN > CLOSE),CLOSE,OPEN,5.2,0),colorFF5B00;
STICKLINE((OPEN > CLOSE),CLOSE,OPEN,4,0),colorFF6C00;
STICKLINE((OPEN > CLOSE),CLOSE,OPEN,3.5,0),colorFF7B00;
STICKLINE((OPEN > CLOSE),CLOSE,OPEN,3,0),colorFF9C00;
STICKLINE((OPEN > CLOSE),CLOSE,OPEN,2.5,0),colorFFBE00;
STICKLINE((OPEN > CLOSE),CLOSE,OPEN,2,0),colorFFCC00;
STICKLINE((OPEN > CLOSE),CLOSE,OPEN,1,0),colorFFFF00;
STICKLINE((OPEN > CLOSE),CLOSE,LOW,1,0),colorFFFF00;
STICKLINE((OPEN > CLOSE),OPEN,HIGH,1,0),colorFFFF00;
STICKLINE((OPEN = CLOSE and c<ref(c,1)),CLOSE,OPEN,5.2,0),colorFF5B00;
STICKLINE((OPEN = CLOSE and c<ref(c,1)),CLOSE,OPEN,4,0),colorFF6C00;
STICKLINE((OPEN = CLOSE and c<ref(c,1)),CLOSE,OPEN,3.5,0),colorFF7B00;
STICKLINE((OPEN = CLOSE and c<ref(c,1)),CLOSE,OPEN,3,0),colorFF9C00;
STICKLINE((OPEN = CLOSE and c<ref(c,1)),CLOSE,OPEN,2.5,0),colorFFBE00;
STICKLINE((OPEN = CLOSE and c<ref(c,1)),CLOSE,OPEN,2,0),colorFFCC00;
STICKLINE((OPEN = CLOSE and c<ref(c,1)),CLOSE,OPEN,1,0),colorFFFF00;
STICKLINE((OPEN = CLOSE and c<ref(c,1)),CLOSE,LOW,1,0),colorFFFF00;
STICKLINE((OPEN = CLOSE and c<ref(c,1)),OPEN,HIGH,1,0),colorFFFF00;



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

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

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

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