好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式本人收集最好的指标详解 通达信源码收集

本人收集最好的指标详解 通达信源码收集

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

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:本人收集最好的指标详解 通达信源码收集

我们小散户做的是政策面大指标里的个股,不是整个政策面里的所有股。看业绩,看基本面,看政策都不如看个股快要拉升的时机。好指标里显示个股拉升前的习惯和成交量的数据,好指标的确像温度计一样记录了39度是发烧,0度以下要结冰的事实。熊市里有涨的可以赚钱的个股,牛市里有跌的能套人的个股。能有一个更好的指标让大家在牛市里多赚一点钱,在熊市里少赚一点钱,就值得了。
本人窃取了前辈指标中多个公式,在本论坛招摇撞骗,目的在于推广前辈成果,造福更多人,还请各位前辈原谅。如有异议,本人坚决改正,不再转发。


一.选股指标.


次日涨停

w1:=c=hhv(c,20);
w2:=barslast(w1);
w3:=if(w2>0,ref(c,w2),ref(c,w2));
w4:=cross(c,ref(w3,1));
w4 and count(w4,5)=1;



黄转紫选股

diff:=ema(dclose,12)-ema(dclose,26);
dea:=ema(diff,9);
macd:=(diff-dea)*2;
紫柱:macd<0 and macd>ref(macd,1) and ref(macd,1)<ref(macd,2);






低位金叉选股

diff:=ema(dclose,12)-ema(dclose,26);
dea:=ema(diff,9);
macd:=(diff-dea)*2;
低位金叉:cross(diff,dea) and diff<-0.1;








二次金叉选股

diff:=ema(dclose,12)-ema(dclose,26);
dea:=ema(diff,9);
macd:=(diff-dea)*2;
jccount:=count(cross(diff,dea),barslast(dea>=0));
二次金叉:cross(diff,dea) and dea<0 and count(jccount=2,21)=1;





绝地反弹

(1)

var1:=ref(low,1);
var2:=sma(abs(low-var1),13,1)/sma(max(low-var1,0),13,1)*100;
var3:=ema(if(close*1.2,var2*13,var2/13),13);
var4:=llv(low,34);
var5:=hhv(var3,34);
var6:=if(llv(low,55),1,0);
var7:=ema(if(low<=var4,(var3+var5*2)/2,0),3)/618*var6;
xl1:=ma(low,2)*0.96;
xl2:=ma(low,26)*0.85;
xl3:=ref(xl1,1)<xl2 and ref(xl1,1)<xl1 and ref(xl1,1)<ref(xl1,2);
启动:=if(xl3,0,var7*3),colorred;
xg:启动>25;










(2)


backset( (ref(close,1)<ref(open,1) and
close>open and abs(close-ref(close,1))/close<0.002),2);
a2:=filter(a1<=v3,10);
nd capital<300000000
ref(v,1)= llv(v,4) andv >=ref(v,1)
hhv(v,3)=ref(v,1) and hhv(v,5)=ref(v,1) and hhv(v,21)=ref(v,1)
andv >=ref(v,1)
01>0 and t02>0;




1.三线粘合

m:=1;
m5:=ma(close,5);
m10:=ma(close,10);
m20:=ma(close,20);
k1:=max(max(m5,m10),max(m10,m20));
k2:=min(min(m5,m10),min(m10,m20));
a:=max(m5,max(m10,m20))/min(m5,min(m10,m20))<1+0.03*m;
a1:=(k1/k2-1)<0.005;
a2:=(k1/k2-1)<0.005;
a3:=v>ref(v,1)*1.5 and v>ma(v,5);
xg:a and a1 and a2 and a3and c>o andv> ref(v,1)and capital<=300000000;




2.三条线粘合

n1:=5;n2:=10;n3:=20;m:=1;
ma1:=ma(c,n1);ma2:=ma(c,n2);ma3:=ma(c,n3);
a3:=v>ref(v,1)*1.5 and v>ma(v,5);
max(ma1,max(ma2,ma3))/min(ma1,min(ma2,ma3))<1+0.01*m
and c>o andv> ref(v,1)and finance(7)<=300000000
and a3 and capital<=300000000;






3.均线粘合

m:=1;
m5:=ma(close,5);
m10:=ma(close,10);
m20:=ma(close,20);
k1:=max(max(m5,m10),max(m10,m20));
k2:=min(min(m5,m10),min(m10,m20));
a:=max(m5,max(m10,m20))/min(m5,min(m10,m20))<1+0.01*m;
a1:=(k1/k2-1)<0.005;
a2:=(k1/k2-1)<0.005;
a3:=v>ref(v,1)*1.5 and v>ma(v,5);
xg:a and a1 and a2anda3 ;



3. 金叉选股指标



快线:=ema(ema(ema(ema(close,2),2),2),2);
慢线:=ema(ref(快线,1),2);
a3:=v>ref(v,1)*1.5 and v>ma(v,5);
xg:cross(快线,慢线) and c>o and
v>=ma(v,21) andv> ref(v,1) and capital<=300000000 ;





4.角度

ma5:=ma(c,5);
ma10:=ma(c,10);
ma20:=ma(c,20);

v0:cross(ma5,ma10) and cross(ma10,ma20) and
cross(ma5,ma20);

if(角度ma3>45 and 角度ma5>40 and 角度ma10>10
and 角度ma20>20 and ma(c,135)>ref(ma(c,135),1),
1,0),color00ff00









1.聚宝盆


