首页 > > 详细

代写股票选股公式、同花顺选股公式调试、金牛建仓MACD背离买卖指标公式-同花顺公式

原理解析:
源码:
DIF:EMA(CLOSE,12)-EMA(CLOSE,27),colorred,LINETHICK2;
DEA:EMA(DIF,9),colorwhite,LINETHICK2;
持仓段:=0,COLOR00CFFF;
空仓段:=0,COLORFFCCFF;
STICKLINE(DIF>DEA,-0.5,-0.6,10,1),COLOR00CFFF;
STICKLINE(DIF0)),0,MACD,1,0),colorliblue,LINETHICK2;
STICKLINE(((MACD>REF(MACD,1)) AND (MACDDEA,DEA,DEA),COLORFF937F,LINETHICK2;
AA:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
二次金叉:CROSS(DIF,DEA) AND DEACLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA),colormagenta,NODRAW;
STICKLINE(底背离,0,0.03,6,0),COLOR00FF00;
底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),colorred,LINETHICK4;
DRAWTEXT(底背离,0.12, 底背离),COLORFF00FF;
A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
顶背离:REF(CLOSE,A2+1)DIF AND CROSS(DEA,DIF),colormagenta,NODRAW;
顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),colorgreen,LINETHICK4;
TIPTEXT(ISNULL(REFX(CLOSE,1)),0, ),colorred;
TIPTEXT(ISNULL(REF(CLOSE,1)),0,);

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