首页 > > 详细

帮做指标公式、大智慧选股公式调试、新改编的MACD(公式、源码)提示金叉背离界面清晰(公式、源码 副图指标公式 演示图)-大智慧公式


DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);:2*(DIF-DEA),COLORSTICK;STICKLINE(MACD>0,MACD, 0, 0, 1),color0055cc;STICKLINE(MACD0,0,MACD,0.1,0),COLORYELLOW;DRAWICON(BARSTATUS=2 AND MACD>REF(MACD,1),HHV(MACD,35), 7),VALIGN2;DRAWICON(BARSTATUS=2 AND MACDref(DIF,1),RGB(255,50,0),DIF0,RGB(205,100,100),MACDVAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1);下轨:IF(DIF0 AND DIF>DEA;FILLRGN(DIF,DEA,DIF>DEA,RGB(130,0,0),DIF=0));二金:=CROSS(DIF,DEA) AND DEACLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA);STICKLINE(底背离,0,0.13,6,0),Colorred;DRAWTEXT(底背离,dea,' 底背离'),Colorred;A2:=BARSLAST(REF(CROSS(DEA,DIF),1));顶背离:=REF(CLOSE,A2+1)DIF AND CROSS(DEA,DIF);DRAWTEXT(顶背离,dea,' 顶背离'),Colorgreen;a1:=DIFREF(a1,1);a3:=BARSLAST(a2);a4:=COUNT(DEA>0 and DIF>0,a3)=0;a5:=CROSS(DIF,DEA);{金叉}a6:=BARSLAST(a5);a7:=REF(a6,a6+1)+a6;a8:=(DiF+DEA)/2;a9:=(HIGH+LOW)/2;a10:=a5 and a7REF(a8,a7) and a90;DRAWTEXT(a10,dif*0.95,''),COLORyellow; CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));WARNING('',CURRENTTIME>180000 and (CXH=1 OR CXH=6)); DRAWTEXTREL(10 ,10 ,'');




 

联系我们 - QQ: 88652583
© 2014 www.93stock.com
代写选股公式网!
声明:警惕假冒分子冒充本站提供证券咨询服务,选股公式网为非证券咨询机构,本站不提供有关股评、投资分析报告、股市预测,证券咨询等服务。本站仅提供股票、期货、黄金、外汇的软件技术交流与分享。本站文章为互联网文章,其仅供参考,并不构成投资建议。