首页 > 专栏 > 机构专栏 > 机构白银>正文

与macd配合使用的指标公式(macd顶背离和底背离指标公式?)

机构白银
来源:中亿财经网 作者:gengxing 时间:2023-09-10 21:00:20
1. macd顶背离和底背离指标公式?MACD(Moving Average Convergence Divergence)指标包括MACD线、信号线(Signal Line)和柱状图(Histogram)。它是一种判断趋势和买卖信

1. macd顶背离和底背离指标公式?

MACD(Moving Average Convergence Divergence)指标包括MACD线、信号线(Signal Line)和柱状图(Histogram)。它是一种判断趋势和买卖信号的技术指标。下面简单介绍MACD指标的公式和背离形态定义:k3V中亿财经网财经门户

1. MACD线的计算公式k3V中亿财经网财经门户

MACD Line = 12日EMA线 - 26日EMA线k3V中亿财经网财经门户

其中,EMA是指数平均数,计算方式为:今日EMA(12)= 前一日EMA(12)×11/13 + 今日收盘价×2/13。今日EMA(26)的计算公式类似。k3V中亿财经网财经门户

2. 信号线的计算公式k3V中亿财经网财经门户

Signal Line = 9日MACD Line的EMA平均值k3V中亿财经网财经门户

计算方式为:今日EMA(9) = 前一日EMA(9)×8/10 + 今日MACD Line×2/10k3V中亿财经网财经门户

3. 柱状图的计算公式k3V中亿财经网财经门户

Histogram = MACD Line - Signal Linek3V中亿财经网财经门户

4. MACD顶背离和底背离形态的定义k3V中亿财经网财经门户

(1)MACD顶背离:指股票价格连续创新高(顶部),而MACD指标形成了不同的高点(顶部)。k3V中亿财经网财经门户

(2)MACD底背离:指股票价格连续创新低(底部),而MACD指标形成了不同的低点(底部)。k3V中亿财经网财经门户

这些背离形态可表示出市场的力量失衡,为该股票的反转提供了信号。但需要注意,背离形态只是一种参考,需要结合其他技术指标和市场趋势等因素综合判断是否发出买卖信号。k3V中亿财经网财经门户

2. macd顶背离和底背离指标公式?

MACD(Moving Average Convergence Divergence)指标包括MACD线、信号线(Signal Line)和柱状图(Histogram)。它是一种判断趋势和买卖信号的技术指标。下面简单介绍MACD指标的公式和背离形态定义:k3V中亿财经网财经门户

1. MACD线的计算公式k3V中亿财经网财经门户

MACD Line = 12日EMA线 - 26日EMA线k3V中亿财经网财经门户

其中,EMA是指数平均数,计算方式为:今日EMA(12)= 前一日EMA(12)×11/13 + 今日收盘价×2/13。今日EMA(26)的计算公式类似。k3V中亿财经网财经门户

2. 信号线的计算公式k3V中亿财经网财经门户

Signal Line = 9日MACD Line的EMA平均值k3V中亿财经网财经门户

计算方式为:今日EMA(9) = 前一日EMA(9)×8/10 + 今日MACD Line×2/10k3V中亿财经网财经门户

3. 柱状图的计算公式k3V中亿财经网财经门户

Histogram = MACD Line - Signal Linek3V中亿财经网财经门户

4. MACD顶背离和底背离形态的定义k3V中亿财经网财经门户

(1)MACD顶背离:指股票价格连续创新高(顶部),而MACD指标形成了不同的高点(顶部)。k3V中亿财经网财经门户

(2)MACD底背离:指股票价格连续创新低(底部),而MACD指标形成了不同的低点(底部)。k3V中亿财经网财经门户

这些背离形态可表示出市场的力量失衡,为该股票的反转提供了信号。但需要注意,背离形态只是一种参考,需要结合其他技术指标和市场趋势等因素综合判断是否发出买卖信号。k3V中亿财经网财经门户

3. macd顶背离和底背离指标公式?

MACD(Moving Average Convergence Divergence)指标包括MACD线、信号线(Signal Line)和柱状图(Histogram)。它是一种判断趋势和买卖信号的技术指标。下面简单介绍MACD指标的公式和背离形态定义:k3V中亿财经网财经门户

1. MACD线的计算公式k3V中亿财经网财经门户

MACD Line = 12日EMA线 - 26日EMA线k3V中亿财经网财经门户

其中,EMA是指数平均数,计算方式为:今日EMA(12)= 前一日EMA(12)×11/13 + 今日收盘价×2/13。今日EMA(26)的计算公式类似。k3V中亿财经网财经门户

2. 信号线的计算公式k3V中亿财经网财经门户

Signal Line = 9日MACD Line的EMA平均值k3V中亿财经网财经门户

计算方式为:今日EMA(9) = 前一日EMA(9)×8/10 + 今日MACD Line×2/10k3V中亿财经网财经门户

3. 柱状图的计算公式k3V中亿财经网财经门户

Histogram = MACD Line - Signal Linek3V中亿财经网财经门户

4. MACD顶背离和底背离形态的定义k3V中亿财经网财经门户

(1)MACD顶背离:指股票价格连续创新高(顶部),而MACD指标形成了不同的高点(顶部)。k3V中亿财经网财经门户

(2)MACD底背离:指股票价格连续创新低(底部),而MACD指标形成了不同的低点(底部)。k3V中亿财经网财经门户

这些背离形态可表示出市场的力量失衡,为该股票的反转提供了信号。但需要注意,背离形态只是一种参考,需要结合其他技术指标和市场趋势等因素综合判断是否发出买卖信号。k3V中亿财经网财经门户

4. macd顶背离和底背离指标公式?

MACD(Moving Average Convergence Divergence)指标包括MACD线、信号线(Signal Line)和柱状图(Histogram)。它是一种判断趋势和买卖信号的技术指标。下面简单介绍MACD指标的公式和背离形态定义:k3V中亿财经网财经门户

1. MACD线的计算公式k3V中亿财经网财经门户

MACD Line = 12日EMA线 - 26日EMA线k3V中亿财经网财经门户

其中,EMA是指数平均数,计算方式为:今日EMA(12)= 前一日EMA(12)×11/13 + 今日收盘价×2/13。今日EMA(26)的计算公式类似。k3V中亿财经网财经门户

2. 信号线的计算公式k3V中亿财经网财经门户

Signal Line = 9日MACD Line的EMA平均值k3V中亿财经网财经门户

计算方式为:今日EMA(9) = 前一日EMA(9)×8/10 + 今日MACD Line×2/10k3V中亿财经网财经门户

3. 柱状图的计算公式k3V中亿财经网财经门户

Histogram = MACD Line - Signal Linek3V中亿财经网财经门户

4. MACD顶背离和底背离形态的定义k3V中亿财经网财经门户

(1)MACD顶背离:指股票价格连续创新高(顶部),而MACD指标形成了不同的高点(顶部)。k3V中亿财经网财经门户

(2)MACD底背离:指股票价格连续创新低(底部),而MACD指标形成了不同的低点(底部)。k3V中亿财经网财经门户

