fz后土源码:
drawgbk(c>0,colorrgb(260,50,260),colorrgb(100,0,180),1);
drawtextex(1,0,10,0,'k线中部紫红色条纹买进!'),color663377;
drawtextex(1,0,10,40,'k线中部粉红色条纹加码!'),colorff99ff;
drawtextex(1,0,10,80,'k线中部大红色条纹上涨!'),colorred;
drawtextex(1,0,10,120,'k线中部浅绿色条纹洗盘!'),colorgreen;
drawtextex(1,0,10,160,'k线中部深青色条纹下跌!'),color858500;
趋势线:=sma(forcast(close,13),5,1),linethick1,precision2,colorffff00;
e130:=ema(close,30);
tym:=(hhv(high,20) - (0.5 * (hhv(high,20) - llv(low,20))));
partline(all((close > tym),3),tym),linethick2,color122650;
partline(all((close < tym),3),tym),linethick2,colorgreen;
a3:=ema(slope(close,21)*20+close,68);
a4:=ema(close,10);
a5:=ref(close,2);
a6:=(sma(max(close-a5,0),6,1))/(sma(abs(close-a5),6,1))*100;
a7:=if(a6<ref(a6,1) and a6>79,a6,0);
drawtext(cross(a4,a3),low,'△'),align1,pxup4,colorffff;
drawtext(a7,high,'○'),pxup6,colorff00;
a8:=llv(low,21);
a9:=hhv(high,21);
a10:=ema((close-a8)/(a9-a8)*100,5);
a11:=ema((close-a8)/(a9-a8)*50,13);
a12:=ema(0.667*ref(a10,1)+0.333*a10,2);
a13:=llv(low,55);
a14:=hhv(high,34);
a15:=ema((close-a13)/(a14-a13)*100,3);
a16:=(a11+a15)/2;
a17:=ema(0.667*ref(a15,1)+0.333*a10,2);
a18:=ema(a16,5);
a19:=ema(0.667*ref(a18,1)+0.333*a18,2);
a20:=cross(a10,a11);
a21:=cross(a10,a19) and a19<30;
a22:=a21*0.6;
drawtext(a22=0.6,low,'◇'),align1,colorffff;
drawtext(a20=1,low,'◇'),align1,colorffffff;
var51:=close-open;
买线:=ema(close,2);
卖线:=ema(slope(close,21) * 20 + close,42);
bu:=cross(买线,卖线);
sel:=cross(卖线,买线);
stickline(买线 >= 卖线,low,min(close,open),1,0),color66ffff;
stickline(买线 >= 卖线,open,open+var51/4,7,0),color66ffff;
stickline(买线 >= 卖线,open+var51/4,open+var51*2/4,7,0),colorccff;
stickline(买线 >= 卖线,open+var51*2/4,open+var51*3/4,7,0),color6699ff;
stickline(买线 >= 卖线,open+var51*3/4,close,7,0),color99ff;
stickline(买线 >= 卖线,max(close,open),high,1,0),color99ff;
var52:=open-close;
stickline(买线 < 卖线,low,min(close,open),1,0),colorff3333;
stickline(买线 < 卖线,close,close+var52*1/4,7,0),colorff0033;
stickline(买线 < 卖线,close+var52/4,close+var52*2/4,7,0),colorff6633;
stickline(买线 < 卖线,close+var52*2/4,close+var52*3/4,7,0),colorff9933;
stickline(买线 < 卖线,close+var52*3/4,open,7,0),colorffcc33;
stickline(买线 < 卖线,max(close,open),high,1,0),colorffff33;
v1:=hhv(high,34);
v2:=ma(close,5);
v3:=ma(close,10);
v4:=ma(close,20);
v5:=ma(close,30);
v6:=ma(close,60);
v7:=ma(close,150);
v8:=ma(close,250);
v9:=vol/capital*100;
v10:=(close-v8)/v8*100;
v11:=(close/ref(close,1)-1)*100;
v12:=pwinner(1,close);
va1:=ma(hhv(high,485),17);
va2:=ma(hhv(high,222),17);
va3:=ma(hhv(high,96),17);
va4:=ma(llv(low,485),17);
va5:=ma(llv(low,222),17);
va6:=ma(llv(low,96),17);
va7:=ma((va4*0.96+va5*0.96+va6*0.96+va1*0.558+va2*0.558+va3*0.558)/6,17);
va8:=ma((va4*1.25+va5*1.23+va6*1.2+va1*0.55+va2*0.55+va3*0.65)/6,17);
va9:=ma((va4*1.3+va5*1.3+va6*1.3+va1*0.68+va2*0.68+va3*0.68)/6,17);
vaa:=ma((va7*3+va8*2+va9)/6*1.738,17);
vad:=ref(low,1);
vae:=(sma(abs(low-vad),3,1))/(sma(max(low-vad,0),3,1))*100;
vaf:=ma(if(close*1.35<=vaa,vae*10,vae/10),3);
va10:=llv(low,30);
va11:=hhv(vaf,30);
绝佳买点1:=ma(if(low<=va10,(vaf+va11*2)/2,0),3);
i:=if(close<ref(close,1),vol/capital*10053,0);
骤雨初晴1:=(abs(ema(i,13.3)-18))/winner(close)*(if((close-ma(close,6))/ma(close,6)<-0.04,1,0));
短线买1:=if(绝佳买点1>500 and 绝佳买点1>2500,100,0);
中线买1:=if(绝佳买点1>10000 and 绝佳买点1>20000,200,0);
倾家荡产买1:=if(绝佳买点1>30000,300,0);
卖预测1:close*2.5/100+close,linethick0,colorff;
买预测1:close-close*2.5/100,linethick0,colorff00;
g:=if(high=hhv(high,3),1,0);
d:=if(low=llv(low,3),1,0);
s:=if(ref(g,2)=1 and ref(g,1)=0 and g=0,ref(high,2),ref(high,2+(barslast(ref(g,2)=1 and ref(g,1)=0 and g=0))));
x:=if(ref(d,2)=1 and ref(d,1)=0 and d=0,ref(low,2),ref(low,2+(barslast(ref(d,2)=1 and ref(d,1)=0 and d=0))));
上压力:if(high>=ma(close,1),s,ref(s,barslast(high>ma(close,1)))),pointdot,linethick3,colorff00ff;
下支撑:if(low<=ma(close,5),x,ref(x,barslast(low<=ma(close,5)))),pointdot,linethick3,colorffff00;
k1:=上压力;
k2:=下支撑;
c1:=ref(close,1)<=k1 and close>k1;
c2:=ref(close,1)>=k2 and close<k2;
k3:=barslast(c1);
k4:=barslast(c2);
k0:=k3<k4;
上:=sma(high,21,2)*1.05;
drawtext(filter(close<ref(close,1) and close<ref(close,1) and high>上 and close<上,5),high+0.05,'-减仓'),colorffffff;
下轨道:=sma(low,21,2)*0.969;
bma:=ma(close,118);
阻挡:=sma(high,21,2)*1.05;
rsv:=(close-llv(low,13))/(hhv(high,13)-llv(low,13))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
rsv12:=(close-llv(low,34))/(hhv(high,34)-llv(low,34))*100;
k12:=sma(rsv12,3,1);
d12:=sma(k12,3,1);
j12:=3*k12-2*d12;
rsv24:=(close-llv(low,55))/(hhv(high,55)-llv(low,55))*100;
k24:=sma(rsv24,3,1);
d24:=sma(k24,3,1);
j24:=3*k24-2*d24;
支撑位:=if(cross(j,j24),low,ref(low,barslast(cross(j,j24))));
压力位:=if(cross(j24,j),high,ref(high,barslast(cross(j24,j))));
u2l:=if(close>=ma(close,20),80,50);
l2l:=if(close>=ma(close,20),50,20);
rh1:=if(j<u2l and ref(j,1)>=u2l,hhv(ref(high,1),(barslast(j>=u2l and ref(j,1)<u2l))-1),ref(hhv(ref(high,1),(barslast(j>=u2l and ref(j,1)<u2l))-1),barslast(j<u2l and ref(j,1))));
rh4:=if(high>rh1,low,ref(low,barslast(high>rh1)));
rh42:=if(high>rh1,j,ref(j,barslast(high>rh1)));
rh5:=if(high>rh4 and j<rh42 and j<j24,high,ref(high,barslast(high>rh4 and j<rh42 and j<j24)));
rl1:=if(j>l2l and ref(j,1)<=l2l,llv(ref(low,1),(barslast(j<=l2l and ref(j,1)>l2l))-1),ref(llv(ref(low,1),(barslast(j<=l2l and ref(j,1)>l2l))-1),barslast(j>l2l and ref(j,1))));
rl4:=if(low<rl1,high,ref(high,barslast(low<rl1)));
rl42:=if(low<rl1,j,ref(j,barslast(low<rl1)));
rl5:=if(low<rl4 and j>rl42 and j>j24,low,ref(low,barslast(low<rl4 and j>rl42 and j>j24)));
cb:=amount/vol/100;
cd:=cb>high or cb<low;
黑马趋势:=ma(close,3);
map:=ma(close,8);
aa5:=ma(close,21);
aa10:=ma(close,8);
aa12:=ma(close,12);
bb10:=(atan(aa10-ref(aa10,1)))*3.1416*10;
bb12:=(atan(aa12-ref(aa12,1)))*3.1416*10;
ma13:=ma(close,13);drawtext(filter(close/open>1.04 and close-ref(close,1)>0 and close>下轨道 and aa10-ref(aa10,1)>0 and close<上,3),low-0.07,'追击'),colord1e768;
vard:=(open+low+high+close)/4;
支撑:=ema(vard,5);
短期底部:=llv(open,30);
drawtext(cross(黑马趋势,短期底部) and rl5-ref(rl5,1)>0 and 黑马趋势-ref(黑马趋势,1)>0 and 黑马趋势>1 and low<=支撑位 and close>支撑位 and high<压力位,low-0.15,'←黑马发现'),colorffff;
drawtext(cross(黑马趋势,rl5) and 黑马趋势-ref(黑马趋势,1)>0 and high<压力位 and low<=短期底部 and close>支撑位 and cd<1 and close>open and close>rl5,low,'←短买'),colorff00;
drawtext(filter(low<=短期底部 and close-ref(close,1)>close and ma(close,10)-ref(ma(close,10),1)>0 and winner(close)<0.05 and 短期底部=rl5 and low<=rl5 and high<压力位,3),low,'★机会难得'),colorffffff;
历史大底:drawtext(filter(llv(low,0) and winner(close)<0.08 and low<=短期底部 and close>短期底部 and j<80 and close/open>1.08,20),low-0.45,'★★历史大底');
drawtext(filter(low<=短期底部 and close>压力位 and aa5-ref(aa5,1)>0 and j<80 and close>支撑位 and 黑马趋势-ref(黑马趋势,1)>0 and winner(close)<0.1 and close>open,5),low-0.15,'★黑马登天'),colorcdeec5;
x1:=(3*close+high+low+open)/6;
x2:=ema(x1,10);
x3:=ref(x2,1);
x4:=(ref(high,1)+ref(low,1))/2;
x5:=ma(close,21)+2*std(close,21);
x6:=ref(close,1);
x7:=(sma(max(close-x6,0),7,1))/(sma(abs(close-x6),7,1))*100;
x8:=cross(79,x7);
x9:=filter(x8,4);
map1:=ma(close,60);
均线30:=ma(close,30);
均线89:=ma(close,89);
均线:=ma(close,16);
均线34:=ma(close,34);
均线55:=ma(close,55);
var61:=ema(close,8);
var62:=ema(var61,20);
var63:=cross(var61,var62);
var64:=var61<ma(close,60);
var65:=(hhv(high,36)-close)/(hhv(high,36)-llv(low,36))*100;
var66:=sma(var65,5,1);
var67:=sma(var66,8,1);
var68:=cross(var66,var67) and var67<16;
var69:=close>llv(close,60)+0.3*llv(close,60) and var68;
vara:=if(close>1000,var68,var69);
黑马起步:=var63 and var64;
逃遁:=vara;
均线20:=ma(close,20);
均线120:=ma(close,120);
牛熊线:=ma(close,250);
va:=cross(ma(close,19),ma(close,120));
vb:=ma(close,20)>ma(close,120);
vc:=cross(ma(close,120),ma(close,89));
vd:=ma(close,20)<ma(close,120);
ve:=cross(ma(close,20),ma(close,250));
vf:=ma(close,20)>ma(close,250);
vg:=cross(ma(close,250),ma(close,20));
drawtext(均线-ref(均线,1)>0 and cross(均线20,均线120) and low<=均线120 and close>=均线120,low,'三线开花'),colorffffff;
短期底部2:=llv(high,30);
上轨:=sma(high,21,2)*1.092;
中轨道:=sma(high,21,2)*1.017;
drawtext(filter(low<下轨道 and close>ma(close,15) and close>短期底部2 and high<压力位,10),low,'★短线5%'),color9dc522;
drawtext(high>=均线120 and close<ref(close,1) and close<ref(close,1) and high>上 and close<上 and close<均线120,high+0.05,'减仓'),colorff00;
drawtext(filter(high>阻挡 and close<阻挡,5),high+0.15,'●'),pxup2,colorff00;
drawtext(ve>vg and high<阻挡,low-0.65,'★黑马短线'),colorffff;
drawtext(filter(open<x2 and close>x2 and 支撑-ref(支撑,1)>0 and 支撑-ref(支撑,1)>0 and close<阻挡 and 均线-ref(均线,1)>0 and close>=均线 and high<阻挡 and aa10-ref(aa10,1)>0 and 阻挡-ref(阻挡,2)>0,11),low-0.11,'★快马加鞭'),colorff;
drawtext(filter(open<x2 and winner(close)<0.2 and close>x2 and x2-ref(x2,1)>0 and high<阻挡 and close-ref(close,1)>0.35,4),low-0.05,'★黑马狂奔'),colord18073;
drawtext(cross(支撑,均线) and high<中轨道 and winner(close)<0.2 and close<阻挡 and close>open and low<=x2 and close>=x2 and cross(支撑,x2),low,'★黑马起步'),colorffff;
drawtext(cross(x4,x5),high,'●'),colorb4ff;
drawtext(x9,high*1.03,'出货'),color9000f5;
drawtext(黑马起步>0 and low<=x2 and 均线-ref(均线,1)>0,low-0.11,'★黑马起步'),colorff00;
drawtext(逃遁>0,high*1.02,'●'),pxup2,colorff00;
rdv:=sma(low,8,1);
drawtext(cross(k,d) and close>=open and x2-ref(x2,1)>0 and rdv-ref(rdv,1)>0 and k<=33,low-0.08,'★黑马初现'),color8500de;
drawtext(filter(low<=短期底部 and winner(close)<0.2 and close<牛熊线 and high<阻挡 and x2-ref(x2,1)>0 and close>open and high>=x3,5),low-0.03,'←黑马筑底'),color85b256;
rck:=sma(low,21,2)*0.95;
//趋势线:sma(low,5,1),linethick1,precision2,colorffff00;
大胆买入:drawtext(cross(趋势线,rck) and low<=x2 and x2-ref(x2,1)>0,low,'←★大胆买入'),colorff;
b1:=(high+low+close)/3;
b6:=hhv(b1,4*15);
b7:=llv(b1,4*15);
b8:=b6-b7;
飞龙顶底线:=ma((b1-b7)/b8,2)*80;
drawtext(filter(飞龙顶底线<=1 and winner(close)<0.02 and high<趋势线 and close>open and low<=短期底部 and close>短期底部,8),low-0.02,'←黑马寻底'),colore7dd1f;
drawtext(filter(low<=短期底部 and winner(close)<0.015 and open/close>0.99 and j-ref(j,1)>0 and close>open and high<支撑位 and close>短期底部,25),low-0.09,'←开始建仓'),colorffff;
m1:=sum((ema((close + low)/(2),2))/(2.98),3),pointdot,colorffffff;
m2:=ema(m1,21),colorff00ff;
var1:=(2)*(ma((llv((close + low)/(2),8))*(1.1),13)) - ema((close + low)/(2),3) - ((close + low)/(2))*(0.1);
var2:=if(((ema((close + low)/(2),3) - var1)*(5) > 0),(pow((ema((close + low)/(2),3) - var1)*(5),2))/(10),(((-1))*(pow((ema((close + low)/(2),3) - var1)*(5),2)))/(10));
var3:=if((var2 > 0),var2 - 0,(-1));
drawtext(cross(var3,0) and ((close + low)/(2) > ma((close + low)/(2),8)),(m2)*(1.01),'绝杀'),linethick2,coloryellow;
var1:=count(cross(ma(close,12)-ma(close,20),0),0)=count(cross(0,ma(close,12)-ma(close,20)),0) and ref(count(cross(ma(close,12)-ma(close,20),0),0),1)=1 and ref(count(cross(0,ma(close,12)-ma(close,20)),0),1)=0;
var2:=count(cross(ma(close,12)-ma(close,20),0),0)=count(cross(0,ma(close,12)-ma(close,20)),0) and ref(count(cross(ma(close,12)-ma(close,20),0),0),1)=0 and ref(count(cross(0,ma(close,12)-ma(close,20)),0),1)=1;
var3:=count(cross(0,ma(close,12)-ma(close,20)),0)=1 and ref(count(cross(0,ma(close,12)-ma(close,20)),0),1)=0,linethick0;
var4:=count(cross(ma(close,12)-ma(close,20),0),0)=1 and ref(count(cross(ma(close,12)-ma(close,20),0),0),1)=0,linethick0;
var5:=barslast(ref(cross(ma(close,12)-ma(close,20),0),1) or var3),linethick0;
var6:=barslast(ref(cross(0,ma(close,12)-ma(close,20)),1) or var4),linethick0;
var7:=if(var1 or var2,ref(if(var5<var6,ref(hhv(high,2),var5),ref(llv(low,2),var6)),1),if(var5<var6,ref(hhv(high,2),var5),ref(llv(low,2),var6)));
var8:=ref(close,1)<=ref(var7,1) and close>var7 and var5<var6;
var9:=ref(close,1)>=ref(var7,1) and close<var7 and var6<var5;
var11:var8 and count(var8,var5)=1,linethick0;
var12:var9 and count(var9,var6)=1,linethick0;
var13:count(var11,barscount(var5))>0 and count(var12,barscount(var5))=0,linethick0;
var14:count(var12,barscount(var6))=0 and count(var12,barscount(var6))>0,linethick0;
var15:=var13 or var11 or barslast(var11)<barslast(var12);
var16:=var14 or var12 or barslast(var11)>barslast(var12);
partline(var15,ref(llv(low,2),var6)),linethick2,colorff00ff;
partline(var16,ref(hhv(high,2),var5)),linethick2,colorffffff;
drawtext(var15 and ref(var15,1)=0 or count(var15,0)=1,ref(llv(low,2),var6),'开多平空'),colorff00ff;
drawtext(var16 and ref(var16,1)=0 or count(var16,0)=1,ref(hhv(high,2),var6),'开空平多'),colorffffff;
drawtext(var15 and filter(low<ref(llv(low,2),5),var6),low,'♂加多'),colorff00ff;
drawtext(var16 and filter(high>ref(hhv(high,2),var5),5),high,'♀加空'),colorff00;
stickline(cross(var3,0) and ((close + low)/(2) > ma((close + low)/(2),8)),(low)*(0.99),(low)*(0.95),4,0),coloryellow;
ggg:=min(close,open);
var6:=(ema(c,5)+ema(c,10)+ema(c,20)+ema(c,30))/4;
var7:=(var6-ref(var6,15))/ref(var6,15)*100;
var8:=(var6-ref(var6,15))/ref(var6, 15)*100;
var9:=ema(var7,8);
stickline(var7<1*ref(var7,1),abs(o-c)*0.375+ggg,abs(o-c)*0.625+ggg,7, 0),color858500;
stickline(var7>1*ref(var7,1),abs(o-c)*0.375+ggg,abs(o-c)*0.625+ggg,7, 0),colorred;
stickline(var7<1*ref(var7,1) and var9>1*ref(var9,1),abs(o-c)*0.375+ggg,abs(o-c)*0.625+ggg,7, 0),colorgreen;
买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;
买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);
stickline(买进条件,abs(o-c)*0.375+ggg,abs(o-c)*0.625+ggg,7,0),color663377,linethick2;
加码价:=((c-ref(ma(c,18),1))/18+ma(c,18))*1.004;
加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);
stickline(加码条件,abs(o-c)*0.375+ggg,abs(o-c)*0.625+ggg,7,0),colorff99ff,linethick2;
上一指标公式:macd二次翻红(副图指标)公式下载 飞狐翻红源码指标 源码
下一指标公式:挖老鼠仓(主图指标)公式下载 飞狐公式老鼠仓指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文FZ后土(主图指标)公式下载 飞狐后土指标 源码仅供学习研究。