您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:常用四个黄金指标,内含四个副图源码,说明

常用四个黄金指标,内含四个副图源码,说明


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2013-08-16 08:31:00
公式简介:

常用黄金指标之黄金底指标(秒杀KDJ)

常用黄金指标之黄金果指标(波段之王)


常用黄金指标之黄金柱指标 秒杀MACD 有未来函数

常用黄金指标之成交量指标(秒杀成交量VOL)


源码:
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
动力线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
能量值:=FILTER(EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4),20);
减仓: 3.2,COLORCYAN;
清仓: 3.5,COLOR0088FF;
试探建仓:0.2,COLORGREEN;
加仓:0.5, COLORYELLOW,LINETHICK2;
强弱分界线:1.75,POINTDOT,LINETHICK4,COLORDDDDDD;
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3.2,0),COLOR000033;
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),2.7,0),COLOR000066;
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),2.1,0),COLOR000099;
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),1.5,0),COLOR0000CC;
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),0.9,0),COLOR0000FF;
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),0.2,0),COLORCC66FF;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3.2,0),COLOR003300;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),2.7,0),COLOR006600;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),2.1,0),COLOR009900;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),1.5,0),COLOR00CC00;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),0.9,0),COLOR00FF00;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),0.2,0),COLORCCFF66;
STICKLINE(FILTER(CROSS(动力线,加仓),20),动力线,REF(动力线,1),3.2,0),COLOR000055;
STICKLINE(FILTER(CROSS(动力线,加仓),20),动力线,REF(动力线,1),2.7,0),COLOR0000AA;
STICKLINE(FILTER(CROSS(动力线,加仓),20),动力线,REF(动力线,1),2.1,0),COLOR0000FF;
STICKLINE(FILTER(CROSS(动力线,加仓),20),动力线,REF(动力线,1),1.5,0),COLOR0055FF;
STICKLINE(FILTER(CROSS(动力线,加仓),20),动力线,REF(动力线,1),0.9,0),COLOR0099FF;
STICKLINE(FILTER(CROSS(动力线,加仓),20),动力线,REF(动力线,1),0.2,0),COLOR00DDFF;
STICKLINE(FILTER(CROSS(清仓,动力线),20),动力线,REF(动力线,1),3.2,0),COLOR990000;
STICKLINE(FILTER(CROSS(清仓,动力线),20),动力线,REF(动力线,1),2.7,0),COLORCC0000;
STICKLINE(FILTER(CROSS(清仓,动力线),20),动力线,REF(动力线,1),2.1,0),COLORFF4400;
STICKLINE(FILTER(CROSS(清仓,动力线),20),动力线,REF(动力线,1),1.5,0),COLORFF8800;
STICKLINE(FILTER(CROSS(清仓,动力线),20),动力线,REF(动力线,1),0.9,0),COLORFFCC00;
STICKLINE(FILTER(CROSS(清仓,动力线),20),动力线,REF(动力线,1),0.2,0),COLORFFCC00;
STICKLINE(FILTER(CROSS(动力线,试探建仓),20),动力线,REF(动力线,1),3.2,0),COLOR000055;
STICKLINE(FILTER(CROSS(动力线,试探建仓),20),动力线,REF(动力线,1),2.7,0),COLOR0000AA;
STICKLINE(FILTER(CROSS(动力线,试探建仓),20),动力线,REF(动力线,1),2.1,0),COLOR0000FF;
STICKLINE(FILTER(CROSS(动力线,试探建仓),20),动力线,REF(动力线,1),1.5,0),COLOR0055FF;
STICKLINE(FILTER(CROSS(动力线,试探建仓),20),动力线,REF(动力线,1),0.9,0),COLOR0099FF;
STICKLINE(FILTER(CROSS(动力线,试探建仓),20),动力线,REF(动力线,1),0.2,0),COLOR00DDFF;
STICKLINE(FILTER(CROSS(减仓,动力线),20),动力线,REF(动力线,1),3.2,0),COLOR990000;
STICKLINE(FILTER(CROSS(减仓,动力线),20),动力线,REF(动力线,1),2.7,0),COLORCC0000;
STICKLINE(FILTER(CROSS(减仓,动力线),20),动力线,REF(动力线,1),2.1,0),COLORFF4400;
STICKLINE(FILTER(CROSS(减仓,动力线),20),动力线,REF(动力线,1),1.5,0),COLORFF8800;
STICKLINE(FILTER(CROSS(减仓,动力线),20),动力线,REF(动力线,1),0.9,0),COLORFFCC00;
STICKLINE(FILTER(CROSS(减仓,动力线),20),动力线,REF(动力线,1),0.2,0),COLORFFCC00;