这些背离形态可表示出市场的力量失衡,为该股票的反转提供了信号。但需要注意,背离形态只是一种参考,需要结合其他技术指标和市场趋势等因素综合判断是否发出买卖信号。k3V中亿财经网财经门户

5. macd十ccl指标组合公式?

TYP:=(HIGH+LOW+CLOSE)/3;CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORWHITE,NODRAW;NOTEXTCCI:CCI/500,LINETHICK1,COLORFF33FF;DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORWHITE;DEA:EMA(DIF,9),COLORYELLOW;MACD:(DIF-DEA)*2,COLORSTICK;0;{CCI 100 -100 线}STICKLINE(C>0,100/500,100/500,1,-1)COLORWHITE;DRAWTEXT(ISLASTBAR,100/500,'CCI正100'),COLORWHITE;STICKLINE(C>0,-100/500,-100/500,1,-1)COLORWHITE;DRAWTEXT(ISLASTBAR,-100/500,'CCI负-100'),COLORWHITE;k3V中亿财经网财经门户

6. BBI和MACD可以这样搭配用,你知道吗?

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;忽略以上公式。 根据思路编写公式,修改公式。盘中预警,条件选股。公式解密,去除时间限制。鼠标点击下方 我 的 名 字 或(图 标)上,进入 可 看到 Q,订 制 公式k3V中亿财经网财经门户

7. macd十ccl指标组合公式?

TYP:=(HIGH+LOW+CLOSE)/3;CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORWHITE,NODRAW;NOTEXTCCI:CCI/500,LINETHICK1,COLORFF33FF;DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORWHITE;DEA:EMA(DIF,9),COLORYELLOW;MACD:(DIF-DEA)*2,COLORSTICK;0;{CCI 100 -100 线}STICKLINE(C>0,100/500,100/500,1,-1)COLORWHITE;DRAWTEXT(ISLASTBAR,100/500,'CCI正100'),COLORWHITE;STICKLINE(C>0,-100/500,-100/500,1,-1)COLORWHITE;DRAWTEXT(ISLASTBAR,-100/500,'CCI负-100'),COLORWHITE;k3V中亿财经网财经门户

8. 求通达信公式,MACD金叉,5日10日均量线金叉5日10日均价线金叉的公式?

{通达信公式 MACD金叉} DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); CROSS(DIF,DEA); { 5日10日均量线金叉} CROSS(MA(V,5),MA(V,10));{ 5日10日均价线金叉} CROSS(MA(C,5),MA(C,10));k3V中亿财经网财经门户

k3V中亿财经网财经门户

9. macd与cci最佳组合指标公式?

经典指标MACD+CCI之绝佳配合公式k3V中亿财经网财经门户

趋势类指标MACD+摆荡类指标CCI,个人在运用中觉得蛮不错,一文一武,一动一静,绝佳搭 配。MACD定方向,CCI定介入点。 k3V中亿财经网财经门户

10. macd与cci最佳组合指标公式?

经典指标MACD+CCI之绝佳配合公式k3V中亿财经网财经门户

趋势类指标MACD+摆荡类指标CCI,个人在运用中觉得蛮不错,一文一武,一动一静,绝佳搭 配。MACD定方向,CCI定介入点。 k3V中亿财经网财经门户

11. kdj和macd组合指标公式?

KDj指标的计算公式为:K=(C-Ln)/(Hn-Ln)×100D=SMA(K, N)J=3*K-2*D其中,C表示当日的收盘价,Ln表示N日内的最低价,Hn表示N日内的最高价,K、D、J分别表示当日的K值、D值、J值,N为计算周期。MACD指标的计算公式为:DIF=EMA(C,SHORT)-EMA(C,LONG)DEA=EMA(DIF,MID)MACD=2×(DIF-DEA)其中,C表示当日的收盘价,SHORT、LONG、MID分别表示DIF、DEA的计算周期。k3V中亿财经网财经门户

12. BBI和MACD可以这样搭配用,你知道吗?

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;忽略以上公式。 根据思路编写公式,修改公式。盘中预警,条件选股。公式解密,去除时间限制。鼠标点击下方 我 的 名 字 或(图 标)上,进入 可 看到 Q,订 制 公式k3V中亿财经网财经门户

13. 求通达信公式,MACD金叉,5日10日均量线金叉5日10日均价线金叉的公式?

{通达信公式 MACD金叉} DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); CROSS(DIF,DEA); { 5日10日均量线金叉} CROSS(MA(V,5),MA(V,10));{ 5日10日均价线金叉} CROSS(MA(C,5),MA(C,10));k3V中亿财经网财经门户

k3V中亿财经网财经门户

14. macd与cci最佳组合指标公式?

经典指标MACD+CCI之绝佳配合公式k3V中亿财经网财经门户

趋势类指标MACD+摆荡类指标CCI,个人在运用中觉得蛮不错,一文一武,一动一静,绝佳搭 配。MACD定方向,CCI定介入点。 k3V中亿财经网财经门户

15. kdj和macd组合指标公式?

KDj指标的计算公式为:K=(C-Ln)/(Hn-Ln)×100D=SMA(K, N)J=3*K-2*D其中,C表示当日的收盘价,Ln表示N日内的最低价,Hn表示N日内的最高价,K、D、J分别表示当日的K值、D值、J值,N为计算周期。MACD指标的计算公式为:DIF=EMA(C,SHORT)-EMA(C,LONG)DEA=EMA(DIF,MID)MACD=2×(DIF-DEA)其中,C表示当日的收盘价,SHORT、LONG、MID分别表示DIF、DEA的计算周期。k3V中亿财经网财经门户

16. 求通达信公式,MACD金叉,5日10日均量线金叉5日10日均价线金叉的公式?

{通达信公式 MACD金叉} DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); CROSS(DIF,DEA); { 5日10日均量线金叉} CROSS(MA(V,5),MA(V,10));{ 5日10日均价线金叉} CROSS(MA(C,5),MA(C,10));k3V中亿财经网财经门户

k3V中亿财经网财经门户

17. BBI和MACD可以这样搭配用,你知道吗?

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;忽略以上公式。 根据思路编写公式,修改公式。盘中预警,条件选股。公式解密,去除时间限制。鼠标点击下方 我 的 名 字 或(图 标)上,进入 可 看到 Q,订 制 公式k3V中亿财经网财经门户

18. macd金叉画横线的公式?

MACD月线金叉——k3V中亿财经网财经门户

CROSS(MACD.DIF#MONTH,MACD.DEA#MONTH);k3V中亿财经网财经门户

翻译:平滑异同平均的DIF[取月线数据]上穿平滑异同平均的DEA[取月线数据]k3V中亿财经网财经门户

股价刚刚回踩60周线均线或者不高于60周线均线价格的10%——k3V中亿财经网财经门户

VAR1:=MA.MA4#WEEK;k3V中亿财经网财经门户

C>VAR1 AND (C-VAR1)/VAR1k3V中亿财经网财经门户

翻译:VAR1赋值:简单移动平均.MA4[取周线数据]k3V中亿财经网财经门户

收盘价>VAR1 AND (收盘价-VAR1)/VAR1k3V中亿财经网财经门户

(通达信 供参考) k3V中亿财经网财经门户

19. 求通达信公式,MACD金叉,5日10日均量线金叉5日10日均价线金叉的公式?

{通达信公式 MACD金叉} DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); CROSS(DIF,DEA); { 5日10日均量线金叉} CROSS(MA(V,5),MA(V,10));{ 5日10日均价线金叉} CROSS(MA(C,5),MA(C,10));k3V中亿财经网财经门户

