通达信擒牛指标公式,擒牛指标公式网
以下是通达信擒牛指标公式(无源码的请下载附件导入)通达信擒牛指标公式
A:=MA(C,3),LINETHICK2,COLORYELLOW;
B:MA(CLOSE,5),LINETHICK1,COLORRED;
CC:MA(CLOSE,10),LINETHICK1,COLORGREEN;
D:=MA(CLOSE,20),LINETHICK2,COLORBLUE;
E:MA(CLOSE,30),LINETHICK2,COLORWHITE;
F:=MA(CLOSE,40),LINETHICK2,COLORMAGENTA;
G:=MA(CLOSE,50),LINETHICK1,COLORBROWN;
HH:MA(CLOSE,60),LINETHICK3,COLORGRAY;
I:=MA(CLOSE,70),LINETHICK1,COLORGRAY;
J:=MA(CLOSE,80),LINETHICK1,COLORYELLOW;
K:MA(CLOSE,90),LINETHICK1,COLORRED;
LL:=MA(CLOSE,100),LINETHICK1,COLORGREEN;
M:=MA(CLOSE,110),LINETHICK1,COLORBLUE;
N:MA(CLOSE,120),LINETHICK1,COLORWHITE;
OO:=MA(CLOSE,130),LINETHICK1,COLORMAGENTA;
PP:=MA(CLOSE,140),LINETHICK1,COLORBROWN;
Q:=MA(CLOSE,150),LINETHICK1,COLORGRAY;
R:MA(CLOSE,160),LINETHICK1,COLORGRAY;
S:=MA(CLOSE,170),LINETHICK1,COLORYELLOW;
T:MA(CLOSE,180),LINETHICK1,COLORRED;
U:=MA(CLOSE,190),LINETHICK1,COLORGREEN;
VV:MA(CLOSE,200),LINETHICK1,COLORBLUE;
W:=MA(CLOSE,210),LINETHICK1,COLORWHITE;
X:MA(CLOSE,220),LINETHICK1,COLORMAGENTA;
Y:=MA(CLOSE,230),LINETHICK1,COLORBROWN;
Z:=MA(CLOSE,240),LINETHICK1,COLORGRAY;
A1:MA(CLOSE,250),LINETHICK1,COLORGRAY;
A2:=MA(CLOSE,260),LINETHICK1,COLORYELLOW;
A3:=MA(CLOSE,270),LINETHICK1,COLORRED;
A4:=MA(CLOSE,280),LINETHICK1,COLORGREEN;
A5:MA(CLOSE,290),LINETHICK1,COLORBLUE;
A6:=MA(CLOSE,300),LINETHICK1,COLORWHITE;
A7:=MA(CLOSE,310),LINETHICK1,COLORMAGENTA;
A8:=MA(CLOSE,320),LINETHICK1,COLORBROWN;
A9:=MA(CLOSE,330),LINETHICK1,COLORGRAY;
A10:MA(CLOSE,340),LINETHICK1,COLORGRAY;
A11:=MA(CLOSE,350),LINETHICK1,COLORYELLOW;
A12:MA(CLOSE,360),LINETHICK1,COLORRED;
A13:MA(CLOSE,370),LINETHICK1,COLORGREEN;
牛熊线:EMA(C,250),CIRCLEDOT,COLOR00FFFF;
{obv}
{OBV新高}
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
OBV最高:=HHV(OBV,200);
OBV创新高:=OBV>REF(OBV最高,1);
DRAWICON(OBV创新高>0,l,4);
以下是通达信风行一线擒牛副图指标(无源码的请下载附件导入)
使用方法:1.指标共分五个区域:底部,介入,安全,强势,逃顶;战友们可在底部和介入区域需找合适的介入点,在强势区域持股,顶部区域出现 背离逃顶;
2.加入MACD日线,周线,月线金叉,死叉提示,目的是作为大趋势的研判;
3.指标操作线变色提示近期趋势;
4.操作线金叉,死叉区域分界线作为介入,卖出的依据;
5.更多操作方法详见贴图!
{N1 2 250 4}
{日MACD}
日DIF:="MACD.DIF#DAY";
日DEA:="MACD.DEA#DAY";
日死叉:STICKLINE(日DIF<日DEA,100,99.9,5,0),COLORGREEN;
日金叉:STICKLINE(日DIF>日DEA,100,99.9,5,0),COLORRED;
DRAWTEXT(ISLASTBAR,100,'日'),COLORWHITE;
{周MACD}
周DIF:="MACD.DIF#WEEK"(12,26,9);
周DEA:="MACD.DEA#WEEK"(12,26,9);
周死叉:STICKLINE(周DIF<周DEA,34,33.9,5,0),COLORGREEN;
周金叉:STICKLINE(周DIF>周DEA,34,33.9,5,0),COLORRED;
DRAWTEXT(ISLASTBAR,33,'--周'),COLORYELLOW;
{月MACD}
月DIF:="MACD.DIF#MONTH"(12,26,9);
月DEA:="MACD.DEA#MONTH"(12,26,9);
月死叉:STICKLINE(月DIF<月DEA,-10,-9.9,5,0),COLORGREEN;
月金叉:STICKLINE(月DIF>月DEA,-10,-9.9,5,0),COLORRED;
DRAWTEXT(ISLASTBAR,-7,'--月'),COLORLIGRAY;
LC:=REF(CLOSE,1);
风行操作线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)) *100,5,1),3,1),COLORWHITE;
IF(风行操作线>=REF(风行操作线,1),风行操作线,DRAWNULL),COLORRED,LINETHICK2;
顶部:100,COLORFFFF00,LINETHICK2,NODRAW;
强区:77,COLORFF85FF,DOTLINE;逃顶区:90,COLORYELLOW,DOTLINE;
生命线:34.00,COLORRED,NODRAW;
抢反弹:10,COLORYELLOW,DOTLINE;
底部:-10,COLORYELLOW,LINETHICK2,NODRAW;
DRAWTEXT(CURRBARSCOUNT=38,0,'底部区'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=38,20,'介入区'),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=38,55,'安全区'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=38,83,'强势区'),COLOR0000FF;
DRAWTEXT(CURRBARSCOUNT=38,94,'逃顶区'),COLOR00FF00;
文章引用数据来源知名财经网站,如东方财富网,新浪财经等。