通达信经典MACD指标加入金叉死叉下破0轴和空中加油的指示

说明:经典MACD指标加入金叉,死叉,下破0轴和空中加油的指示!并且有使用说明的文字指示!
源码如下:
{N,0,1000,120} {N1,0,1000,80} {N2,0,1000,35} {DD,0,1000,0,25} {KJ,0,1000,0.50}
{SHORT,2,200,12}
{LONG,2,200,26}
{MID,2,200,9}
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:EMA(DIF,MID);
MACD:(DIF-DEA)*2,COLORSTICK;
A1:=CROSS(DEA,DIF);
A2:=BARSLAST(CROSS(DIF,DEA));
死叉:IF(A1,INTPART((C/REF(C,A2)-1)*100)/10,0),COLOR00FF00; .cn}
金叉AA:MACD>0 AND REF(MACD,1)<0,COLORRED;下破0轴: REF(DIF,1)>0 AND DIF<0;TJ:="MACD.DIF"-"MACD.DEA"<=0.02 AND "MACD.DIF"<=REF("MACD.DIF",1)AND
REF("MACD.DIF",1)<REF("MACD.DIF",2) AND "MACD.DIF"> "MACD.DEA" AND
"MACD.DEA" >0 AND"MACD.DEA">REF("MACD.DEA",1) AND "MACD.MACD"<REF("MACD.MACD",1)
AND REF("MACD.MACD",1)<REF("MACD.MACD",2);
空中加油XG:REF(TJ,1)AND "MACD.DIF">=REF("MACD.DIF",1) AND "MACD.MACD">REF("MACD.MACD",1),COLORYELLOW; {以下设置提示文字部分}
DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.2,'====【MACD反身向上操作技巧
】===='),COLOR889999,COLORRED;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.21,'====【中小板只要不破5日线启动J没有到100以上】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.22,'====【就还有
上升机会
】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.232,'====【反身向上首要条件是股价必踏上5日线关注前期高点

】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.245,'====【当
天不突破高点第2天会出现获利离场机会
】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.258,'====【如大盘处于强势股价创新高希望比较大
如MACD在0轴以上】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.273,'====【突破高点后继续上涨可能性就比较大一定注意】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.29,'====【有时不一定突
破前期高点在前期高点附近受阻回落

】===='),COLOR889999,COLORCYAN;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.315,'====【如不能创新高只突破K线实体部分

】===='),COLOR889999,COLORCYAN;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.335,'====【阳线的收盘价或阴线的开盘价就危险了】===='),COLOR889999,COLORCYAN;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.37,'====【会出现调整随后形成一个下降
压力线形成双头危险】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.4,'====【任何操作都须以5日线为依据才能提高成功概率
】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.45,'====【MACD反身向下操作技巧

】===='),COLOR889999,COLORRED;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.52,'====【MACD反身向下时不及时离场恐遭受毁灭性打击

】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.6,'====【跌破5周线再
出现MACD反身向下跌幅就非常厉害了】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.7,'====【总而言之MACD反身向下坚决离场】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/0.85,'====【趋势线突破的操作技巧
】===='),COLOR889999,COLORRED;DRAWTEXT(CURRBARSCOUNT=N,DD+KJ/1.2,'====【牛股诞生要以突破下降压力线为标志

】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N1,DD+KJ/0.2,'====【这下降压力线必
由前期2个或者2个以上头部来决定
】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N1,DD+KJ/0.211,'====【有短线、中线和长线之分】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N1,DD+KJ/0.222,'====【短期趋势线由2个头部连成
MACD反身向上
】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N1,DD+KJ/0.235,'====【突破该趋势线后就会上升
 

】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N1,DD+KJ/0.25,'====【同理以两个低点画出一条趋势线MACD反身向下

】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N1,DD+KJ/0.27,'====【该趋势线就是压力线一旦突破马上下跌】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N1,DD+KJ/0.29,'====【MACD常用技巧

】===='),COLOR889999,COLORRED;DRAWTEXT(CURRBARSCOUNT=N1,DD+KJ/0.315,'====【(1)DIFF由下往上穿越0轴表明多头扬升即将起头
】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N1,DD+KJ/0.34,'====【上穿0轴那天引起重视是中长线难遇上第一个买点

】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N1,DD+KJ/0.38,'====【应在它回调到5日线时逢低吸纳必要时可以追涨】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N1,DD+KJ/0.43,'====【上穿0轴意味着12天均价刚好等于26天均价的时刻
】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N1,DD+KJ/0.48,'====【(2)MACD反身向上创新高法则:当DIFF在金叉DEA后
】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N1,DD+KJ/0.61,'====【运行一段即将死叉拒绝死叉且反身向上股价必会向上

】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N2,DD+KJ/0.2,'====【价格可到前期头部此拒绝死叉在0轴以上力度最大
】===='),COLOR889999,COLORRED;DRAWTEXT(CURRBARSCOUNT=N2,DD+KJ/0.222,'====【可沿5日线介入也可在拒绝死叉的当天收盘前介入】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N2,DD+KJ/0.234,'====【在0轴上出现死叉观察均线变化在重要线受到支撑时
】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N2,DD+KJ/0.248,'====【DIFF会在0轴以上再次向上金叉DEA称为“空中加油
】===='),COLOR889999,COLORRED;DRAWTEXT(CURRBARSCOUNT=N2,DD+KJ/0.265,'====【这时我们应该介入一般会有拉升出现

】===='),COLOR889999,COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=N2,DD+KJ/0.285,'====【总结MACD反身向上首要条件踏上5日线观察离前期高点】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N2,DD+KJ/0.307,'====【当天盘中不突破高点第2天起会出现赢利退场的机会

】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N2,DD+KJ/0.34,'====【如大盘处于强势阶段股价创出高点的希望比例大
】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N2,DD+KJ/0.37,'====【如MACD在0轴以上突破高点后接续上涨可能性大

】===='),COLOR889999,COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=N2,DD+KJ/0.41,'====【有时不一定突破前期高点会突破前期最高价那根K线实体】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N2,DD+KJ/0.46,'====【即阴K线开盘价或阳K线收盘价就申明极可受前期下降
】===='),COLOR889999,COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=N2,DD+KJ/0.53,'====【趋势线压制也意味着股价步入短期下降通道
】===='),COLOR889999,COLORYELLOW;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图