ma1:=ma(close,m1);
ma2:=ma(close,m2);
ma12:(ma1+ma2)/2 colorred;
ma3:ma(close,m3)colorff00ff;
ma4:ma(close,m4)colorgreen;
ma5:ma(close,m5)coloryellow;
ma6:ma(close,m6)colorblue;
syx:=(h-max(close,open))/close;
zhd:=((c-ref(c,1))/ref(c,1))*100;
vart1:=close>ref(close,1) and close>ref(close,2);
vart2:=ref(vart1,1) and close<=ref(close,1) and close>=ref(close,2);
vart3:=ref(vart2,1) and close>=ref(close,1) and close<=ref(close,2);
vart4:=ref(vart3,1) and close<=ref(close,1) and close>=ref(close,2);
vart5:=ref(vart4,1) and close>=ref(close,1) and close<=ref(close,2);
vart6:=ref(vart5,1) and close<=ref(close,1) and close>=ref(close,2);
vart7:=ref(vart6,1) and close>=ref(close,1) and close<=ref(close,2);
vart8:=ref(vart7,1) and close<=ref(close,1) and close>=ref(close,2);
vart9:=ref(vart8,1) and close>=ref(close,1) and close<=ref(close,2);
vara:=ref(vart9,1) and close<=ref(close,1) and close>=ref(close,2);
varb:=ref(vara,1) and close>=ref(close,1) and close<=ref(close,2);
varc:=ref(varb,1) and close<=ref(close,1) and close>=ref(close,2);
stickline(vart1 or vart2 or vart3 or vart4 or vart5 or vart6 or vart7 or vart8 or
vart9 or vara or varb or varc,close,ref(close,1),2.3,0),colorred;
vard:=close<ref(close,1) and close<ref(close,2);
vare:=ref(vard,1) and close>=ref(close,1) and close<=ref(close,2);
varf:=ref(vare,1) and close<=ref(close,1) and close>=ref(close,2);
var10:=ref(varf,1) and close>=ref(close,1) and close<=ref(close,2);
var11:=ref(var10,1) and close<=ref(close,1) and close>=ref(close,2);
var12:=ref(var11,1) and close>=ref(close,1) and close<=ref(close,2);
var13:=ref(var12,1) and close<=ref(close,1) and close>=ref(close,2);
var14:=ref(var13,1) and close>=ref(close,1) and close<=ref(close,2);
var15:=ref(var14,1) and close<=ref(close,1) and close>=ref(close,2);
var16:=ref(var15,1) and close>=ref(close,1) and close<=ref(close,2);
var17:=ref(var16,1) and close<=ref(close,1) and close>=ref(close,2);
var18:=ref(var17,1) and close>=ref(close,1) and close<=ref(close,2);
stickline(vard or vare or varf or var10 or var11 or var12 or var13 or var14
or var15 or var16 or var17 or var18,close,ref(close,1),2.3,0),colorcyan;
var19:=ref(vard or vare or varf or var10 or var11 or var12 or var13 or var14
or var15 or var16 or var17 or var18,1) and vart1;
stickline(var19,ref(close,1),ref(close,2),2.3,0),coloryellow;
var1a:=ref(vart1 or vart2 or vart3 or vart4 or vart5 or vart6 or vart7 or vart8 or
vart9 or vara or varb or varc,1) and vard;
stickline(var1a,ref(close,1),ref(close,2),2.3,0),color008e48;
{均线至尊}
typ:= (high + low +2* c)/4;
jx:=ema(typ,3);
jxjd:=sin((jx/ref(jx,1)-1)*100)*200/3.1416;
{捞钱线}
n:=5;
bb:=ref(close,n);
cc:=sma(max(close-bb,0),2,1)/sma(abs(close-bb),2,1)*100-50;
lqjd:=cos((cc/ref(cc,1)-1)*100)*1000/3.1416;
{主力成本价}
a:=(3*c+l+o+h)/6;
x:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+
14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+
ref(a,20))/210;
获利比例:winner(c)*100,colorff00ff,nodraw;
主力成本:ema(x,13),colorred,nodraw;
{逃顶}
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
e:=cross(83,rsi);
drawtext(e,h*1.09,'↓清仓休息'),coloryellow;
{超级短线}
var1:=(2*close+high+low)/4;
var2:=expma(expma(expma(var1,4),4),4);
j:=(var2-ref(var2,1))/ref(var2,1)*100;
d:=ma(j,3);
k:=ma(j,1);
{神偷在现指标}
tr1:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),5);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=(sum(if(((hd > 0) and (hd > ld)),hd,0),5) );
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),5);
神偷线1:=((dmp * 100 ) / tr1),colorff00ff;
吸筹区:=10;
减仓区:=40;
{完美买点}
abv:=ma(sum(if(close>ref(close,1),vol,if(close<ref(close,1),-vol,0)),0)/25000,2);
m1:=ema(abv,12);
m2:=ema(abv,26);
mtm:=close-ref(close,1);
mms:=((100)*(ema(ema(mtm,6),6)))/(ema(ema(abs(mtm),6),6));
mmm:=((100)*(ema(ema(mtm,12),12)))/(ema(ema(abs(mtm),12),12));
mml:=((100)*(ema(ema(mtm,26),26)))/(ema(ema(abs(mtm),26),26));
mtgj:=c-ref(c,1);
zlgj:=100*ema(ema(mtgj,9),9)/ema(ema(abs(mtgj),9),9);
mazl:=ma(zlgj,5);
主力进场:=mms>ref(mms,1) and zlgj>ref(zlgj,1) and cross(abv,m2) and abv>ref(abv,1) and m1>ref(m1,1) and m2>ref(m2,1) and cross(k,d);
主力吸货:=abv>m2 and cross(abv,m1) and cross(zlgj,mazl) and cross(k,d);
主力进场1:=mms>ref(mms,1) and zlgj>ref(zlgj,1) and cross(abv,m2) and abv>ref(abv,1) and m1>ref(m1,1) and m2>ref(m2,1) and 神偷线1<=吸筹区;
主力吸货1:=abv>m2 and cross(abv,m1) and cross(zlgj,mazl) and 神偷线1<=吸筹区;
{买点先行}
黄金线:=(ema(c,15));
生命线:=(ma(c,25));
启动线:=ema(slope(close,21)*20+close,55);
hcq:=cross(黄金线,启动线)and cross(k,d);
hcs:=cross(黄金线,生命线)and cross(k,d);
qcs:=cross(启动线,生命线)and cross(k,d);
hcq1:=(cross(黄金线,启动线) and( 神偷线1<=吸筹区)) ;
hcs1:=(cross(黄金线,生命线) and ( 神偷线1<=吸筹区));
qcs1:=(cross(启动线,生命线) and ( 神偷线1<=吸筹区));
{五里头指标}
jj1 :=(c*3+h+l+o)/6;
sk := ema(jj1,13) - ema(jj1,21);
sd := ema(sk,3);
sp := ema(sk,10);
a1:=ema(c,7)-ema(c,21);
b1:=ema((0.668*ref(a1,1)+0.333*a1),1);
macd:=b1;
持股:=if(a1>=b1,a1,b1);
持币:=if(b1-a1,b1,a1);
mm:= 持股-持币;
csw:=神偷线1<=吸筹区 and mm>0 and ref(mm,1)=0 and cross(k,d) ;
{自用主图}
bbi:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24) )/4;
ma11:=ma(close,20),color00e300,linethick1;
drawtext(cross(bbi,ma11),l*0.94,'↑加仓')colorred;
{组合指标}
jj:=(close+high+low+o)/4;
aj:=ema(jj,10)nodraw;
b:=ref(aj,1)nodraw;
bbi2:=ema(((ma(close,5)+ma(close,10)+ma(close,20) +ma(close,30))/4),2),colorblue,linethick2;
bbi3:=bbi<ref(bbi,1)nodraw;
bbi1:=bbi<ref(bbi,1)nodraw;
mr1:=cross(a,b) and bbi>=bbi1 and bbi1<ref(bbi1,1) and syx<=0.025 and zhd<=4;
mr2:=a>=b and bbi>=bbi1 and bbi1<ref(bbi1,1) and syx<=0.025 and zhd<=5;
mr4:=cross(a,b) and bbi2>=bbi3 and bbi3<ref(bbi3,1) and syx<=0.025 and zhd<=4;
mr6:=a>=b and bbi2>=bbi3 and bbi3<ref(bbi3,1) and syx<=0.025 and zhd<=5;
drawtext(mr1>0 and mr2>0 and mr4>0 and mr6>0,l*0.94,'↑买')colorred;
{点金通道}
rsi1:=sma(max(close-lc,0),7,1)/sma(abs(close-lc),7,1)*100;
rsi2:=sma(max(close-lc,0),21,1)/sma(abs(close-lc),21,1)*100;
rsi12:=cross(k,d)and 神偷线1<=吸筹区 and rsi1>=rsi2;
rsi13:=cross(k,d)and rsi1>=rsi2;
{drawtext(rsi12>0,l*0.90,'↑rs买'),colorff00ff;}
{drawtext(rsi13>0,l*0.80,'↑rc买'),colorff00ff;}
{主力散户}
zl1:=ema( (close-ma(close,7))/ma(close,7)*480,2)*5;
sh1:=ema( (close-ma(close,11))/ma(close,11)*480,7)*5;
drawtext(rsi12>0 and zl1>sh1 and 神偷线1<=吸筹区 and cross(k,d) and zl1>ref(zl1,1),l*0.86,'↑zs买'),colorff00ff;
{买进指示}
drawtext(主力进场>0,l*0.99,'↑买'),colorff00ff;
drawtext(主力吸货>0,l*0.97,'↑买'),colorff00ff;
drawtext(主力进场1>0,l*0.95,'↑买'),colorff00ff;
drawtext(主力吸货1>0,l*0.93,'↑买'),colorff00ff;
drawtext(hcq>0,l*0.99,'↑买'),colorff00ff;
drawtext(hcs>0,l*0.97,'↑买'),colorff00ff;
drawtext(qcs>0,l*0.95,'↑买'),colorff00ff;
drawtext(hcq1>0,l*0.93,'↑买'),colorff00ff;
drawtext(hcs1>0,l*0.92,'↑买'),colorff00ff;
drawtext(qcs1>0,l*0.90,'↑买'),colorff00ff;
drawtext(csw>0,l*0.98,'↑买'),colorred;
{卖出指标}
drawtext(lqjd>=299 and jxjd>=50 and 神偷线1>=40,h*1.02,'↓卖'),colorgreen;
drawtext(syx>=0.025 and 神偷线1>40,h*1.03,'↓卖'),colorgreen;
drawtext(syx>=0.025 and lqjd>=299 ,h*1.04,'↓卖'),colorgreen;
drawtext(jxjd>=60 and zhd>5,h*1.05,'↓卖'),colorgreen;
drawtext(神偷线1>55 and zhd>5,h*1.06,'↓卖'),colorgreen;
drawtext( jxjd>62 and 神偷线1>42,h*1.07,'↓卖'),colorgreen;
drawtext( jxjd>62 and zhd>0 and zhd<1,h*1.08,'↓卖'),colorgreen;
drawtext(syx>0.038 and 神偷线1>38,h*1.04,'↓卖'),colorgreen;
上一指标公式:实战主图选股无未来指标下载 通达信源码实战
下一指标公式:变色均K变色指标下载 通达信源码公式
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文自用主图由各位大虾和自己一些想法组合主图指标详解及下载 通达信自用大虾仅供学习研究。