通达信趋势解盘副图指标 源码开放




DLYZ1:=SUM((WINNER(C)*100),30)/30*0.1;

DLYZ2:=SUM((WINNER(C)*100),20)/20*0.4;

DLYZ3:=SUM((WINNER(C)*100),10)/10*0.3;

DLYZ4:=SUM((WINNER(C)*100),5)/5*0.1;

DLYZ5:=SUM((WINNER(C)*100),3)/3*0.1;

DLYZZ:=DLYZ1+DLYZ2+DLYZ3+DLYZ4+DLYZ5;

赚钱效应:IF(DLYZZ>38,DLYZZ,DLYZZ*1.3),NODRAW;

活跃度:IF(SUMBARS(VOL,CAPITAL)< 100,100-SUMBARS(VOL,CAPITAL),1),NODRAW;

LC:=REF(C,1);

A1:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100;

A2:=SMA(MAX(C-LC,0),24,1)/SMA(ABS(C-LC),24,1)*100;

STICKLINE(A1>=A2,5,0,2,0),COLOR0000FF;

STICKLINE(A1< A2,5,0,2,0),COLORGREEN;

STICKLINE(A1>=70 AND A1>=A2 AND A1< 80,5,0,2,0),COLOR0000AA;

STICKLINE(A1>=80 AND A1>A2,5,0,2,0),COLORFF00FF;

VAR1:=MA(LOW,1);

VAR2:=MA(HIGH,2);

VAR3:=MA(CLOSE,2);

VAR4:=(VAR3-LLV(VAR1,9))/(HHV(VAR2,9)-LLV(VAR1,9))*100;

VAR5:=SMA(VAR4,3,1);

CX1:=SMA(VAR5,3,1),COLORRED,LINETHICK2;

CXY1:=SMA(CX1,3,1);

VAR6:=(HHV(VAR2,9)-VAR3)/(HHV(VAR2,9)-LLV(VAR1,9))*100;

CX2:=SMA(VAR6,3,1),COLORYELLOW,LINETHICK2;

CXY2:=SMA(CX2,3,1);

VAR7:=REF(VAR3,1);

VAR8:=SMA(MAX(VAR3-VAR7,0),13,1)/SMA(ABS(VAR3-VAR7),13,1)*100;

VARB:=MA(INDEXC,3)*100/MA(INDEXC,10)-100;

VARC:=MA(CLOSE,3)*100/MA(CLOSE,10)-100;

VARD:=CLOSE*100/MA(CLOSE,10)-100;

VARE:=IF(VARB>10,10,VARB);

VARF:=IF(VARE< -10,-10,VARE);

VAR10:=IF(VARC>10,10,VARC);

VAR11:=IF(VAR10< -10,-10,VAR10);

VAR12:=REF(VARB,1);

VAR13:=100*(VAR3-REF(VAR3,1))/REF(VAR3,1);

VAR14:=INDEXC;

VAR15:=REF(VAR14,1);

VAR16:=100*(VAR14-VAR15)/VAR14;

VAR17:=MA(VAR13,3);

VAR18:=MA(VAR16,3);

VAR19:=(3*CLOSE+VAR1+OPEN+HIGH)/6;

VAR1A:=(20*VAR19+19*REF(VAR19,1)+18*REF(VAR19,2)+17*REF(VAR19,3)+16*REF(VAR19,4)+15*REF(VAR19,5)+14*REF(VAR19,6)+13*REF(VAR19,7)+12*REF(VAR19,8)+11*REF(VAR19,9)+10*REF(VAR19,10)+9*REF(VAR19,11)+8*REF(VAR19,12)+7*REF(VAR19,13)+6*REF(VAR19,14)+5*REF(VAR19,15)+4*REF(VAR19,16)+3*REF(VAR19,17)+2*REF(VAR19,18)+REF(VAR19,20))/210;

VARE1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

VARF1:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VARZ10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VARZ11:=VARF1< REF(VARZ10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);

DRAWTEXT(VARZ11 AND COUNT(VARZ11,30)=1,30,'大资金'),LINETHICK1,COLORFF00FF;

VARZ12:=(HIGH+LOW+CLOSE)/3;

VARZ13:=(VARZ12-MA(VARZ12,14))/(0.015*AVEDEV(VARZ12,14));

VARZ14:=(VARZ12-MA(VARZ12,70))/(0.015*AVEDEV(VARZ12,70));

