通达信【换手牛熊】副图指标 换手率判庄家断牛熊源码

X_1:=9*M;
X_2:=X_1*4/3;
X_3:=X_1*26/9;
X_4:=EMA(CLOSE,X_2)-EMA(CLOSE,X_3);
X_5:=EMA(X_4,X_1);
X_6:=(X_4-X_5)*2;
DIFH:(EMA(CLOSE,X_2)-EMA(CLOSE,X_3))*10;
DEAH:EMA(X_4,X_1)*10;
X_7:=CROSS(X_5,X_4);
换手:IF(X_6>0,VOL/CAPITAL*100,0),COLORSTICK;
X_8:=VMACD.MACD#WEEK;
X_9:=BARSLAST(X_8<0);
X_10:=IF(X_8<0,REF(X_9,BARSLAST(X_8>0)),X_9);
X_11:=SUM(IF(X_8>0,VOL,0),X_10+1);
区间换手:X_11/CAPITAL*100,NODRAW;
X_12:=ROUND(区间换手);
DRAWNUMBER(X_7,HHV(REF(换手,1),5)+3,ABS(X_12)),COLORMAGENTA;
X_13:=CROSS(SUM(换手,X_10)>=100,0.5) AND X_4>X_5;
X_14:=CROSS(SUM(换手,X_10)>=200,0.5) AND X_4>X_5;
X_15:=CROSS(SUM(换手,X_10)>=300,0.5) AND X_4>X_5;
STICKLINE(X_13,0,换手,2.5,0),COLORWHITE;
STICKLINE(X_14,0,换手,2.5,0),COLORYELLOW;
STICKLINE(X_15,0,换手,2.5,0),COLORMAGENTA;
控盘度:区间换手*13.3/100,NODRAW;
STICKLINE(控盘度>40 AND X_6>0,0,1.5,4,0),COLORWHITE;
STICKLINE(控盘度>65 AND X_6>0,0,1.5,4,0),COLORYELLOW;
STICKLINE(控盘度>90 AND X_6>0,0,1.5,4,0),COLORMAGENTA;
换庄线:15,DOTLINE,COLORYELLOW;
X_16:=HHV(X_6*10,256);
X_17:=LLV(VMACD.DIF,256);
L80%:0.809*X_16+0.191*X_17,DOTLINE,COLORMAGENTA,NODRAW;
X_18:=0.618*X_16+0.382*X_17;
X_19:=REF(LOW,1);
X_20:=SMA(ABS(LOW-X_19),13,1)/SMA(MAX(LOW-X_19,0),13,1)*100;
X_21:=EMA(IF(CLOSE*1.2,X_20*13,X_20/13),13);
X_22:=LLV(LOW,34);
X_23:=HHV(X_21,34);
X_24:=IF(LLV(LOW,56),1,0);
X_25:=EMA(IF(LOW<=X_22,(X_21+X_23*2)/2,0),3)/618*X_24;
X_26:=X_25>REF(X_25,1);
X_27:=100;
X_28:=3;
X_29:=REF(LLV(LOW,100),3);
X_30:=REFDATE(X_29,DATE);
X_31:=LOW=X_30;
X_32:=X_26 AND X_31;
X_33:=X_32>REF(X_32,1);
X_34:=X_33>REF(X_33,1);
STICKLINE(IF(X_34,(-120),0),(-1),13,2,0),COLORGREEN;
DRAWICON(X_34,18,1);
0,COLORRED;


未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:#WEEK
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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