diff:=ema(close,short)-ema(close,long);
dea:=ema(diff,m);
macd2:=2*(diff-dea);
hhv(macd2,4)<0 and macd2>ref(macd2,1) and ref(macd2,1)<ref(macd2,2) and ref(macd2,2)<ref

(macd2,3);



2.强势股

{sjxxg四均线选股}
ma3:=ma(c,3);
ma5:=ma(c,5);
ma10:=ma(c,10);
ma20:=ma(c,20);
v0:=ma(c,3)>ref(ma(c,3),1) and ma(c,5)>ref(ma(c,5),1) and c>ma(c,3)
and ma(c,3)>ma(c,5) ; {均线c,ma3,ma5多头排列并向上;}
角度ma3:=atan((ma3/ref(ma3,1)-1)*100)*180/3.1416;
角度ma5:=atan((ma5/ref(ma5,1)-1)*100)*180/3.1416;
角度ma10:=atan((ma10/ref(ma10,1)-1)*100)*180/3.1416;
角度ma20:=atan((ma20/ref(ma20,1)-1)*100)*180/3.1416;
选股ma20:if(角度ma3>45 and 角度ma5>45 and 角度ma10>60 and 角度ma20>45 and ma(c,250)>ref(ma(c,250),1),
1,0),color00ff00;
{设计思路:
1.3日均线角度大于45度;
2:5日均线角度大于45度;
3:10日均线角度大于60度;
4.20日均线角度大于45度;
5.ma250向上;};





3。紫色冲关

(1).
cross( close,ma(c,30))
and close>ma(c,22) and close>ma(c,30)and
count(ma(close,13)>ref(ma(close,13),1),1)
and count(ma(close,8)>ref(ma(close,8),1),1)
and count(ma(close,20)>ref(ma(close,20),1),1)
and close/open>1.015
and dynainfo(37)>0.2% colorliblue;




(2).
qsxs:=ma(close,8)>ref(ma(close,8),1) and ma(close,3)>ref(ma(close,3),1) and ma(close,5)>ref(ma(close,5),1);
dxjc:=cross(close,ma(c,21)) and close>ma(c,13) and close/open>1.015;
hsl:=vol/capital*100;
选股:qsxs and dxjc and hsl>2;




(3).
{sjxxg四均线选股}
ma3:=ma(c,1);
ma5:=ma(c,3);
ma10:=ma(c,5);
ma20:=ma(c,10);
v0:=ma(c,1)>ref(ma(c,1),0.5) and ma(c,3)>ref(ma(c,3),0.5) and c>ma(c,1)
and ma(c,1)>ma(c,1) ; {均线c,ma3,ma5,ma10,ma20多头排列并向上;}
角度ma3:=atan((ma3/ref(ma3,1)-1)*100)*180/3.1416;
角度ma5:=atan((ma5/ref(ma5,1)-1)*100)*180/3.1416;
角度ma10:=atan((ma10/ref(ma10,1)-1)*100)*180/3.1416;
角度ma20:=atan((ma20/ref(ma20,1)-1)*100)*180/3.1416;
选股ma20:if(角度ma3>50 and 角度ma5>40 and 角度ma10>30
and 角度ma20>20 and ma(c,250)>ref(ma(c,250),1),
1,0),color00ff00;
{设计思路:
1.1日均线角度大于40度;
2:3日均线角度大于40度;
3:5日均线角度大于50度;
4.10日均线角度大于40度;
5.ma135向上;};




(4).

{sjxxg四均线选股}
ma3:=ma(c,5);
ma5:=ma(c,10);
ma10:=ma(c,15);
ma20:=ma(c,20);
v0:=ma(c,5)>ref(ma(c,10),1) and ma(c,10)>ref(ma(c,15),1)
and ma(c,15)>ma(c,20) ; {均线c,ma3,ma5多头排列并向上;}
角度ma3:=atan((ma3/ref(ma3,1)-1)*100)*180/3.1416;
角度ma5:=atan((ma5/ref(ma5,1)-1)*100)*180/3.1416;
角度ma10:=atan((ma10/ref(ma3,1)-1)*100)*180/3.1416;
角度ma20:=atan((ma20/ref(ma5,1)-1)*100)*180/3.1416;
选股ma20:if(角度ma3>42 and 角度ma5>25 and 角度ma10>15 and 角度ma20>10
and ma(c,135)>ref(ma(c,135),1),
1,0),color00ff00;
{设计思路:
1.3日均线角度大于30度;
2:5日均线角度大于40度;
3:10日均线角度大于45度;
4.20日均线角度大于40度;
5.ma135向上;};


(5).5日最底


v5:=llv(v,5);
qsxs:=ma(close,5)>ref(ma(close,5),1) and ma(close,8)>ref(ma(close,8),1)
and ma(close,21)>ref(ma(close,21),1);
dxjc:=cross(close,ma(c,21)) and close>ma(c,21) and close/open>1.015;
hsl:=vol/capital*100;
选股:v5 and qsxs and dxjc and hsl>2;



1....{蓄势待发}
v0:=ema(c,5);
ema10:=ema(c,10);
ema20:=ema(c,20);
ema30:=ema(c,30);
ema60:=ema(c,60);
m1:=1000*ema10/ema60<=1015 and 1000*ema10/ema60>=975;
m2:=1000*ema20/ema60<=1020 and 1000*ema20/ema60>=980;
m3:=1000*ema30/ema60<=1015 and 1000*ema30/ema60>=985;
m4:=m1 and m2 and m3 and cross(v0,ema10);
m5:=m1 and m2 and m3 and cross(v0,ema30);
t1:=1000*ema10/ema30<=1010 and 1000*ema10/ema30>=990;
t2:=1000*ema20/ema30<=1010 and 1000*ema20/ema30>=990;
t3:=t1 and t2 and cross(v0,ema10);
t4:=t1 and t2 and cross(v0,ema30);
m4 or m5 or t3 or t4;