k3V中亿财经网财经门户

20. macd变色指标公式?

MACD变色公式k3V中亿财经网财经门户

源码k3V中亿财经网财经门户

//MACD变色V4 +金叉买入指标公式k3V中亿财经网财经门户

//20150328 DIFF上穿0轴后在0轴上第一次死叉后又金叉k3V中亿财经网财经门户

//20150329 MACD多头二次翻红k3V中亿财经网财经门户

DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite,LINETHICK1;k3V中亿财经网财经门户

DEA: EMA(DIFF,9),coloryellow,LINETHICK1;k3V中亿财经网财经门户

MACD: 2*(DIFF-DEA),colorred,NODRAW;k3V中亿财经网财经门户

Zero: 0,colorff7f00,LINETHICK1;k3V中亿财经网财经门户

N:=IF(BARSCOUNT(C)<=5,MA(C,2),MA(C,5));k3V中亿财经网财经门户

角度:((ATAN((N - REF(N,1))) * 3.1416) * 10),NODRAW,colorcyan;k3V中亿财经网财经门户

//角度:((ATAN((MA(C,5) - REF(MA(C,5) ,1))) * 3.1416) * 10),NODRAW;k3V中亿财经网财经门户

流通股:SHGZG/10000/10000,NODRAW,colorff7f00;k3V中亿财经网财经门户

资本公积:GJJ/ZGB,NODRAW;k3V中亿财经网财经门户

//CCI抄底k3V中亿财经网财经门户

N:=14;k3V中亿财经网财经门户

TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;k3V中亿财经网财经门户

CCI: (TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),colorffff00,NODRAW;k3V中亿财经网财经门户

//红色k3V中亿财经网财经门户

STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;k3V中亿财经网财经门户

//墨绿k3V中亿财经网财经门户

STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),colorffff00;k3V中亿财经网财经门户

//洋红k3V中亿财经网财经门户

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;k3V中亿财经网财经门户

//绿色k3V中亿财经网财经门户

STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;k3V中亿财经网财经门户

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.2;k3V中亿财经网财经门户

贴近零轴金叉:=CROSS(DIFF,DEA) AND MACD>0 AND BETWEEN(DIFF,-0.03,0.03);k3V中亿财经网财经门户

//VERLINE(水上低位金叉,1),colorwhite;k3V中亿财经网财经门户

//DRAWTEXT(低位金叉,DIFF*1.1,'低位'),color00aaff;k3V中亿财经网财经门户

AA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));k3V中亿财经网财经门户

一次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=1,21)=1;k3V中亿财经网财经门户

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=2,21)=1;k3V中亿财经网财经门户

三次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=3,21)=1;k3V中亿财经网财经门户

四次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=4,21)=1;k3V中亿财经网财经门户

五次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=5,21)=1;k3V中亿财经网财经门户

//VERLINE(二次金叉,1),colorwhite;k3V中亿财经网财经门户

DRAWTEXT(一次金叉,DIFF*1.1,'①'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(一次金叉 AND 低位金叉,DIFF*1.1,'①低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(二次金叉,DIFF*1.1,'②'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(二次金叉 AND 低位金叉,DIFF*1.1,'②低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(三次金叉,DIFF*1.1,'③'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(三次金叉 AND 低位金叉,DIFF*1.1,'③低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(四次金叉,DIFF*1.1,'④'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(四次金叉 AND 低位金叉,DIFF*1.1,'④低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(五次金叉,DIFF*1.1,'⑤'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(五次金叉 AND 低位金叉,DIFF*1.1,'⑤低位'),color00aaff;k3V中亿财经网财经门户

//DIFF上穿0轴后在0轴上第一次死叉后又金叉 www.gszb.comk3V中亿财经网财经门户

AA:= CROSS(DIFF,DEA) AND DEA>0 ;k3V中亿财经网财经门户

BB:=BARSLAST(CROSS(DEA,DIFF)) AND DEA>0;k3V中亿财经网财经门户

CC:=REF(BARSLAST(CROSS(DIFF,0))<20,BARSLAST(CROSS(DEA,DIFF))+1);k3V中亿财经网财经门户

MACD死叉后金叉:= AA AND BB AND CC;k3V中亿财经网财经门户

DRAWTEXT(MACD死叉后金叉,DIFF*1.1+0.1,'①'),colorred;k3V中亿财经网财经门户

//MACD多头二次翻红k3V中亿财经网财经门户

FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);k3V中亿财经网财经门户

FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;k3V中亿财经网财经门户

FH3:=EMA(C,30)>=REF(EMA(C,30),1) AND COUNT(EMA(C,5)>EMA(C,10) AND EMA(C,10)>EMA(C,30),1)=1;k3V中亿财经网财经门户

FH4:=CROSS(C,EMA(C,30)) OR C>EMA(C,30);k3V中亿财经网财经门户

FH5:=FH1 AND FH2 AND FH3 AND FH4;k3V中亿财经网财经门户

FH6:=FH1 AND FH2 AND FH3 AND FH4 AND ABS((DIFF-DEA)/C)<0.018;k3V中亿财经网财经门户

FH7:=FH1 AND FH2 AND FH3 AND FH4 AND MACD<0.10;k3V中亿财经网财经门户

MACD多头二次翻红:=FH5 OR FH6 OR FH7;k3V中亿财经网财经门户

DRAWTEXT(MACD多头二次翻红 AND REF(CCI,1)<50,DIFF*1.1+0.05,'②'),colorred;k3V中亿财经网财经门户

//这个"二次翻红"指标除了满足原有的四个条件外,即:k3V中亿财经网财经门户

//一是MACD在零轴以上并且第二次收红柱;k3V中亿财经网财经门户

//二是MACD红柱大于等于零轴并且红柱缩短小于0.10以下;(实战0.111也行)k3V中亿财经网财经门户

//三是DIFF与DEA两线的粘合度小于0.018;k3V中亿财经网财经门户

//四是红柱连续缩短三天以上。k3V中亿财经网财经门户

//还基本满足了所描述的四个条件(即:k3V中亿财经网财经门户

//1、30日移动平均线由下跌变为走平或翘头向上,5日、10、30日移动平均线刚刚形成多头排列;k3V中亿财经网财经门户

//2、日K线刚刚上穿30日移动平均线或在30日移动平均线上方运行;k3V中亿财经网财经门户

//3、DIF在零轴下方与MACD金叉后可靠意义将会更大,在第一次翻红后,红柱开始缩短,越短越好,最好不要超过0轴的第一横线;k3V中亿财经网财经门户

//4、成交量由萎缩逐渐放大,特别是在二次翻红后,若能得到成交量的配合,该股后市向上冲击的力量会更大。)k3V中亿财经网财经门户

//该指标没有设计成交量这个条件。只要符合所涉及到的条件,就能在"二次翻红"起涨点选出股票。k3V中亿财经网财经门户

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));k3V中亿财经网财经门户

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);k3V中亿财经网财经门户

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));k3V中亿财经网财经门户

顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);k3V中亿财经网财经门户

DRAWLINE(A1=0,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;k3V中亿财经网财经门户

DRAWLINE(底背离,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;k3V中亿财经网财经门户

DRAWTEXT(底背离,REF(DEA,A1)*1.28,'+底背离'),COLORFF00FF;k3V中亿财经网财经门户

DRAWLINE(A2=0 ,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;k3V中亿财经网财经门户

DRAWLINE(顶背离,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;k3V中亿财经网财经门户

DRAWTEXT(顶背离,REF(DEA,A2)*1.18,'-顶背离'),colorgreen,LINETHICK2;k3V中亿财经网财经门户

//5日均线上穿24日均线k3V中亿财经网财经门户

MA5:=MA(C,5);k3V中亿财经网财经门户

MA24:=MA(C,24);k3V中亿财经网财经门户

LL:=IF(MACD<=0,MACD,-MACD);k3V中亿财经网财经门户

A1:=CROSS(MA5,MA24) OR (MA5>MA24 AND REF(MA5,1)<REF(MA24,1));k3V中亿财经网财经门户

A2:=MA(V,10)<V;k3V中亿财经网财经门户

A3:=IF(MACD<0,MACD>=REF(MACD,1),MACD<k3V中亿财经网财经门户

k3V中亿财经网财经门户

3);k3V中亿财经网财经门户

//五日内最大涨幅小于8%k3V中亿财经网财经门户

A4:=C>=O AND 角度<8 AND COUNT(C/O>1.08,5)<1;k3V中亿财经网财经门户

//日线买点:= MA5>MA24 AND REF(MA5,1)<REF(MA24,1) AND CCI<100;k3V中亿财经网财经门户

日线买点:= A1 AND A2 AND A3 AND A4;k3V中亿财经网财经门户

DRAWICON(日线买点,LL,"BUY");k3V中亿财经网财经门户

21. kdj和macd组合指标公式?

KDj指标的计算公式为:K=(C-Ln)/(Hn-Ln)×100D=SMA(K, N)J=3*K-2*D其中,C表示当日的收盘价,Ln表示N日内的最低价,Hn表示N日内的最高价,K、D、J分别表示当日的K值、D值、J值,N为计算周期。MACD指标的计算公式为:DIF=EMA(C,SHORT)-EMA(C,LONG)DEA=EMA(DIF,MID)MACD=2×(DIF-DEA)其中,C表示当日的收盘价,SHORT、LONG、MID分别表示DIF、DEA的计算周期。k3V中亿财经网财经门户

22. macd金叉画横线的公式?

MACD月线金叉——k3V中亿财经网财经门户

CROSS(MACD.DIF#MONTH,MACD.DEA#MONTH);k3V中亿财经网财经门户

翻译:平滑异同平均的DIF[取月线数据]上穿平滑异同平均的DEA[取月线数据]k3V中亿财经网财经门户

股价刚刚回踩60周线均线或者不高于60周线均线价格的10%——k3V中亿财经网财经门户

VAR1:=MA.MA4#WEEK;k3V中亿财经网财经门户

C>VAR1 AND (C-VAR1)/VAR1k3V中亿财经网财经门户

翻译:VAR1赋值:简单移动平均.MA4[取周线数据]k3V中亿财经网财经门户

收盘价>VAR1 AND (收盘价-VAR1)/VAR1k3V中亿财经网财经门户

(通达信 供参考) k3V中亿财经网财经门户

23. kdj和macd组合指标公式?

KDj指标的计算公式为:K=(C-Ln)/(Hn-Ln)×100D=SMA(K, N)J=3*K-2*D其中,C表示当日的收盘价,Ln表示N日内的最低价,Hn表示N日内的最高价,K、D、J分别表示当日的K值、D值、J值,N为计算周期。MACD指标的计算公式为:DIF=EMA(C,SHORT)-EMA(C,LONG)DEA=EMA(DIF,MID)MACD=2×(DIF-DEA)其中,C表示当日的收盘价,SHORT、LONG、MID分别表示DIF、DEA的计算周期。k3V中亿财经网财经门户

24. macd金叉画横线的公式?

MACD月线金叉——k3V中亿财经网财经门户

CROSS(MACD.DIF#MONTH,MACD.DEA#MONTH);k3V中亿财经网财经门户

翻译:平滑异同平均的DIF[取月线数据]上穿平滑异同平均的DEA[取月线数据]k3V中亿财经网财经门户

股价刚刚回踩60周线均线或者不高于60周线均线价格的10%——k3V中亿财经网财经门户

VAR1:=MA.MA4#WEEK;k3V中亿财经网财经门户

C>VAR1 AND (C-VAR1)/VAR1k3V中亿财经网财经门户

翻译:VAR1赋值:简单移动平均.MA4[取周线数据]k3V中亿财经网财经门户

收盘价>VAR1 AND (收盘价-VAR1)/VAR1k3V中亿财经网财经门户

(通达信 供参考) k3V中亿财经网财经门户

25. macd十ccl指标组合公式?

TYP:=(HIGH+LOW+CLOSE)/3;CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORWHITE,NODRAW;NOTEXTCCI:CCI/500,LINETHICK1,COLORFF33FF;DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORWHITE;DEA:EMA(DIF,9),COLORYELLOW;MACD:(DIF-DEA)*2,COLORSTICK;0;{CCI 100 -100 线}STICKLINE(C>0,100/500,100/500,1,-1)COLORWHITE;DRAWTEXT(ISLASTBAR,100/500,'CCI正100'),COLORWHITE;STICKLINE(C>0,-100/500,-100/500,1,-1)COLORWHITE;DRAWTEXT(ISLASTBAR,-100/500,'CCI负-100'),COLORWHITE;k3V中亿财经网财经门户

26. macd变色指标公式?

MACD变色公式k3V中亿财经网财经门户

源码k3V中亿财经网财经门户

//MACD变色V4 +金叉买入指标公式k3V中亿财经网财经门户

//20150328 DIFF上穿0轴后在0轴上第一次死叉后又金叉k3V中亿财经网财经门户

//20150329 MACD多头二次翻红k3V中亿财经网财经门户

DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite,LINETHICK1;k3V中亿财经网财经门户

DEA: EMA(DIFF,9),coloryellow,LINETHICK1;k3V中亿财经网财经门户

MACD: 2*(DIFF-DEA),colorred,NODRAW;k3V中亿财经网财经门户

Zero: 0,colorff7f00,LINETHICK1;k3V中亿财经网财经门户

N:=IF(BARSCOUNT(C)<=5,MA(C,2),MA(C,5));k3V中亿财经网财经门户

角度:((ATAN((N - REF(N,1))) * 3.1416) * 10),NODRAW,colorcyan;k3V中亿财经网财经门户

//角度:((ATAN((MA(C,5) - REF(MA(C,5) ,1))) * 3.1416) * 10),NODRAW;k3V中亿财经网财经门户

流通股:SHGZG/10000/10000,NODRAW,colorff7f00;k3V中亿财经网财经门户

资本公积:GJJ/ZGB,NODRAW;k3V中亿财经网财经门户

//CCI抄底k3V中亿财经网财经门户

N:=14;k3V中亿财经网财经门户

TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;k3V中亿财经网财经门户

CCI: (TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),colorffff00,NODRAW;k3V中亿财经网财经门户

//红色k3V中亿财经网财经门户

STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;k3V中亿财经网财经门户

//墨绿k3V中亿财经网财经门户

STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),colorffff00;k3V中亿财经网财经门户

//洋红k3V中亿财经网财经门户

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;k3V中亿财经网财经门户

//绿色k3V中亿财经网财经门户

STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;k3V中亿财经网财经门户

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.2;k3V中亿财经网财经门户

贴近零轴金叉:=CROSS(DIFF,DEA) AND MACD>0 AND BETWEEN(DIFF,-0.03,0.03);k3V中亿财经网财经门户

//VERLINE(水上低位金叉,1),colorwhite;k3V中亿财经网财经门户

//DRAWTEXT(低位金叉,DIFF*1.1,'低位'),color00aaff;k3V中亿财经网财经门户

AA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));k3V中亿财经网财经门户

一次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=1,21)=1;k3V中亿财经网财经门户

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=2,21)=1;k3V中亿财经网财经门户

三次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=3,21)=1;k3V中亿财经网财经门户