VARZ15:=IF(VARZ13>=150 AND VARZ13< 200 AND VARZ14>=150 AND VARZ14< 200,10,0);

VARZ16:=IF(VARZ13<=-150 AND VARZ13>-200 AND VARZ14<=-150 AND VARZ14>-200,-10,VARZ15);

VARZ17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

VARZ18:=100-ABS(VARZ17);

VARZ19:=IF(VARZ18< 90,VARZ18,100);

VAR1A1:=IF(VARE1>0,VARE1,0);

VAR1B1:=IF(VARZ14>=200 AND VARZ13>=150,15,IF(VARZ14<=-200 AND VARZ13<=-150,-15,VARZ16))+60;

VAR1C1:=VAR1A1>48 AND VAR1B1>60 AND VARZ19< 100;

DRAWTEXT(VAR1C1 AND COUNT(VAR1C1,30)=1,70,'大出货'),LINETHICK1;

VAR1B:=MA(VAR1A,12);

VAR1C:=EMA(VAR1A,5);

VAR1D:=ABS(VAR1A-VAR1B);

VAR1E:=REF(VAR3,1)*0.015;

VAR1F:=REF(INDEXC,1);

VAR24:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)< REF(ZIG(3,10),2);

VAR25:=ZIG(3,10)< REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);

VAR26:=MA(CLOSE,26);

VAR27:=VAR26+2*STD(VAR3,26);

VAR28:=VAR26-2*STD(VAR3,26);

VAR29:=VAR26+2*STD(REF(VAR3,1),26);

VAR2A:=VAR26-2*STD(REF(VAR3,1),26);

VAR2B:=IF(VAR24 AND VAR1< VAR28,1,0);

VAR2C:=IF(VAR25*VAR1 AND VAR2>VAR27,2,VAR2B);

VAR2D:=IF(VAR2C=1,80,45);

VAR2E:=IF(VAR2C=2,0,VAR2D);

VAR2F:=VAR2E;

CXD1:=EMA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),5);

CXD2:=REF(CXD1,1);

STICKLINE(CXD1>=REF(CXD1,1),CXD1,CXD2,5,0),COLOR0055AA;

STICKLINE(CXD1< REF(CXD1,1),CXD1,CXD2,5,0),COLOR006600;

STICKLINE(CXD1>=REF(CXD1,1),CXD1,CXD2,1,0),COLOR0099DD;

STICKLINE(CXD1< REF(CXD1,1),CXD1,CXD2,1,0),COLOR00BB00;

DIFH:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEAH:=EMA(DIFH,9);

MACDH:=(DIFH-DEAH)*2,COLORSTICK;

AAA1H:=(DIFH-DEAH)*2*60;

主力H:=AAA1H-REF(AAA1H,1),COLORRED;

DRAWICON(CROSS(主力H,16),10,1);

CX3:=SMA(MAX(VAR3-VAR7,0),5,1)/SMA(ABS(VAR3-VAR7),5,1)*100;

DRAWTEXT(ISLASTBAR=1 AND (CROSS(CX3,CXY2) OR VAR2E>45),80,' 短期吃货'),COLORRED;

DRAWTEXT(ISLASTBAR=1 AND (CROSS(CXY1,CX3) OR VAR2E< 45),80,' 短期出货'),COLORGREEN;

DRAWTEXT(ISLASTBAR=1 AND VAR17>VAR18,60,' 个股强于大盘'),COLORFF00FF;

DRAWTEXT(ISLASTBAR=1 AND VAR12>VARF,50,' 大盘处在下降通道'),COLORCCFF99;

DRAWTEXT(ISLASTBAR=1 AND VAR18>=VAR17,60,' 个股弱于大盘'),COLOR00FFFF;

DRAWTEXT(ISLASTBAR=1 AND VAR1A>VAR1B AND VAR1D>VAR1E AND NOT(CROSS(75,VAR8)),40,' 持股待涨'),COLOR0099FF;

DRAWTEXT(ISLASTBAR=1 AND VAR1A< VAR1B AND VAR1D>VAR1E AND NOT(CROSS(CX3,20)),40,' 下调减持'),COLORFF9900;

DRAWTEXT(ISLASTBAR=1 AND VAR1D<=VAR1E,40,' 盘整阶段'),COLORFF9900;

DRAWTEXT(ISLASTBAR=1 AND (INDEXC-VAR1F)/VAR1F>0.035,40,'出现井喷行情'),COLORRED;







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

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

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