2.短线之王
var1:=(-100)*(hhv(high,3)-close)/(hhv(high,3)-llv(low,3));
cross(var1,-87) and open<ma(close,5) and close>=1.099*ref(close,1) and indexc>0.98*ref(indexc,1) and close<=1.47*llv

(close,58);


3.枪挑小梁王
w1:=c=hhv(c,20);
w2:=barslast(w1);
w3:=if(w2>0,ref(c,w2),ref(c,w2));
w4:=cross(c,ref(w3,1));
枪挑小梁王:w4 and count(w4,5)=1;


4.短线之王
var1:=(-100)*(hhv(high,3)-close)/(hhv(high,3)-llv(low,3));
cross(var1,-87) and open<ma(close,5) and close>=1.099*ref(close,1) and indexc>0.98*ref(indexc,1) and close<=1.47*llv

(close,58);



5.财务突破选股
{财务突破选股公式-创幻闲云孤鹤-通信达专用}

年认同价:=ma(c,240);
价格中枢:=(sum(年认同价,0)/(barssince(年认同价>0)+239));
箱顶:=价格中枢*1.2;
箱底:=价格中枢*0.8;
毛利润率:=finance(21)/finance(20);
成长价值:=年认同价*(1+毛利润率);
收益价值:=年认同价+finance(33);
回调认同:=ema(expma(c,20),13);
多头:=(回调认同>ref(回调认同,1))and(成长价值>ref(成长价值,1))and(收益价值>ref(收益价值,1))and(dynainfo(7)>0);
回调条件:=count(c<回调认同,5)>=3;
回调突破:=(ref(c,1)<=ref(回调认同,1))and(c>回调认同)and(回调条件)and 多头;
成长条件:=count(c<成长价值,5)>=3;
成长突破:=(ref(c,1)<=ref(成长价值,1))and(c>成长价值)and(成长条件)and 多头;
收益条件:=count(c<收益价值,5)>=3;
收益突破:=(ref(c,1)<=ref(收益价值,1))and(c>收益价值)and(收益条件)and 多头;
箱底条件:=count(c<箱底,5)>=3;
箱底突破:=(ref(c,1)<=ref(箱底,1))and(c>箱底)and(箱底条件)and 多头;
价格条件:=count(c<价格中枢,5)>=3;
价格突破:=(ref(c,1)<=ref(价格中枢,1))and(c>价格中枢)and(价格条件)and 多头;
箱顶条件:=count(c<箱顶,5)>=3;
箱顶突破:=(ref(c,1)<=ref(箱顶,1))and(c>箱顶)and(箱顶条件)and 多头;
突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破);


6.横盘是银


var1:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
var2:=sma(var1,3,1);
var3:=sma(var2,3,1);
var4:=ema(close,12)-ema(close,26);
var5:=ema(var4,9);
var6:=2*(var4-var5);
count(cross(var2,var3),2)>=1 and count(cross(var6,0),5)>=1 and ma(close,5)>ma(close,10) and ma(close,10)>ma(close,20) and

close>ma(close,5);
{“短线是银”的使用说明:
此组合选择比较简单,初学者易于掌握,短线有一定可操作性与准确性。但只适合于3天内的短线炒作,不能确定长期趋势。
选股设置:
2日内kd金叉,5日内macd金叉,均线5日,10日,20日多头排列,收盘价涨过5日均线。};



7.黑马起步选股1
var5:=ema(sma((close-llv(low,100))/(hhv(high,100)-llv(low,100))*100,8,1),3);
选股:cross(var5,15) or cross(var5,20) or cross(var5,25);


8.起攀选股
{起攀选股}
var6:=(2*c+h+l)/4;
var7:=llv(l,27);
var8:=hhv(h,27);
攀登:=ema((var6-var7)/(var8-var7)*100,13)-50;
金山:=ema(0.618*ref(攀登,1)+0.382*攀登,3);
起攀:cross(攀登,金山) and c/ref(c,1)>1.02;
{根据起攀图指标改编,这是精简后的指标};



9.中短波选股
{中短波选股}
hz:=ema(close,13);
短波:=ema(hz,1);
中波:=ema(hz,26);
均线148天:=ema(c,148);
成本:=sum(amount,0)/sum(vol,0)/100;
hz2:=ema(hz,8);
cross(短波,hz2);
{结合中短波主图使用};



10.黑马摇篮之大

{黑马摇篮之大黑马}
ss1:=(low+high+close*2)/4;
ss2:= ma(ss1,4);
ss3:=hhv(ss2,10);
ss4:=ma(ss3,3);
ss5:=1.25*ss4-0.25*ss3;
xkkj:=if(ss5>ss3,ss3,ss5);
ff1:=llv(ss2,10);
ff2:=ma(ff1,3);
ff3:=1.25*ff2-0.25*ff1;
dkkj:=if(ff3<ff1,ff1,ff3);
ma13:=ma(c,13);
zdhm:=cross(c,dkkj) and cross(c,ma13) and cross(c,xkkj);
zhm:=cross(c,ma13) and cross(c,xkkj);
大黑马:zdhm or zhm;



11.黑马摇篮之小