四次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=4,21)=1;k3V中亿财经网财经门户

五次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=5,21)=1;k3V中亿财经网财经门户

//VERLINE(二次金叉,1),colorwhite;k3V中亿财经网财经门户

DRAWTEXT(一次金叉,DIFF*1.1,'①'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(一次金叉 AND 低位金叉,DIFF*1.1,'①低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(二次金叉,DIFF*1.1,'②'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(二次金叉 AND 低位金叉,DIFF*1.1,'②低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(三次金叉,DIFF*1.1,'③'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(三次金叉 AND 低位金叉,DIFF*1.1,'③低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(四次金叉,DIFF*1.1,'④'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(四次金叉 AND 低位金叉,DIFF*1.1,'④低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(五次金叉,DIFF*1.1,'⑤'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(五次金叉 AND 低位金叉,DIFF*1.1,'⑤低位'),color00aaff;k3V中亿财经网财经门户

//DIFF上穿0轴后在0轴上第一次死叉后又金叉 www.gszb.comk3V中亿财经网财经门户

AA:= CROSS(DIFF,DEA) AND DEA>0 ;k3V中亿财经网财经门户

BB:=BARSLAST(CROSS(DEA,DIFF)) AND DEA>0;k3V中亿财经网财经门户

CC:=REF(BARSLAST(CROSS(DIFF,0))<20,BARSLAST(CROSS(DEA,DIFF))+1);k3V中亿财经网财经门户

MACD死叉后金叉:= AA AND BB AND CC;k3V中亿财经网财经门户

DRAWTEXT(MACD死叉后金叉,DIFF*1.1+0.1,'①'),colorred;k3V中亿财经网财经门户

//MACD多头二次翻红k3V中亿财经网财经门户

FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);k3V中亿财经网财经门户

FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;k3V中亿财经网财经门户

FH3:=EMA(C,30)>=REF(EMA(C,30),1) AND COUNT(EMA(C,5)>EMA(C,10) AND EMA(C,10)>EMA(C,30),1)=1;k3V中亿财经网财经门户

FH4:=CROSS(C,EMA(C,30)) OR C>EMA(C,30);k3V中亿财经网财经门户

FH5:=FH1 AND FH2 AND FH3 AND FH4;k3V中亿财经网财经门户

FH6:=FH1 AND FH2 AND FH3 AND FH4 AND ABS((DIFF-DEA)/C)<0.018;k3V中亿财经网财经门户

FH7:=FH1 AND FH2 AND FH3 AND FH4 AND MACD<0.10;k3V中亿财经网财经门户

MACD多头二次翻红:=FH5 OR FH6 OR FH7;k3V中亿财经网财经门户

DRAWTEXT(MACD多头二次翻红 AND REF(CCI,1)<50,DIFF*1.1+0.05,'②'),colorred;k3V中亿财经网财经门户

//这个"二次翻红"指标除了满足原有的四个条件外,即:k3V中亿财经网财经门户

//一是MACD在零轴以上并且第二次收红柱;k3V中亿财经网财经门户

//二是MACD红柱大于等于零轴并且红柱缩短小于0.10以下;(实战0.111也行)k3V中亿财经网财经门户

//三是DIFF与DEA两线的粘合度小于0.018;k3V中亿财经网财经门户

//四是红柱连续缩短三天以上。k3V中亿财经网财经门户

//还基本满足了所描述的四个条件(即:k3V中亿财经网财经门户

//1、30日移动平均线由下跌变为走平或翘头向上,5日、10、30日移动平均线刚刚形成多头排列;k3V中亿财经网财经门户

//2、日K线刚刚上穿30日移动平均线或在30日移动平均线上方运行;k3V中亿财经网财经门户

//3、DIF在零轴下方与MACD金叉后可靠意义将会更大,在第一次翻红后,红柱开始缩短,越短越好,最好不要超过0轴的第一横线;k3V中亿财经网财经门户

//4、成交量由萎缩逐渐放大,特别是在二次翻红后,若能得到成交量的配合,该股后市向上冲击的力量会更大。)k3V中亿财经网财经门户

//该指标没有设计成交量这个条件。只要符合所涉及到的条件,就能在"二次翻红"起涨点选出股票。k3V中亿财经网财经门户

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));k3V中亿财经网财经门户

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);k3V中亿财经网财经门户

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));k3V中亿财经网财经门户

顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);k3V中亿财经网财经门户

