阻力价:hhv(high,19),colorgreen,linethick1;
var1:=ema(close,12)-ema(close,26);
var2:=ema(var1,9);
var3:=(close*2.5/100+close);
var4:=ema(c,3);
var5:=llv(high,240);
var6:=100*(close-var5)/var5;
var7:=ema(100*(close-llv(low,100))/(hhv(high,100)-llv(low,100)),5)/4;
var8:=slope(close,10);
drawtext(filter(var7>23,8),h,'别贪'), color00ff00;
drawicon(count(ref(var4,1)<ref(var4,2),5)=5 and var4>ref(var4,1),l*0.98,4);
drawicon(filter(count(var6<0,5)and cross(var6,0)and var7>ref(var7,1)and var8>ref(var8,1)and c>o,3),l,1);
drawicon(filter(ref(var4,1)>ref(var4,2)and var4<ref(var4,1)and var7>17 and var1>var2,5),h,2);
drawicon(阻力价>ref(阻力价,1)and cross(阻力价,var3)and c<o,h*1.02,5);
input: n(5,1,9999),p1(14,1,9999);
老庄线:ma(c,n),colorred;{比半年线146大一些}
var1:=4*sma((close-llv(low,n))/(hhv(high,n)-llv(low,n))*100,5,1)-
3*sma(sma((close-llv(low,n))/(hhv(high,n)-llv(low,n))*100,5,1),3.2,1);
var2:=llv(low,27);
var3:=hhv(high,34);
var4:=ema((close-var2)/(var3-var2)*4,4)*25;
var5:=ref(c,2)*0.865;
var6:=ref(c,13)*0.772;
dsy:=100*vol/capital;
注意买:=if((var4<10),80,100) ,color00ccff,linethick1;
rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
超跌:=if(j<0,10,0),colorffff00;
bddd:=llv(j,2)=llv(j,8);
买入:=if(cross(j,ref(j+0.01,1)) and bddd and j<20,30,0);
少买:=if(cross(j,ref(j+0.01,1)) and bddd and between(j,20,60),1,0);
bdgd:=hhv(j,2)=hhv(j,8) and j>80;
drawtext(少买 and 注意买=100,low,'☆'),colorff00ff;
drawtext(买入 and 注意买=100 and 超跌=0,low,'买★入'),colorred;
drawtext(cross(ref(j-0.01,1),j) and ref(bdgd,1),high+0.02{*1.02},'◇'),colorwhite;
drawtext(cross(100,var1),high+0.05,'卖◆出'),color00ffff;
drawtext(cross(var1,110) or cross(var1,120),high+0.07,'偏※高'),color00ff00;
drawtext(cross(var1,35) and
注意买=100,low,'☆'),colorff00ff;
drawtext((c-min(var5,var6))/c<0.1 and sum(dsy,5)/5<1.8,low-0.05,'抄底'),color00ff00;
主筹估算:=ema(winner(c)*70,3);
散筹估算:=ema((winner((c)*1.1)-winner((c)*0.9))*70,3);
筹码锁定:=散筹估算-主筹估算;
动态底部:=ema(if(l<=llv(l,60),sma(abs(l-ref(l,1)),60,1)/sma(max(l-ref(l,1),0),99,1),0)*5,3);
涨:=cross(主筹估算,筹码锁定);
强:=cross(主筹估算,散筹估算);
stickline(涨,o,c,8,0),coloryellow;
stickline(涨,o,h,0,0),coloryellow;
stickline(涨,l,c,0,0),coloryellow;
stickline(强, o,c,8,0),colormagenta;
stickline(强,o,h,0,0),colormagenta;
stickline(强,l,c,0,0),colormagenta;
a1:=ref(h,n)=hhv(h,2*n+1);
b1:=filter(a1,n);
c1:=backset(b1,n+1);
d1:=filter(c1,n);{高点}
a2:=ref(l,n)=llv(l,2*n+1);
b2:=filter(a2,n);
c2:=backset(b2,n+1);
d2:=filter(c2,n);{低点}
e1:=(ref(llv(l,2*n),1)+ref(hhv(h,2*n),1))/2;
e2:=(h+l)/2;{高低点出现在同一k线上时可作取舍}
h1:=(d1 and not(d2 and e1>=e2)) or
barstatus=2 or barscount(c)=1;
l1:=(d2 and not(d1 and e1<e2)); h2:=d1 and not(d2 and e1>=e2);
x1:=ref(barslast(h1),1)+1; f1:=backset(h1 and count(l1,x1)>0,llvbars
(if(l1,l,10000),x1));
g1:=f1>ref(f1,1);
i1:=backset(g1,2); ld:=i1>ref(i1,1);{过滤后低点}
l2:=ld or barstatus=2 or barscount(c)=1;
x2:=ref(barslast(l2),1)+1; f2:=backset(l2 and
count(h2,x2)>0,hhvbars(if(h2,h,0),x2));
g2:=f2>ref(f2,1);
i2:=backset(g2,2);
hd:=i2>ref(i2,1);{过滤后高点}
r1:=backset(barstatus=2,barslast(hd)+1);
s1:=r1>ref(r1,1); {前一高}
t1:=backset(barstatus=2,barslast(ld)+1);
u1:=t1>ref(t1,1); {前一低}
r2:=backset(s1,ref(barslast(hd),1)+2);
s2:=r2>ref(r2,1); {前二高}
t2:=backset(u1,ref(barslast(ld),1)+2);
u2:=t2>ref(t2,1); {前二低}
t3:=backset(u2,ref(barslast(ld),1)+2);
u3:=t3>ref(t3,1); {前三低}
t4:=backset(u3,ref(barslast(ld),1)+2);
u4:=t4>ref(t4,1); {前四低}
r3:=backset(s2,ref(barslast(hd),1)+2);
s3:=r3>ref(r3,1); {前三高}
r4:=backset(s3,ref(barslast(hd),1)+2);
s4:=r4>ref(r4,1);
{前四高}
drawline(s2,h,s1,h,1),coloryellow;
drawline(u2,l,u1,l,1),colorblue;
drawline(s3,h,s2,h,1),colorblue;
drawline(u3,l,u2,l,0),coloryellow;
drawline(s4,h,s3,h,1),coloryellow;
drawline(u4,l,u3,l,0),coloryellow;
drawicon(s1,h*1.01,10);
drawicon(s2,h*1.01,10);
drawicon(s3,h*1.01,10);
drawicon(s4,h*1.01,10);
drawicon(u1,l*0.99,9);
drawicon(u2,l*0.99,9);
drawicon(u3,l*0.99,9);
drawicon(u4,l*0.99,9);
varc:=sma(max(c-ref(c,1),0),6,1)/sma(abs(c-ref(c,1)),6,1)*100;
drawicon(cross(82,varc),high,2);
var6:=ref(c,1);
var7:=sma(max(c-var6,0),6,1)/sma(abs(c-var6),6,1)*100;
drawtext(cross(84,var7),h*1.01,'▲逃庄'),colorgreen;
var32:=close/ref(close, 1)>=1.062 and high/close<1.005 and ma(close, 90)/close>=1.150;
var33:=var32 and count(var32, 20)=1;
var34:=(indexc-ref(indexc, 1))/ref(indexc, 1);
var35:=(close-ref(close, 1))/ref(close, 1);
var36:=if(var34>0.010, 0.900, 1) and if(var34>(-0.025), 1,1.200);
var37:=var36*(var35-var34)*100;
var38:=sum(var37,10);
var39:=sma(var38, 40,1);
var310:=var38>20;
var311:=cross(close, ma(close*1.055, 3)) and close>open*1.060 and vol>=ref(vol, 1)*1.5 and close>=ma(close,10);
var312:=var310 and var311 ;
var313:=(-100)*(hhv(high,3)-close)/(hhv(high, 3)-llv(low, 3));
var314:= cross(var313, (-87)) and
open=1.090*ref(close, 1) and indexc>0.980*ref(indexc, 1) and
close<=1.470*llv(close, 58);
var315:=ema(close, 12)-ema(close,26);
var316:=ema(var315,9);
var317:=2*(var315-var316);
var318:=(close-llv(low, 9))/(hhv(high,9)-llv(low, 9))*100;
var319:=sma(var318, 3,1);
var320:=sma(var319, 3,1);
var321:=ema(if(var316>ref(var316, 1), 1, (-1)),14)*14;
var322:=ema(if(var320>ref(var320, 1), 1, (-1)),14)*14*2;
var323:=(ma(close, 5)/ma(close,70)-1)*100;
var324:=(var323+var322+var321)/3;
var325:=ma(close, 80)-ma(close, 10)/3;
var326:=if(close and ma(vol, 5)/240 and close>ref(close, 1)*1.0 and close,88,0);{var38>var39;}
var327:=if(close/ref(close, 1)>1.050 and vol/capital*100<10 and close<17 and high/close<1.010 and var326>0, 91, 0);
var328:=if(var324>ref(var324, 1) and ref(var324, 1)<ref(var324, 2) and (var33 or var312 or var314) or var326>0 or var327>0, 85, 0);
var329:=if(var327>0 ,95,0), stick,linethick2;
var330:=if(var326>0 or var327>0,91,0), stick,linethick2;
var331:=if(var328>0 or var327>0 or var326>0,88,0), stick,linethick2;
var332:=100*(close-llv(low,42))/(hhv(high,42)-llv(low,42)),linethick1,colorgreen;
var333:=count(ma(close,3)>ref(ma(close,3),1),1)=1;
var334:=(var332<93 and var333 and max(max(var329, var330), var331))*100;
上一指标公式:趋势买卖主图公式 飞狐卖主指标 源码
下一指标公式:变色波段主图可以用来做波段公式 飞狐可以用来做指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文殷保华操盘线主图公式 飞狐操盘殷保华指标 源码仅供学习研究。