自用中期主图,公式主要监控股价在空头市场的承压情况和确认突破,并且对多头和空头市场进行明显区分。
郑重建议新手在蓝色区域离场。
源码主要包括承压,轨迹,趋向三部分内容,旨在通过指标纵观全局,而进行合理的资金配置。
ma4:ma(close,250),linethick2;
fillrgn(c>1,ma4,ma4-(ma4-llv(l,255))*0.25),colorff6633;
fillrgn(c>1,ma4-(ma4-llv(l,255))*0.25,ma4-(ma4-llv(l,255))*0.5),colorff3333;
fillrgn(c>1,ma4-(ma4-llv(l,255))*0.5,ma4-(ma4-llv(l,255))*0.75),colorff0033;
fillrgn(c>1,ma4-(ma4-llv(l,255))*0.75,ma4-(ma4-llv(l,255))),colorcc0033;
fillrgn(c>1,llv(l,255),llv(l,255)*0.9),color990033;
a0:=barscount(c);a3:=sysparam(3);a2:=sysparam(2);
a4:=sysparam(4);a5:=sysparam(5);
nn0:=a3-a2;nn:=a0-a2;hh1:=(a4-a5)/8;
hh2:=hh1/4;
ll1:=llv(l,nn0);ll2:=ll1[a3];
y0:=a0>=a2;vv0:=if(y0=1 and sysparam(1)>=a0,v,0);
c1:=if(between(c,a4-0*hh1,a4-1*hh1),vv0,0);
c2:=if(between(c,a4-1*hh1,a4-2*hh1),vv0,0);
c3:=if(between(c,a4-2*hh1,a4-3*hh1),vv0,0);
c4:=if(between(c,a4-3*hh1,a4-4*hh1),vv0,0);
c5:=if(between(c,a4-4*hh1,a4-5*hh1),vv0,0);
c6:=if(between(c,a4-5*hh1,a4-6*hh1),vv0,0);
c7:=if(between(c,a4-6*hh1,a4-7*hh1),vv0,0);
c8:=if(between(c,a4-7*hh1,a4-8*hh1),vv0,0);
c9:=if(between(c,a4-8*hh1,a4-9*hh1),vv0,0);
c10:=if(between(c,a4-9*hh1,a4-10*hh1),vv0,0);
v1:=strtonum(numtostr(if(islastbar,sum(c1,nn0),0),2)),linethick;
v2:=strtonum(numtostr(if(islastbar,sum(c2,nn0),0),2));
v3:=strtonum(numtostr(if(islastbar,sum(c3,nn0),0),2));
v4:=strtonum(numtostr(if(islastbar,sum(c4,nn0),0),2));
v5:=strtonum(numtostr(if(islastbar,sum(c5,nn0),0),2));
v6:=strtonum(numtostr(if(islastbar,sum(c6,nn0),0),2));
v7:=strtonum(numtostr(if(islastbar,sum(c7,nn0),0),2));
v8:=strtonum(numtostr(if(islastbar,sum(c8,nn0),0),2));
v9:=strtonum(numtostr(if(islastbar,sum(c9,nn0),0),2));
v10:=strtonum(numtostr(if(islastbar,sum(c10,nn0),0),2));
av0:=max(v1,max(v2,max(v3,max(v4,max(v5,max(v6,max(v7,max(v8,max(v9,v10)))))))));
x1:=v1/av0>=nn/nn0 and nn>=0;
x3:=v3/av0>=nn/nn0 and nn>=0;
x5:=v5/av0>=nn/nn0 and nn>=0;
x7:=v7/av0>=nn/nn0 and nn>=0;
fillrgn(v1/av0>=nn/nn0 and nn>=0,a4-0*hh1,a4-1*hh1+hh1*0.5),color00008f;
fillrgn(v2/av0>=nn/nn0 and nn>=0,a4-1*hh1,a4-2*hh1+hh1*0.5),colorred;
fillrgn(v3/av0>=nn/nn0 and nn>=0,a4-2*hh1,a4-3*hh1+hh1*0.5),color00aadd;
fillrgn(v4/av0>=nn/nn0 and nn>=0,a4-3*hh1,a4-4*hh1+hh1*0.5),color8c8eb5;
fillrgn(v5/av0>=nn/nn0 and nn>=0,a4-4*hh1,a4-5*hh1+hh1*0.5),color387c7c;
fillrgn(v6/av0>=nn/nn0 and nn>=0,a4-5*hh1,a4-6*hh1+hh1*0.5),color555555;
fillrgn(v7/av0>=nn/nn0 and nn>=0,a4-6*hh1,a4-7*hh1+hh1*0.5),colorff55ff;
fillrgn(v8/av0>=nn/nn0 and nn>=0,a4-7*hh1,a4-8*hh1+hh1*0.5),colorffff00;
启动线:=(sum(ema((c+l)/2,2)/2.98,3)),colorred;
平衡线:=llv(sum( ema((c+l)/2,2)/2.98,3),4),colormagenta;
平台线:=llv(sum( ema((c+l)/2,2)/2.98,3),8),colorffffff;
强弱线:=ema(启动线,21),coloryellow;
stickline(平台线<启动线,启动线,平台线,0.1,0),colorff972f;
stickline(平衡线<启动线,启动线,平衡线,0.1,0),colorred;
var1:=2*ma(llv((c+l)/2,8)*1.1,13)-ema((c+l)/2,3)-((c+l)/2)*0.1;
var2:=if((ema((c+l)/2,3)-var1)*5>0,pow((ema((c+l)/2,3)-var1)*5,2)/10,-1*pow((ema((c+l)/2,3)-var1)*5,2)/10);
var3:=if(var2>0,var2-0,-1);
var4:=ema(h,3);
stickline((open >= close),close,open,9,0),colorffff00;
stickline((open >= close),close,open,6,0),colorcccc33;
stickline((open >= close),close,open,2.4,0),colorffff00;
stickline((open >= close),close,open,1.1,0),colorffffff;
stickline((close > open),close,open,9,0),color33cc;
stickline((close > open),close,open,6,0),colorcc;
stickline((close > open),close,open,2.4,0),colorff;
stickline((close > open),close,open,1.1,0),colorff00ff;
stickline((close > open),open,low,0.5,0),colorcc;
stickline((close > open),close,high,0.5,0),colorcc;
stickline((open >= close),close,low,0.5,0),colorffff00;
stickline((open >= close),open,high,0.5,0),colorffff00;
drawtext(cross(var3,0)and (c+l)/2>ma((c+l)/2,8) ,强弱线*1.01,'注控'),linethick2,align0,colorffffff;
注意风险: stickline((sma(max((c+l)/2-ref((c+l)/2,2),0),7,1)/sma(abs((c+l)/2-ref((c+l)/2,2)),7,1)*100)>80,var4+0.1,var4+0.2,6,0),colorff972f;
价位:=sma((c-llv(l,26))/(hhv(h,26)-llv(l,26))*100,8,1);
控制风险:stickline((3*价位-2*(sma(价位,3,1)))>75.8,var4+0.2,var4+0.3,6,1),coloryellow;
风:=((h+c)/2+l+(c+l)/2)/3;
险:=ema((风-ema(llv(风,47),2))/(ema(hhv(风,21),2)-ema(llv(风,47),2)),2)*90;
风险:stickline(险>86.8,var4,var4+0.1,6,1),colorffffff;
多空:=open;
fillrgn(c>=llv(l,0),ma4*1.15,ma4),colorgray;
fillrgn(c>=llv(l,0),ma4*1.15,ma4*1.1),color888888;
ma1:ma(close,3),linethick2;
ma2:ma(close,8),linethick2;
ma3:ma(close,55),circledot,colorred;
ma180:ma(close,180),linethick2;
ma377:ma(close,377),linethick2;
wz1:=sysparam(3)-barscount(c);
wz2:=ceiling((sysparam(3)-sysparam(2))*0.85);
wz3:=ceiling((sysparam(3)-sysparam(2))*0.95);
drawtext(wz1=wz2,ma4*1.15,'生存之道=资本为王,以小胜,集大胜!'),coloryellow,linethick2;
drawtext(wz1=wz3,ma4*0.9,'海洋'),colormagenta;
drawtext(wz1=wz3,ma4*1.1,'陆地'),colorgreen;
drawtext(wz1=wz3,ma4*1.2,'天空'),colorwhite;
drawtext(filter((c>ma4*1.01) and all(ref(c,1)<ma4*1.02,55),89),c*1.15,'冲\n出\n苦\n海'),colorwhite;
drawtext(filter((c>ma4*1.15) and all(ref(c,1)<ma4*1.16,55),89),c*1.15,'破\n土\n而\n出'),colorwhite;
上一指标公式:5号资金公式下载 飞狐资金指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文中线断股公式下载 飞狐中线指标 源码仅供学习研究。