{股票例子
000922
001696
000980
600081
600690
000659
}
{
参数 最小最大 缺省
顶底开关 0 1 0
点位差 0 1 0
指定点 0 1000 18
}
{狂牛主图}
ls3:=llv(high,240);
ls4:=100*(close-ls3)/ls3;
ls5:=ref(llv(close,480),1);
ls6:=ref(hhv(close,480),1);
ls7:=100*(close-ls5)/(ls6-ls5);ls8:=(close-llv(close,981))/(hhv(close,981)-llv(close,981))*100;
ls9:=(close-llv(close,393))/(hhv(close,393)-llv(close,393))*100;
lsa:=(close-llv(low,981))/(hhv(high,981)-llv(low,981))*100;
lsb:=(close-llv(low,393))/(hhv(high,393)-llv(low,393))*100;
lsc1:=ema(100*(close-llv(low,100))/(hhv(high,100)-llv(low,100)),5);
lsc:=lsc1/4;
lsd:=if(lsc>23.6,lsc,0);
lse:=lsc<1;
lsf:=lsd;
ls10:=ls4<ls7 and ls4<0;
ls11:=1;
ls12:=(high+low+close*2)/4*ls11;
ls13:=ema(ls12,21);
ls14:=std(ls12,21);
ls15:=((ls12-ls13)/ls14*100+200)/4*ls11;
ls161:=ema(ls15,89);
ls16:=(ls161-25)*1.56*ls11;
ls171:=ema(ls16,5);
ls17:=ls171*1.22*ls11;
ls181:=ema(ls17,3);
ls18:=ls181*ls11;
ls19:=3*ls17-2*ls18*ls11;
ls1a:=if(cross(ls19,ls17)and cross(ls19,ls18)and cross(ls17,ls18),1,0);
ls1b:=if(cross(ls17,ls19)and cross(ls18,ls19)and cross(ls18,ls17),1,0);
ls1c:=ema(100*(close-llv(low,100))/(hhv(high,100)-llv(low,100)),13)/4;
ls1d1:=ema(close,2);
ls1d2:=ema(close,89);
ls1d:=ls1d1-ls1d2;
ls1e:=ema(ls1d,30);
ls1f:=(ls1d-ls1e)*20;
ls20:=pow(ls1f,3)*0.1+pow(ls1f,2);
ls21:=sqrt(sqrt(low*high*open*close));
ls22:=ema(ls21*0.97,3);
ls23:=(high+low+close)/3;
ls24:=(ls23-ma(ls23,14))/(0.015*avedev(ls23,14));
ls25:=if(ls1f>0.015,ls20,0)/45;
庄拉线:=ls25;
ls261:=ema(close,2);
ls262:=ema(close,150);
ls26:=ls261-ls262;
ls27:=ema(ls26,100);
ls28:=2*(ls26-ls27);
ls29:=pow(ls28,3)*0.1+pow(ls28,1);
ls2a:=sqrt(sqrt(low*high*open*close));
ls2b:=ema(ls2a*0.97,3);
ls2c:=(high+low+close)/3;
ls2d:=(ls2c-ma(ls2c,14))/(0.015*avedev(ls2c,14));
黑马线:=if(ls28>0.1,ls29,0)*5;
量价线:=(close-ma(close,21))/ma(close,21)*100;
{黑马精准线 参数 顶底开关 0 1 0 点位差0 1 0 指定点 0 1000 0}
drawgbk(o>0,rgb(33,47,58),rgb(0,0,0),0,'02',0);
{标缺口}
ll:=ref(l,1);hh:=ref(h,1);上跳:=l>hh;下跳:=h<ll;
stickline(l>ref(h,1),l,ref(h,1),3.1,-1),colorred;
stickline(ref(l,1)>h,ref(l,1),h,3.1,-1),colorgreen;
{灰色}
stickline(o>=c,h,l,0,0),color909090;
stickline(o>=c,c,o,3.1,0),color606060;
stickline(o>=c,c,o,2.1,0),color707070;
stickline(o>=c,c,o,1.2,0),color808080;
stickline(o>=c,c,o,0.2,0),color909090;
stickline(o<=c,h,l,0,0),color666b6f;
stickline(c>o,c,o,3.1,1),color666b6f;
v2v:=v/ref(v,1)>=1.9 and c>ref(c,1);
{金黄色}
stickline(v2v,h,l,0,0),coloryellow;
stickline(v2v,o,c,3.1,0),color0033ff;
stickline(v2v,o,c,2.1,0),color0077ff;
stickline(v2v,o,c,1.1,0),color00bbff;
stickline(v2v,o,c,0.1,0),color00ffff;
{涨停粉}
zt:=c/ref(c,1)>1.097;
zt数:count(zt,barssince(zt)),nodraw;
{涨停红色}
zdf:=(c-ref(c,1))/ref(c,1)*100;
stickline(zdf>9.5,c,o,3.1,0),color0000cc;
stickline(zdf>9.5,c,o,2.1,0),color0000dd;
stickline(zdf>9.5,c,o,1.2,0),color0000ee;
stickline(zdf>9.5,c,o,0.2,0),color0000ff;
stickline(zdf>9.5,h,l,0,0),color0000ff;
{跌停绿色}
stickline(zdf<-9.9,o,c,3.1,0),color66cc66;
stickline(zdf<-9.9,o,c,2.1,0),color77dd77;
stickline(zdf<-9.9,o,c,1.2,0),color88ee88;
stickline(zdf<-9.9,o,c,0.2,0),color99ff99;
stickline(zdf<-9.5,h,l,0,0),color99ff99;
均价:=amo/vol/100;
假阴真阳:=c<o and c>=ref(min(c,o),1) and 均价>ref(均价,1);
{蓝}
dt:=假阴真阳;
stickline(dt,h,l,0,0),colorffaa00;
stickline(dt,o,c,3,0),colorff3300;
stickline(dt,o,c,2,0),colorff7700;
stickline(dt,o,c,1,0),colorffaa00;
stickline(dt,o,c,0.1,0),colorffff00;
yx:=ref(o,barslast(假阴真阳));
假阴实顶:yx,colorff7700,nodraw;
stickline(v,yx,yx,1,0),colorff7700;
l0:=点位差/100;
前极点精准线:if(顶底开关=0,const(ref(l,指定点)),const(ref(h,指定点))),color178448;
drawicon(abs(l-前极点精准线)<=l0,前极点精准线*0.99,38);
drawicon(abs(h-前极点精准线)<=l0,前极点精准线*1.01,39);
{h极点精准线:const(ref(h,指定点)),color7777ff;
drawicon(abs(h极点精准线-h)<=l0,h极点精准线*1.01,35);
drawicon(abs(h极点精准线-l)<=l0,h极点精准线*0.99,34);}
{极点精准线:const(l),color0077ff;
drawicon(abs(l-极点精准线)<=l0,极点精准线*0.99,1);
drawicon(abs(h-极点精准线)<=l0,极点精准线*1.01,2);
同向极点精准数:count(abs(l-极点精准线)<=l0,60)-1,color0077ff,nodraw;
异向极点精准数:count(abs(h-极点精准线)<=l0,60),color0077ff,nodraw;
xg:=同向极点精准数>0 and 异向极点精准数>0;}
{diff:=10*(ema(close,12)-ema(close,26));
dea:=ema(diff,9);
macd:=2*(diff-dea);
量缩价涨:=c<ref(o,1) and v<ref(v,1) and macd>ref(macd,1) and c>ref(c,1) and ref(c<o,1) and c>o;
阴kday:=barslast(量缩价涨)+1;
stickline(v,ref(o,阴kday),ref(o,阴kday),3.5,0),colormagenta;
drawicon(cross(c,ref(o,阴kday)),l,1);}
{梅开二度}
ema13:=ema(c,13),colorwhite,linethick2;
ema34:=ema(c,34),coloryellow;
ema55:=ema(c,55),colorff00ff;
ema120:=ema(c,120),colorffcc66;
{stickline(er,h,l,0.5,1),color0099ff;
stickline(er,o,c,6,1),linethick2,color0099ff;}
fr:=barslast(ref(cross(ema34,ema13),1)) and cross(ema13,ema34);
{drawtext(fr,l-0.09,'梅开二度'),colorwhite;}
drawicon(fr,l*0.95,1);
{}{分析家公式}
个股能量线:=ema(100*(c-llv(low,34))/(hhv(h,34)-llv(low,34)),3);
大盘能量线:=ema(100*(indexc-llv(indexl,34))/(hhv(indexh,34)-llv(indexl,34)),3);
n:=14;
lc:=ref(close,1);
rsi7:=sma(max(close-lc,0),n,1)/sma(abs(close-lc),n,1)*100,colormagenta,linethick2;
g1:=个股能量线>70 and
个股能量线<85 and rsi7>58.67;
g2:=
个股能量线>59 and
个股能量线<70;
g3:=
个股能量线>
大盘能量线;
{天量}
m1:=5;
m2:=10;
{vvol:=if(currbarscount=1 and period=5,vol*240/fromopen,drawnull);}
volume:=vol,volstick;
mavol1:=ma(volume,m1);
mavol2:=ma(volume,m2);
var2:=1*amount;
ma1:=1*ma(amount,5);
ma2:=1*ma(amount,10);
三十日天量:=hhv(var2,30)=var2;
六十日天量:=hhv(var2,60)=var2;
百日天量:=hhv(var2,100)=var2;
一年天量:=hhv(var2,250)=var2;
tl2:=三十日天量 or 六十日天量 or 百日天量 or 一年天量;
{倍量}
vvol:=if(currbarscount=1 and period=5,v*240/fromopen,drawnull);
量:=v;
倍量:=(v/ref(v,1)>=1.91 and count(c>o,1)) or (l>ref(h,1) and count(o>c,1) and v/ref(v,1)>=1.91);
倍缩:=v<=ref(v,1)*0.5;
drawicon(tl2=0 and 倍量=0 and fr and ((g1 or g2 and g3 )) and 倍缩=0,h,2);
{***************************}
{}
aa1:=ref(close,2)<ref(open,2);
aa21:=ref(close,1)<ref(open,1);
aa22:=ref(close,1)>ref(open,1);
aa2:=aa21 or aa22;
aa3:=ref(vol,1)<ref(vol,2);
aa4:=vol>ref(vol,2);
aa:=aa1 and aa2 and aa3 and aa4;
bb1:=vol/ref(vol,1)>1.8;
bb2:=vol/ref(vol,1)<2.5;
bb:=bb1 and bb2;
cc:=(close-ref(close,1))/ref(close,1)>0.02;
单阳:=aa and bb and cc;
tj2:=(v/ref(v,1)>=1.9 and (c>ref(c,1) or c>=o)) and (2.2>=v/ref(v,1) and (c>ref(c,1) or c>=o)) ;
tj3:=range(c/ref(c,1),0.999,1.031);
jd:=atan((ma(c,13)/ref(ma(c,13),1)-1)*100)*57.3;
单阳2:=tj2 and tj3 and jd>8;
stickline(单阳,open,close,1,0),colorgreen;
高不破价:=ref(c,barslast(单阳));
中不破价:=ref((c+l)/2,barslast(单阳));
低不破价:=ref(l,barslast(单阳));
单阳不破:=currbarscount<100
and barslast(单阳)<11 and (llv(l,barslast(单阳))>低不破价 or
llv(l,barslast(单阳))=低不破价);
stickline(单阳不破,低不破价-低不破价*0.003,低不破价,4,0),colorred;
drawtext(barslast(单阳)=1
and 单阳不破,低不破价*0.98,'1'),colorgreen;
drawtext(barslast(单阳)=2 and
单阳不破,低不破价*0.98,'2'),colorgreen;
drawtext(barslast(单阳)=3 and
单阳不破,低不破价*0.98,'3'),colorgreen;
drawtext(barslast(单阳)=4 and
单阳不破,低不破价*0.98,'4'),colorgreen;
drawtext(barslast(单阳)=5 and
单阳不破,低不破价*0.98,'5'),colorgreen;
drawtext(barslast(单阳)=6 and
单阳不破,低不破价*0.98,'6'),colorgreen;
drawtext(barslast(单阳)=7 and
单阳不破,低不破价*0.98,'7'),colorgreen;
drawtext(barslast(单阳)=8 and
单阳不破,低不破价*0.98,'8'),colorgreen;
drawtext(barslast(单阳)=9 and
单阳不破,低不破价*0.98,'9'),colorgreen;
drawtext(barslast(单阳)=10 and
单阳不破,低不破价*0.98,'10'),colorgreen;
{};
两天:=llv(l,barslast(单阳))>低不破价 or
llv(l,barslast(单阳))=低不破价;
较强:=llv(l,barslast(单阳)-2)>中不破价 or llv(l,barslast(单阳)-2)=中不破价;
较强选股:stickline(currbarscount<100 and barslast(单阳)<9 and 两天 and 较强,中不破价,中不破价,2,0),color0088ff;
最强:=llv(l,barslast(单阳)-3)>高不破价 or llv(l,barslast(单阳)-2)=高不破价;
最强选股:stickline(currbarscount<100 and barslast(单阳)<9 and 两天 and 最强,高不破价,高不破价,2,0),color00ffff;
上一指标公式:李雨青成交量组合选股公式下载 通达信成交量公式
下一指标公式:神秘买卖均线主图公式下载 通达信源码神秘
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文狂牛主图公式下载 通达信狂牛主图仅供学习研究。