趋势明朗,成本突破公式+选股公式

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2,COLORSTICK;

STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,2,1),COLORGREEN;
趋势反转:IF(MACD>=0 AND MACD<REF(MACD,1),MACD,0),COLORGREEN,NODRAW;

STICKLINE(MACD<0,0,MACD,2,-1),COLORGRAY;
坚壁清野:IF(MACD<0,MACD,0),COLORGRAY,NODRAW;

STICKLINE(MACD<=0 AND MACD>REF(MACD,1),0,MACD,2,1),COLORMAGENTA;
反弹需谨慎:IF(MACD<=0 AND MACD>REF(MACD,1),MACD,0),COLORMAGENTA,NODRAW;

STICKLINE(MACD>=0 AND MACD>REF(MACD,1),0,MACD,2,1),COLORRED;
上升趋势:IF(MACD>=0 AND MACD>REF(MACD,1),MACD,0),COLORRED,NODRAW;


获利:=WINNER(C)*100;
STICKLINE(获利>50 AND COST(85)<CLOSE AND MACD>0 AND MACD>=REF(MACD,1),MACD,0,1,0),COLORYELLOW;
成本突破:IF(获利>50 AND COST(85)<CLOSE AND MACD>0 AND MACD>=REF(MACD,1),MACD,0),COLORYELLOW,NODRAW;

倍量柱:V>=REF(V,1)*2,COLORYELLOW ;

 

 

 

-----------------

选股公式:

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=DIFF-DEA;

(REF(MACD<REF(MACD,1),1) OR COST(85)<C) AND MACD>0 AND MACD>=REF(MACD,1) AND V>=REF(V,1)*2;
 




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

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

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