多空变色的【牛股通道】副图指标源码

NOTEXT极弱:(-100),DOTLINE,COLORFF6666;

NOTEXT弱势:(-50),DOTLINE,COLORCYAN;
NOTEXT平衡:0,NODRAW,COLOR00FFCC;
NOTEXT强势:50,DOTLINE,COLORRED;
NOTEXT极强:100,DOTLINE,COLORMAGENTA;
NOTEXT暴强:150,DOTLINE,COLOR00CCFF;
NOTEXT燃烧:200,DOTLINE,COLOR999999;
XA_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_2:=EMA(XA_1,9);
XA_3:=HHV(MAX(XA_1,XA_2),250);
XA_4:=INTPART(100/XA_3);
XA_5:=2*XA_4*XA_1+0;
XA_6:=2*XA_4*XA_2+0;
XA_7:=XA_5-XA_6;
STICKLINE(XA_7>=0 AND XA_7>=REF(XA_7,1),0,XA_7,2,1),COLORRED;
STICKLINE(XA_7>=0 AND XA_7<REF(XA_7,1),0,XA_7,2,0),COLORRED;
STICKLINE(XA_7<0 AND XA_7>=REF(XA_7,1),0,XA_7,2,1),COLORCYAN;
STICKLINE(XA_7<0 AND XA_7<REF(XA_7,1),0,XA_7,2,0),COLORCYAN;
XA_8:=(HIGH+LOW+CLOSE*2)/4;
XA_9:=EMA(XA_8,10);
XA_10:=STD(XA_8,10);
XA_11:=(XA_8-XA_9)*100/XA_10;
XA_12:=EMA(XA_11,5);
DIF:EMA(XA_12+55,9),COLORRED;
DEA:EMA(DIF,7),COLORGREEN;
MACD:(XA_1-XA_2)*2,NODRAW,COLORYELLOW;
DRAWBAND(DIF,RGB(255,0,0),DEA,RGB(0,255,0));
抄底:CROSS(DIF,DEA) AND DIF<0 AND CROSS(CLOSE,MA(CLOSE,5)),NODRAW,COLORYELLOW;
DRAWICON(抄底,LLV(DIF,10),38);
建仓:CROSS(DIF,0),NODRAW,COLORRED;
DRAWICON(建仓,(-25),34);
减仓:CROSS(DEA,DIF) AND DIF>125,NODRAW,COLORGREEN;
DRAWICON(减仓,DIF*1.2,35);
持股期:BARSLAST(建仓),NODRAW,COLORYELLOW;
盈利:100*(HIGH-REF(HIGH,持股期))/REF(CLOSE,持股期),NODRAW,COLORMAGENTA;
多头趋势:DIF>100 AND CLOSE>MA(CLOSE,21) AND MA(CLOSE,13)>MA(CLOSE,21) AND MA(CLOSE,21)>MA(CLOSE,55) AND MA(CLOSE,55)>MA(CLOSE,144),NODRAW,COLORYELLOW;
超级牛股:多头趋势 AND REF(多头趋势,1)=0,NODRAW,COLORRED;
DRAWICON(多头趋势,0,26);






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

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

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

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