联系方式 Contact

云指标公式网

翔博软件:www.xiangbosoft.com

电话:18020657357

微信:332879389

Q Q:287762038

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

交易量MACD 副图 贴图 沙盘 无未来的漂移

2016-12-9 12:28:29点击:

交易量MACD 副图无未来德漂移 ,明确地说看看背离很清楚.里面加了斐文,怎么用我就不说了,看得懂得就留,看不懂你删了.高手有兴趣来改改,我发的是我的源码,根据别人的改进和优化.看不上的绕道无打扰.好长时间不发帖都陌生了.
 



DIF:=EMA((SMA(AMOUNT,5,1)/100000000)*V/(MA(REF(V,1),3)),6) - EMA((SMA(AMOUNT,10,1)/100000000)*V/(MA(REF(V,1),3)),34),DOTLINE;
DEA:=EMA(DIF,5),DOTLINE,COLORFF1010;
MACD:=(DIF-DEA)*12, COLORSTICK;

W1:STICKLINE(MACD>0,MACD,0,3,-1),COLORRED;
W2:STICKLINE(MACD<0,MACD,0,3,-1),COLORCYAN;
YD:STICKLINE(MACD>REF(MACD,1)AND C>REF(C,1)AND MACD<0 ,MACD,0,2.2,0)COLOR00EEEE;
DRAWTEXT_FIX(ISLASTBAR,0.9,0.8,1,'伏之雷量线MACD制作')COLORYELLOW; 

TJ:=DEA>DIF;T:=DIF>=DEA;
A:=HHV(MACD,+5)=MACD;
B:=LLV(MACD,+5)=MACD;
CW:=LLV(MACD,+55)=MACD;

选择A:DRAWICON(A AND FILTERX(A,6),MACD,13);{阶段交易量高点}
选择B:DRAWICON(B AND FILTERX(B,6),MACD,14);{阶段交易量低点}

斐文A: DRAWTEXT(BARSLAST(TJ)=1,MACD,'1'),COLORYELLOW;
斐文1A: DRAWTEXT(BARSLAST(TJ)=2,MACD,'2'),COLORYELLOW;
斐文2A: DRAWTEXT(BARSLAST(TJ)=3,MACD,'3'),COLORYELLOW;
斐文3A: DRAWTEXT(BARSLAST(TJ)=5,MACD,'5'),COLORYELLOW;
斐文4A: DRAWTEXT(BARSLAST(TJ)=8,MACD,'8'),COLORYELLOW;
斐文5A: DRAWTEXT(BARSLAST(TJ)=13,MACD,'13'),COLORYELLOW;
斐文6A: DRAWTEXT(BARSLAST(TJ)=21,MACD,'21'),COLORYELLOW;
斐文7A: DRAWTEXT(BARSLAST(TJ)=34,MACD,'34'),COLORYELLOW;
斐文8A: DRAWTEXT(BARSLAST(TJ)=55,MACD,'55'),COLORYELLOW;
斐文8A1: DRAWTEXT(BARSLAST(TJ)=55,MACD,'55'),COLORYELLOW;
斐文8A2: DRAWTEXT(BARSLAST(TJ)=89,MACD,'89'),COLORYELLOW;
斐文8A3: DRAWTEXT(BARSLAST(TJ)=144,MACD,'144'),COLORYELLOW;
斐文8A4: DRAWTEXT(BARSLAST(TJ)=233,MACD,'233'),COLORYELLOW;
斐文8A5: DRAWTEXT(BARSLAST(TJ)=377,MACD,'377'),COLORYELLOW;
斐文9A: DRAWTEXT(BARSLAST(T)=1,MACD,'1'),COLORGREEN;
斐文0A: DRAWTEXT(BARSLAST(T)=2,MACD,'2'),COLORGREEN;
斐文11A: DRAWTEXT(BARSLAST(T)=3,MACD,'3'),COLORGREEN;
斐文12A: DRAWTEXT(BARSLAST(T)=5,MACD,'5'),COLORGREEN;
斐文13A: DRAWTEXT(BARSLAST(T)=8,MACD,'8'),COLORGREEN;
斐文14A: DRAWTEXT(BARSLAST(T)=13,MACD,'13'),COLORGREEN;
斐文15A: DRAWTEXT(BARSLAST(T)=21,MACD,'21'),COLORGREEN;
斐文16A: DRAWTEXT(BARSLAST(T)=34,MACD,'34'),COLORGREEN;
斐文17A: DRAWTEXT(BARSLAST(T)=55,MACD,'55'),COLORGREEN;

斐文A: DRAWTEXT(BARSLAST(TJ)=1,MACD,'1'),COLORYELLOW;
斐文1A: DRAWTEXT(BARSLAST(TJ)=2,MACD,'2'),COLORYELLOW;
斐文2A: DRAWTEXT(BARSLAST(TJ)=3,MACD,'3'),COLORYELLOW;
斐文3A: DRAWTEXT(BARSLAST(TJ)=5,MACD,'5'),COLORYELLOW;
斐文4A: DRAWTEXT(BARSLAST(TJ)=8,MACD,'8'),COLORYELLOW;
斐文5A: DRAWTEXT(BARSLAST(TJ)=13,MACD,'13'),COLORYELLOW;
斐文6A: DRAWTEXT(BARSLAST(TJ)=21,MACD,'21'),COLORYELLOW;
斐文7A: DRAWTEXT(BARSLAST(TJ)=34,MACD,'34'),COLORYELLOW;
斐文8A: DRAWTEXT(BARSLAST(TJ)=55,MACD,'55'),COLORYELLOW;
斐文8A1: DRAWTEXT(BARSLAST(TJ)=55,MACD,'55'),COLORYELLOW;
斐文8A2: DRAWTEXT(BARSLAST(TJ)=89,MACD,'89'),COLORYELLOW;
斐文8A3: DRAWTEXT(BARSLAST(TJ)=144,MACD,'144'),COLORYELLOW;
斐文8A4: DRAWTEXT(BARSLAST(TJ)=233,MACD,'233'),COLORYELLOW;
斐文8A5: DRAWTEXT(BARSLAST(TJ)=377,MACD,'377'),COLORYELLOW;
斐文9A: DRAWTEXT(BARSLAST(T)=1,MACD,'1'),COLORGREEN;
斐文0A: DRAWTEXT(BARSLAST(T)=2,MACD,'2'),COLORGREEN;
斐文11A: DRAWTEXT(BARSLAST(T)=3,MACD,'3'),COLORGREEN;
斐文12A: DRAWTEXT(BARSLAST(T)=5,MACD,'5'),COLORGREEN;
斐文13A: DRAWTEXT(BARSLAST(T)=8,MACD,'8'),COLORGREEN;
斐文14A: DRAWTEXT(BARSLAST(T)=13,MACD,'13'),COLORGREEN;
斐文15A: DRAWTEXT(BARSLAST(T)=21,MACD,'21'),COLORGREEN;
斐文16A: DRAWTEXT(BARSLAST(T)=34,MACD,'34'),COLORGREEN;
斐文17A: DRAWTEXT(BARSLAST(T)=55,MACD,'55'),COLORGREEN;