通达信筹码动态副图指标 内涵丰富 实战性能强 源码附图

N1:=2;
N2:13;
M:=5;

DRAWTEXT_FIX(C>0 ,0.02,0,0,'图中的红色和紫色柱子如果看不清,可看主力风向标指标。'),COLOR00FF00;
{以下筹码动态}
散筹估算:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3),LINETHICK5,COLORFFFF00;
主筹估算:EMA(WINNER(C)*70,3),COLORLIMAGENTA,NODRAW;
筹码锁定:散筹估算-主筹估算,COLORBLUE;
STICKLINE(筹码锁定>0,筹码锁定,散筹估算,5,1),COLOR009900;
STICKLINE(筹码锁定<=0,0,散筹估算,2,0),COLOR996600;
STICKLINE(筹码锁定>0,0,筹码锁定,2,1),COLORFFBB00;
STICKLINE(筹码锁定<0,0,筹码锁定,2,0),COLORFFBB00;
动态底部:EMA(IF(L<=LLV(L,99),SMA(ABS(L-REF(L,1)),99,1)/SMA(MAX(L-REF(L,1),0),99,1),0)*5,3),COLORBROWN;
STICKLINE(动态底部>0,0,动态底部,2,1),COLORYELLOW;
涨:CROSS(主筹估算,筹码锁定),COLORWHITE;
强:CROSS(主筹估算,散筹估算) AND 筹码锁定<-15,COLORLIRED;
第1买点:CROSS(主筹估算,动态底部),COLORYELLOW,NODRAW;
第2买点:CROSS(主筹估算,筹码锁定),COLORLIBLUE,NODRAW;
第3买点:CROSS(主筹估算,散筹估算),COLORGREEN,NODRAW;
STICKLINE(涨,0,筹码锁定,2,0),COLORWHITE;
STICKLINE(强,0,散筹估算,2,0),COLORLIRED;
STICKLINE(第1买点,0,散筹估算,2,0),COLORYELLOW;
STICKLINE(第2买点,0,散筹估算,2,0),COLORLIBLUE;
STICKLINE(第3买点,0,散筹估算,2,0),COLORGREEN;
红线:主筹估算,LINETHICK2,COLORRED;
XG:(第1买点 OR 第2买点 OR 第3买点) AND (涨 OR 强) AND 筹码锁定<-15 AND NOT(C/REF(C,1)>1.0975
AND H=O);
DRAWTEXT(XG,动态底部,'买入'),COLORRED;
{以下短期走强}
{突破 主}{硬块彩图中的出击信号,胜率高达80%的回马枪信号}

AA1:=EMA(C,5); AA2:=EMA(C,10);
突破:=REF(AA2,1),COLORMAGENTA,DOTLINE; AA3:=AA1-突破; AA4:=((AA3)/突破*100);
A:=IF(AA4>=0,REF(AA2,BARSLAST(CROSS(AA4,0))+1),DRAWNULL);
B:=IF(AA4<0,REF(AA2,BARSLAST(CROSS(0,AA4))+1),DRAWNULL);
持币:=IF(AA4<0,突破,DRAWNULL)COLORFFCC00,DOTLINE;

{以下核心指标}
VAR100:=1;

