好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式黑马全息解密版公式 飞狐黑马解密版指标 源码

黑马全息解密版公式 飞狐黑马解密版指标 源码

  • 指标公式类型:飞狐公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-06-07 21:32:43
  • 指标公式标签:黑马 全息
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:黑马全息解密版公式 飞狐黑马解密版指标 源码

黑马全息

趋势线:sma(forcast(close,13),5,1),linethick1,precision2,colorffff00;
partline(趋势线>ref(趋势线,1),趋势线),linethick1,colorffff00;
partline(趋势线<ref(趋势线,1),趋势线),linethick1,colorffff;
partline(趋势线>ref(趋势线,1),趋势线),linethick2,color44ee00;
partline(趋势线<ref(趋势线,1),趋势线),linethick2,color88bb;
drawgbk(1,colorrgb(44,22,108),colorrgb(33,0,0),0),color10000;
mf1:=ma(close,20);
mc1:=ma(close,10);
mb1:=(mf1+mc1)/2;
上轨1:=mb1+std(close,n);
下轨1:mb1-std(close,n),linedot;
上极限:mb1+2*std(close,n),linedot,colorffffff;
下极限:mb1-2*std(close,n),linedot;
drawtextex(close,1,4,150,'绿色工作线 |线上:工作 | 线下:休息 || 最低点靠近工作线低吸 '),colorff00;
drawtextex(close,1,4,200,'线上:工作 | 线下:休息'),colorffff;
drawtextex(close,1,4,250,'线上阴线买 | 买错也要买 |线下阳线卖 | 卖错也要卖'),colorffff;
drawtextex(close,1,4,300,'空心:阳线 | 实体:阴线'),colorff;
drawtextex(close,1,4,350,'粉色k线 | 大量放出'),colorff00ff;
drawtextex(close,1,4,400,'多空止赢 | 停损线'),colorff00ff;
drawtextex(close,1,4,480,'洗盘几种的判定 | 第一种:峰回路转'),colorffff;
drawtextex(close,1,4,520,'1.55日均线上止跌,| 2.55日均线向上'),colorffff;
drawtextex(close,1,4,560,'3.涨幅不大,| 4.成交量呈递减速状态'),colorffff;
drawtextex(close,1,4,600,'5.wr1回调不破-50再次向上 | 6.洗盘结束:四个条件同时出现'),colorffff;
drawtextex(close,1,4,640,'判定洗盘的第二种 | 潜龙出海'),colorffff;
drawtextex(close,1,4,680,'1.当wr1由0~~ -50间运行并向下跌穿-50 |2.股价随之回落, | 3.涨幅不大.'),colorffff;
drawtextex(close,1,4,720,'4.回调时wr1在-100~~-50间运行一段时间后向上突破,量wr也向上
5.此时股价围绕55日均线下方波动,但是wr1不冲上-50'),colorffff;
drawtextex(close,1,4,760,'7.同时也穿过55日均线 | 8.多均线多头排列,买入'),colorffff;
七天线:=ma(close,7);
工作线:=ema(close,14);
生命线:=ma(close,25);
长线启动点:=ma(close,99);
a0:="cpzb.zp";
a1:="cpzb.cp";
a2:="cpzb.dp";
stickline(a2>=2.1,high,low,0.8,1),colorff00;
stickline(a2>=2.1 and close>ref(close,1),open,close,8,1),colorff00;
stickline(a2>=2.1 and close<ref(close,1),close,open,8,0),colorff00;
stickline(a2>0 and a2<5,high,low,0.8,1),colorff;
stickline(a2>0 and a2<5 and close>ref(close,1),open,close,8,0),colorff;
stickline(a2>0 and a2<5 and close<ref(close,1),close,open,8,1),colorff;
stickline(close>=工作线 and close>ref(close,1),high,low,0.5,1),colorff;
stickline(close>=工作线 and close>ref(close,1),open,close,8,1),colorff;
stickline(close>=工作线 and close<ref(close,1),high,low,0.5,0),colorff;
stickline(close>=工作线 and close<ref(close,1),open,close,8,0),colorff;
stickline(close<工作线 and close>ref(close,1),high,low,0.5,1),colorff00;
stickline(close<工作线 and close>ref(close,1),open,close,8,1),colorff00;
stickline(close<工作线 and close<ref(close,1),high,low,0.5,0),colorff00;
stickline(close<工作线 and close<ref(close,1),open,close,8,0),colorff00;
drawtext(a0,low,' ̄ ̄'),align1,pxup4,colorffffff;
drawtext(a0,low*0.98,' b-b'),align1,pxup10,colorffffff;
drawtext(a1,high,' ̄ ̄'),align1,pxup4,colorffff00;
drawtext(a1,high*1.03,' s-s'),pxup10,colorffff00;
stickline(a1,close,open,8,0),colorffff00;
stickline(a1,high,low,1,0),colorffff00;
stickline(a0,close,open,8,0),colorffffff;
stickline(a0,high,low,1,0),colorffffff;
stickline(a2>=10 and a2<30,close,open,0,0),colorffbbff;
stickline(a2>=10 and a2<30,close,open,8,0),colorff00ff;
stickline(a2>=10 and a2<30,close,open,7,0),colorff22ff;
stickline(a2>=10 and a2<30,close,open,6,0),colorff44ff;
stickline(a2>=10 and a2<30,close,open,5,0),colorff66ff;
stickline(a2>=10 and a2<30,close,open,4,0),colorff88ff;
stickline(a2>=10 and a2<30,close,open,3,0),colorff99ff;
stickline(a2>=10 and a2<30,close,open,2,0),colorffaaff;
stickline(a2>=10 and a2<30,close,open,1,0),colorffbbff;
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;
var1:=close-open;
stickline(isup,low,open,1,0),color33ffff;
stickline(isup,open,open+var1/4,7,0),colorffff;
stickline(isup,open+var1/4,open+var1*2/4,7,0),colorccff;
var2:=open-close;
stickline(isdown,low,close,1,0),colorff3333;
stickline(isdown,close,close+var2*1/4,7,0),colorff0033;
stickline(isdown,close+var2/4,close+var2*2/4,7,0),colorff6633;
stickline(isdown,close+var2*2/4,close+var2*3/4,7,0),colorff9933;
stickline(isdown,close+var2*3/4,open,7,0),colorffcc33;
stickline(isdown,open,high,1,0),colorffff33;
vertline(islastbar),pointdot,colorffff;
qsx11:=sma(forcast(close,4),2,1);
qsx31:=sma(forcast(close,13),3,1);
qsx51:=sma(forcast(close,13),5,1);
partline(qsx31>ref(qsx31,1),qsx31),linethick1,colorffff00;
partline(qsx31<ref(qsx31,1),qsx31),linethick1,colorffff;
partline(qsx51>ref(qsx51,1),qsx51),linethick2,color44ee00;
partline(qsx51<ref(qsx51,1),qsx51),linethick2,color88bb;
买入参考1a:=ref(qsx11,3)>ref(qsx11,2) and ref(qsx11,2)>ref(qsx11,1) and ref(qsx11,1)<qsx11 and qsx31<ref(qsx31,1);
drawicon(买入参考1a,low*0.995,6);
drawicon(买入参考1a,qsx11*0.95,4);
drawicon(买入参考1a,qsx11*0.95,8);
drawicon(买入参考1a,qsx11*0.95,12);
e120:=ema(close,20);
e130:=ema(close,30);
x1:=ema(close,20);
凤翔六盈哦:=(x1-ref(x1,1))/ref(x1,1)*100;
partline(凤翔六盈哦>=1,e120),linethick3,colorffff;
partline(e130>ref(e130,1),e130),linethick2,colorff;
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;
aa:=vol/((high-low)*2-(abs(close-open)));
主动买盘1:=if(close>open,aa*(high-low),if(close<open,aa*(high-open+close-low),vol/2));
主动卖盘1:=if(close>open,-aa*(high-close+open-low),if(close<open,-aa*(high-low),-vol/2));
aa:=sum(1,0);
bb:=if(aa=1,1,0);
tt:=islastbar;
dd:=backset(tt=1,30+1);
ee:=backset(tt=1,30);
ff:=if(dd>ee,1,0);
gg:=if(m=1,ff,bb);
pp:=barslast(gg=1);
x:=ref(indexc,pp);
y:=ref(close,pp);
oo:=indexo/x*y;
hh:=indexh/x*y;
ll:=indexl/x*y;
cc:=indexc/x*y;
cc%:=indexc/x-1;
dc%:=close/y-1;
大盘:=(oo+hh+ll+2*cc)/5;
个股:=(open+high+low+2*close)/5;
买入参考关注1:=cross(个股,大盘);
drawtext(买入参考关注1,low*0.8,'\n个股\n强于\n大盘'),colorffff;
drawicon(买入参考关注1,low*0.9,4);
qlife:(ema(close,60)+ema(close,90))/2,pointdot,linethick4,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);
partline(k3<k4,k2),linethick2,colorffff;
k0:=k3<k4;
drawtext(sysparam(2)=barpos,close,'净资:'+numtostr(finance(34),2)+'\n'+'收益:'+numtostr(finance(33),2)+'\n'+'利润:'+numtostr(finance(54),0)+' %'+'\n'+'市盈率:'+numtostr(dynainfo(39),2)+'\n'),align4,colorccffcc;
上:=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);
var1:=ema(close,8);
var2:=ema(var1,20);
var3:=cross(var1,var2);
var4:=var1<ma(close,60);
var5:=(hhv(high,36)-close)/(hhv(high,36)-llv(low,36))*100;
var6:=sma(var5,5,1);
var7:=sma(var6,8,1);
var8:=cross(var6,var7) and var7<16;
var9:=close>llv(close,60)+0.3*llv(close,60) and var8;
vara:=if(close>1000,var8,var9);
黑马起步:=var3 and var4;
逃遁:=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;
hh:=high;
ll:=low;
oo:=open;
cc:=close;
<%
vh=ffl.vardata("hh")
vl=ffl.vardata("ll")
vo=ffl.vardata("oo")
vc=ffl.vardata("cc")
last=ubound(vh)
if last<101 then
b=last+1
else
b=0
for i=last-101 to last-51
vh(i)=vh(i+51)
vl(i)=vl(i+51)
vo(i)=vo(i+51)
vc(i)=vc(i+51)
next
a=(vh(last-51)+vl(last-51))/2
j=1
for i=last-49 to last
j=j+2
vh(i)=2*a-vl(i-j)
vl(i)=2*a-vh(i-j)
vo(i)=2*a-vc(i-j)
vc(i)=2*a-vo(i-j)
next
end if
ffl.vardata("hh")=vh
ffl.vardata("ll")=vl
ffl.vardata("oo")=vo
ffl.vardata("cc")=vc
ffl.varstartindex("hh")=b
ffl.varstartindex("ll")=b
ffl.varstartindex("oo")=b
ffl.varstartindex("cc")=b
%>
a:=backset(islastbar,50);
stickline(a and cc>=oo,oo,cc,6,1),shift50,colorff00ff;
stickline(a and cc>=oo,ll,oo,0.1,1),shift50,colorff00ff;
stickline(a and cc>=oo,cc,hh,0.1,1),shift50,colorff00ff;
stickline(a and cc<oo,oo,cc,6,0),shift50,colorff00;
stickline(a and cc<oo,ll,hh,0.1,0),shift50,colorff00;
tjts:=backset(islastbar,5);
早晨之星:=ref(close,2)/ref(open,2)<0.95 and ref(open,1)<ref(close,2) and (abs(ref(open,1)-ref(close,1)))/ref(close,1)<0.03 and close/open>1.05 and close>ref(close,2);
黄昏之星:=ref(close,2)/ref(open,2)>1.03 and ref(open,1)>ref(close,2) and (abs(ref(open,1)-ref(close,1)))/ref(close,1)<0.02 and close/open<0.97 and close<ref(close,2);
长十字:=close=open and high/low>1.03;
垂死十字:=close=open and close=low and close<>high;
早晨十字星:=ref(close,2)/ref(open,2)<0.95 and ref(open,1)<ref(close,2) and ref(open,1)=ref(close,1) and close/open>1.05 and close>ref(close,2);
黄昏十字星:=ref(close,2)/ref(open,2)>1.05 and ref(open,1)>ref(close,2) and ref(open,1)=ref(close,1) and close/open<0.95 and close<ref(close,2);
射击之星:=min(open,close)=low and high-low>3*(max(open,close)-low) and close>ma(close,5);
倒转锤头:=min(open,close)=low and high-low>3*(max(open,close)-low) and close<ma(close,5);
锤头:=high=max(open,close) and high-low>3*(high-min(open,close)) and close<ma(close,5);
吊颈:=high=max(open,close) and high-low>3*(high-min(open,close)) and close>ma(close,5);
穿头破脚:=ref(close,1)/ref(open,1)>1.03 and close/open<0.96 and close<ref(open,1) and open>ref(close,1) or ref(close,1)/ref(open,1)<0.97 and close/open>1.04 and close>ref(open,1) and open<ref(close,1);
乌云盖顶:=ref(close,1)/ref(open,1)>1.03 and close/open<0.97 and open>ref(close,1) and close<ref(close,1);
曙光初现:=ref(close,1)/ref(open,1)<0.97 and close/open>1.03 and open<ref(close,1) and close>ref(close,1);
身怀六甲:=(abs(ref(close,1)-ref(open,1)))/ref(close,1)>0.04 and (abs(close-open))/close<0.005 and max(close,open)<max(ref(close,1),ref(open,1)) and min(close,open)>min(ref(close,1),ref(open,1));
十字胎:=(abs(ref(close,1)-ref(open,1)))/ref(close,1)>0.04 and close=open and close<max(ref(close,1),ref(open,1)) and close>min(ref(close,1),ref(open,1));
平顶:=(abs(high-ref(high,1)))/high<0.001;
平底:=(abs(low-ref(low,1)))/low<0.001 and (abs(ref(low,1)-ref(low,2)))/ref(low,1)<=0.001;
大阳烛:=close/open>1.05 and high/low<close/open+0.018;
三个白武士:=ref(close,2)>ref(open,2) and ref(close,1)>ref(open,1) and close>open and ref(close,1)>ref(close,2) and close>ref(close,1);
双飞乌鸦:=ref(close,1)<ref(open,1) and close<open and close/open<0.98;
孕育线:=ref(close,2)>ref(open,2) and (ref(close,2)-ref(open,2))/ref(open,2)>=2/100 and ref(open,1)>=ref(close,1) and (ref(open,1)-ref(close,1))/ref(close,1)<=2/100 and ref(open,1)<=ref(close,2) and ref(close,1)>=ref(open,2) and close>=open and (close-open)/open>=2/100 and close>=ref(open,1) and open<=ref(close,1) and (max(close,ref(close,2))-min(close,ref(close,2)))/min(close,ref(close,2))<=1/100;
多方炮:=ref(close,2)>ref(open,2) and ref(close,1)<ref(open,1) and close>open;
出水芙蓉:=(open<ema(close,20) or open<ema(close,40) or open<ema(close,60)) and close>max(ema(close,20),max(ema(close,40),ema(close,60))) and vol/ma(vol,30)>1.2 and close/ref(close,1)>1.049;
上升三部曲:=ref(close,4)/ref(open,4)>1.03 and ref(close,3)<ref(open,3) and ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and ref(low,4)<ref(low,3) and ref(low,4)<ref(low,2) and ref(low,4)<ref(low,1) and ref(high,4)>ref(high,3) and ref(high,4)>ref(high,2) and ref(high,4)>ref(high,1) and close/open>1.03 and close>ref(close,4);
下跌三部曲:=ref(close,4)/ref(open,4)<0.97 and ref(close,3)>ref(open,3) and ref(close,2)>ref(open,2) and ref(close,1)>ref(open,1) and ref(low,4)<ref(low,3) and ref(low,4)<ref(low,2) and ref(low,4)<ref(low,1) and ref(high,4)>ref(high,3) and ref(high,4)>ref(high,2) and ref(high,4)>ref(high,1) and close/open<0.97 and close<ref(close,4);
跳空缺口:=high<ref(low,1) or low>ref(high,1);
三只乌鸦:=ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and close<open and ref(close,1)<ref(close,2) and close<ref(close,1);
光脚阴线:=low=close and high<>low;
光头阳线:=high=close and high<>low;
分离:=open=ref(open,1) and (close-open)*(ref(close,1)-ref(open,1))<0;
长下影:=(min(close,open)-low)/(high-low)>0.667;
长上影:=(high-max(close,open))/(high-low)>0.667;
十字星:=close=open and high<>low;
大阴烛:=open/close>1.05 and high/low<open/close+0.018;
好友反攻:=ref(close,1)<ref(open,1) and close>open and (abs(close-ref(close,1)))/close<0.002 or ref(close,1)>ref(open,1) and close<open and (abs(close-ref(close,1)))/close<0.002;
倾盆大雨:=ref(close,1)/ref(open,1)>=1.03 and open<ref(close,1) and open>ref(open,1) and close<ref(open,1);
tj1:=if(倾盆大雨 and tjts,'倾盆大雨,见顶信号‖','');
tj2:=if(大阴烛 and tjts,'大阴烛,后市向淡,发生逆转‖','');
tj3:=if(好友反攻 and tjts,'好友反攻,跌势已尽,要展开一段反弹行情‖','');
tj4:=if(跳空缺口 and tjts,'跳空缺口,突破长期盘整,向上跳空,上涨行情开始;向下跳空,下跌行情开始‖','');
tj5:=if(光脚阴线 and tjts,'光脚阴线,下跌信号‖','');
tj6:=if(光头阳线 and tjts,'光头阳线,多方积极上攻态势,后市看涨‖','');
tj7:=if(三只乌鸦 and tjts,'三只乌鸦站枝头,可能见顶回落‖','');
tj8:=if(分离 and tjts,'分离,注意看涨分离和看跌分离‖','');
tj9:=if(长下影 and tjts,'长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意‖','');
tj10:=if(长上影 and tjts,'长上影,表明行情上档压力沉重,升势受阻‖','');
tj11:=if(下跌三部曲 and tjts,'下跌三部曲,下跌信号‖','');
tj12:=if(上升三部曲 and tjts,'上升三部曲,上涨信号‖','');
tj13:=if(早晨之星 and tjts,'早晨之星,见底回升‖','');
tj14:=if(黄昏之星 and tjts,'黄昏之星,见顶回落‖','');
tj15:=if(十字星 and tjts,'十字星,重要的警告信号,原趋势停顿或反转‖','');
tj16:=if(长十字 and tjts,'长十字,重要的警告信号,原趋势停顿或反转‖','');
tj17:=if(垂死十字 and tjts,'垂死十字,下跌信号‖','');
tj18:=if(早晨十字星 and tjts,'早晨十字星,上涨信号,见底回升‖','');
tj19:=if(黄昏十字星 and tjts,'黄昏十字星,趋势停顿或反转,下跌信号,见顶回落‖','');
tj20:=if(射击之星 and tjts,'射击之星,出现在短期的上升趋势,表明市场顶部就在眼前,可能见顶回落,可靠性低‖','');
tj21:=if(倒转锤头 and tjts,'倒转锤头构成一个看涨信号,可能见底回升‖','');
tj22:=if(锤头 and tjts,'锤头,可能见底回升,如有量配合,信号强烈‖','');
tj23:=if(吊颈 and tjts,'吊颈,上升行情中见顶回落,顶部出现,见顶信号‖','');
tj24:=if(平顶 and tjts,'平顶,意味行情摸高见顶,股价行将反转。但反转下跌力度较小‖','');
tj25:=if(穿头破脚 and tjts,'穿头破脚,顶部出现,见顶回落信号‖','');
tj26:=if(乌云盖顶 and tjts,'乌云盖顶,见顶回落信号‖','');
tj27:=if(曙光初现 and tjts,'曙光初现,行情将演化为v型反转或止跌横盘趋势。后市见底回升‖','');
tj28:=if(身怀六甲 and tjts,'身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号‖','');
tj29:=if(十字胎 and tjts,'十字胎‖','');
tj30:=if(平底 and tjts,'平底,行情探低见底,股价行将反转上升,但力度较小‖','');
tj31:=if(大阳烛 and tjts,'大阳烛,在上升行情中出现,则意味着行情剧烈地向上攀升。在下跌行情中出现,则意味着行情剧烈地向上反弹‖','');
tj32:=if(三个白武士 and tjts,'三个白武士,每日收盘价上移,表示可能见底回升‖','');
tj33:=if(双飞乌鸦 and tjts,'双飞乌鸦,行情开始疲软将见顶回落‖','');
tj34:=if(孕育线 and tjts,'孕育线,注意股价位置‖','');
tj35:=if(多方炮 and tjts,'多方炮,在底部出现有上涨可能,在中间出现有可能是上涨中继,顶部出现是复合见顶信号‖','');
tj36:=if(出水芙蓉 and tjts,'出水芙蓉,阳线穿过20、40、60日季均线,上攻势头初现‖','');
tj:='【k线形态】'+tj1+tj2+tj3+tj4+tj5+tj6+tj7+tj8+tj9+tj10+tj11+tj12+tj13+tj14+tj15+tj16+tj17+tj18+tj19+tj20+tj21+tj22+tj23+tj24+tj25+tj26+tj27+tj28+tj29+tj30+tj31+tj32+tj33+tj34+tj35+tj36;
drawtext(sysparam(2)=barscount(close),close,tj),align5,colorffff00;
生命线:=sma(winner(close),120,6)*100;
骗筹线:=sma(winner(close),10,2)*100;
获利盘:=winner(close)*100;
explain(close>0,' 【右侧交易提示】');
aa:=sma(close,13,2);
pdaa:=if(aa<=close,aa,close);
pdaa2:=if(aa>close,aa,close);
explainex(aa>ref(aa,1) and ref(aa,1)<ref(aa,2) and ref(aa,2)<ref(aa,3),'激进短线提示:买入',pdaa,2,0),colorff;
explain(aa>ref(aa,1) and ref(aa,1)>ref(aa,2),'激进短线提示:持股'),color66ff;
explainex(aa<ref(aa,1) and ref(aa,1)>ref(aa,2),'激进短线提示:卖出',pdaa2,2,0),colorff00;
a1:=ma(close,13);
zx:=ref(a1,13/2+1);
explainex(cross(close,zx),'稳健短线提示:买入',zx,2,0),colorff;
explain(close>zx and ref(close,1)>ref(zx,1),'稳健短线提示:持股'),color66ff;
explainex(close<zx and ref(close,1)>ref(zx,1),'稳健短线提示:卖出',zx,2,0),colorff00;
lc:=ref(close,1);
vr:=(sum(if(close>lc,vol,0),26))/(sum(if(close<=lc,vol,0),26))*100;
wvad10:=ma((close-open)/(high-low)*vol,10)/1000;
explain(cross(wvad10,0) and vr<40,'双向拐点提示:反弹爆破'),colorff00;
explain(cross(wvad10,0) and vr>=40 and vr<80,'双向拐点提示:低位爆破'),colorffff00;
explain(cross(wvad10,0) and vr>=80 and vr<160,'双向拐点提示:盘整爆破'),colorff0000;
explain(cross(wvad10,0) and vr>=160 and vr<400,'双向拐点提示:获利爆破'),colorff;
explain(cross(wvad10,0) and vr>=400,'双向拐点提示:舔血爆破'),colorff00ff;
白色:=sma(high,21,2)*1.05;
黄色:=sma(low,21,2)*0.95;
粉色:=sma(low,5,1);
绿色:=sma(close,2,1);
explainex(cross(绿色,白色),'黑马摇篮前兆:',绿色,2,0),colorffff;
explainex(cross(绿色,粉色),'波段买点前兆:',绿色,2,0),color6633ff;
mid:=ma(close,26);
upper:=mid+3*std(close,26);
lower:=mid-3*std(close,26);
explainex(upper>=high,'预估交易风险:',upper,2,0),colorff9933;
explain(upper<high,'一级警戒状态:股价超强'),colorff9933;
td1:=(hhv(high,9)-close)/(hhv(high,9)-llv(low,9))*100-70;
td2:=sma(td1,9,1)+100;
td3:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
td4:=sma(td3,3,1);
td5:=sma(td4,3,1)+100;
td6:=td5-td2;
s:=if(td6>100,td6-100,0);
explainex(ref(s,2)<ref(s,1) and ref(s,1)>s,'短线逃顶提示:',high,2,0),color33cc66;
explain(vol>ma(vol,40) and vol>ma(vol,5) and close>ref(close,1),'多空放量提示:多方攻击'),colorff;
explain(vol>ma(vol,40) and vol>ma(vol,5) and close<=ref(close,1),'多空放量提示:空方攻击'),colorff00;
explainex(close>0,'交易运气系数%:',rand(12)*10,2,0),color3333ff;
explain(close>0,' 【辅助资料研判】');
qs:=zig(3,19);
ss:=hhvbars(ref(qs,1)<ref(qs,2),0);
explain(ss=1 or cross(zig(3,19),ref(zig(3,19),1)),'操作时段分析:操作盲区'),colorffff;
explain(ss>=2 and ss<20 and ref(qs,1)<qs,'操作时段分析:短线投机'),colorff;
explain(ss>=20 and ss<88 and ref(qs,1)<qs,'操作时段分析:中线波段'),colorff33ff;
explain(ss>=88 and ref(qs,1)<qs,'操作时段分析:长线投资'),color66ff;
xd:=hhvbars(qs>ref(qs,1),0);
explain(xd=2 or xd=1,'操作时段分析:操作盲区'),colorffff;
explain(xd>=3 and xd<21 and ref(qs,1)>qs,'操作时段分析:短期回调'),colorffff;
explain(xd>=21 and xd<89 and ref(qs,1)>qs,'操作时段分析:中期杀跌'),colorffff00;
explain(xd>=89 and ref(qs,1)>qs,'操作时段分析:长期盘跌'),colorff00;
tc:=if(cross(ref(zig(3,19),1),zig(3,19)),1,0);
explain(cross(zig(3,19),ref(zig(3,19),1)),'价格拐点分析:相对底部'),colorffff;
explainex(ss>0 and tc<>1 and ss<>2 and ss<>4 and ss<>7 and ss<>12 and ss<>20 and ss<>33 and ss<>54 and ss<>88 and ss<>143 and ss<>232,'时间拐点分析:上涨天数 ',ss+1,0,0),colorccffff;
explainex(ss=2,'时间拐点分析:时间之窗 ',ss+1,0,0),colorff;
explainex(ss=4,'时间拐点分析:时间之窗 ',ss+1,0,0),colorff00;
explainex(ss=7,'时间拐点分析:时间之窗 ',ss+1,0,0),colorff;
explainex(ss=12,'时间拐点分析:时间之窗 ',ss+1,0,0),colorff00;
explainex(ss=20,'时间拐点分析:时间之窗 ',ss+1,0,0),colorff;
explainex(ss=33,'时间拐点分析:时间之窗 ',ss+1,0,0),colorff00;
explainex(ss=54,'时间拐点分析:时间之窗 ',ss+1,0,0),colorff;
explainex(ss=88,'时间拐点分析:时间之窗 ',ss+1,0,0),colorff00;
explainex(ss=143,'时间拐点分析:时间之窗 ',ss+1,0,0),colorff;
explainex(ss=232,'时间拐点分析:时间之窗 ',ss+1,0,0),colorff00;
explain(cross(ref(zig(3,19),1),zig(3,19)),'价格拐点分析:相对顶部'),colorffff;
explainex(xd>0 and tc<>1 and xd<>3 and xd<>5 and xd<>8 and xd<>13 and xd<>21 and xd<>34 and xd<>55 and xd<>89 and xd<>144 and xd<>233,'时间拐点分析:下跌天数 ',xd,0,0),colorccffff;
explainex(xd=3,'时间拐点分析:时间之窗 ',xd,0,0),colorff;
explainex(xd=5,'时间拐点分析:时间之窗 ',xd,0,0),colorff00;
explainex(xd=8,'时间拐点分析:时间之窗 ',xd,0,0),colorff;
explainex(xd=13,'时间拐点分析:时间之窗 ',xd,0,0),colorff00;
explainex(xd=21,'时间拐点分析:时间之窗 ',xd,0,0),colorff;
explainex(xd=34,'时间拐点分析:时间之窗 ',xd,0,0),colorff00;
explainex(xd=55,'时间拐点分析:时间之窗 ',xd,0,0),colorff;
explainex(xd=89,'时间拐点分析:时间之窗 ',xd,0,0),colorff00;
explainex(xd=144,'时间拐点分析:时间之窗 ',xd,0,0),colorff;
explainex(xd=233,'时间拐点分析:时间之窗 ',xd,0,0),colorff00;
zslife:=(ema(indexc,60)+ema(indexc,90))/2;
zsbl:=indexc/zslife;
gglife:=(ema(close,60)+ema(close,90))/2;
zstb:=zsbl*gglife;
explainex(zstb<close,'强于大盘系数%:',(close-zstb)/zstb*100,2,0),colorff;
explainex(zstb>=close,'弱于大盘系数%:',(abs(close-zstb))/zstb*100,2,0),colorffff00;
explainex(close>0,'主力成本:',sum(amount,13)/sum(vol,13)/100,2,0),colorffff00;
explain(vol=hhv(vol,0),'量能统计:历史天量'),colorff00ff;
zy:=(ref(high,1)-ref(low,1))*8/10+close;
explainex(close>0,'明日止赢:',zy,2,0),colorff;
zs:=close-(ref(high,1)-ref(low,1))*8/20;
explainex(close>0,'明日止损:',zs,2,0),colorff00;
explain(close>0,' 【资金仓位管理】');
v1:=ma(close,5);
v2:=ma(close,20);
v3:=if(v2>v1,v1,v2);
zsv1:=ma(indexc,5);
zsv2:=ma(indexc,20);
zsv3:=if(zsv2>zsv1,zsv1,zsv2);
explain(v2=v3 and zsv2=zsv3,'资金仓位管理:100%满仓'),colorff;
explain(v2=v3 and zsv2<>zsv3,'资金仓位管理:20%小仓'),colorff00ff;
explain(v2<>v3 and zsv2=zsv3,'资金仓位管理:50%半仓'),colorffff00;
explain(v2<>v3 and zsv2<>zsv3,'资金仓位管理:1%微仓'),colorff00;
explain(close>0,' 【泡哥综合评估】');
dqdb:=llv(low,4);
cqdb:=llv(low,19);
dqgd:=hhv(high,4);
cqgd:=hhv(high,19);
star1:=if(dqdb-cqdb>cqgd-dqgd,1,0);
ts0:=barssince(close);
ts1:=barslast(barssince(backset(islastbar,60+1))=0);
ts:=if(ts0<60,ts0,ts1);
bl:=ref(indexc/close,ts);
fc:=close*bl/bl;
findexc:=indexc/bl;
star2:=if(findexc<close,1,0);
zlcm:=ema(winner(close)*70,3);
shcm:=ema((winner(close*1.1)-winner(close*0.9))*80,3);
zzlkp:=zlcm/(zlcm+shcm)*100;
zzljj:=ema(zzlkp,89);
star3:=if(zzlkp>zzljj,1,0);
rsv:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
k1:=sma(rsv,10,1);
d1:=sma(k1,5,1);
kk:=intpart(k1);
dd:=intpart(d1);
tfxxs:=kk+dd;
tglxs:=(tfxxs-ref(tfxxs,1))*10;
star4:=if(tglxs>0,1,0);
star5:=if(tglxs=0 and ref(tglxs,1)>=0,1,0);
jzxlq:="dpsc.qjcj#week";
star6:=if(jzxlq=0,1,0);
star:=star1+star2+star3+star4+star5+star6;
explain(star=1,'交易等级:★'),colorff;
explain(star=2,'交易等级:★★'),colorff;
explain(star=3,'交易等级:★★★'),colorff;
explain(star=4,'交易等级:★★★★'),colorff;
explain(star=5,'交易等级:★★★★★'),colorff;
explain(star=0,'交易等级:★★★★★'),colorff00;
选股:star=5 and ref(star,1)=4,linethick0;
rsv:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
k1:=sma(rsv,10,1);
d1:=sma(k1,5,1);
kk:=intpart(k1);
dd:=intpart(d1);
tfxxs:=kk+dd;
tgld:=mod(tfxxs,10);
tglxs:=(tfxxs-ref(tfxxs,1))*10;
tycfx:=tfxxs+tglxs;
风险系数:=tfxxs;
乖离系数:=tglxs;
预测风险:=tycfx;
explain(tfxxs<=50,'[操作风险提示]:买入风险'),colorffff;
explain(tfxxs>=160,'[操作风险提示]:卖出风险'),colorffff00;
explain(tfxxs>50 and tfxxs<160 and tfxxs>=ref(tfxxs,1) and tfxxs<=100,'[操作风险提示]:追涨博弈'),colorff;
explain(tfxxs>50 and tfxxs<160 and tfxxs>=ref(tfxxs,1) and tfxxs>100,'[操作风险提示]:稳健持股'),colorff00ff;
explain(tfxxs>50 and tfxxs<160 and tfxxs<ref(tfxxs,1) and tfxxs>100,'[操作风险提示]:盘跌减仓'),colorffffff;
explain(tfxxs>50 and tfxxs<160 and tfxxs<ref(tfxxs,1) and tfxxs<=100,'[操作风险提示]:杀跌空仓'),colorff00;
zlcm:=ema(winner(close)*70,3);
shcm:=ema((winner(close*1.1)-winner(close*0.9))*80,3);
zshtl:=shcm/(zlcm+shcm)*100;
zzlkp:=zlcm/(zlcm+shcm)*100;
zcmzl:=ma(zlcm+shcm,13);
zznts:=barslast(zshtl<90 and ref(zshtl,1)>90);
zshjj:=ema(zshtl,89);
zzljj:=ema(zzlkp,89);
zjlrqd:=round(zzlkp-zzljj);
sh8:=ema(zshtl,8);
dkb:=if(zzlkp-ref(zzlkp,1)>zshtl-ref(zshtl,1),1,0);
散户套牢系数:=round(zshtl);
主力控盘系数:=round(zzlkp);
资金流入强度:=zjlrqd;
市场筹码总量:=round(zcmzl);
explain(close>ref(close,1),'§'+stkname+' №:'+stklabel),colorff;
explain(close<=ref(close,1),'§'+stkname+' №:'+stklabel),colorff00;
explainex(close>0,'走牛天数判断:',zznts,0,0),colorffffff;
explain(zcmzl>ref(zcmzl,1) and dkb=1,'主力动向监控:主力增仓'),colorff;
explain(zcmzl>ref(zcmzl,1) and dkb=0,'主力动向监控:主力减仓'),colorff00ff;
explain(zcmzl=ref(zcmzl,1),'主力动向监控:多空平衡'),color808080;
explain(zcmzl<ref(zcmzl,1) and dkb=1,'主力动向监控:主力回补'),colorff9933;
explain(zcmzl<ref(zcmzl,1) and dkb=0,'主力动向监控:主力出逃'),colorff00;
explain(zshtl>90,'特别信号提示:筑底散兵坑'),color66ffcc;
explain(zzlkp>75,'特别信号提示:铸顶风险区'),colorffff00;
explain(cross(zcmzl,zzljj) and zzlkp>zzljj and zzlkp>10 and zzljj>ref(zzljj,1) and zcmzl>ref(zcmzl,1),'特别信号提示:穿越警戒'),colorff;
explain(cross(zcmzl,zzlkp) and zzlkp>zzljj and zzlkp<zshtl and zzlkp>10 and zzljj>ref(zzljj,1) and zcmzl>ref(zcmzl,1),'特别信号提示:穿越主力'),colorffff;
explain(cross(zcmzl,zshtl) and zshtl>zzlkp and zcmzl>ref(zcmzl,1),'特别信号提示:穿越散户'),colorff00;
explain(cross(zcmzl,100) and zcmzl>ref(zcmzl,1),'特别信号提示:全盘穿越'),color3399ff;
explain(ref(zshtl,1)>90 and zshtl<90,'特别信号提示:神秘黑洞'),color9966ff;
x:=ema(slope(close,21)*20+close,68);
y:=ema(close,10);
ll:=ref(close,2);
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(cross(y,x),low*0.985,'▲'),pxup4,colorff;
drawtext(cross(x,y),high*1.015,'◆'),pxup4,colorff6699;
drawtext(db,high*1.015,'○'),pxup4,colorffcc99;
var1:=llv(low,21);
var2:=hhv(high,21);
ak1:=ema((close-var1)/(var2-var1)*100,5);
ak:=ema((close-var1)/(var2-var1)*50,13);
dd:=ema(0.667*ref(ak1,1)+0.333*ak1,2);
var3:=llv(low,55);
var4:=hhv(high,34);
var5:=ema((close-var3)/(var4-var3)*100,3);
var6:=(ak+var5)/2;
var7:=ema(0.667*ref(var5,1)+0.333*ak1,2);
var8:=ema(var6,5);
bb:=ema(0.667*ref(var8,1)+0.333*var8,2);
ab:=cross(ak1,ak);
bb1:=cross(ak1,bb) and bb<30;
cd:=bb1*0.6;
drawtext(cd=0.6,low*0.99,'□'),pxup4,colorffffff;
drawtext(ab=1,low*0.99,'■'),pxup4,color33cc99;
var1:=3*sma((close-llv(low,55))/(hhv(high,55)-llv(low,55))*100,5,1)-2*sma(sma((close-llv(low,55))/(hhv(high,55)-llv(low,55))*100,5,1),3,1);
var2:=ref(low,1);
var3:=(sma(abs(low-var2),3,1))/(sma(max(low-var2,0),3,1))*100;
var4:=ema(if(close*1.2,var3*10,var3/10),3);
var5:=llv(low,38);
var6:=hhv(var4,38);
var7:=if(llv(low,90),1,0);
var8:=(ema(if(low<=var5,(var4+var6*2)/2,0),3))/(1618)*var7;
var9:=ema(var1,3);
var10:=ma(var9,5);
var11:=ma(var9,10);
var13:=10*(hhv(high,34)/llv(low,34));
var15:=ma(close,3);
var16:=ma(close,55);
var21:=ref(close,1);
var22:=(sma(max(close-var21,0),6,1))/(sma(abs(close-var21),6,1))*100;
var23:=if(cross(80,var22),1.5,0);
var24:=600*(ema(close,3)-ema(low,30))/ema(low,30);
var25:=ema(var24,7);
var27:=(winner(120*close/100)-winner(100*close/100))*100;
var28:=(-100)*(winner(120*close/100)-winner(100*close/100))+5;
var29:=if(var27+var28<7 and cross(var24,var25) and var25<-18 and var25<var28,60,50);
var30:=4*sma((close-llv(low,25))/(hhv(high,25)-llv(low,25))*100,5,1)-3*sma(sma((close-llv(low,25))/(hhv(high,25)-llv(low,25))*100,5,1),3,1);
var31:=if(cross(var30,8),20,0);
var32:=close/ref(close,13);
var33:=sma(ref(var32,1),13,1);
var34:=sma(ref(var32,1),47,1)+0.04;
var35:=cross(var33,var34)*40;
var36:=(sma(max(close-ref(close,2),0),7,1))/(sma(abs(close-ref(close,2)),7,1))*100;
var37:=if(var36<ref(var36,1) and var36>79,var36,0);
var1:=3*sma((close-llv(low,55))/(hhv(high,55)-llv(low,55))*100,5,1)-2*sma(sma((close-llv(low,55))/(hhv(high,55)-llv(low,55))*100,5,1),3,1);
var2:=ref(low,1);
var3:=(sma(abs(low-var2),3,1))/(sma(max(low-var2,0),3,1))*100;
var4:=ema(if(close*1.2,var3*10,var3/10),3);
var5:=llv(low,38);
var6:=hhv(var4,38);
var7:=if(llv(low,90),1,0);
var8:=(ema(if(low<=var5,(var4+var6*2)/2,0),3))/(1618)*var7;
var9:=ema(var1,3);
var10:=ma(var9,5);
var11:=ma(var9,10);
var13:=10*(hhv(high,34)/llv(low,34));
var15:=ma(close,3);
var16:=ma(close,55);
var21:=ref(close,1);
var22:=(sma(max(close-var21,0),6,1))/(sma(abs(close-var21),6,1))*100;
var23:=if(cross(80,var22),1.5,0);
var24:=600*(ema(close,3)-ema(low,30))/ema(low,30);
var25:=ema(var24,7);
var27:=(winner(120*close/100)-winner(100*close/100))*100;
var28:=(-100)*(winner(120*close/100)-winner(100*close/100))+5;
var29:=if(var27+var28<7 and cross(var24,var25) and var25<-18 and var25<var28,60,50);
var30:=4*sma((close-llv(low,25))/(hhv(high,25)-llv(low,25))*100,5,1)-3*sma(sma((close-llv(low,25))/(hhv(high,25)-llv(low,25))*100,5,1),3,1);
var31:=if(cross(var30,8),20,0);
var32:=close/ref(close,13);
var33:=sma(ref(var32,1),13,1);
var34:=sma(ref(var32,1),47,1)+0.04;
var35:=cross(var33,var34)*40;
var36:=(sma(max(close-ref(close,2),0),7,1))/(sma(abs(close-ref(close,2)),7,1))*100;
var37:=if(var36<ref(var36,1) and var36>79,var36,0);
drawicon(cross(var9,var10) and var10<25,low,4);
explain(87.5,' 当天操作建议 '),colorffffff;
explain(var31>0 or var37>1,'几种说法互相矛盾时,那就靠你的分析判断了!'),colorffff00;
explain(cross(var9,ref(var9,1)) and var9<var13 and "bias.bias3"<-6,' *绿旗出来提示20日乖离率小于-6,可供买入指标参考。'),colora1b7fc;
explain(var9<ref(var9,1) and var9<30,' *单凭少数几个指标决定买入是不可靠的,尽可能多用其它短线买入指标来进行过滤.'),colorff00ff;
explain(var9>ref(var9,3) and var9<70 and var9>var13,' *买入后三几天都涨不起来,形势不妙时无论盈亏都马上逢高出局.'),colorffff;
explain(cross(ref(var9,1),var9) and var9>40,' *短线操作强调要做对,在"卖"的问题上要显得"敏感",要保障安全.宁可错卖一千,不可套住一个.'),colorffd151;
explain(var9<ref(var9,1) and var9<30 and var9>var13,' *现在进入底部区域,可关注,但不要冒然买入,认真分析后再决定!"买要三思,卖要果断",切记!'),colorffff;
explain(cross(ref(var9,1),var9) and var9>40,' *短线指标掉头向下,如果行情已有了一波升幅,注意见弱就走,不参与调整,回避风险保安全.'),color10ffe4;
explain(var11<ref(var11,1),' *注意:指标下跌!该休息时好好休息!股票是你的,钱是我的.不要轻易给套住了!'),colorff00;
explain(cross(var9,ref(var9,1)) and var9>=45,' *短线指标在高位钩头向上,注意看是在什么位置?分析庄家什么意图?既不要上当也不要放过一波行情.'),colorff3aff;
explain(cross(var9,ref(var9,1)) and var9<var13,' *这个时候一般不要割肉,如果现在是底部,随时都可能反弹.'),colorffff00;
explain(87.5,' 当天指标解说 '),colorffffff;
explain(var15>var16 and ma(close,60)>=ref(ma(close,60),24),' *这已是一只强势股。'),colorff;
explain(var15>var16 and ma(close,60)<ref(ma(close,60),24),' *该股有走强迹象'),color58b3ff;
explain(var15<var16 and ma(close,60)<=ref(ma(close,60),24),' *这已是一只弱势股,指标往往失效,判断较困难!'),color3fff92;
explain(var15<var16 and ma(close,60)>ref(ma(close,60),24),' *该股有走弱迹象。'),colora4ff98;
explain(var35>1,'红柱体提示为有风险!随时警惕顶部到来!'),colorff8bff;
explain(var37>1,'上面黄柱线为顶部信号,可信度较高,但不适应高控盘强庄股。'),colorffff;
explain(cross(var10,var9) and var9>70,'绿箭头为短中线死叉,卖出信号,注意减磅操作!'),colorff00;
explain(var23>=1,' *上面的蓝柱线是卖出信号!有时准有时不准,只能参考。'),colorffd151;
explain(var10<var13,'中线跌到地下去了,如果是急跌,反弹的机会较大!但熊股失效!'),colorbcff88;
explain(cross(var9,ref(var9,1)) and var9>var13 and var9<45,' *短线指标在45以下低位钩头向上,如果已连续下跌了较长一波,那么反弹的可能性是较大的.'),color105bff;
explain(var29=60,' *晶红柱线往往滞后出现,有确认"买入有效"作用。'),colorff94fc;
explain(cross(var9,var10) and var10<35,' *短中线在低位金叉,多数情况是有机会赚点钱的.但熊股可不行!'),colorff84ff;
explain(cross(var9,var13),' *短线上穿地面.如果同时低位金叉,一般是较安全的.'),colorff00ff;
explain(cross(var9,ref(var9,1)) and var9<var13,' *底部黄灯提示短线在地底下钩头向上,不一定是明确买入信号,但可能反弹,'),color67e3ff;
explain(var9<ref(var9,1) and var9>=30,' *短线指标在30以上,正在下跌中,没有止跌企稳一般是不能买进的,'),colorffff00;
explain(var9<ref(var9,1) and var9<30 and var9>var13,' *短线下跌中,已经在30以下的地线附近底部区,会跌多久?到什么程度?注意观察。'),colorffd610;
explain(var9>ref(var9,3) and var9<70 and var9>var13,' *在"地"-70的区间内短线向上,是持股信号!与卖出信号同时出现时服从卖出信号。'),colord3ffff;
explain(var9>ref(var9,1) and var9>=70,' *短线指标在高位向上,股价继续攀升,要随时注意卖出信号的出现,以防范风险。'),color58b3ff;
explain("bias.bias3">=5 and var9>=70,' *20日乖离率大于5,要注意防范风险!'),colorffd151;
explain(cross(var9,ref(var9,1)) and var9<var13 and "bias.bias3"<-6,'绿旗表示黄灯出现的同时,20日乖离率小于-6以下,反弹的可能性较大,相对安全一些。'),colorff00;
explain(all(var9<var13,5),' *短线在地线下面纯化,'),color7b97fc;
explain(var9+30<ref(var9,3) and var9>=30,' *短线指标下跌较急,有两种可能,一是庄家出货,二制造空头陷井,注意看k线形态如何。'),colorffff00;
explain(var31>0,' *下面的绿柱线是短线出击信号。'),colorff00;
explain(var8>=1,'出现了底部吸筹线,如果同时出现买入信号,可信度较高,但熊股无效。'),colord4cab4;
explain(cross("vol.ma1","vol.ma2") and "vol.ma2">"vol.ma3" and "vol.ma1">"vol.ma3",'成交量均线发生金叉.'),color326fff;
explain("vol.ma1">"vol.ma2" and "vol.ma2">"vol.ma3" and "vol.ma1">"vol.ma3",'成交量均线多头排列.'),colorc168ff;
explain(vol/capital>0.075,'换手过大,小心主力出逃,短期头部'),colorff00;
explainex(1=1,' 换手率=',vol/capital*100,2,0),colora4ff98;
explainex(1=1,' 20日乖离率=',(close-ma(close,20))/ma(close,20)*100,2,0),colora4ff98;
explainex(1=1,' 获利盘比例=',winner(close)*100,2,0),colora4ff98;
explainex(1=1,' 套牢盘比例=',100-winner(close)*100,2,0),colora4ff98;
explainicon(var11>ref(var11,2),4),align2;
explainicon(var11<ref(var11,2),1),align2;
explain(87.5,'中长线提示:阴雨天为下降通道,彩虹当空为上升通道。'),colorff9aff;
var1:=hhv(high,25);
var2:=llv(low,25);
创幻短线:=ema((close-var2)/(var1-var2)*100,5);
创幻中线:=ema((close-var2)/(var1-var2)*100,20);
创幻买入:=cross(创幻短线,创幻中线) and 创幻中线<50;
i:=ref(close,1);
j:=(sma(max(close-i,0),6,1))/(sma(abs(close-i),6,1))*100;
创幻卖出:=cross(80,j);
ert:=ma(close,3);
yaxg:=ma(close,55);
explain(创幻短线>0,' winer98忠告'),colorffffff;
explain(cross(创幻短线,创幻中线) and 创幻中线<50,' *谁也无法绝对看准。我们不要求每次看准,但必须每次做对。'),color1056ff;
explain(cross(创幻短线,创幻中线) and 创幻中线<50,' *单凭少数几个指标决定买入是不可靠的,尽可能多用其它短线买入指标来进行过滤.'),colorff00;
explain(cross(8,创幻短线),' *如果大盘处于漫漫熊市之中,技术指标往往失效,这时不要怪指标不准,要怪自己不会炒股.'),colorff00;
explain(cross(80,j),' *这个顶部信号出现后你要看是什么股,如果是庄家高度控盘的,那到顶了它还有可能会升,不是庄家高度控盘的那就要小心了!'),colorffff00;
explain(cross(80,j),' *几种说法互相矛盾的时候,那就要靠你的分析判断能力了!'),colorffff;
explain(cross(8,创幻短线),' *几种说法互相矛盾的时候,那就要靠你的分析判断能力了!'),colorffff;
explain(创幻中线>ref(创幻中线,1),' * 炒股高手只有在股票的基础分析、技术分析及大势符合自己的作战计划时才采取行动。俗话说条条道路通罗马,什么道路并不重要,重要的是这条道路必须符合你的个性。 '),colorff00;
explain(创幻中线<ref(创幻中线,1),' *以保本为第一要务,保本的办法只有两个:一,快速止损;二,别一次下注太多.'),colorff00;
explain(cross(85,创幻短线),' *没有绝对准确的指标,不要怪指标不准,要怪自己不会炒股.'),color9fffff;
explain(创幻短线>0,' winer98解说'),colorffffff;
explain(ert>yaxg and ma(close,60)>=ref(ma(close,60),24),' *这已是一只强势股,关注k线的支撑位置,看庄家的控盘力度如何,以及筹码分布情况。'),colorff;
explain(ert>yaxg and ma(close,60)<ref(ma(close,60),24),' *该股有走强迹象,60均线还在向下就不能认定它是强势,真正走强要看它有没有冲破上档压力线。'),color58b3ff;
explain(ert<yaxg and ma(close,60)<=ref(ma(close,60),24),' *这已是一只弱势股,指标往往失效,判断较困难,重点关注k线的压力位置,这一点很重要!'),color3fff92;
explain(ert<yaxg and ma(close,60)>ref(ma(close,60),24),' *该股有走弱迹象,但60均线还在向上,还不能认定它是弱势。'),colora4ff98;
explain(cross(80,j),' *顶部信号出来了,炒短线的可以先出来!'),color10ffff;
explain(cross(8,创幻短线),' *底部信号倒是出现了,你参考一下其它指标,判断一下是否真的到底?如果你认为真的到了底那就买一点吧!'),colorff70ff;
explain(cross(创幻短线,创幻中线) and 创幻中线<50,' *出现一个介入点,参考一下其它指标,可以考虑是否进点货。但弱势股你可要小心呀!'),color10b8f8;
explain(创幻中线>ref(创幻中线,1),' *创幻中线指标向上,可以持股。'),color10ffff;
explain(创幻中线<ref(创幻中线,1),' *创幻中线指标向下,还是持币观望吧。'),colorffff00;
explain(cross(85,创幻短线),' *注意风险,密切关注,黄线如果开始钩头向下那是有危险的,形势不妙时还是先出来观望一下吧!'),colorffc510;
explain(close>ref(close,20) and 创幻中线<ref(创幻中线,20) and 创幻中线>60,' *指标发生顶背离,有庄家边拉边出的嫌疑,注意逢高减磅。'),color23ff10;
买线:=ema(close,2);
卖线:=ema(slope(close,21)*20+close,42);
bu:=cross(买线,卖线);
sel:=cross(卖线,买线);
drawtext(bu,low*0.98,'b'),pxup8,colorff;
drawtext(sel,high*1.01,'s'),pxup8,colorffff00;
指导线:=ema((ema(close,4)+ema(close,6)+ema(close,12)+ema(close,24))/4,2);
界:=ma(close,27);
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
g:=95;
explain(87.5,' 短线第一要领:
炒股成功要有"四心"耐心、细心、决心、狠心。
(1)等待机会出现的无比耐心;(2)机会出现时有辨别机会真假与大小的超人细心;(3)确认机会降临能果断出击的决心;(4)判断出错后敢于迅速改正错误(止损)的狠心。
短线第三要领:◇每次入市买卖,损失不应超过买卖资本的十分之一。
◇永远设下止蚀位;永不让所持仓盘转盈为亏
◇不逆市而为;如有怀疑,即平仓离场。
◇只在活跃的市场买卖;如无适当理由,勿将所持仓盘平仓;
◇买卖招损失时,切忌加码◇肯输不肯赢,切戒
◇入市时落下的止蚀盘,不宜胡乱取消
◇做多错多,入市要等候机会,不宜炒卖过密
◇不要因为价位太低而吸纳,也不要因为价位太高而沽空
◇避免在不适当的时候金字塔式加码
◇如无适当理由,避免胡乱更改买卖策略;'),colorff00;
var1:=barscount(close)*3.142/180;
a2:=sin(var1*8)*100;
a3:=cos(var1*8)*100;
x1:=0;
var1:=ma(close,5);
var2:=ma(close,10);
var3:=ma(close,20);
var4:=ma(close,30);
var5:=(var1+var2+var3+var4)/4;
var6:=(var5-ref(var5,5))/ref(var5,5)*1500;
var7:=(var5-ref(var5,5))/ref(var5,5)*1500;
var8:=ema(var6,8);
drawicon(filter(var6>ref(var6,1) and var6<-40 and var6<var8,10),low*0.9,4),pxup4;
drawtext(filter(var6>ref(var6,1) and var6<-40 and var6<var8,10),low*0.83,' '),pxup8,colorff;
drawicon(filter(var8>ref(var8,1) and var6<0 and var6>var8,10),low*0.8,4),pxup4;
drawtext(filter(var8>ref(var8,1) and var6<0 and var6>var8,10),low*0.7,'\n底部\n注意'),pxup8,colorff;
drawicon(filter(var6>ref(var6,1) and var6>0 and var8<0,10),low*0.91,12),pxup8;
drawtext(filter(var6>ref(var6,1) and var6>0 and var8<0,10),low*0.9,'\n低位\n转强'),pxup8,colorff00ff;
aa:=sysparam(1);
cc:=sysparam(3);
dd:=cc-aa;
if dd=1 then begin
drawgbk(dd=1,colorrgb(0,0,0),colorrgb(0,0,0),1);
m_c1:sma(forcast(close,4),2,1),linedot,linethick1,precision3,colorffffff;
m_c3:sma(forcast(close,13),3,1),linethick1,precision3,colorffff00;
m_c5:sma(forcast(close,13),5,1),linethick2,precision3,color44ee00;
partline(m_c3>ref(m_c3,1),m_c3),linethick1,colorffff00;
partline(m_c3<ref(m_c3,1),m_c3),linethick1,colorffff;
partline(m_c5>ref(m_c5,1),m_c5),linethick2,color44ee00;
partline(m_c5<ref(m_c5,1),m_c5),linethick2,color88bb;
买入参考:=ref(m_c1,3)>ref(m_c1,2) and ref(m_c1,2)>ref(m_c1,1) and ref(m_c1,1)<m_c1 and m_c3<ref(m_c3,1);
drawicon(买入参考,close*1.005,6);
drawicon(买入参考,m_c1*1.005,4);
drawicon(买入参考,m_c1*0.99,8);
drawicon(买入参考,m_c1*0.98,12);
stickline(买入参考,low,low-0.09,4,0),colorffff;
drawtext(买入参考,low-0.11,'买点'),colorffff;
ks:=(close-ma(close,13))/ma(close,13)*(-100);
rks:=ref(ks,1);
mls:=rks/ks>=1.23 and rks>=8 and close/ref(close,1)>=1.02;
超跌:stickline(ks>=8,high,low,0,1),linethick2,colorffffff;
反弹:stickline(mls=1,high,low,0,1),linethick2,colorff00ff;
stickline(ks>=8,open,close,8,1),linethick2,colorffffff;
stickline(mls=1,open,close,8,1),linethick2,colorff00ff;
v1:=100-90*(hhv(high,21)-close)/(hhv(high,21)-llv(low,21));
v2:=100-90*(hhv(high,21)-close)/(hhv(high,21)-llv(low,21));
v3:=100-ma(100*(hhv(high,4)-close)/(hhv(high,4)-llv(low,4)),21);
drawicon(cross(v2,ma(v3,6)),low*0.98,8),align1;
drawicon(cross(ma(v3,6),v1),high*1.025,10),align1;
drawtext(cross(v2,ma(v3,6)),low*0.97,'买入参考'),align1,color4440ff;
drawtext(cross(ma(v3,6),v1),high*1.04,'b '),align1,colorffff34;
stickline(close>open,high,low,0.1,0),colorff;
stickline(close>open,close,open,7,1),colorff00ff;
stickline(close<=open,high,low,0.1,0),colorffff00;
stickline(close<=open,close,open,7,0),colorff00;
end;
if dd=2 then begin
drawgbk(dd=2,colorrgb(0,0,0),colorrgb(0,0,0),1);
qsx1:sma(forcast(close,4),2,1),linedot,linethick1,precision3,colorffffff;
qsx3:sma(forcast(close,13),3,1),linethick1,precision3,colorffff00;
qsx5:sma(forcast(close,13),5,1),linethick2,precision3,color44ee00;
partline(qsx3>ref(qsx3,1),qsx3),linethick1,colorffff00;
partline(qsx3<ref(qsx3,1),qsx3),linethick1,colorffff;
partline(qsx5>ref(qsx5,1),qsx5),linethick2,color44ee00;
partline(qsx5<ref(qsx5,1),qsx5),linethick2,color88bb;
买入参考a:=ref(qsx1,3)>ref(qsx1,2) and ref(qsx1,2)>ref(qsx1,1) and ref(qsx1,1)<qsx1 and qsx3<ref(qsx3,1);
drawicon(买入参考a,close*1.005,6);
drawicon(买入参考a,qsx1*1.005,4);
drawicon(买入参考a,qsx1*0.99,8);
drawicon(买入参考a,qsx1*0.98,12);
e20:=ema(close,20);
e30:=ema(close,30);
x1:=ema(close,20);
凤翔六盈:=(x1-ref(x1,1))/ref(x1,1)*100;
partline(凤翔六盈>=1,e20),linethick3,colorffff;
partline(e30>ref(e30,1),e30),linethick2,colorff;
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);
牛:=if(v2>v3 and v3>v4 and v4>v5 and v4>v6 and v7>v8 and (v12>=0.9 or v12>0.76 and v12<0.901 and v11>5 and v9>5) and v11>1.8 and v10<40 and close>3 and (close-v6)/v6<0.25 and v9<=6 and v1*v9>=1 and close<18.5,76,0);
drawicon(牛,m_c1*0.98,12);
drawicon(牛,m_c1*0.97,12);
drawicon(牛,m_c1*0.96,12);
drawtext(牛,m_c1*0.95,'s '),colorffff88;
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);
绝佳买点:=ma(if(low<=va10,(vaf+va11*2)/2,0),3);
i:=if(close<ref(close,1),vol/capital*10053,0);
骤雨初晴:=(abs(ema(i,13.3)-18))/winner(close)*(if((close-ma(close,6))/ma(close,6)<-0.04,1,0));
短线买:=if(绝佳买点>500 and 绝佳买点>2500,100,0);
中线买:=if(绝佳买点>10000 and 绝佳买点>20000,200,0);
倾家荡产买:=if(绝佳买点>30000,300,0);
卖预测:close*2.5/100+close,linethick0,colorff;
买预测:close-close*2.5/100,linethick0,colorff00;
aa:=vol/((high-low)*2-(abs(close-open)));
主动买盘:if(close>open,aa*(high-low),if(close<open,aa*(high-open+close-low),vol/2)),linethick0,colorff;
主动卖盘:if(close>open,-aa*(high-close+open-low),if(close<open,-aa*(high-low),-vol/2)),linethick0,color66ff00;
stickline(close>open,high,low,0.1,0),colorff;
stickline(close>open,close,open,7,1),colorff00ff;
stickline(close<=open,high,low,0.1,0),colorffff00;
stickline(close<=open,close,open,7,0),colorff00;
var1:=close-open;
stickline(isup,low,open,1,0),color33ffff;
stickline(isup,open,open+var1/4,7,0),colorffff;
stickline(isup,open+var1/4,open+var1*2/4,7,0),colorccff;
stickline(isup,open+var1*2/4,open+var1*3/4,7,0),color66ff;
stickline(isup,open+var1*3/4,close,7,0),color33ff;
stickline(isup,close,high,1,0),colorff;
var2:=open-close;
stickline(isdown,low,close,1,0),colorff3333;
stickline(isdown,close,close+var2*1/4,7,0),colorff0033;
stickline(isdown,close+var2/4,close+var2*2/4,7,0),colorff6633;
stickline(isdown,close+var2*2/4,close+var2*3/4,7,0),colorff9933;
stickline(isdown,close+var2*3/4,open,7,0),colorffcc33;
stickline(isdown,open,high,1,0),colorffff33;
tt:=barpos=sysparam(2);
hh:=sysparam(4);
gj:=amount/vol/100;
明日阻力:=low+gj-low+close-low;
明日支撑:=low+close-gj;
今日阻力:=ref(明日阻力,1);
今日支撑:=ref(明日支撑,1);
drawtext(tt,hh,'--牛'+numtostr(今日支撑,2)),align4,pxdn100,colorff00ff;
drawtext(tt,hh,' 今日支撑=:'+numtostr(明日支撑,2)),align3,pxup127,colorffff;
drawtext(tt,hh,' 明日支撑=:'+numtostr(今日阻力,2)),align4,pxdn127,colorffff00;
drawtext(tt,hh,' 今日阻力=:'+numtostr(明日阻力,2)),align3,pxup100,colorff00;
mf2:=ma(close,20);
mc2:=ma(close,10);
mb2:(mf2+mc2)/2;
上轨2:mb2+std(close,20);
下轨2:mb2-std(close,20);
上极限2:mb2+2*std(close,20);
下极限2:mb2-2*std(close,20);
mf:(上轨2+mb2)/2;
end;
if dd=3 then begin
drawgbk(dd=2,colorrgb(0,0,0),colorrgb(0,0,0),1);
qsx_c1:sma(forcast(close,4),2,1),linedot,linethick1,precision3,colorffffff;
qsx_c3:sma(forcast(close,13),3,1),linethick1,precision3,colorffff00;
qsx_c5:sma(forcast(close,13),5,1),linethick2,precision3,color44ee00;
partline(qsx_c3>ref(qsx_c3,1),qsx_c3),linethick1,colorffff00;
partline(qsx_c3<ref(qsx_c3,1),qsx_c3),linethick1,colorffff;
partline(qsx_c5>ref(qsx_c5,1),qsx_c5),linethick2,color44ee00;
partline(qsx_c5<ref(qsx_c5,1),qsx_c5),linethick2,color88bb;
买入参考qsx:=ref(qsx_c1,3)>ref(qsx_c1,2) and ref(qsx_c1,2)>ref(qsx_c1,1) and ref(qsx_c1,1)<qsx_c1 and qsx_c3<ref(qsx_c3,1) and close>qsx_c3;
drawicon(买入参考qsx,close*1.005,6);
drawicon(买入参考qsx,qsx_c1*1.005,4);
drawicon(买入参考qsx,qsx_c1*0.99,8);
drawicon(买入参考qsx,qsx_c1*0.98,12);
e20:=ema(close,20);
e30:=ema(close,30);
x1:=ema(close,20);
凤翔六盈:=(x1-ref(x1,1))/ref(x1,1)*100;
partline(凤翔六盈>=1,e20),linethick3,colorffff;
partline(e30>ref(e30,1),e30),linethick2,colorff;
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);
牛:=if(v2>v3 and v3>v4 and v4>v5 and v4>v6 and v7>v8 and (v12>=0.9 or v12>0.76 and v12<0.901 and v11>5 and v9>5) and v11>1.8 and v10<40 and close>3 and (close-v6)/v6<0.25 and v9<=6 and v1*v9>=1 and close<18.5,76,0);
drawicon(牛,m_c1*0.98,12);
drawicon(牛,m_c1*0.97,12);
drawicon(牛,m_c1*0.96,12);
drawtext(牛,m_c1*0.95,'s '),colorffff88;
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);
绝佳买点:=ma(if(low<=va10,(vaf+va11*2)/2,0),3);
i:=if(close<ref(close,1),vol/capital*10053,0);
骤雨初晴:=(abs(ema(i,13.3)-18))/winner(close)*(if((close-ma(close,6))/ma(close,6)<-0.04,1,0));
短线买:=if(绝佳买点>500 and 绝佳买点>2500,100,0);
中线买:=if(绝佳买点>10000 and 绝佳买点>20000,200,0);
倾家荡产买:=if(绝佳买点>30000,300,0);
stickline(close>open,high,low,0.1,0),colorff;
stickline(close>open,close,open,7,1),colorff00ff;
stickline(close<=open,high,low,0.1,0),colorffff00;
stickline(close<=open,close,open,7,0),colorff00;
end;


黑马全息解密版

  >>>使用本站搜索工具可以找到更多黑马全息解密版公式 飞狐黑马解密版指标 源码

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文黑马全息解密版公式 飞狐黑马解密版指标 源码仅供学习研究。

猜你喜欢

学了又学