建立布林智能解盘(本指标采用了官方叫卖16800元的部分公式精华加上前些日子所发的通达信智能解盘公式,加上本论坛唐仁政老师的部分源码融合而成)
源码:
jl01:=ma(c,3);
ljl07:=(3*c+l+o+h)/6;
牛线:(20*ljl07+19*ref(ljl07,1)+18*ref(ljl07,2)+17*ref(ljl07,3)+16*ref(ljl07,4)+15*ref(ljl07,5)+14*ref(ljl07,6)+13*ref(ljl07,7)+12*ref(ljl07,8)+11*ref(ljl07,9)+10*ref(ljl07,10)+9*ref(ljl07,11)+8*ref(ljl07,12)+7*ref(ljl07,13)+6*ref(ljl07,14)+5*ref(ljl07,15)+4*ref(ljl07,16)+3*ref(ljl07,17)+2*ref(ljl07,18)+ref(ljl07,20))/210,colorred;
马线:ma(牛线,6),coloryellow,linethick4,pointdot;
上限:马线+3*std(close,20),colormagenta,crossdot;
下限:马线-2.9*std(close,20),colorgreen,crossdot;
买:马线-2*std(close,20),linethick2,colorwhite;
卖:马线+2*std(close,20),linethick2,coloryellow;
等待:if(jl01<=牛线,马线,drawnull),colorred,linethick4,pointdot;
var1:=(c>ref(c,1) and c>ref(c,2));
var2:=(ref(var1,1) and c<=ref(c,1) and c>=ref(c,2));
var3:=(ref(var2,1) and c>=ref(c,1) and c<=ref(c,2));
var4:=(ref(var3,1) and c<=ref(c,1) and c>=ref(c,2));
var5:=(ref(var4,1) and c>=ref(c,1) and c<=ref(c,2));
var6:=(ref(var5,1) and c<=ref(c,1) and c>=ref(c,2));
var7:=(ref(var6,1) and c>=ref(c,1) and c<=ref(c,2));
var8:=(ref(var7,1) and c<=ref(c,1) and c>=ref(c,2));
var9:=(ref(var8,1) and c>=ref(c,1) and c<=ref(c,2));
vara:=(ref(var9,1) and c<=ref(c,1) and c>=ref(c,2));
varb:=(ref(vara,1) and c>=ref(c,1) and c<=ref(c,2));
varc:=(ref(varb,1) and c<=ref(c,1) and c>=ref(c,2));
持股:if(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,牛线,drawnull),colorred,linethick1;
vard:=(c<ref(c,1) and c<ref(c,2));
vare:=(ref(vard,1) and c>=ref(c,1) and c<=ref(c,2));
varf:=(ref(vare,1) and c<=ref(c,1) and c>=ref(c,2));
var10:=(ref(varf,1) and c>=ref(c,1) and c<=ref(c,2));
var11:=(ref(var10,1) and c<=ref(c,1) and c>=ref(c,2));
var12:=(ref(var11,1) and c>=ref(c,1) and c<=ref(c,2));
var13:=(ref(var12,1) and c<=ref(c,1) and c>=ref(c,2));
var14:=(ref(var13,1) and c>=ref(c,1) and c<=ref(c,2));
var15:=(ref(var14,1) and c<=ref(c,1) and c>=ref(c,2));
var16:=(ref(var15,1) and c>=ref(c,1) and c<=ref(c,2));
var17:=(ref(var16,1) and c<=ref(c,1) and c>=ref(c,2));
var18:=(ref(var17,1) and c>=ref(c,1) and c<=ref(c,2));
持币:if(vard or vare or varf or var10 or var11 or var12 or var13 or var14 or var15 or var16 or var17 or var18,牛线,drawnull),colorgreen,linethick1;
gj:=(c+h+l+o)/4;
明日阻力:=l+(gj-l)+(c-l);
明日支撑:=l+(c-gj);
今日支撑:ref(明日支撑 , 1),colormagenta,nodraw;
今日阻力:ref(明日阻力 , 1),coloryellow,nodraw;
stickline(c>=o,c,o,3,0),color000045;
stickline(c>=o,c,o,2.5,0),color000065;
stickline(c>=o,c,o,2,0),color000085;
stickline(c>=o,c,o,1.5,0),color0000a5;
stickline(c>=o,c,o,1,0),color0000c5;
stickline(c>=o,c,o,0.5,0),color0000e5;
stickline(c>=o,h,l,0,0),color0000f5;
stickline(c<o,c,o,3,0),color353500;
stickline(c<o,c,o,2.5,0),color454500;
stickline(c<o,c,o,2,0),color555500;
stickline(c<o,c,o,1.5,0),color656500;
stickline(c<o,c,o,1,0),color757500;
stickline(c<o,c,o,0.5,0),color858500;
stickline(c<o,h,l,0,0),color959500;
a007:=(high+low+close)/3;
a008:=((a007-ma(a007,14))/(0.015*avedev(a007,14)))/2;
a009:=(a008+(ema(((0-(100*(hhv(high,14)-close)/(hhv(high,14)-llv(low,14))))+100)/100,3)*200-100))/2;
a010:=a009-ref(a009,14);
a011:=a009-ref(a009,26);
a012:=(a009+a010+a011)/3;
kkm:=ema(a012,4);
a013:=hhv(high,34);
a014:=(2*close+high+low)/4;
a015:=llv(low,34);
a016:=ema(((a014-a015)/(a013-a015))*100,13);
a017:=ema(0.667*ref(a016,1)+0.333*a016,2);
kkmd:=a016-a017>1 and a016<30 and a017<30;
kkml:=a016-a017<0 and a016>80 and a017>80 and ref(a016-a017,1)>0;
kkmq:=count(a016-a017>0,2)=2;
kkal:=(a016-a017)<0;
drawtext(filter(kkmd,30),l,'最佳买入时机★'),color00ffff;
drawtext(filter(kkml,30),h,'最佳卖出时机'),colorffff00;
drawtext(filter(kkmq,30),c,'持仓区'),color00ff00;
drawtext(filter(kkal,30),h,'空仓区'),colorff8080;
drawtext(filter(close/ref(close,1)>indexc/ref(indexc,1),30),l*0.95,'该股强于大盘'),colorff00ff;
drawtext(cross(ma(close,5),ma(close,10)),l*0.92,'可出手'),colorff00ff;
drawtext(cross(ma(close,10),ma(close,5)),h*1.08,'收手了'),colorff0000;
drawtext(filter(kkm>ema(kkm,4) and kkm>ref(kkm,1),30),l*0.98,'快速介入');
drawtext(filter(kkm<ema(kkm,4) and kkm<ref(kkm,1),30),h*1.02,'风险较大');
drawtext(filter(kkm>ema(kkm,4) and kkm<ref(kkm,1),30),h,'休息观望~'),coloraa8800;
drawtext(filter(kkm<ema(kkm,4) and kkm>ref(kkm,1),30),l,'有防御能力'),coloraa00aa;
再次祝有缘看到到、顶贴的朋友们工作舒心,薪水合心,被窝暖心,朋友知心,爱人同心,一切顺心,永远开心,事事称心^^^^
上一指标公式:三五八线主图指标公式详解 通达信八线主图
下一指标公式:理财专家TDX指标公式详解 通达信专家TDX
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文建立布林智能解盘采用官方叫卖16800的部分精华融合而成指标公式详解 通达信叫卖公式仅供学习研究。