DRAWLINE(A1=0,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;k3V中亿财经网财经门户

DRAWLINE(底背离,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;k3V中亿财经网财经门户

DRAWTEXT(底背离,REF(DEA,A1)*1.28,'+底背离'),COLORFF00FF;k3V中亿财经网财经门户

DRAWLINE(A2=0 ,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;k3V中亿财经网财经门户

DRAWLINE(顶背离,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;k3V中亿财经网财经门户

DRAWTEXT(顶背离,REF(DEA,A2)*1.18,'-顶背离'),colorgreen,LINETHICK2;k3V中亿财经网财经门户

//5日均线上穿24日均线k3V中亿财经网财经门户

MA5:=MA(C,5);k3V中亿财经网财经门户

MA24:=MA(C,24);k3V中亿财经网财经门户

LL:=IF(MACD<=0,MACD,-MACD);k3V中亿财经网财经门户

A1:=CROSS(MA5,MA24) OR (MA5>MA24 AND REF(MA5,1)<REF(MA24,1));k3V中亿财经网财经门户

A2:=MA(V,10)<V;k3V中亿财经网财经门户

A3:=IF(MACD<0,MACD>=REF(MACD,1),MACD<k3V中亿财经网财经门户

k3V中亿财经网财经门户

3);k3V中亿财经网财经门户

//五日内最大涨幅小于8%k3V中亿财经网财经门户

A4:=C>=O AND 角度<8 AND COUNT(C/O>1.08,5)<1;k3V中亿财经网财经门户

//日线买点:= MA5>MA24 AND REF(MA5,1)<REF(MA24,1) AND CCI<100;k3V中亿财经网财经门户

日线买点:= A1 AND A2 AND A3 AND A4;k3V中亿财经网财经门户

DRAWICON(日线买点,LL,"BUY");k3V中亿财经网财经门户

27. macd金叉画横线的公式?

MACD月线金叉——k3V中亿财经网财经门户

CROSS(MACD.DIF#MONTH,MACD.DEA#MONTH);k3V中亿财经网财经门户

翻译:平滑异同平均的DIF[取月线数据]上穿平滑异同平均的DEA[取月线数据]k3V中亿财经网财经门户

股价刚刚回踩60周线均线或者不高于60周线均线价格的10%——k3V中亿财经网财经门户

VAR1:=MA.MA4#WEEK;k3V中亿财经网财经门户

C>VAR1 AND (C-VAR1)/VAR1k3V中亿财经网财经门户

翻译:VAR1赋值:简单移动平均.MA4[取周线数据]k3V中亿财经网财经门户

收盘价>VAR1 AND (收盘价-VAR1)/VAR1k3V中亿财经网财经门户

(通达信 供参考) k3V中亿财经网财经门户

28. macd变色指标公式?

MACD变色公式k3V中亿财经网财经门户

源码k3V中亿财经网财经门户

//MACD变色V4 +金叉买入指标公式k3V中亿财经网财经门户

//20150328 DIFF上穿0轴后在0轴上第一次死叉后又金叉k3V中亿财经网财经门户

//20150329 MACD多头二次翻红k3V中亿财经网财经门户

DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite,LINETHICK1;k3V中亿财经网财经门户

DEA: EMA(DIFF,9),coloryellow,LINETHICK1;k3V中亿财经网财经门户

MACD: 2*(DIFF-DEA),colorred,NODRAW;k3V中亿财经网财经门户

Zero: 0,colorff7f00,LINETHICK1;k3V中亿财经网财经门户

N:=IF(BARSCOUNT(C)<=5,MA(C,2),MA(C,5));k3V中亿财经网财经门户

角度:((ATAN((N - REF(N,1))) * 3.1416) * 10),NODRAW,colorcyan;k3V中亿财经网财经门户

//角度:((ATAN((MA(C,5) - REF(MA(C,5) ,1))) * 3.1416) * 10),NODRAW;k3V中亿财经网财经门户

流通股:SHGZG/10000/10000,NODRAW,colorff7f00;k3V中亿财经网财经门户

资本公积:GJJ/ZGB,NODRAW;k3V中亿财经网财经门户

//CCI抄底k3V中亿财经网财经门户

N:=14;k3V中亿财经网财经门户

TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;k3V中亿财经网财经门户

CCI: (TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),colorffff00,NODRAW;k3V中亿财经网财经门户

//红色k3V中亿财经网财经门户

STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;k3V中亿财经网财经门户

//墨绿k3V中亿财经网财经门户

STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),colorffff00;k3V中亿财经网财经门户

//洋红k3V中亿财经网财经门户

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;k3V中亿财经网财经门户

//绿色k3V中亿财经网财经门户

STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;k3V中亿财经网财经门户

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.2;k3V中亿财经网财经门户

贴近零轴金叉:=CROSS(DIFF,DEA) AND MACD>0 AND BETWEEN(DIFF,-0.03,0.03);k3V中亿财经网财经门户

//VERLINE(水上低位金叉,1),colorwhite;k3V中亿财经网财经门户

//DRAWTEXT(低位金叉,DIFF*1.1,'低位'),color00aaff;k3V中亿财经网财经门户

AA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));k3V中亿财经网财经门户

一次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=1,21)=1;k3V中亿财经网财经门户

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=2,21)=1;k3V中亿财经网财经门户

三次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=3,21)=1;k3V中亿财经网财经门户

四次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=4,21)=1;k3V中亿财经网财经门户

五次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=5,21)=1;k3V中亿财经网财经门户

//VERLINE(二次金叉,1),colorwhite;k3V中亿财经网财经门户

DRAWTEXT(一次金叉,DIFF*1.1,'①'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(一次金叉 AND 低位金叉,DIFF*1.1,'①低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(二次金叉,DIFF*1.1,'②'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(二次金叉 AND 低位金叉,DIFF*1.1,'②低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(三次金叉,DIFF*1.1,'③'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(三次金叉 AND 低位金叉,DIFF*1.1,'③低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(四次金叉,DIFF*1.1,'④'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(四次金叉 AND 低位金叉,DIFF*1.1,'④低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(五次金叉,DIFF*1.1,'⑤'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(五次金叉 AND 低位金叉,DIFF*1.1,'⑤低位'),color00aaff;k3V中亿财经网财经门户

//DIFF上穿0轴后在0轴上第一次死叉后又金叉 www.gszb.comk3V中亿财经网财经门户

AA:= CROSS(DIFF,DEA) AND DEA>0 ;k3V中亿财经网财经门户

BB:=BARSLAST(CROSS(DEA,DIFF)) AND DEA>0;k3V中亿财经网财经门户

CC:=REF(BARSLAST(CROSS(DIFF,0))<20,BARSLAST(CROSS(DEA,DIFF))+1);k3V中亿财经网财经门户

MACD死叉后金叉:= AA AND BB AND CC;k3V中亿财经网财经门户

DRAWTEXT(MACD死叉后金叉,DIFF*1.1+0.1,'①'),colorred;k3V中亿财经网财经门户

//MACD多头二次翻红k3V中亿财经网财经门户

FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);k3V中亿财经网财经门户

FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;k3V中亿财经网财经门户

FH3:=EMA(C,30)>=REF(EMA(C,30),1) AND COUNT(EMA(C,5)>EMA(C,10) AND EMA(C,10)>EMA(C,30),1)=1;k3V中亿财经网财经门户

FH4:=CROSS(C,EMA(C,30)) OR C>EMA(C,30);k3V中亿财经网财经门户

FH5:=FH1 AND FH2 AND FH3 AND FH4;k3V中亿财经网财经门户

FH6:=FH1 AND FH2 AND FH3 AND FH4 AND ABS((DIFF-DEA)/C)<0.018;k3V中亿财经网财经门户

FH7:=FH1 AND FH2 AND FH3 AND FH4 AND MACD<0.10;k3V中亿财经网财经门户

MACD多头二次翻红:=FH5 OR FH6 OR FH7;k3V中亿财经网财经门户

DRAWTEXT(MACD多头二次翻红 AND REF(CCI,1)<50,DIFF*1.1+0.05,'②'),colorred;k3V中亿财经网财经门户

//这个"二次翻红"指标除了满足原有的四个条件外,即:k3V中亿财经网财经门户

//一是MACD在零轴以上并且第二次收红柱;k3V中亿财经网财经门户

//二是MACD红柱大于等于零轴并且红柱缩短小于0.10以下;(实战0.111也行)k3V中亿财经网财经门户

//三是DIFF与DEA两线的粘合度小于0.018;k3V中亿财经网财经门户

//四是红柱连续缩短三天以上。k3V中亿财经网财经门户

//还基本满足了所描述的四个条件(即:k3V中亿财经网财经门户

//1、30日移动平均线由下跌变为走平或翘头向上,5日、10、30日移动平均线刚刚形成多头排列;k3V中亿财经网财经门户

//2、日K线刚刚上穿30日移动平均线或在30日移动平均线上方运行;k3V中亿财经网财经门户

//3、DIF在零轴下方与MACD金叉后可靠意义将会更大,在第一次翻红后,红柱开始缩短,越短越好,最好不要超过0轴的第一横线;k3V中亿财经网财经门户

//4、成交量由萎缩逐渐放大,特别是在二次翻红后,若能得到成交量的配合,该股后市向上冲击的力量会更大。)k3V中亿财经网财经门户

//该指标没有设计成交量这个条件。只要符合所涉及到的条件,就能在"二次翻红"起涨点选出股票。k3V中亿财经网财经门户

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));k3V中亿财经网财经门户

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);k3V中亿财经网财经门户

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));k3V中亿财经网财经门户

顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);k3V中亿财经网财经门户

DRAWLINE(A1=0,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;k3V中亿财经网财经门户

DRAWLINE(底背离,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;k3V中亿财经网财经门户

DRAWTEXT(底背离,REF(DEA,A1)*1.28,'+底背离'),COLORFF00FF;k3V中亿财经网财经门户

DRAWLINE(A2=0 ,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;k3V中亿财经网财经门户

DRAWLINE(顶背离,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;k3V中亿财经网财经门户

DRAWTEXT(顶背离,REF(DEA,A2)*1.18,'-顶背离'),colorgreen,LINETHICK2;k3V中亿财经网财经门户

//5日均线上穿24日均线k3V中亿财经网财经门户

MA5:=MA(C,5);k3V中亿财经网财经门户

MA24:=MA(C,24);k3V中亿财经网财经门户

LL:=IF(MACD<=0,MACD,-MACD);k3V中亿财经网财经门户

A1:=CROSS(MA5,MA24) OR (MA5>MA24 AND REF(MA5,1)<REF(MA24,1));k3V中亿财经网财经门户

A2:=MA(V,10)<V;k3V中亿财经网财经门户

A3:=IF(MACD<0,MACD>=REF(MACD,1),MACD<k3V中亿财经网财经门户

k3V中亿财经网财经门户

3);k3V中亿财经网财经门户

//五日内最大涨幅小于8%k3V中亿财经网财经门户

A4:=C>=O AND 角度<8 AND COUNT(C/O>1.08,5)<1;k3V中亿财经网财经门户

//日线买点:= MA5>MA24 AND REF(MA5,1)<REF(MA24,1) AND CCI<100;k3V中亿财经网财经门户

日线买点:= A1 AND A2 AND A3 AND A4;k3V中亿财经网财经门户

DRAWICON(日线买点,LL,"BUY");k3V中亿财经网财经门户

29. macd十ccl指标组合公式?

TYP:=(HIGH+LOW+CLOSE)/3;CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORWHITE,NODRAW;NOTEXTCCI:CCI/500,LINETHICK1,COLORFF33FF;DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORWHITE;DEA:EMA(DIF,9),COLORYELLOW;MACD:(DIF-DEA)*2,COLORSTICK;0;{CCI 100 -100 线}STICKLINE(C>0,100/500,100/500,1,-1)COLORWHITE;DRAWTEXT(ISLASTBAR,100/500,'CCI正100'),COLORWHITE;STICKLINE(C>0,-100/500,-100/500,1,-1)COLORWHITE;DRAWTEXT(ISLASTBAR,-100/500,'CCI负-100'),COLORWHITE;k3V中亿财经网财经门户

30. macd变色指标公式?

MACD变色公式k3V中亿财经网财经门户

源码k3V中亿财经网财经门户

//MACD变色V4 +金叉买入指标公式k3V中亿财经网财经门户

//20150328 DIFF上穿0轴后在0轴上第一次死叉后又金叉k3V中亿财经网财经门户

//20150329 MACD多头二次翻红k3V中亿财经网财经门户

DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite,LINETHICK1;k3V中亿财经网财经门户

DEA: EMA(DIFF,9),coloryellow,LINETHICK1;k3V中亿财经网财经门户

MACD: 2*(DIFF-DEA),colorred,NODRAW;k3V中亿财经网财经门户

Zero: 0,colorff7f00,LINETHICK1;k3V中亿财经网财经门户

N:=IF(BARSCOUNT(C)<=5,MA(C,2),MA(C,5));k3V中亿财经网财经门户

角度:((ATAN((N - REF(N,1))) * 3.1416) * 10),NODRAW,colorcyan;k3V中亿财经网财经门户

//角度:((ATAN((MA(C,5) - REF(MA(C,5) ,1))) * 3.1416) * 10),NODRAW;k3V中亿财经网财经门户

流通股:SHGZG/10000/10000,NODRAW,colorff7f00;k3V中亿财经网财经门户

资本公积:GJJ/ZGB,NODRAW;k3V中亿财经网财经门户

//CCI抄底k3V中亿财经网财经门户

N:=14;k3V中亿财经网财经门户

TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;k3V中亿财经网财经门户

CCI: (TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),colorffff00,NODRAW;k3V中亿财经网财经门户

//红色k3V中亿财经网财经门户

STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;k3V中亿财经网财经门户

//墨绿k3V中亿财经网财经门户

STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),colorffff00;k3V中亿财经网财经门户

//洋红k3V中亿财经网财经门户

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;k3V中亿财经网财经门户

//绿色k3V中亿财经网财经门户

STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;k3V中亿财经网财经门户

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.2;k3V中亿财经网财经门户

贴近零轴金叉:=CROSS(DIFF,DEA) AND MACD>0 AND BETWEEN(DIFF,-0.03,0.03);k3V中亿财经网财经门户

//VERLINE(水上低位金叉,1),colorwhite;k3V中亿财经网财经门户

//DRAWTEXT(低位金叉,DIFF*1.1,'低位'),color00aaff;k3V中亿财经网财经门户

AA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));k3V中亿财经网财经门户

一次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=1,21)=1;k3V中亿财经网财经门户

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=2,21)=1;k3V中亿财经网财经门户

三次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=3,21)=1;k3V中亿财经网财经门户

四次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=4,21)=1;k3V中亿财经网财经门户

五次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=5,21)=1;k3V中亿财经网财经门户

//VERLINE(二次金叉,1),colorwhite;k3V中亿财经网财经门户