{黑马摇篮之小黑马}
a:=(3*close+low+open+high)/6;
d1:=(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))/211;
d2:=ema(d1,2);
d3:=ema(d2,2);
k1:=ema(d3,2);
小黑马:cross(d1,k1);



12.蓄势待发

{蓄势待发}
v0:=ema(c,5);
ema10:=ema(c,10);
ema20:=ema(c,20);
ema30:=ema(c,30);
ema60:=ema(c,60);
m1:=1000*ema10/ema60<=1015 and 1000*ema10/ema60>=975;
m2:=1000*ema20/ema60<=1020 and 1000*ema20/ema60>=980;
m3:=1000*ema30/ema60<=1015 and 1000*ema30/ema60>=985;
m4:=m1 and m2 and m3 and cross(v0,ema10);
m5:=m1 and m2 and m3 and cross(v0,ema30);
t1:=1000*ema10/ema30<=1010 and 1000*ema10/ema30>=990;
t2:=1000*ema20/ema30<=1010 and 1000*ema20/ema30>=990;
t3:=t1 and t2 and cross(v0,ema10);
t4:=t1 and t2 and cross(v0,ema30);
m4 or m5 or t3 or t4;



13.四线粘合

{四线粘合}
v0:=ema(c,5);
v1:=ema(c,10);
v2:=ema(c,15);
v3:=ema(c,30);
v4:=ema(c,60);
m1:=1000*v1/v4<=1015 and 1000*v1/v4>=975;
m2:=1000*v2/v4<=1020 and 1000*v2/v4>=980;
m3:=1000*v3/v4<=1015 and 1000*v3/v4>=985;
m4:=m1 and m2 and m3 and cross(v0,v1);
m5:=m1 and m2 and m3 and cross(v0,v3);
m4 or m5;




14.拉升在即

{拉升在即}
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));
a:=((vol)/(capital))*(100);
s:=((ma(a,30))/(ma(indexa,10)))*(ma(indexa,60));
y:=((ma(a,120))/(ma(indexa,10)))*(ma(indexa,60));
x:=1;
拉升在即:s<x and y<x and mms>mml and abv>m1 and cross(s,y);




15.hmyz黑马易找


var1:=ma(close,5);
var2:=ma(close,10);
var3:=ma(close,30);
var4:=ma(close,60);
var5:=ema(cost(85),7);
var6:=ema(cost(15),7);
var7:=sum(close*vol*100,4)/sum(vol*100,4);
var8:=intpart(var7*100)/100;
var9:=sum(close*vol*100,7)/sum(vol*100,7);
vara:=intpart(var9*100)/100;
varb:=sum(close*vol*100,28)/sum(vol*100,28);
varc:=intpart(varb*100)/100;
vard:=ema(close,5)-ema(close,10);
vare:=ema(vard,9);
varf:=(-100)*(hhv(close,5)-close)/(hhv(close,5)-llv(low,5))+100;
var10:=(-100)*(hhv(close,10)-close)/(hhv(close,10)-llv(low,10))+100;
var11:=(-100)*(hhv(close,20)-close)/(hhv(close,20)-llv(low,20))+100;
var12:=(-100)*(hhv(close,30)-close)/(hhv(close,30)-llv(low,30))+100;
var13:=ref(vare,1);
var14:=vare;
var15:=var14-var13;
var16:=ref(vard,1);
var17:=vard;
var18:=var17-var16;
var19:=open;
var1a:=close;
黑马易找选股: var19<=var1 and var19<=var2 and var19<=var3 and var1a>=var1 and var1a>=varc and var15>0 and var18>0;

16.黑马起步选股2
var5:=ema(sma((close-llv(low,100))/(hhv(high,100)-llv(low,100))*100,8,1),3);
选股:cross(var5,30) or cross(var5,35) or cross(var5,40);

17.黑马起步选股1
var5:=ema(sma((close-llv(low,100))/(hhv(high,100)-llv(low,100))*100,8,1),3);
选股:cross(var5,15) or cross(var5,20) or cross(var5,25);

二。主图指标


1。三线定乾坤


快线:ema(ema(ema(ema(close,2),2),2),2),linethick2,color0000ff;
慢线:ema(ref(快线,1),2),linethick2,color00ffff;
总趋势:ema(ema(ema(ema(ema(close,65),2),2),2),2),linethick2,colorff00ff;

