筹码分析主图主图
{筹码分析【主图】}
ma6:=ma(close,6);
ma18:=ma(close,18);
空:(3)*(ma18) - (2)*(ma6),linethick3,colorcyan;
多:(3)*(ma6) - (2)*(ma18),linethick3,color0000c0;
超买:ma(c,10)*if(capital=0,1.04,1.1),dotline,colorgreen,linethick1;
超卖:ma(c,10)*if(capital=0,0.95,0.9),dotline,coloryellow,linethick1;
【生命线】:sum(vol*(o+c)/2,88)/sum(vol,88),color0000ff,linethick1;
【持股线】:hhv(ma(c,18),2),coloryellow;
【分离线】:if(ma(c,18)<【持股线】,(ma(c,18)-(【持股线】-ma(c,18))),【持股线】),colorcyan,linethick1;
ma18:ma(c,18),linethick1,colorwhite;
角度:atan((ma18/ref(ma18,1)-1)*100)*180/3.14159,linethick0;
一:=cost(10)/cost(1);
二:=cost(20)/cost(10);
三:=cost(30)/cost(20);
四:=cost(40)/cost(30);
五:=cost(50)/cost(40);
密:=一<二 and 一<三 and 一<四 and 一<五 ;
密二:=二<三 and 二<四 and 二<五 ;
密三:=三<二 and 三<四 and 三<五 ;
密四:=四<二 and 四<三 and 四<五 ;
密五:=五<二 and 五<三 and 五<四 ;
stickline(c>=o,c,o,9,1),colorred;
stickline(c>=o,l,o,0.1,0),colorred;
stickline(c>=o,c,h,0.1,0),colorred;
stickline(c<o,c,o,9,0),colorffff00;
stickline(c<o,h,l,0.1,0),colorffff00;
x11:polyline(密二>0,cost(11)),color008800;
x21:polyline(密二>0,cost(12)),color008800;
x31:polyline(密二>0,cost(13)),color008800;
x41:polyline(密二>0,cost(14)),color008800;
x51:polyline(密二>0,cost(15)),color008800;
x61:polyline(密二>0,cost(16)),color008800;
x71:polyline(密二>0,cost(17)),color008800;
x81:polyline(密二>0,cost(18)),color008800;
x91:polyline(密二>0,cost(19)),color008800;
x12:polyline(密三>0,cost(21)),colorff9933;
x22:polyline(密三>0,cost(22)),colorff9933;
x32:polyline(密三>0,cost(23)),colorff9933;
x42:polyline(密三>0,cost(24)),colorff9933;
x52:polyline(密三>0,cost(25)),colorff9933;
x62:polyline(密三>0,cost(26)),colorff9933;
x72:polyline(密三>0,cost(27)),colorff9933;
x82:polyline(密三>0,cost(28)),colorff9933;
x92:polyline(密三>0,cost(29)),colorff9933;
x13:polyline(密四>0,cost(31)),color008800;
x23:polyline(密四>0,cost(32)),color008800;
x33:polyline(密四>0,cost(33)),color008800;
x43:polyline(密四>0,cost(34)),color008800;
x53:polyline(密四>0,cost(35)),color008800;
x63:polyline(密四>0,cost(36)),color008800;
x73:polyline(密四>0,cost(37)),color008800;
x83:polyline(密四>0,cost(38)),color008800;
x93:polyline(密四>0,cost(39)),color008800;
x14:polyline(密五>0,cost(41)),color33cc00;
x24:polyline(密五>0,cost(42)),color33cc00;
x34:polyline(密五>0,cost(43)),color33cc00;
x44:polyline(密五>0,cost(44)),color33cc00;
x54:polyline(密五>0,cost(45)),color33cc00;
x64:polyline(密五>0,cost(46)),color33cc00;
x74:polyline(密五>0,cost(47)),color33cc00;
x84:polyline(密五>0,cost(48)),color33cc00;
x94:polyline(密五>0,cost(49)),color33cc00;
stickline(密>0 and c<cost(50),cost(10),cost(2),2,1),colorgreen;
stickline(密二>0 and c<cost(50),cost(10),cost(20),0.8,1),coloryellow;
stickline(密二>0 and c<cost(50),cost(20)/1.0017,cost(20),4,1),coloryellow;
stickline(密三>0 and c<cost(50),cost(20),cost(30),1,1),coloryellow;
stickline(密三>0 and c<cost(50),cost(30)/1.0017,cost(30),4,1),coloryellow;
stickline(密四>0 and c<cost(50),cost(30),cost(40),0.8,1),coloryellow;
stickline(密四>0 and c<cost(50),cost(40)/1.0017,cost(40),4,1),coloryellow;
stickline(密五>0 and c<cost(50),cost(40),cost(50),1,1),coloryellow;
stickline(密五>0 and c<cost(50),cost(50)/1.0017,cost(50),4,1),coloryellow;
aa:=if(c>=ref(c,3),1,0);
bb:=if(c>=ref(c,5),1,0);
cc:=if(c>=ref(c,7),1,0);
dd:=if(c>=ref(c,8),1,0);
ee:=if(c>=ref(c,13),1,0);
ff:=if(c>=ref(c,21),1,0);
gz2:=aa+bb+cc+dd+ee+ff;
kk:=0;
for i=1 to 4 do
kk:=kk+ref(gz2,i);
kkk:=kk/4;
drawtext(kkk=0 and gz2>0 and c>ref(c,1),l*0.994,'买'),coloryellow,linethick3;
drawtext(kkk=6 and gz2<6 ,h*1.025,'卖'),colorwhite,align2,linethick3;
a:=sumbars(v,capital*1);
a1:=sum(cost(10),a)/a;
a2:=sum(cost(20),a)/a;
a3:=sum(cost(30),a)/a;
a4:=sum(cost(40),a)/a;
a5:=sum(cost(50),a)/a;
庄家成本线:(5*a1+4*a2+3*a3+2*a4+a5)/15,color98ff00,linethick1;
var21:=max(abs(high-amount/vol/100),abs(amount/vol/100-low));
var3:=abs((open+close)/2-amount/vol/100);
mv:=(var21+var3)/amount*vol*100*50;
drawtext(mv>6 and l<=llv(l,10),l*0.98,'←异动'),colorcyan;
varcq:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
var9q:=c= hhv(c,4)and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and c>=ref(c,1) and c>=ref(c,2);
vardq:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1);
注:drawtext(varcq and var9q and varcq=1 and c>o,low*0.998,'▲关注'),coloryellow,linethick1;
警:drawtext(vardq,high*1.01,'▼警示'),colorgreen,linethick1;
ed1:=(-2*ref(c,2)+ref(c,1)+2*c);
ed2:=(-0.4*ref(c,4)-0.4*ref(c,3)-1.1*ref(c,2)+0.9*ref(c,1)+2*c);
ed3:=(-0.8*ref(c,4)-0.8*ref(c,3)-0.2*ref(c,2)+0.8*ref(c,1)+2*c);
jf1:=sma(sma(ed1,3,1),3,1);
jf2:=sma(sma(ed2,4,1),3,1);
jf3:=sma(sma(ed3,4,1),4,1);
drawicon(sum(cross(ed1,jf1) + cross(ed2,jf2) + cross(ed3,jf3),1)>1,l/1.001,1);
drawicon(sum(cross(jf1,ed1) + cross(jf2,ed2) + cross(jf3,ed3),1)>1,h*1.051,2);
diff:=ema(close,12) - ema(close,26);
dea:=ema(diff,8);
a1:=barslast(ref(cross(diff,dea),1));
b1:=ref(c,a1+1)>c and ref(diff,a1+1)<diff and cross(diff,dea);
drawtext(if(b1>0,1,0),l-0.1,'macd底背'),colorgreen;
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
a2:=barslast(ref(cross(k,d),1));
b2:=ref(c,a2+1)>c and ref(k,a2+1)<k and cross(k,d);
drawtext(if(b2>0,1,0),l-0.25,'kdj底背'),coloryellow;
lc:=ref(close,1);
rsi1:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
rsi2:=sma(max(close-lc,0),12,1)/sma(abs(close-lc),12,1)*100;
a3:=barslast(ref(cross(rsi1,rsi2),1));
b3:=ref(c,a3+1)>c and ref(rsi1,a3+1)<rsi1 and cross(rsi1,rsi2);
drawtext(if(b3>0,1,0),l-0.1,'rsi底背'),colorcyan;
c1:=barslast(ref(cross(dea,diff),1));
d1:=ref(c,c1+1)<c and ref(diff,c1+1)>diff and cross(dea,diff);
drawtext(if(d1>0,1,0),h+0.05,'macd顶背'),colorwhite;
c2:=barslast(ref(cross(d,k),1));
d2:=ref(c,c2+1)<c and ref(k,c2+1)>k and cross(d,k);
drawtext(if(d2>0,1,0),h+0.20,'kdj顶背'),colorwhite;
c3:=barslast(ref(cross(rsi2,rsi1),1));
d3:=ref(c,c3+1)<c and ref(rsi1,c3+1)>rsi1 and cross(rsi2,rsi1);
drawtext(if(d3>0,1,0),h+0.2,'rsi顶背'),colorwhite;
drawtext(cross(zig(3,8),ref(zig(3,8),1)),low*1.06,'【绝佳】') ,linethick3,coloryellow;
drawtext(cross(ref(zig(3,10),1),zig(3,10)),high*1.03,'卖'),colorcyan,linethick2;
gj:=if(c=indexc,(indexc+indexh+indexl+indexo)/4,amount/(v+0.01)/100);
明日阻力:=l+(gj-l)+(c-l);
明日支撑:=l+(c-gj);
明日阻力:=l+(gj-l)+(c-l);
明日支撑:=l+(c-gj);
今日阻力:=ref(明日阻力 , 1);
今日支撑:=ref(明日支撑 , 1);
stickline(dispstatus=2 and c>=今日阻力,今日阻力,今日阻力,30,0),color0000ff;
stickline(dispstatus=2 and c<今日阻力,今日阻力,今日阻力,30,0),color00ff00;
stickline(dispstatus=2 and c>=今日支撑,今日支撑,今日支撑,30,0),colorff00ff;
stickline(dispstatus=2 and c<今日支撑,今日支撑,今日支撑,30,0),colorff0000;
drawtextrel(10,10,'------------------------------------'),colorffffff;
if barstatus=2 and c>=今日支撑 then
drawtextrel(10,50,'今日支撑:'+numtostrn(今日支撑 ,2 )),colorff00ff;
if barstatus=2 and c<今日支撑 then
drawtextrel(10,50,'今日支撑:'+numtostrn(今日支撑 ,2 )),colorffffff;
if barstatus=2 and c>=今日阻力 then
drawtextrel(10,120,'今日阻力:'+numtostrn(今日阻力 ,2 )),color0000ff;
if barstatus=2 and c<今日阻力 then
drawtextrel(10,120,'今日阻力:'+numtostrn(今日阻力 ,2 )),color00ff00;
if barstatus=2 and c>=明日支撑 then
drawtextrel(100,50,'明日支撑:'+numtostrn(明日支撑 ,2 )),color00ffff;
if barstatus=2 and c<明日阻力 then
drawtextrel(100,120,'明日阻力:'+numtostrn(明日阻力 ,2 )),color00ffff;
drawtextrel(10,160,'------------------------------------'),colorffffff;
上一指标公式:BS6.0买卖点决策系统-贡献给分析家主副图公式下载 大智慧大智慧卖点
下一指标公式:精华中的精华-中短线买卖公式下载 大智慧精华
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文筹码分析主图主图公式下载 大智慧分析源码仅供学习研究。