upper:(1+m1/100)*ma(close,n);
lower:(1-m2/100)*ma(close,n);
ene:(upper+lower)/2;
买线:=zig(3,10);
卖线:=ma(买线,3);
bu:=cross(买线,卖线);
sel:=cross(卖线,买线);
drawtext(bu,l*0.99,'买'),linethick1,color00aaff;
drawtext(sel,h*1.01,'卖'),linethick1,color00ff00;
stickline(买线>=卖线,low,high,0,1),color0000cc;
stickline(买线>=卖线,close,open,2,1),color0000cc;
stickline(买线<卖线,close,open,2,0),colorcyan;
stickline(买线<卖线,low,high,0,0),colorcyan;
stickline(cross(买线,卖线),open,close,3,0),color00aaff;
stickline(cross(卖线,买线),open,close,3,0),color00dd00;
linethick2,color00ffff;
drawicon((zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and
(ref(zig(3,5),2)<=ref(zig(3,5),3)),low*0.99,1);
drawicon((zig(3,5)<ref(zig(3,5),1)) and (ref(zig(3,5),1)>=ref(zig(3,5),2)) and
(ref(zig(3,5),2)>=ref(zig(3,5),3)),h,2);
az6:=(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)));
b7:=(10);//www.goodgongshi.com
varc:=(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and
(ref(zig(3,5),2)<=ref(zig(3,5),3));
vard:=(zig(3,5)<ref(zig(3,5),1)) and (ref(zig(3,5),1)>=ref(zig(3,5),2)) and
(ref(zig(3,5),2)>=ref(zig(3,5),3));
v9:=troughbars(3,15,1)<10;
v11:=if(v9=1,50,0);
drawtext(if( if(v11=50,50,0)>ref(if(v11=50,50,0),1),l,0),l*0.96,'←黑马 '),colorred;
vare:=ma(100*(close-llv(close,34))/(hhv(high,34)-llv(low,34)),5)-20;
varf:=100-3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma
((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
var12:=(high+low+close)/3;
var13:=(var12-ma(var12,14))/(0.015*avedev(var12,14));
var14:=(var12-ma(var12,70))/(0.015*avedev(var12,70));
var15:=if(var13>=150 and var13<200 and var14>=150 and var14<200,10,0);
var16:=if(var13<=-150 and var13>-200 and var14<=-150 and var14>-200,-10,var15);
vare:=ref(low,1)*0.9;
varf:=low*0.9;
var10:=(varf*vol+vare*(capital-vol))/capital;
var11:=ema(var10,30);
var12:=close-ref(close,1);
var13:=max(var12,0);
var14:=abs(var12);
var15:=sma(var13,7,1)/sma(var14,7,1)*100;
var16:=sma(var13,13,1)/sma(var14,13,1)*100;
var17:=barscount(close);
var18:=sma(max(var12,0),6,1)/sma(abs(var12),6,1)*100;
var19:=(-200)*(hhv(high,60)-close)/(hhv(high,60)-llv(low,60))+100;
var1a:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
var1b:=sma((sma(var1a,4,1)-50)*2,3,1);
var1c:=(indexc-llv(indexl,14))/(hhv(indexh,14)-llv(indexl,14))*100;
var1d:=sma(var1c,4,1);
var1e:=sma(var1d,3,1);
var1f:=(hhv(high,30)-close)/close*100;
var20:=var18<=25 and var19<-95 and var1f>20 and var1b<-30 and var1e<30 and var11-close>=-0.25 and var15<22 and var16<28 and var17>50;
var21:=(high+low+close)/3;
var22:=(var21-ma(var21,14))/(0.015*avedev(var21,14));
var23:=(var21-ma(var21,70))/(0.015*avedev(var21,70));
var24:=if(var22>=150 and var22<200 and var23>=150 and var23<200,10,0);
var25:=if(var22<=-150 and var22>-200 and var23<=-150 and var23>-200,-10,var24);
drawtext(var20 and count(var20,1)=1,h*0.99,'←基') , colormagenta;
drawtext(var24 and count(var24,1)=1,l*1.1,'←基') , color00ff00;
lc:=ref(close,1);
rsi:=((sma(max((close-lc),0),3,1)/sma(abs((close-lc)),3,1))*100);
drawtext(cross(88,rsi),(high*1.02),'←背'),color1880ff;
上一指标公式:超级变色MACD指标公式详解 同花顺变色
下一指标公式:天下无双L指标公式详解 同花顺天下无双
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文ENE买卖位指标公式详解 同花顺买卖仅供学习研究。