DRAWTEXT(一次金叉,DIFF*1.1,'①'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(一次金叉 AND 低位金叉,DIFF*1.1,'①低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(二次金叉,DIFF*1.1,'②'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(二次金叉 AND 低位金叉,DIFF*1.1,'②低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(三次金叉,DIFF*1.1,'③'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(三次金叉 AND 低位金叉,DIFF*1.1,'③低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(四次金叉,DIFF*1.1,'④'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(四次金叉 AND 低位金叉,DIFF*1.1,'④低位'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(五次金叉,DIFF*1.1,'⑤'),color00aaff;k3V中亿财经网财经门户

DRAWTEXT(五次金叉 AND 低位金叉,DIFF*1.1,'⑤低位'),color00aaff;k3V中亿财经网财经门户

//DIFF上穿0轴后在0轴上第一次死叉后又金叉 www.gszb.comk3V中亿财经网财经门户

AA:= CROSS(DIFF,DEA) AND DEA>0 ;k3V中亿财经网财经门户

BB:=BARSLAST(CROSS(DEA,DIFF)) AND DEA>0;k3V中亿财经网财经门户

CC:=REF(BARSLAST(CROSS(DIFF,0))<20,BARSLAST(CROSS(DEA,DIFF))+1);k3V中亿财经网财经门户

MACD死叉后金叉:= AA AND BB AND CC;k3V中亿财经网财经门户

DRAWTEXT(MACD死叉后金叉,DIFF*1.1+0.1,'①'),colorred;k3V中亿财经网财经门户

//MACD多头二次翻红k3V中亿财经网财经门户

FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);k3V中亿财经网财经门户

FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;k3V中亿财经网财经门户

FH3:=EMA(C,30)>=REF(EMA(C,30),1) AND COUNT(EMA(C,5)>EMA(C,10) AND EMA(C,10)>EMA(C,30),1)=1;k3V中亿财经网财经门户

FH4:=CROSS(C,EMA(C,30)) OR C>EMA(C,30);k3V中亿财经网财经门户

FH5:=FH1 AND FH2 AND FH3 AND FH4;k3V中亿财经网财经门户

FH6:=FH1 AND FH2 AND FH3 AND FH4 AND ABS((DIFF-DEA)/C)<0.018;k3V中亿财经网财经门户

FH7:=FH1 AND FH2 AND FH3 AND FH4 AND MACD<0.10;k3V中亿财经网财经门户

MACD多头二次翻红:=FH5 OR FH6 OR FH7;k3V中亿财经网财经门户

DRAWTEXT(MACD多头二次翻红 AND REF(CCI,1)<50,DIFF*1.1+0.05,'②'),colorred;k3V中亿财经网财经门户

//这个"二次翻红"指标除了满足原有的四个条件外,即:k3V中亿财经网财经门户

//一是MACD在零轴以上并且第二次收红柱;k3V中亿财经网财经门户

//二是MACD红柱大于等于零轴并且红柱缩短小于0.10以下;(实战0.111也行)k3V中亿财经网财经门户

//三是DIFF与DEA两线的粘合度小于0.018;k3V中亿财经网财经门户

//四是红柱连续缩短三天以上。k3V中亿财经网财经门户

//还基本满足了所描述的四个条件(即:k3V中亿财经网财经门户

//1、30日移动平均线由下跌变为走平或翘头向上,5日、10、30日移动平均线刚刚形成多头排列;k3V中亿财经网财经门户

//2、日K线刚刚上穿30日移动平均线或在30日移动平均线上方运行;k3V中亿财经网财经门户

//3、DIF在零轴下方与MACD金叉后可靠意义将会更大,在第一次翻红后,红柱开始缩短,越短越好,最好不要超过0轴的第一横线;k3V中亿财经网财经门户

//4、成交量由萎缩逐渐放大,特别是在二次翻红后,若能得到成交量的配合,该股后市向上冲击的力量会更大。)k3V中亿财经网财经门户

//该指标没有设计成交量这个条件。只要符合所涉及到的条件,就能在"二次翻红"起涨点选出股票。k3V中亿财经网财经门户

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));k3V中亿财经网财经门户

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);k3V中亿财经网财经门户

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));k3V中亿财经网财经门户

顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);k3V中亿财经网财经门户

DRAWLINE(A1=0,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;k3V中亿财经网财经门户

DRAWLINE(底背离,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;k3V中亿财经网财经门户

DRAWTEXT(底背离,REF(DEA,A1)*1.28,'+底背离'),COLORFF00FF;k3V中亿财经网财经门户

DRAWLINE(A2=0 ,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;k3V中亿财经网财经门户

DRAWLINE(顶背离,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;k3V中亿财经网财经门户

DRAWTEXT(顶背离,REF(DEA,A2)*1.18,'-顶背离'),colorgreen,LINETHICK2;k3V中亿财经网财经门户

//5日均线上穿24日均线k3V中亿财经网财经门户

MA5:=MA(C,5);k3V中亿财经网财经门户

MA24:=MA(C,24);k3V中亿财经网财经门户

LL:=IF(MACD<=0,MACD,-MACD);k3V中亿财经网财经门户

A1:=CROSS(MA5,MA24) OR (MA5>MA24 AND REF(MA5,1)<REF(MA24,1));k3V中亿财经网财经门户

A2:=MA(V,10)<V;k3V中亿财经网财经门户

A3:=IF(MACD<0,MACD>=REF(MACD,1),MACD<k3V中亿财经网财经门户

k3V中亿财经网财经门户

3);k3V中亿财经网财经门户

//五日内最大涨幅小于8%k3V中亿财经网财经门户

A4:=C>=O AND 角度<8 AND COUNT(C/O>1.08,5)<1;k3V中亿财经网财经门户

//日线买点:= MA5>MA24 AND REF(MA5,1)<REF(MA24,1) AND CCI<100;k3V中亿财经网财经门户

日线买点:= A1 AND A2 AND A3 AND A4;k3V中亿财经网财经门户

DRAWICON(日线买点,LL,"BUY");k3V中亿财经网财经门户

31. BBI和MACD可以这样搭配用,你知道吗?

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;忽略以上公式。 根据思路编写公式,修改公式。盘中预警,条件选股。公式解密,去除时间限制。鼠标点击下方 我 的 名 字 或(图 标)上,进入 可 看到 Q,订 制 公式k3V中亿财经网财经门户

32. macd与cci最佳组合指标公式?

经典指标MACD+CCI之绝佳配合公式k3V中亿财经网财经门户

趋势类指标MACD+摆荡类指标CCI,个人在运用中觉得蛮不错,一文一武,一动一静,绝佳搭 配。MACD定方向,CCI定介入点。 k3V中亿财经网财经门户

关键字:
1.中亿财经网(http://www.zhongyi9999.com/)遵循行业规范,任何转载的稿件都会明确标注作者和来源;
2.中亿财经网的原创文章,请转载时务必注明文章作者和"来源:中亿财经网",不尊重原创的行为或将追究责任;
3.作者投稿可能会经中亿财经网编辑修改或补充。
【免责声明】本文仅代表作者本人观点,与本网站无关。本网站对文中陈述、观点判断保持中立,不对所包含内容的准确性、可靠性或完整性提供任何明示或暗示的保证。请读者仅作参考,并请自行承担全部责任。