通达信成本逐利2.0指标公式

趋势:SMA(((CLOSE- LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1);
DRAWBAND(趋势,RGB(155,50,50),50,RGB(0,100,50));
判断:SMA(趋势,3,1);
QS:IF(趋势>50,趋势,DRAWNULL),COLORRED;
RS:IF(趋势<50,趋势,DRAWNULL),COLORGREEN;
RIS:IF(判断>50 AND 趋势>判断,判断,DRAWNULL),COLORYELLOW,LINETHICK2;
PUR:IF(判断<50 AND 趋势>判断,判断,DRAWNULL),COLORLIMAGENTA;
SHO:IF(判断>50 AND 趋势<判断,判断,DRAWNULL),COLORLIGREEN,LINETHICK2;
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
DEA:=EMA(DIFF,6);
macd:=2*(DIFF-DEA);
拐点:=IF(K>D AND CCI>0 AND DIFF>DEA AND MacD>0,1,0);
买入:crOSS(趋势,判断) AND PUR>0 AND PUR<30,COLORRED,NODRAW;
加仓:CROSS(趋势,50),COLORMAGENTA,NODRAW;
持股:RIS>50 AND RIS<100,COLORYELLOW,NODRAW;
卖出:CROSS(判断,趋势),COLORFFAA00,NODRAW;
STICKLINE(拐点=1,50,50,2,0),COLORYELLOW;
STICKLINE(拐点=0,50,50,2,0),COLORCYAN;




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

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

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

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