a1:=ref(h,8)=hhv(h,2*8+1);
b1:=filter(a1,8);
c1:=backset(b1,8+1);
d1:=filter(c1,8);{高点}
r11:=backset(islastbar,barslast(d1)+1); s11:=r11>ref(r11,1);
r111:drawline(d1,h,s11,h,1),colorblue;
a2:=ref(l,8)=llv(l,2*8+1);
b2:=filter(a2,8);
c2:=backset(b2,8+1);
d2:=filter(c2,8);{低点}
t11:=backset(islastbar,barslast(d2)+1);
u11:=t11>ref(t11,1);
u111:drawline(d2,l,u11,l,1),colorblue;
m:=intpart(3*8/5);
a12:=ref(h,m)=hhv(h,2*m+1);
b12:=filter(a12,m);
c12:=backset(b12,m+1);
d12:=filter(c12,m);{高点}
r112:=backset(islastbar,barslast(d12)+1);
s112:=r112>ref(r112,1);
drawline(d12,h,s112,h,1),colorred;
a22:=ref(l,m)=llv(l,2*m+1);
b22:=filter(a22,m);
c22:=backset(b22,m+1);
d22:=filter(c22,m);{低点}
t112:=backset(islastbar,barslast(d22)+1); u112:=t112>ref(t112,1);
drawline(d22,l,u112,l,1),colorred;
var1111:=backset(ref(high,2)=hhv(high,5),3);
var2222:=cross(var1111,0.9);
var3333:=backset(ref(low,2)=llv(low,5),3);
var4444:=cross(var3333,0.9);
压力:= ref(high,barslast(var2222));
stickline(close,ref(high,barslast(var2222)),ref(high,barslast(var2222)),0.5,1),colorea91b5,linethick3;
支撑:= ref(low,barslast(var4444));
stickline(close,ref(low,barslast(var4444)),ref(low,barslast(var4444)),0.5,1),color00b4ff,linethick3;
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rrrsv:=sma(下档线,3,1);
kkk:=sma(rrrsv,3,1);
ddd:=((3 * rrrsv) - (2 * kkk));
jj12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(jj12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
压力2:=if(cross(d24,ddd),high,ref(high,barslast(cross(d24,ddd)))),colorffffff;
底部:=llv(high,30),color00ff00;
drawicon(cross(u111,l),l*1.03,1);
drawicon(cross(h,r111),h*1.03,2);



2.极品三色线


ema3:=ema(c,4),colorwhite;
ema5:=ema(c,7),coloryellow;
ema10:=ema(c,12),colorff00ff;
ema20:=ma(c,21),colorffcc66;
var2:=(2*close+high+low)/4;
var3:=if(year>=2099 and month>2,0,1);
var4:=llv(low,5); var5:=hhv(high,4);
散户:=ema((var2-var4)/(var5-var4)*100,4)*var3;
庄家:=ema(0.667*ref(散户,1)+0.333*散户,2)*var3;
drawtext(cross(散户,庄家) and 散户<3,l-0.05,'←低吸'),colorlired;
drawtext(cross(庄家,散户) and 散户>5,h+0.05,'←高抛'),colorgreen;
drawicon(cross(散户,庄家) and 散户<10,l-0.05,1);
drawicon(cross(庄家,散户) and 散户>20,h+0.05,2);
var9:=close-ref(close,5);
vara:=ema(ema(var9,5),5)/ema(ema(abs(var9),5),5);
varc:=ema(ema(var9,10),10)/ema(ema(abs(var9),20),20);
卖出:=if(vara>0 and cross(varc,vara),90,100);
drawicon(卖出<0,h+0.05,2); 买线:=ema(close,2);
卖线:=ema(slope(close,11)*10+close,22);
b1:if(cross(买线,卖线),l-0.05,drawnull),crossdot,linethick3,colormagenta;
s1:if(cross(20,rsi)*10,h+0.05,drawnull),crossdot,linethick3,coloryellow;
vc:=((close-ma(close,5))/ma(close,5)*100+(close-ma(close,20))/ma(close,20)*100+(close-ma (close,32))/ma(close,32)*100)/3;
s2:=if(vc>20 and filter(vc< ref(vc,1),5),h+0.05,drawnull),circledot,linethick3,colorgreen;
a0:=(l+h+c*2)/4;
a1:ema(a0,5)colorblue,linethick2;
a2:=ema(a0,10)colorliblue,linethick2;
a1x:=(a1-ref(a1,1))/ref(a1,1)*100,nodraw;
a2x:=(a2-ref(a2,1))/ref(a2,1)*100,nodraw;
看多:if(a1x>=0 and barslast(cross(a1x,0))>0,ref((c+o)/2,barslast(cross(a1x,0))),drawnull),colormagenta{,linethick2};
逃顶:if(a1x<0 and barslast(cross(0,a1x))>0,ref((c+o)/2,barslast(cross(0,a1x))),drawnull),colorcyan,{linethick2};
买入持股:if(a1x>=0,a1,drawnull)colorred,linethick3;
卖出空仓:if(a1x<0 and a2x<0,a1,drawnull)colorgreen,linethick3;
stickline(cross(a1x,0),h,l,0,0 ),color9933ff;
stickline(cross(a1x,0),c,o,3,0 ),color0000cc;
stickline(cross(a1x,0),c,o,1,0 ),color0033ff;
stickline(cross(0,a1x),l,h,0,0 ),color66cc33;


三。三线买卖



快线:ema(ema(ema(ema(close,2),2),2),2),linethick2,color0000ff;
慢线:ema(ref(快线,1),2),linethick2,color00ffff;
总趋势:ema(ema(ema(ema(ema(close,55),2),2),2),2),linethick2,colorff00ff;
highn:=10;lown:=10;highdisplay:=0;lowdisplay:=0;zgdisplay:=0;madisplay:=0;
aa:=ref(h,highn)=hhv(h,2*highn+1);
qy:=backset(aa,highn+1);
cc:=filter(qy,highn) and h=hhv(h,highn+1);
drawicon(cc,h*1.02,2);
ddd:=barslast(cc);
gdts:=if(cc,currbarscount,0);
dingbu:=if(ddd,ref(h,ddd),h);{顶部}
dingbuts:=if(ddd,ref(gdts,ddd),gdts);
dingbu1:=ref(dingbu,ddd+1);
gdcs1:=const(dingbuts);
dingbuts1:=ref(dingbuts,ddd+1);
gdcs2:=const(dingbuts1);
dingbu2:=ref(dingbu1,ddd+1);
mm:=if(currbarscount>gdcs2,0,1);
高点压力:drawline(currbarscount=gdcs2,h,currbarscount=gdcs1,h,1) colorgreen,linethick2;
drawline(currbarscount=gdcs2,h,islastbar,ref(h,gdcs2-1),1),color0055ff,pointdot;
drawline(currbarscount=gdcs1,h,islastbar,ref(h,gdcs1-1),1),coloryellow,pointdot;
aa1:=ref(l,lown)=llv(l,2*lown+1);
qy1:=backset(aa1,lown+1);
cc1:=filter(qy1,lown) and l=llv(l,lown+1);
drawicon(cc1,l*0.98,1);
dd1:=barslast(cc1);
ddts:=if(cc1,currbarscount,0);
ydb:=if(dd1,ref(l,dd1),l);
ddts1:=if(dd1,ref(ddts,dd1),ddts);
ddcs1:=const(ddts1);
zdb:=ref(ydb,dd1+1);
ddts2:=ref(ddts1,dd1+1);
ddcs2:=const(ddts2);
低点支撑:drawline(currbarscount=ddcs2,l,currbarscount=ddcs1,l,1) colorred,linethick2;

zgstar:=(高点压力+低点支撑)/2;
zgend:=const((高点压力+低点支撑)/2);
starday:=if(ddcs2<gdcs2,ddcs2,gdcs2);
中轨:drawline(currbarscount=starday,zgstar,islastbar,zgend,1),colorff55bb,linethick2;

drawline(currbarscount=ddcs1,l,islastbar,ref(l,ddcs1-1),1),colormagenta,pointdot,;
drawline(currbarscount=ddcs2,l,islastbar,ref(l,ddcs2-1),1),colorcyan,pointdot;







四。3线粘合

ma3:ema(c,3),linethick2; ma5:ema(c,5),linethick2; ma7:ema(c,7),linethick2; ma14:ema(c,14),linethick1,stick; ma114:ema

(c,14),linethick2; drawicon (cross(ma3,ma7),l*0.985,1);





五.三线乾坤


快线:ema(ema(ema(ema(close,2),2),2),2),linethick2,color0000ff;
慢线:ema(ref(快线,1),2),linethick2,color00ffff;
总趋势:ema(ema(ema(ema(ema(close,55),2),2),2),2),linethick2,colorff00ff;

a1:=ref(h,8)=hhv(h,2*8+1);
b1:=filter(a1,8);
c1:=backset(b1,8+1);
d1:=filter(c1,8);{高点}
r11:=backset(islastbar,barslast(d1)+1); s11:=r11>ref(r11,1);
drawline(d1,h,s11,h,1),colorblue;
a2:=ref(l,8)=llv(l,2*8+1);
b2:=filter(a2,8);
c2:=backset(b2,8+1);
d2:=filter(c2,8);{低点}
t11:=backset(islastbar,barslast(d2)+1); u11:=t11>ref(t11,1);
drawline(d2,l,u11,l,1),colorblue;
m:=intpart(3*8/5);
a12:=ref(h,m)=hhv(h,2*m+1);
b12:=filter(a12,m);
c12:=backset(b12,m+1);
d12:=filter(c12,m);{高点}
r112:=backset(islastbar,barslast(d12)+1); s112:=r112>ref(r112,1);
drawline(d12,h,s112,h,1),colorred;
a22:=ref(l,m)=llv(l,2*m+1);
b22:=filter(a22,m);
c22:=backset(b22,m+1);
d22:=filter(c22,m);{低点}
t112:=backset(islastbar,barslast(d22)+1); u112:=t112>ref(t112,1);
drawline(d22,l,u112,l,1),colorred;
var1111:=backset(ref(high,2)=hhv(high,5),3);
var2222:=cross(var1111,0.9);
var3333:=backset(ref(low,2)=llv(low,5),3);
var4444:=cross(var3333,0.9);
压力:= ref(high,barslast(var2222));
stickline(close,ref(high,barslast(var2222)),ref(high,barslast(var2222)),0.5,1),colorea91b5,linethick3;
支撑:= ref(low,barslast(var4444));
stickline(close,ref(low,barslast(var4444)),ref(low,barslast(var4444)),0.5,1),color00b4ff,linethick3;
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rrrsv:=sma(下档线,3,1);
kkk:=sma(rrrsv,3,1);
ddd:=((3 * rrrsv) - (2 * kkk));
jj12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(jj12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
压力2:=if(cross(d24,ddd),high,ref(high,barslast(cross(d24,ddd)))),colorffffff;
底部:=llv(high,30),color00ff00;
drawicon(l<=支撑 and h>支撑,l,0);
drawicon(h>=压力 and l<压力,h,0);
drawicon(cross(快线,慢线),l*0.95,5);
drawicon(cross(慢线,快线),h*1.05,6);

三。副图指标


1。黄金坑





diff:=ema(close,short)-ema(close,long);
dea:=ema(diff,m);
macd2:=2*(diff-dea);
(close<0 and cross(diff,0),h*1.3),color000080,nodraw;
(close<0 and cross(macd2,0),h*1.3),color000080,nodraw;
(close<0 and cross(0,diff),h*1.3),color808080,nodraw;
(close<0 and cross(0,macd2),h*1.3),color808080,nodraw;
du0:=cross(diff,0);
ud0:=cross(0,diff);
tdu0:=barslast(du0);
tud0:=barslast(ud0);
du3:=ref(du0,1);
ud3:=ref(ud0,1);
tdu3:=barslast(du3);
tud3:=barslast(ud3);
udgline:=if(tdu3<tud3,ref(hhv(high,2),tdu3),ref(llv(low,2),tud3));
jdu0:=ref(close,1)<=ref(udgline,1) and close>udgline and tdu0<tud0;
jud0:=ref(close,1)>=ref(udgline,1) and close<udgline and tud0<tdu0;
jdu1:=jdu0 and count(jdu0,tdu0)=1;
jud1:=jud0 and count(jud0,tud0)=1;
jdu2:=jdu1 and ref(barslast(jud1),1)<ref(barslast(jdu1),1);
jud2:=jud1 and ref(barslast(jud1),1)>ref(barslast(jdu1),1);
jdu3:=jdu1 and ref(barslast(jud1),1)>ref(barslast(jdu1),1);
jud3:=jud1 and ref(barslast(jud1),1)<ref(barslast(jdu1),1);
bsline:=if(barslast(jdu2)<barslast(jud2),if(ref(cross(0,macd2),1),llv(low,2),ref(llv(low,2),barslast(ref(cross

(0,macd2),1)))),if(ref(cross(macd2,0),1),hhv(high,2),ref(hhv(high,2),barslast(ref(cross(macd2,0),1)))));
stickline(macd2>=0,0,macd2,2,1),color0000ff;
stickline(macd2>=0 and macd2<ref(macd2,1),0,macd2,2,0),color0000ff;
stickline(macd2<0,0,macd2,2,0),colorffff00;
stickline(macd2<0 and macd2>ref(macd2,1),0,macd2,2,1),colorffff00;
dif:diff,linethick2,color0000ff;
macd:dea,colorff0000;
def:macd2,linethick0,colorffff00;
stickline(close>0,0,0,2,0),color808080;
defut:=barslast(cross(macd2,0));
defdt:=barslast(cross(0,macd2));
deful:=if(macd2>=0,hhv(macd2,defut+1),ref(hhv(macd2,defut+1),defdt+1));
defdl:=if(macd2<0,llv(macd2,defdt+1),ref(llv(macd2,defdt+1),defut+1));
defu2l:=ref(deful,defut+1);
defd2l:=ref(defdl,defdt+1);
drawicon(llv(macd2,4)>0 and macd2<ref(macd2,1) and ref(macd2,1)>ref(macd2,2) and ref(macd2,2)>ref(macd2,3),macd2,2);
drawicon(hhv(macd2,4)<0 and macd2>ref(macd2,1) and ref(macd2,1)<ref(macd2,2) and ref(macd2,2)<ref(macd2,3),macd2,1);
drawicon((jud1 or barslast(jdu1)>barslast(jud1)) and macd2>=0 and ref(macd2,1)<ref(defu2l,1) and macd2>defu2l,macd2,5);
drawicon((jdu1 or barslast(jdu1)<barslast(jud1)) and macd2<0 and ref(macd2,1)>ref(defd2l,1) and macd2<defd2l,macd2,3);
var111:=jdu1 or barslast(jdu1)<barslast(jud1);
var112:=hhv(macd2,4)<0 and macd2>ref(macd2,1) and ref(macd2,1)<ref(macd2,2) and ref(macd2,2)<ref(macd2,3);



2.资金流向





diff:=ema(close,short)-ema(close,long);
dea:=ema(diff,m);
macd2:=2*(diff-dea);
(close<0 and cross(diff,0),h*1.3),color000080,nodraw;
(close<0 and cross(macd2,0),h*1.3),color000080,nodraw;
(close<0 and cross(0,diff),h*1.3),color808080,nodraw;
(close<0 and cross(0,macd2),h*1.3),color808080,nodraw;
du0:=cross(diff,0);
ud0:=cross(0,diff);
tdu0:=barslast(du0);
tud0:=barslast(ud0);
du3:=ref(du0,1);
ud3:=ref(ud0,1);
tdu3:=barslast(du3);
tud3:=barslast(ud3);
udgline:=if(tdu3<tud3,ref(hhv(high,2),tdu3),ref(llv(low,2),tud3));
jdu0:=ref(close,1)<=ref(udgline,1) and close>udgline and tdu0<tud0;
jud0:=ref(close,1)>=ref(udgline,1) and close<udgline and tud0<tdu0;
jdu1:=jdu0 and count(jdu0,tdu0)=1;
jud1:=jud0 and count(jud0,tud0)=1;
jdu2:=jdu1 and ref(barslast(jud1),1)<ref(barslast(jdu1),1);
jud2:=jud1 and ref(barslast(jud1),1)>ref(barslast(jdu1),1);
jdu3:=jdu1 and ref(barslast(jud1),1)>ref(barslast(jdu1),1);
jud3:=jud1 and ref(barslast(jud1),1)<ref(barslast(jdu1),1);
bsline:=if(barslast(jdu2)<barslast(jud2),if(ref(cross(0,macd2),1),llv(low,2),ref(llv(low,2),barslast(ref(cross

(0,macd2),1)))),if(ref(cross(macd2,0),1),hhv(high,2),ref(hhv(high,2),barslast(ref(cross(macd2,0),1)))));
stickline(macd2>=0,0,macd2,2,1),color0000ff;
stickline(macd2>=0 and macd2<ref(macd2,1),0,macd2,2,0),color0000ff;
stickline(macd2<0,0,macd2,2,0),colorffff00;
stickline(macd2<0 and macd2>ref(macd2,1),0,macd2,2,1),colorffff00;
dif:diff,linethick2,color0000ff;
macd:dea,colorff0000;
def:macd2,linethick0,colorffff00;
stickline(close>0,0,0,2,0),color808080;
defut:=barslast(cross(macd2,0));
defdt:=barslast(cross(0,macd2));
deful:=if(macd2>=0,hhv(macd2,defut+1),ref(hhv(macd2,defut+1),defdt+1));
defdl:=if(macd2<0,llv(macd2,defdt+1),ref(llv(macd2,defdt+1),defut+1));
defu2l:=ref(deful,defut+1);
defd2l:=ref(defdl,defdt+1);
drawicon(llv(macd2,4)>0 and macd2<ref(macd2,1) and ref(macd2,1)>ref(macd2,2) and ref(macd2,2)>ref(macd2,3),macd2,2);
drawicon(hhv(macd2,4)<0 and macd2>ref(macd2,1) and ref(macd2,1)<ref(macd2,2) and ref(macd2,2)<ref(macd2,3),macd2,1);
drawicon((jud1 or barslast(jdu1)>barslast(jud1)) and macd2>=0 and ref(macd2,1)<ref(defu2l,1) and macd2>defu2l,macd2,5);
drawicon((jdu1 or barslast(jdu1)<barslast(jud1)) and macd2<0 and ref(macd2,1)>ref(defd2l,1) and macd2<defd2l,macd2,3);
var111:=jdu1 or barslast(jdu1)<barslast(jud1);
var112:=hhv(macd2,4)<0 and macd2>ref(macd2,1) and ref(macd2,1)<ref(macd2,2) and ref(macd2,2)<ref(macd2,3);




3. 变色macd

(1)
difif1:=ema(close,12) - ema(close,26);
deaea1:=ema(difif1,9);
macd1:=2*(difif1-deaea1),stick;
macd2:=ema(macd1,3);
stickline(macd1>macd2 and macd1>0,0,macd1,1,0),colorred;
stickline(macd1>macd2 and macd1<0,0,macd1,1,0),colorgreen;
stickline(macd1<macd2,0,macd1,1,0),colorcbcbc0;
stickline(macd1>=0 or macd1<=0,0,0,50,1),colorwhite;
difif1,color33ff33,linethick2;
deaea1,coloryellow,linethick2;
macd:macd1,nodraw,colormagenta;
强:if(difif1>=deaea1,difif1,drawnull),colorred,linethick2;
弱:if(deaea1>=difif1,deaea1,drawnull),colorff9900,linethick2;
drawicon(cross(difif1,deaea1),difif1+0.1,1);
drawicon(cross(deaea1,difif1),-0.5,2);
drawtext(cross(difif1,deaea1),difif1,'○'),linethick2, coloryellow;



(2)

difif1:=ema(close,12) - ema(close,26);
deaea1:=ema(difif1,9);
macd1:=2*(difif1-deaea1),stick;
macd2:=ema(macd1,3);
stickline(macd1>macd2 and macd1>0,0,macd1,1,0),colorred;
stickline(macd1>macd2 and macd1<0,0,macd1,1,0),colorgreen;
stickline(macd1<macd2,0,macd1,1,0),colorcbcbc0;
stickline(macd1>=0 or macd1<=0,0,0,50,1),colorwhite;
difif1,color33ff33,linethick2;
deaea1,coloryellow,linethick2;
macd:macd1,nodraw,colormagenta;
强:if(difif1>=deaea1,difif1,drawnull),colorred,linethick2;
弱:if(deaea1>=difif1,deaea1,drawnull),colorff9900,linethick2;
drawicon(cross(difif1,deaea1),difif1+0.1,1);
drawicon(cross(deaea1,difif1),-0.5,2);
drawtext(cross(difif1,deaea1),difif1,'○'),linethick2, coloryellow;








4. 至尊macd



diff:ema(dclose,12)-ema(dclose,26);
dea:ema(diff,9),colorffff00;
macd:(diff-dea)*2;

stickline(macd>=0 and macd>=ref(macd,1),0,macd,1,0),colorred;
stickline(macd>=0 and macd<=ref(macd,1),0,macd,1,0),colorgreen;
stickline(macd<=0 and macd>=ref(macd,1),0,macd,1,0),colorff00ff;
stickline(macd<=0 and macd<=ref(macd,1),0,macd,1,0),color00ffff;

多转空:=((((llv(macd,4)>0) and (macd<ref(macd,1))) and (ref(macd,1)>ref(macd,2))) and (ref(macd,2)>ref(macd,3)));
空转多:=((((hhv(macd,4)<0) and (macd>ref(macd,1))) and (ref(macd,1)<ref(macd,2))) and (ref(macd,2)<ref(macd,3)));
drawicon(多转空,macd,2);
drawicon(空转多,macd,1);
低位金叉:=cross(diff,dea) and diff<-0.1;
drawtext(低位金叉,dea,'低位金叉'),colorff00ff;
jccount:=count(cross(diff,dea),barslast(dea>=0));
二次金叉:=cross(diff,dea) and dea<0 and count(jccount=2,21)=1;
stickline(二次金叉,0,0.2,2,0),colorff00ff;
drawtext(二次金叉,dea*1.06,'二次金叉'),colorred;
a1:=barslast(ref(cross(diff,dea),1));
底背离:=ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea);
drawtext(底背离,-0.2-macd,'底背离'),colorwhite;
a2:=barslast(ref(cross(dea,diff),1));
顶背离:=ref(close,a2+1)<close and ref(diff,a2+1)>diff and cross(dea,diff);
drawtext(顶背离,0.2+macd,'顶背离'),colorwhite;


  >>>使用本站搜索工具可以找到更多本人收集最好的指标详解 通达信源码收集

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文本人收集最好的指标详解 通达信源码收集仅供学习研究。

猜你喜欢

学了又学