{大智慧立庄量公式,特将我修改过的立庄量公式附上,希望大家喜欢,同时也向}
{改前原图的作者致以敬意。}
{立庄量主图公式}
input:p1(5),p2(10),p3(20),p4(60);
ma1:ma(close,p1);
ma2:ma(close,p2);
ma3:ma(close,p3);
ma4:ma(close,p4);
n:=20;
drawgbklast(date>900101,strip(rgb(75,75,75),rgb(0,0,0),0));
drawtextabs(10,10,stklabel+' '+stkname+' '+bkname),color00ffff;
stickline(c>=o,c,o,8,0),color000055;
stickline(c>=o,c,o,6.5,0),color000075;
stickline(c>=o,c,o,5,0),color000095;
stickline(c>=o,c,o,3.5,0),color0000b5;
stickline(c>=o,c,o,2,0),color0000d5;
stickline(c>=o,h,l,0.5,0),color0000f5;
stickline(c<o,c,o,8,0),color303000;
stickline(c<o,c,o,6.5,0),color404000;
stickline(c<o,c,o,5,0),color505000;
stickline(c<o,c,o,3.5,0),color606000;
stickline(c<o,c,o,2,0);
stickline(c<o,h,l,0.5,0);
总股本(亿):finance2(35)/10000,linethick0;
流通(亿):finance2(37)/10000,linethick0;
均价:=(3*c+h+l+o)/6;
var1:=(8*均价+7*ref(均价,1)+6*ref(均价,2)+5*ref(均价,3)+4*ref(均价,4)+3*ref(均价,5)+2*ref(均价,6)+ref(均价,8))/36;
var2:=(llv(var1,2)+llv(var1,4)+llv(var1,6))/3;
sz1:=ref(var1,1)=ref(var2,1) and var1>var2 and close>var1;
sz2:=var1>var2 and var1>ref(var1,1) and var2>ref(var2,1) and h/var1<1.1 and l>var2 and close>var1;
sz3:=var1>var2 and var1>ref(var1,1) and var2>=ref(var2,1) and h/var1>1.1;
sz4:=var1>var2 and var1>ref(var1,1) and var2>ref(var2,1) and close>var2 and close<var1;
sz5:=(var1>var2 and var2>ref(var2,1) and var1<>ref(var1,1) and close<var2) or (var1>var2 and var1<ref(var1,1) and var2<ref(var2,1) and close<var2);
sz6:=ref(var1,1)>ref(var2,1) and var1=var2 and close<var2;
xd1:=var1=var2 and close<var2 or (var1<ref(var1,1) and var2<ref(var2,1) and ref(var1,1)=ref(var2,1) and close<var2);
xd2:=var1=var2 and close>var1;
sat:=(amount/c)/(hhv(amount,n)/hhv(c,n));
量能饱和度:=if(sat>1,1,sat)*100;
if barstatus=2 and sz1 then begin
drawtextabs(320,25,'调整结束短线介入'),colorred;
end
else
if barstatus=2 and sz2 then begin
drawtextabs(320,25,'上升通道走势良好'),colorred;
end
else
if barstatus=2 and sz3 then begin
drawtextabs(320,25,'股价偏离注意调整'),colorred;
end
else
if barstatus=2 and sz4 then begin
drawtextabs(320,25,'上升通道调整洗盘'),colorgreen;
end
else
if barstatus=2 and sz5 then begin
drawtextabs(320,25,'转向特征注意离场'),colorgreen;
end
else
if barstatus=2 and sz6 then begin
drawtextabs(320,25,'通道改变坚决离场'),colorgreen;
end
else
if barstatus=2 and xd1 then begin
drawtextabs(320,25,'下跌通道只宜观望'),colorgreen;
end
else
if barstatus=2 and xd2 then begin
drawtextabs(320,25,'短期底部准备进入'),coloryellow;
end;
ab1:=cost(0.33);
ab2:=cost(5);
ab3:=cost(15);
ab4:=cost(55);
ab5:=cost(97);
aa1:=cost(90);
aa2:=cost(70);
aa3:=cost(30);
aa4:=cost(10);
获利:=winner(close)*100;
套牢:=100-winner(close)*100;
drawtextabs(15,25,'量能饱和度:'+numtostrn(量能饱和度,2)+'%'),color00ffff;
drawtextabs(15,40,'90成本:'+numtostrn(aa1,2)),color00ffff;
drawtextabs(15,55,'70成本:'+numtostrn(aa2,2)),color00ffff;
drawtextabs(15,70,'30成本:'+numtostrn(aa3,2)),color00ffff;
drawtextabs(15,85,'10成本:'+numtostrn(aa4,2)),color00ffff;
drawtextabs(15,100,'底出击:'+numtostrn(ab1,2)),color00ffff;
drawtextabs(520,25,'建仓:'+numtostrn(ab2,2)),color00ffff;
drawtextabs(600,25,'快刀:'+numtostrn(ab3,2)),color00ffff;
drawtextabs(675,25,'升浪:'+numtostrn(ab4,2)),color00ffff;
drawtextabs(520,40,'获利:'+numtostrn(获利,2)+'%'),color00ffff;
drawtextabs(600,40,'套牢:'+numtostrn(套牢,2)+'%'),color00ffff;
drawtextabs(675,40,'预测:'+numtostrn(ab5,2)),color00ffff;
tj1:=vol=hhv(vol,10) and vol>2*ref(vol,1) and close>var1;
立桩量:=filter(tj1,5);
tj2:=if(barslast(立桩量)=1 and close>ref(high,1),1,if(barslast(立桩量)=2 and close>ref(high,2),1,if(barslast(立桩量)=3 and close>ref(high,3),1,0)));
突破:=tj2=1;
stickline(close,ref(high,barslast(立桩量)),ref(high,barslast(立桩量)),6,0),colorcyan;
stickline(close,ref(low,barslast(立桩量)),ref(low,barslast(立桩量)),6,0),coloryellow;
tj3:=if(barslast(立桩量)=1 and close>ref(low,1),1,if(barslast(立桩量)=2 and close>ref(low,2),1,if(barslast(立桩量)=3 and close>ref(low,3),1,0)));
三天法则:=tj3=1;
成立:=三天法则 and 突破;
条件成立:=filter(成立,3);
drawtext(条件成立,l*0.99,'成立'),coloryellow;
drawrectrel(0,85,15,380,rgb(30,30,30)),colorwhite;
aaa:=量能饱和度<=10;
bbb:=量能饱和度>10 and 量能饱和度<=20;
ccc:=量能饱和度>20 and 量能饱和度<=30;
ddd:=量能饱和度>30 and 量能饱和度<=50;
eee:=量能饱和度>50 and 量能饱和度<=70;
fff:=量能饱和度>70 and 量能饱和度<=80;
ggg:=量能饱和度>80 and 量能饱和度<=90;
hhh:=量能饱和度>90;
if barstatus=2 and aaa then begin drawrectrel(0,350,15,380,rgb(255,0,0));
end
else
if barstatus=2 and bbb then begin drawrectrel(0,320,15,380,rgb(255,0,0));
end
else
if barstatus=2 and ccc then begin drawrectrel(0,290,15,380,rgb(255,0,0));
end
else
if barstatus=2 and ddd then begin drawrectrel(0,230,15,380,rgb(255,0,0));
end
else
if barstatus=2 and eee then begin drawrectrel(0,170,15,380,rgb(255,0,0));
end
else
if barstatus=2 and fff then begin drawrectrel(0,140,15,380,rgb(255,0,0));
end
else
if barstatus=2 and ggg then begin drawrectrel(0,110,15,380,rgb(255,0,0));
end
else
if barstatus=2 and hhh then begin drawrectrel(0,85,15,380,rgb(255,0,0));
end;
x:=ema(((slope(close,21) * 20) + close),68);
y:=ema(close,10);
ll:=ref(close,3);
mm:=((sma(max((close - ll),0),6,1) / sma(abs((close - ll)),6,1)) * 100);
db:=if(((mm < ref(mm,1)) and (mm > 79)),mm,0);
drawtext(db,(high * 1.01),'卖出'),linethick3,colorffcc99;
var28:=llv(low,21);
var29:=hhv(high,21);
ak1:=ema((((close - var28) / (var29- var28)) * 100),5);
ak:=ema((((close - var28) / (var29 - var28)) * 50),13);
dd:=ema(((0.667 * ref(ak1,1)) + (0.333 * ak1)),2);
var30:=llv(low,55);
var31:=hhv(high,34);
var32:=ema((((close - var30) / (var31 - var30)) * 100),3);
var33:=((ak + var32) / 2);
var34:=ema(((0.667 * ref(var32,1)) + (0.333 * ak1)),2);
var35:=ema(var33,5);
bb:=ema(((0.667 * ref(var35,1)) + (0.333 * var35)),2);
ab:=cross(ak1,ak);
bb1:=(cross(ak1,bb) and (bb < 30));
cd:=(bb1 * 0.6);
drawtext((cd = 0.6),(low * 0.99),'买进'),linethick3,colorred;
{
改过的立庄量副图公式
vume:vol,volstick;
mvl1:ma(vume,5);
mvl2:ma(vume,10);
v2:if(barstatus=1,vol*240/minute/ref(vol,1)-1,vol/ref(vol,1)-1),linethick0,colorred;
stickline(v2>=1,0,vol,2,0),coloryellow;
qjj:=vol/((high-low)*2-abs(close-open));
xvl:=(if(close>open,qjj*(high-low),if(close<open,qjj*(high-open+close-low),vol/2))+if(close>open,0-qjj*(high-close+open-low),if(close<open,0-qjj*(high-low),0-vol/2)));
hsl:=(xvl/20)/1.15;
攻击流量:=((hsl*0.55+(ref(hsl,1)*0.33))+(ref(hsl,2)*0.22));
lljx:=ema(攻击流量,3);
资金流量:lljx;
mv5:=ema(v,5);
ma5:=ema(c,5);
mv5角度:=atan((mv5/ref(mv5,1)-1)*100)*180/3.1416;
ma5角度:=atan((ma5/ref(ma5,1)-1)*100)*180/3.1416;
量角:if(mv5角度>30,mv5角度,0),color0000ff,linethick0;
价角:if(ma5角度>0,ma5角度,ma5角度),colorffffff,linethick2;
};
上一指标公式:安全KDJ公式详解 大智慧KDJ
下一指标公式:分时图公式详解 大智慧分时图
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文立庄量主图公式详解 大智慧公式仅供学习研究。