常用黄金指标之黄金果指标(波段之王)

VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=MA(VAR1,7);
VAR3:=VAR2-MA(VAR1,7/2)<0;
VAR4:=VAR2-MA(VAR1,7/2)>0;
VAR5:=BARSLAST(VAR3);
VAR6:=0-BARSLAST(VAR4);
VAR7:=IF(VAR3<=0,VAR5,VAR6);
SVAR: (-1)*VAR7;
STICKLINE(CLOSE>REF(CLOSE,1),0,SVAR,3.2,0),COLOR000033;
STICKLINE(CLOSE>REF(CLOSE,1),0,SVAR,2.7,0),COLOR000066;
STICKLINE(CLOSE>REF(CLOSE,1),0,SVAR,2.1,0),COLOR000099;
STICKLINE(CLOSE>REF(CLOSE,1),0,SVAR,1.5,0),COLOR0000CC;
STICKLINE(CLOSE>REF(CLOSE,1),0,SVAR,0.9,0),COLOR0000FF;
STICKLINE(CLOSE>REF(CLOSE,1),0,SVAR,0.2,0),COLORCC66FF;
STICKLINE(CLOSE<REF(CLOSE,1),0,SVAR,3.2,0),COLOR003300;
STICKLINE(CLOSE<REF(CLOSE,1),0,SVAR,2.7,0),COLOR006600;
STICKLINE(CLOSE<REF(CLOSE,1),0,SVAR,2.1,0),COLOR009900;
STICKLINE(CLOSE<REF(CLOSE,1),0,SVAR,1.5,0),COLOR00CC00;
STICKLINE(CLOSE<REF(CLOSE,1),0,SVAR,0.9,0),COLOR00FF00;
STICKLINE(CLOSE<REF(CLOSE,1),0,SVAR,0.2,0),COLORCCFF66;
强弱分界线: 0, CIRCLEDOT,COLORYELLOW,CIRCLEDOT,LINETHICK2;
DRAWICON(CROSS(SVAR,强弱分界线),-1,17);

