通达信天马筹码副图指标 利用筹码比率找出波段底部 让你避免被套 源码 附图

筹码比率:IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK;
倍:WINNER(CLOSE)*100>=REF(WINNER(CLOSE)*100,1)*1.9 AND CLOSE>REF(CLOSE,1),NODRAW,COLOR80FFFF;
平:ABS(WINNER(CLOSE)*100-HHV(REF(WINNER(CLOSE)*100,1),5))/HHV(REF(WINNER(CLOSE)*100,1),5)<=0.0382 OR ABS(WINNER(CLOSE)*100-REF(WINNER(CLOSE)*100,1))/REF(WINNER(CLOSE)*100,1)<=0.05,NODRAW,COLORWHITE;
低L:WINNER(CLOSE)*100<REF(LLV(WINNER(CLOSE)*100,8),1),NODRAW,COLORGREEN;
地:WINNER(CLOSE)*100<REF(LLV(WINNER(CLOSE)*100,100),1),NODRAW,COLORMAGENTA;
倍缩:WINNER(CLOSE)*100<=REF(WINNER(CLOSE)*100,1)*0.5,NODRAW,COLORRED;
STICKLINE(倍,0,WINNER(CLOSE)*100,1.8,0),COLOR03DFF8;
STICKLINE(低L,0,WINNER(CLOSE)*100,1.5,0),COLOR008000;
STICKLINE(地,0,WINNER(CLOSE)*100,4,0),COLORMAGENTA;
STICKLINE(倍缩,0,WINNER(CLOSE)*100,1.5,0),COLORRED;
X_1:=MA(HHV(HIGH,500),13);
X_2:=MA(HHV(HIGH,250),13);
X_3:=MA(HHV(HIGH,89),13);
X_4:=MA(LLV(LOW,500),13);
X_5:=MA(LLV(LOW,250),13);
X_6:=MA(LLV(LOW,89),13);
X_7:=MA((X_1*0.558+X_2*0.558+X_3*0.558+X_4*0.96+X_5*0.96+X_6*0.96)/6,17);
X_8:=MA((X_1*0.55+X_2*0.55+X_3*0.65+X_4*1.25+X_5*1.23+X_6*1.2)/6,17);
X_9:=MA((X_1*0.68+X_2*0.68+X_3*0.68+X_4*1.3+X_5*1.3+X_6*1.3)/6,17);
X_10:=MA((X_7*3+X_8*2+X_9)/6*1.738,17);
X_11:=SMA(ABS(LOW-REF(LOW,1)),3,1)/SMA(MAX(LOW-REF(LOW,1),0),3,1)*100;
X_12:=MA(IF(CLOSE*1.35<=X_10,X_11*10,X_11/10),3);
X_13:=HHV(X_12,30);
X_14:=MA(IF(LOW<=LLV(LOW,42),(X_13+X_11*2)/3,0),3)/100;
STICKLINE(CROSS(3.8,X_14) AND X_14<REF(X_14,1),0,88,0.1,0),COLORMAGENTA;
DRAWTEXT(CROSS(3.8,X_14) AND X_14<REF(X_14,1),88,1659),COLORMAGENTA;
STICKLINE(CROSS(10,X_14) AND X_14<REF(X_14,1),0,70,0.5,0),COLORYELLOW;
DRAWTEXT(CROSS(10,X_14) AND X_14<REF(X_14,1),70,1660),COLORYELLOW;
STICKLINE(CROSS(62,X_14) AND X_14<REF(X_14,1),0,58,2,0),COLORRED;
DRAWTEXT(CROSS(38,X_14) AND X_14<REF(X_14,1),58,1661),COLORRED;
X_15:=LAST(X_14>0.618,3,1) AND COUNT(CROSS(0.618,X_14) OR CROSS(62,X_14),21)>=2;
STICKLINE(FILTER(X_15,13),40,0,1,0),COLORRED;
DRAWTEXT(FILTER(X_15,13),40,1662),COLORRED;
X_16:=EMA(WINNER(CLOSE)*100,2);
X_17:=EMA(X_16,5);
X_18:=EMA(X_16,21);
DRAWICON(CROSS(X_17,X_18) AND X_18>50 AND X_18>=REF(X_18,3),X_18,1);
DRAWICON(CROSS(X_17,X_18) AND X_18<=50 AND X_18>=REF(X_18,3),X_18,7);
DRAWICON(CROSS(X_16,5),5,26);
X_19:=LLV(LOW,21);
X_20:=HHV(HIGH,21);
X_21:=EMA((CLOSE-X_19)/(X_20-X_19)*100,6);
X_22:=EMA(0.667*REF(X_21,1)+0.333*X_21,2);
DRAWICON(LONGCROSS(X_21,X_22,0.1) AND CROSS(X_16,X_17),X_21,1);
X_23:=MA(CLOSE,8);
X_24:=MA(CLOSE,50);
X_25:=(CLOSE-X_24)/X_24<0.008;
X_26:=(CLOSE-X_23)/X_23<0.058;
X_27:=(X_25=1 AND X_26=1)*0.2;
X_28:=(X_27=0 AND REF(X_27,1)=0.2 AND REF(COUNT(X_27=0.2,10)=10,1)=1)*1;
DRAWTEXT(X_28,HHV(筹码比率,20),1663),COLOR80FFFF;
X_29:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
X_30:=(CLOSE+LOW+HIGH)/3;
X_31:=EMA(X_30,6);
X_32:=EMA(X_31,5);
X_33:=CROSS(X_31,X_32);
X_34:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
X_35:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
X_36:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
X_37:=X_34+100;
X_38:=X_36+100;
X_39:=CROSS(X_38,X_37);
短线反弹:IF(CROSS(X_29,25) AND COUNT(X_33,2)>0 AND COUNT(X_39,2)>0,(-24),DRAWNULL),STICK,COLORGREEN,LINETHICK3;
DRAWTEXT(CROSS(X_29,25) AND COUNT(X_33,2)>0 AND COUNT(X_39,2)>0,(-18),1664),COLORGREEN;
TX50:50,DOTLINE,COLORBLUE;
TX80:80,DOTLINE,COLORBLUE;
DX20:20,POINTDOT,COLORBLUE,LINETHICK4;
K1:EMA((CLOSE-X_19)/(X_20-X_19)*100,6),COLORRED;
D1:EMA(0.667*REF(K1,1)+0.333*K1,2),COLORGREEN;
X_40:=LLV(LOW,55);
X_41:=HHV(HIGH,34);
X_42:=EMA((CLOSE-X_40)/(X_41-X_40)*100,3);
X_43:=(K1+X_42)/2;
X_44:=EMA(0.667*REF(X_42,1)+0.333*K1,2);
X_45:=EMA(X_43,5);
VAR9:EMA(0.667*REF(X_45,1)+0.333*X_45,2);
DRAWICON(LONGCROSS(D1,K1,0.1),D1,2),COLORRED;
DRAWICON(LONGCROSS(K1,D1,0.1),K1,1),COLORGREEN;


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

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

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