通达信MACD擒牛副图 很好用的抓强势波动指标 源码

NE:=IF(NAMELIKE('S') OR NAMELIKE('*S'),0.05,0.1);
P1:= (C-REF(C,5))/REF(C,5)*100>-3 AND (C-REF(C,21))/REF(C,21)*100>-18 AND (C-REF(C,5))/REF(C,5)*100<35 AND (C-REF(C,42))/REF(C,42)*100>-30;
A1:=C/REF(C,1)-1>=NE-0.01/REF(C,1) AND C=H ;
A2:=MACD.DEA<0.6 AND MACD.DEA>-0.5 AND MACD.MACD>-2 AND MACD.DIF>-1.5 AND MACD.DIF<0.8 ;
A3:=(C-REF(C,2))/REF(C,2)*100<20.8 AND COST(95)-COST(5)/(COST(95)+COST(5))/2*100<25 ;
A4:= (C-REF(C,44))/REF(C,44)*100>-25 AND (HHV(H,7)-LLV(L,7))/REF(O,6)<0.45 AND (C-REF(C,6))/REF(C,6)*100>-10;
A5:=SUM(VOL/CAPITAL*100,5)<85 ;
MM:=A1 AND A2 AND A3 AND A4 ;
MM2:=REF(MM,1) AND(C-REF(C,1))/REF(C,1)*100>9 AND VOL<=REF(V,1)*11;
MM3:=REF(MM,2) AND REF(C,1)=REF(H,1) AND(C-REF(C,1))/REF(C,1)*100>9 AND VOL<=REF(V,1)*11;
STICKLINE(MM,0,1.3,2,0),COLORRED;
STICKLINE(MM,0,0.8,2,0),COLORGREEN;
STICKLINE(MM,0,0.3,3,0),COLORYELLOW;
DRAWICON(MM,1.2,28);
DRAWICON(MM,0.9,9);
DRAWICON(MM,0.6,9);
STICKLINE(MM2,0,1.8,2,1),COLORGREEN;
STICKLINE(MM2,0,0.3,3,1),COLORYELLOW;
DRAWICON(MM2,0.3,1);
DRAWICON(MM2,0.5,1);
DRAWICON(MM2,0.7,1);
DRAWICON(MM2,0.9,1);
DRAWICON(MM2,1.1,13);
DRAWICON(MM2,1.3,13);
DRAWICON(MM2,1.6,28);
DRAWICON(MM2,1.8,28);
STICKLINE(MM3,0,1.8,2,1),COLORGREEN;
STICKLINE(MM3,0,0.3,3,1),COLORYELLOW;
DRAWICON(MM3,0.3,1);
DRAWICON(MM3,0.5,1);
DRAWICON(MM3,0.7,1);
DRAWICON(MM3,0.9,1);
DRAWICON(MM3,1.2,13);
DRAWICON(MM3,1.5,13);
DRAWICON(MM3,1.8,13);
XG:=0.00;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
LL:=MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(C=H,1) ;
LL2:=MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) ;
DRAWICON(LL,MACD,2);
DRAWICON(LL2,MACD,1);
AAA:=2*(DIF-DEA), COLORSTICK;
STICKLINE(AAA > REF(AAA,1) AND DIF > DEA,AAA,0,0.18,0),COLORYELLOW;


未来函数检测结果如下:
该公式包含未来函数:COST
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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