公式虽然有未来数据,但是还是一个精品公式,大智慧l2版本公式不提供了,源码也一起提供吧
{飞狐}
{n=80 1 999 , m=3 1 15}
n:=80;
m:=3;
var11:=ma(c,9),colorred;
上升通道:partline(var11>ref(var11,1),var11),linethick2,colorred;
下降通道:partline(var11<ref(var11,1),var11),linethick2,colorgreen;
a0:=(l+h+c*2)/4;
aa:=ema(a0,14)coloryellow,linethick1;
bb:=ema(a0,25)coloryellow,linethick2;
a1x:=(aa-ref(aa,1))/ref(aa,1)*100;
a2x:=(bb-ref(bb,1))/ref(bb,1)*100;
g:=barslast(cross(a1x,0));
必卖止损:ref(a0,g),colorcyan,linethick1;
a5:=ema(close,12)-ema(close,26);
a6:=ema(a5,9);
a7:=(a5<-0.1 and a5>a6);
见底:partline(a7,llv(l,21))colorred,circledot;
见顶:partline(h>=ref(a0,barslast(cross(a1x,0)))*1.3,ref(a0,barslast(cross(a1x,0)))*1.3),colorgreen,circledot;
ema13:=ema(c,13),colorwhite;
ema21:=ema(c,21),coloryellow;
ema34:=ema(c,34),colorff00ff;
ema60:=ma(c,60),colorffcc66;
var2:=(2*close+high+low)/4;
var3:=if(year>=2099 and month>2,0,1);
var4:=llv(low,5); var5:=hhv(high,4);
散户:=ema((var2-var4)/(var5-var4)*100,4)*var3;
庄家:=ema(0.667*ref(散户,1)+0.333*散户,2)*var3;
{drawtext(cross(散户,庄家) and 散户<30,l-0.05,'←低吸'),colorlired;
drawtext(cross(庄家,散户) and 散户>78,h+0.05,'←高抛'),colorgreen;}
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
drawtext(cross(84,rsi) , high,'←-----逃'),colorgreen;
var3aa:=if((close>ref(close,1)),88,0);
var4aa:=if(((close)/(ref(close,1))>1.05) and ((high)/(close)<1.01) and (var3aa>0),91,0);
drawtext(filter((var4aa>90),45),(low)*(0.93),'←---大胆搏 '),coloryellow;
var51:=3;
var52:=(3)*(sma(((close - llv(low,27))/(hhv(high,27) - llv(low,27)))*(100),5,1)) - (2)*(sma(sma(((close - llv(low,27))/(hhv(high,27) - llv(low,27)))*(100),5,1),3,1));
drawtext(cross(var52,var51), low,'←启动')colormagenta;
diff:=( ema(close,7) - ema(close,19));
dea:=ema(diff,9);
macd:=0.90*(diff-dea);
tj:=(diff>=dea);
tj1:=(diff>=0);
stickline(tj,h,l,0.4,0),coloryellow;
stickline(tj,o,c,4,1),color0088ff;
stickline(tj,o,c,3.4,1),color00aaff;
stickline(tj,o,c,2.8,1),color00ccff;
stickline(tj,o,c,2,1),color00ddff;
stickline(tj,o,c,1.2,1),color55ffff;
stickline(tj,o,c,0.4,1),color99ffff;
stickline(tj1 and tj,h,l,0.4,0),colorf00ff0;
stickline(tj1 and tj,o,c,4,1),colorff33ff;
stickline(tj1 and tj,o,c,3.4,1),colorff55ff;
stickline(tj1 and tj,o,c,2.8,1),colorff77ff;
stickline(tj1 and tj,o,c,2,1),colorff99ff;
stickline(tj1 and tj,o,c,1.2,1),colorffbbff;
stickline(tj1 and tj,o,c,0.4,1),colorffddff;
stickline(diff<dea,h,l,0.4,0),colorf0f000;
stickline(diff<dea,o,c,4,1),colorff3300;
stickline(diff<dea,o,c,3.4,1),colorff6600;
stickline(diff<dea,o,c,2.8,1),colorff9900;
stickline(diff<dea,o,c,2,1),colorffbb00;
stickline(diff<dea,o,c,1.2,1),colorffdd00;
stickline(diff<dea,o,c,0.4,1),colorffff00;
var1:=(close*2+high+low)/4;
sk:= ema(var1,13)-ema(var1,73);
sd:= ema(sk,2);
sj:=(cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03)or(cross(sk,sd)
and sk<=-0.14 )or(cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035));
stickline(sj,h,l,0.5,0),colorred;
stickline(sj,o,c,5.5,0),linethick3,color000055;
stickline(sj,o,c,4.5,0),linethick3,color000077;
stickline(sj,o,c,3.5,0),linethick3,color000099;
stickline(sj,o,c,2.5,0),linethick3,color0000bb;
stickline(sj,o,c,1.5,0),linethick3,color0000dd;
stickline(sj,o,c,0.5,0),linethick3,color0000ff;
{大智慧l2}
{n=80 1999 , m=3115}
{drawgbklast((close > 0),strip(rgb(138,43,226),rgb(144,64,96),0));}
var11:=ma(c,9);
partline(var11,var11>ref(var11,1)),linethick3,colorred;
partline(var11,var11<ref(var11,1)),linethick3,colorgreen;
上升通道:if(var11>ref(var11,1),var11,0),linethick0,colorred,precis2;
下降通道:if(var11<ref(var11,1),var11,0),linethick0,colorgreen,precis2;
a0:=(l+h+c*2)/4;
aa:=ema(a0,14);
bb:=ema(a0,25);
a1x:=(aa-ref(aa,1))/ref(aa,1)*100;
a2x:=(bb-ref(bb,1))/ref(bb,1)*100;
g:=barslast(cross(a1x,0));
必卖止损:ref(a0,g),colorcyan,precis2;
a5:=ema(close,12)-ema(close,26);
a6:=ema(a5,9);
a7:=(a5<-0.1 and a5>a6);
见底:if(a7,llv(l,21),0),colorred,precis2,linethick0;
stickline( 见底,见底 ,见底*1.008 ,2 ,0 ),colorred;
见顶:if(h>=ref(a0,barslast(cross(a1x,0)))*1.3,ref(a0,barslast(cross(a1x,0)))*1.3,0),colorgreen,precis2,linethick0;
stickline( 见顶,见顶,见顶*1.008,2 ,0 ),colorgreen;
ma5:=ma(c,5);
ma13:=ma(c,13);
diff:=( ema(close,7) - ema(close,19));
dea:=ema(diff,9);
macd:=0.90*(diff-dea);
tj:=(diff>=dea);
tj1:=(diff>=0);
stickline(tj,h,l,0.4,0),coloryellow;
stickline(tj,o,c,4,1),color0088ff;
stickline(tj,o,c,3.4,1),color00aaff;
stickline(tj,o,c,2.8,1),color00ccff;
stickline(tj,o,c,2,1),color00ddff;
stickline(tj,o,c,1.2,1),color55ffff;
stickline(tj,o,c,0.4,1),color99ffff;
stickline(tj1 and tj,h,l,0.4,0),colorf00ff0;
stickline(tj1 and tj,o,c,4,1),colorff33ff;
stickline(tj1 and tj,o,c,3.4,1),colorff55ff;
stickline(tj1 and tj,o,c,2.8,1),colorff77ff;
stickline(tj1 and tj,o,c,2,1),colorff99ff;
stickline(tj1 and tj,o,c,1.2,1),colorffbbff;
stickline(tj1 and tj,o,c,0.4,1),colorffddff;
stickline(diff<dea,h,l,0.4,0),colorf0f000;
stickline(diff<dea,o,c,4,1),colorff3300;
stickline(diff<dea,o,c,3.4,1),colorff6600;
stickline(diff<dea,o,c,2.8,1),colorff9900;
stickline(diff<dea,o,c,2,1),colorffbb00;
stickline(diff<dea,o,c,1.2,1),colorffdd00;
stickline(diff<dea,o,c,0.4,1),colorffff00;
var1:=(close*2+high+low)/4;
sk:= ema(var1,13)-ema(var1,73);
sd:= ema(sk,2);
sj:=(cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03)or(cross(sk,sd)
and sk<=-0.14 )or(cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035));
stickline(sj,h,l,0.5,0),colorred;
stickline(sj,o,c,5.5,0),linethick3,color000055;
stickline(sj,o,c,4.5,0),linethick3,color000077;
stickline(sj,o,c,3.5,0),linethick3,color000099;
stickline(sj,o,c,2.5,0),linethick3,color0000bb;
stickline(sj,o,c,1.5,0),linethick3,color0000dd;
stickline(sj,o,c,0.5,0),linethick3,color0000ff;
ema13:=ema(c,13);
ema21:=ema(c,21);
ema34:=ema(c,34);
ema60:=ma(c,60);
var2:=(2*close+high+low)/4;
var3:=if(year>=2099 and month>2,0,1);
var4:=llv(low,5); var5:=hhv(high,4);
散户:=ema((var2-var4)/(var5-var4)*100,4)*var3;
庄家:=ema(0.667*ref(散户,1)+0.333*散户,2)*var3;
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
drawtext(cross(84,rsi) , high,'←-----逃'),colorgreen;
var3aa:=if((close>ref(close,1)),88,0);
var4aa:=if(((close)/(ref(close,1))>1.05) and ((high)/(close)<1.01) and (var3aa>0),91,0);
drawtext(filter((var4aa>90),45),(low)*(0.93),'←---大胆搏 '),coloryellow;
var51:=3;
var52:=(3)*(sma(((close - llv(low,27))/(hhv(high,27) - llv(low,27)))*(100),5,1)) - (2)*(sma(sma(((close - llv(low,27))/(hhv(high,27) - llv(low,27)))*(100),5,1),3,1));
drawtext(cross(var52,var51), low,'←启动'),colormagenta;
{大智慧l2}
{n=80 1999 , m=3115}
{drawgbklast((close > 0),strip(rgb(138,43,226),rgb(144,64,96),0));}
var11:=ma(c,9);
partline(var11,var11>ref(var11,1)),linethick3,colorred;
partline(var11,var11<ref(var11,1)),linethick3,colorgreen;
上升通道:if(var11>ref(var11,1),var11,0),linethick0,colorred,precis2;
下降通道:if(var11<ref(var11,1),var11,0),linethick0,colorgreen,precis2;
a0:=(l+h+c*2)/4;
aa:=ema(a0,14);
bb:=ema(a0,25);
a1x:=(aa-ref(aa,1))/ref(aa,1)*100;
a2x:=(bb-ref(bb,1))/ref(bb,1)*100;
g:=barslast(cross(a1x,0));
必卖止损:ref(a0,g),colorcyan,precis2;
a5:=ema(close,12)-ema(close,26);
a6:=ema(a5,9);
a7:=(a5<-0.1 and a5>a6);
见底:if(a7,llv(l,21),0),colorred,precis2,linethick0;
stickline( 见底,见底 ,见底*1.008 ,2 ,0 ),colorred;
见顶:if(h>=ref(a0,barslast(cross(a1x,0)))*1.3,ref(a0,barslast(cross(a1x,0)))*1.3,0),colorgreen,precis2,linethick0;
stickline( 见顶,见顶,见顶*1.008,2 ,0 ),colorgreen;
ma5:=ma(c,5);
ma13:=ma(c,13);
diff:=( ema(close,7) - ema(close,19));
dea:=ema(diff,9);
macd:=0.90*(diff-dea);
tj:=(diff>=dea);
tj1:=(diff>=0);
stickline(tj,h,l,0.4,0),coloryellow;
stickline(tj,o,c,4,1),color0088ff;
stickline(tj,o,c,3.4,1),color00aaff;
stickline(tj,o,c,2.8,1),color00ccff;
stickline(tj,o,c,2,1),color00ddff;
stickline(tj,o,c,1.2,1),color55ffff;
stickline(tj,o,c,0.4,1),color99ffff;
stickline(tj1 and tj,h,l,0.4,0),colorf00ff0;
stickline(tj1 and tj,o,c,4,1),colorff33ff;
stickline(tj1 and tj,o,c,3.4,1),colorff55ff;
stickline(tj1 and tj,o,c,2.8,1),colorff77ff;
stickline(tj1 and tj,o,c,2,1),colorff99ff;
stickline(tj1 and tj,o,c,1.2,1),colorffbbff;
stickline(tj1 and tj,o,c,0.4,1),colorffddff;
stickline(diff<dea,h,l,0.4,0),colorf0f000;
stickline(diff<dea,o,c,4,1),colorff3300;
stickline(diff<dea,o,c,3.4,1),colorff6600;
stickline(diff<dea,o,c,2.8,1),colorff9900;
stickline(diff<dea,o,c,2,1),colorffbb00;
stickline(diff<dea,o,c,1.2,1),colorffdd00;
stickline(diff<dea,o,c,0.4,1),colorffff00;
var1:=(close*2+high+low)/4;
sk:= ema(var1,13)-ema(var1,73);
sd:= ema(sk,2);
sj:=(cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03)or(cross(sk,sd)
and sk<=-0.14 )or(cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035));
stickline(sj,h,l,0.5,0),colorred;
stickline(sj,o,c,5.5,0),linethick3,color000055;
stickline(sj,o,c,4.5,0),linethick3,color000077;
stickline(sj,o,c,3.5,0),linethick3,color000099;
stickline(sj,o,c,2.5,0),linethick3,color0000bb;
stickline(sj,o,c,1.5,0),linethick3,color0000dd;
stickline(sj,o,c,0.5,0),linethick3,color0000ff;
ema13:=ema(c,13);
ema21:=ema(c,21);
ema34:=ema(c,34);
ema60:=ma(c,60);
var2:=(2*close+high+low)/4;
var3:=if(year>=2099 and month>2,0,1);
var4:=llv(low,5); var5:=hhv(high,4);
散户:=ema((var2-var4)/(var5-var4)*100,4)*var3;
庄家:=ema(0.667*ref(散户,1)+0.333*散户,2)*var3;
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
drawtext(cross(84,rsi) , high,'←-----逃'),colorgreen;
var3aa:=if((close>ref(close,1)),88,0);
var4aa:=if(((close)/(ref(close,1))>1.05) and ((high)/(close)<1.01) and (var3aa>0),91,0);
drawtext(filter((var4aa>90),45),(low)*(0.93),'←---大胆搏 '),coloryellow;
var51:=3;
var52:=(3)*(sma(((close - llv(low,27))/(hhv(high,27) - llv(low,27)))*(100),5,1)) - (2)*(sma(sma(((close - llv(low,27))/(hhv(high,27) - llv(low,27)))*(100),5,1),3,1));
drawtext(cross(var52,var51), low,'←启动'),colormagenta;
上一指标公式:资金进场公式 飞狐进场指标 源码
下一指标公式:[通达信解密]PDT攀登图公式 飞狐攀登解密指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文立体K线主图公式 飞狐线主图指标 源码仅供学习研究。