MA7:=MA(CLOSE,1);
转强1:=(6*HIGH+5*REF(HIGH,1)+4*REF(HIGH,2)+3*REF(HIGH,3)+2*REF(HIGH,4)+1*REF(HIGH,5))/(6+5+4+3+2+1);
转弱:=(6*LOW+5*REF(LOW,1)+4*REF(LOW,2)+3*REF(LOW,3)+2*REF(LOW,4)+1*REF(LOW,5))/(6+5+4+3+2+1);
BB2:=IF(CLOSE>REF(转强1,1),1,IF(CLOSE<REF(转弱,1),(-1),0));
DD2:=BARSLAST(NOT(BB2=0));
BB:=IF(BB2=0,REF(BB2,DD2),BB2);
中短:=IF(B=(-1),MA(HIGH,6)*VAR100,MA(LOW,6));
B点持股:(BARSLASTCOUNT(MA7>中短))*1.8,COLORFFFFFF;
S点持币:=BARSLASTCOUNT(MA7<中短);
{强势拉升,只做近期才出现的第一个信号}
X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,20);
X_3:=MA(CLOSE,10);
X_4:=ATAN((X_1/REF(X_1,1)-1)*100)*57.299999;
X_5:=ATAN((X_3/REF(X_3,1)-1)*100)*57.299999;
X_6:=ATAN((X_2/REF(X_2,1)-1)*100)*57.299999;
X_7:=X_6+X_5;
强势拉升:(X_7>100)*50,COLORYELLOW,LINETHICK1;
{以下短期走强和小波段配合}
ZF:=100*(C-REF(C,1))/REF(C,1);
转强:(COUNT(ZF>5,10)>N1 AND COUNT(ZF<5,30)>N2)*58,COLORFF00FF;
重叠K:=转强 AND HHV(L,M)<=LLV(H,M);
{下面是游资点火}
YM1:=15;
YM2:=15;
YM3:=102;
YM4:=7;
YM5:=MA((2*CLOSE+HIGH+LOW)/4,5);
YM6:=YM5*YM3/100;
YM7:=YM5*(200-YM3)/100;
YM8:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
YM9:=DMA(CLOSE,YM8);
YM10:=(1+YM4/100)*YM9;
YM11:=(1-YM4/100)*YM9;
YM12:=REF(EVERY(YM10<=REF(YM10,1) AND YM11<=REF(YM11,1),YM2),3);
YM13:=EVERY(YM6>REF(YM6,1) AND YM7>REF(YM7,1) AND YM10>REF(YM10,1) AND YM11>REF(YM11,1),2);
YM14:=YM12 AND YM13;
YM15:=MA(CLOSE,20);
YM16:=CLOSE>YM15 AND YM15>REF(YM15,1);
YM17:=4*STD(CLOSE,20);
YM18:=BARSLAST(LLV(YM17,YM1));
YM19:=YM18<=3 AND YM17>REF(YM17,1);
YM20:=YM16 AND YM19;
YM21:=BARSLAST(YM14)<=6 AND BARSLAST(YM20)<=12 AND (YM14 OR YM20);
YMGS:=YM21 AND COUNT(YM21,6)=1;
YMSG:=IF(6-BARSLAST(YMGS)>0,ABS(6-BARSLAST(YMGS)),0);
STICKLINE(YMSG,0,YMSG,2,1),COLORLIMAGENTA;
STICKLINE(YMGS,0,YMSG*0.9,0.8,0),COLORYELLOW;
STICKLINE(YMGS,0,YMSG*0.6,0.4,0),COLORRED;
点火:=IF(YMGS,7,MAX(0,7-BARSLAST(YMGS))),COLOR0080FF,LINETHICK2;
爆发力:=100*MA(VOL,5)/MA(VOL,2*YM1)-100,NODRAW,COLORRED;
STICKLINE(爆发力>0,20-爆发力/33,20,3,1),COLORFF0080;
STICKLINE(BETWEEN(爆发力,60,150),20-爆发力/33*0.8,20,1.5,0),COLORYELLOW;
STICKLINE(爆发力>=150,20-爆发力/33*0.8,20,1.5,0),COLOR0080FF;
{主力风向标}
X_3D:=IF(PERIOD<3,35,IF(PERIOD<=5,28,IF(PERIOD<=7,21,IF(PERIOD<=8,14,IF(PERIOD<=9,7,5)))));
X_4D:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_5D:=MAX(HIGH-LOW,MAX(HIGH-REF(CLOSE,1),REF(CLOSE,1)-LOW))/REF(CLOSE,1)*100;
X_6D:=(HIGH-LOW)/REF(CLOSE,1)*100;
X_7D:=VOL/REF(MA(VOL,5),1);
X_8:=VOL;
X_9:=(HIGH+LOW+CLOSE)/3;
X_10:=CLOSE>X_9;
X_11:=CLOSE<X_9;
X_12:=(X_4D*X_8)/400000;
X_13:=ABS(IF(X_11,X_12,0));
X_14:=IF(X_10,X_12,0);
阴线效率:ABS(SUM(IF(X_12<0,X_12,0),7)),DOTLINE,COLOR008000;
阳线效率:SUM(IF(X_12>0,X_12,0),7),DOTLINE,COLORRED;
X_15:=ABS(阴线效率-阳线效率);
X_16:=49;
X_17:=(阴线效率+阳线效率)/2;
X_18:=STDP(MAX(阴线效率,阳线效率),X_16);
X_19:=STDP(MIN(阴线效率,阳线效率),X_16);
X_20:=WMA(X_17,X_16);
X_21:=X_20+1.618*X_18;
X_22:=X_20-1.618*X_19;
X_23:=阳线效率>阴线效率 AND 阳线效率>=X_20;
X_24:=阴线效率>阳线效率 AND 阴线效率>=X_20;
X_25:=阳线效率>阴线效率 AND 阳线效率>X_21;
X_26:=阴线效率>阳线效率 AND 阴线效率>X_21;
X_27:=阳线效率<阴线效率 AND 阳线效率<X_22;
X_28:=阴线效率<阳线效率 AND 阴线效率<X_22;
X_29:=阳线效率>=HHV(阳线效率,100) AND 阳线效率>0;
X_30:=阴线效率>=HHV(阴线效率,100) AND 阴线效率>0;
X_31:=阳线效率<=LLV(阳线效率,100);
X_32:=阴线效率<=LLV(阴线效率,100);
STICKLINE(X_23,阳线效率,MAX(X_20,阴线效率),1,0),COLORRED;

STICKLINE(X_25,阳线效率,MAX(X_21,阴线效率),1,0),COLORFF0080;


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

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

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