常用黄金指标之黄金柱指标(秒杀MACD 有未来函数


JJ :=(C*2+H+L)/4;
SKK :( EMA(JJ,13) - EMA(JJ,21))*180,COLORRED,LINETHICK2;
SDD : EMA(SKK,2),COLORBLUE;
多方: (SKK-SDD)*0.000000001,COLORRED,LINETHICK2;
空方: -1*(SKK-SDD)*0.000000001,COLORGREEN,LINETHICK2;
RC:=DYNAINFO(3);
RC,COLORWHITE;
MAV:=(2*C+H+L)/4;
SK:=(SLOPE(EMA(MAV,2),7)*15+MAV)*0.8*0.0001;
SD:=EMA(SK,2);
SJ:=2.8*SK-1.8*SD;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=2*(S2-S6)*15*4*1.5;
STICKLINE(SK>SD AND DK<RC OR DK=RC,RC,RC+DK, 3.2,0),COLOR000033;
STICKLINE(SK>SD AND DK<RC OR DK=RC,RC,RC+DK, 2.7,0),COLOR000066;
STICKLINE(SK>SD AND DK<RC OR DK=RC,RC,RC+DK, 2.1,0),COLOR000099;
STICKLINE(SK>SD AND DK<RC OR DK=RC,RC,RC+DK, 1.5,0),COLOR0000CC;
STICKLINE(SK>SD AND DK<RC OR DK=RC,RC,RC+DK, 0.9,0),COLOR0000FF;
STICKLINE(SK>SD AND DK<RC OR DK=RC,RC,RC+DK, 0.2,0),COLORCC66FF;
STICKLINE(DK>0 AND SK>SD ,RC,RC+DK, 3.2,0),COLOR770077;
STICKLINE(DK>0 AND SK>SD ,RC,RC+DK, 2.7,0),COLOR990099;
STICKLINE(DK>0 AND SK>SD ,RC,RC+DK, 2.1,0),COLORBB00BB;
STICKLINE(DK>0 AND SK>SD ,RC,RC+DK, 1.5,0),COLORDD00DD;
STICKLINE(DK>0 AND SK>SD ,RC,RC+DK, 0.9,0),COLORFF00FF;
STICKLINE(DK>0 AND SK>SD ,RC,RC+DK, 0.2,0),COLORFF33FF;
STICKLINE(DK>0 AND SK<SD ,RC,RC+DK,3.2,0),COLOR995500;
STICKLINE(DK>0 AND SK<SD ,RC,RC+DK,2.7,0),COLORCC5500;
STICKLINE(DK>0 AND SK<SD ,RC,RC+DK,2.1,0),COLORFF5500;
STICKLINE(DK>0 AND SK<SD ,RC,RC+DK,1.5,0),COLORFFAA00;
STICKLINE(DK>0 AND SK<SD ,RC,RC+DK,0.9,0),COLORFFCC00;
STICKLINE(DK>0 AND SK<SD ,RC,RC+DK,0.2,0),COLORFFEE00;
STICKLINE(DK>0 AND 多方<空方,RC,RC+DK,3.2,0),COLOR003300;
STICKLINE(DK>0 AND 多方<空方,RC,RC+DK,2.7,0),COLOR006600;
STICKLINE(DK>0 AND 多方<空方,RC,RC+DK,2.1,0),COLOR009900;
STICKLINE(DK>0 AND 多方<空方,RC,RC+DK,1.5,0),COLOR00CC00;
STICKLINE(DK>0 AND 多方<空方,RC,RC+DK,0.9,0),COLOR00FF00;
STICKLINE(DK>0 AND 多方<空方,RC,RC+DK,0.2,0),COLORCCFF66;
STICKLINE(CROSS(多方,空方),RC,RC+DK, 3.2,0),COLOR000055;
STICKLINE(CROSS(多方,空方),RC,RC+DK, 2.7,0),COLOR0000AA;
STICKLINE(CROSS(多方,空方),RC,RC+DK, 2.1,0),COLOR0000FF;
STICKLINE(CROSS(多方,空方),RC,RC+DK, 1.5,0),COLOR0055FF;
STICKLINE(CROSS(多方,空方),RC,RC+DK, 0.9,0),COLOR0099FF;
STICKLINE(CROSS(多方,空方),RC,RC+DK, 0.2,0),COLOR00DDFF;
STICKLINE(CROSS(空方,多方),RC,RC+DK, 3.2,0),COLOR003300;
STICKLINE(CROSS(空方,多方),RC,RC+DK, 2.7,0),COLOR006600;
STICKLINE(CROSS(空方,多方),RC,RC+DK, 2.1,0),COLOR009900;
STICKLINE(CROSS(空方,多方),RC,RC+DK, 1.5,0),COLOR00CC00;
STICKLINE(CROSS(空方,多方),RC,RC+DK, 0.9,0),COLOR00FF00;
STICKLINE(CROSS(空方,多方),RC,RC+DK, 0.2,0),COLORCCFF66;
STICKLINE(DK<0 AND 多方<空方 AND SK<SD,RC,RC+DK, 3.2,0),COLOR003300;
STICKLINE(DK<0 AND 多方<空方 AND SK<SD,RC,RC+DK, 2.7,0),COLOR006600;
STICKLINE(DK<0 AND 多方<空方 AND SK<SD,RC,RC+DK, 2.1,0),COLOR009900;
STICKLINE(DK<0 AND 多方<空方 AND SK<SD,RC,RC+DK, 1.5,0),COLOR00CC00;
STICKLINE(DK<0 AND 多方<空方 AND SK<SD,RC,RC+DK, 0.9,0),COLOR00FF00;
STICKLINE(DK<0 AND 多方<空方 AND SK<SD,RC,RC+DK, 0.2,0),COLORCCFF66;

常用黄金指标之成交量指标(秒杀成交量VOL)

万手:VOL/10000,LINETHICK0;
AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
预测:AA/10000;
BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主买:主动买/10000,COLORRED;
主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2));
主卖:-主动卖/10000,COLORGREEN;
差额:(主动买+主动卖)/10000;
STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,3.5,0),COLORWHITE;
STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,3.5,0),COLORRED;
STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,3.5,0),COLORGREEN;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.5 , 0 ) , COLOR00FFFF ;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.2 , 0 ) , COLOR007777 ;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.7 , 0 ) , COLOR009999 ;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.1 , 0 ) , COLOR00BBBB ;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 1.5 , 0 ) , COLOR00DDEE ;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.9 , 0 ) , COLOR66FFFF ;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.2 , 0 ) , COLORFFFFFF ;
STICKLINE(主动买>=0,VOL,-主动卖,3.2,0),COLOR000033;
STICKLINE(主动买>=0,VOL,-主动卖,2.7,0),COLOR000066;
STICKLINE(主动买>=0,VOL,-主动卖,2.1,0),COLOR000099;
STICKLINE(主动买>=0,VOL,-主动卖,1.5,0),COLOR0000CC;
STICKLINE(主动买>=0,VOL,-主动卖,0.9,0),COLOR0000FF;
STICKLINE(主动买>=0,VOL,-主动卖,0.2,0),COLORCC66FF;
STICKLINE(主动卖<=0,0,-主动卖,3.2,0),COLOR990000;
STICKLINE(主动卖<=0,0,-主动卖,2.7,0),COLORCC0000;
STICKLINE(主动卖<=0,0,-主动卖,2.1,0),COLORFF4400;
STICKLINE(主动卖<=0,0,-主动卖,1.5,0),COLORFF8800;
STICKLINE(主动卖<=0,0,-主动卖,0.9,0),COLORFFCC00;
STICKLINE(主动卖<=0,0,-主动卖,0.2,0),COLORCYAN;
持币:IF(SAR(10,2,20)>=H,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORGREEN;
持股:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORRED;
五日: MA(V,5)COLORYELLOW;
十日: MA(V,10)COLORRED;



 






乍一看,黄金底和KDJ指标的J线十分相似,
但是他比KDJ指标优越的地方在于他提示的黄金底比KDJ的金叉时间提前几点,
这样,获利会更大,而且KDJ的金叉非常多,不准的金叉就非常的多,
而黄金底的金柱较少,能较好的把握真正上涨的波段




指标用法:
如图,有许多金色的圆球,这就是黄金果指标,
当出现黄金果时提示买入
(倒过来的三角后面的黄金果比正过来的三角后面出现的黄金果相对要准确),
用这个指标抓一些小的波段参考价值还是很高的。
黄金果配合黄金柱选股比较准确~




从图中可以看到,黄金柱指标与MACD指标几乎相同,只是多了些颜色,但这些颜色比只有红蓝色的MACD指标有用的多,
为何称之为黄金柱?相信大家从图中也看出来了,其中有些柱子外面包有金色的线,
那是黄金柱指标提示的买入信号,而在这些柱子中,又以小的柱子和反过来的柱子的准确度相对要高。
最后我要说的是,指标不是万能的,只是伴随你选股的一种方法而已。




成交量指标与一般传统的成交量指标VOL及其类似,而他的好处在于不但集合了VOL能统计当天成交额的多少,同时还能测出主力买卖的多少,柱子中的红色和蓝色分别为主买和住买的量,而柱子最下方的红点与绿点是其指标发出的可持有或卖出的信号,当绿点变红点时可买入,红点变绿点时可卖出


[url=http://www.goodgupiao.com/gupiaogongshi/30283.html][B]常用四个黄金指标,内含四个副图源码,说明[/B][/url]