通达信趋势解盘副图指标 个股强于大盘、持股待涨、盘整阶段提示 有未来 源码

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

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

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

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

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

ZYGZ:=ZYG1+ZYG2+ZYG3+ZYG4+ZYG5;

赚钱效应:IF(ZYGZ>38,ZYGZ,ZYGZ*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;

X1:=MA(LOW,1);

X2:=MA(HIGH,2);

X3:=MA(CLOSE,2);

X4:=(X3-LLV(X1,9))/(HHV(X2,9)-LLV(X1,9))*100;

X5:=SMA(X4,3,1);

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

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

X6:=(HHV(X2,9)-X3)/(HHV(X2,9)-LLV(X1,9))*100;

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

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

X7:=REF(X3,1);

X8:=SMA(MAX(X3-X7,0),13,1)/SMA(ABS(X3-X7),13,1)*100;

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

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

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

XE:=IF(XB>10,10,XB);

XF:=IF(XE< -10,-10,XE);

X10:=IF(XC>10,10,XC);

X11:=IF(X10< -10,-10,X10);

X12:=REF(XB,1);

X13:=100*(X3-REF(X3,1))/REF(X3,1);

X14:=INDEXC;

X15:=REF(X14,1);

X16:=100*(X14-X15)/X14;

X17:=MA(X13,3);

X18:=MA(X16,3);

X19:=(3*CLOSE+X1+OPEN+HIGH)/6;

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

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

XF1:=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);

XZ10:=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);

XZ11:=XF1< REF(XZ10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);

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

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

XZ13:=(XZ12-MA(XZ12,14))/(0.015*AVEDEV(XZ12,14));

XZ14:=(XZ12-MA(XZ12,70))/(0.015*AVEDEV(XZ12,70));

XZ15:=IF(XZ13>=150 AND XZ13< 200 AND XZ14>=150 AND XZ14< 200,10,0);

XZ16:=IF(XZ13<=-150 AND XZ13>-200 AND XZ14<=-150 AND XZ14>-200,-10,XZ15);

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

XZ18:=100-ABS(XZ17);

XZ19:=IF(XZ18< 90,XZ18,100);

X1A1:=IF(XE1>0,XE1,0);

X1B1:=IF(XZ14>=200 AND XZ13>=150,15,IF(XZ14<=-200 AND XZ13<=-150,-15,XZ16))+60;

X1C1:=X1A1>48 AND X1B1>60 AND XZ19< 100;

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

X1B:=MA(X1A,12);

X1C:=EMA(X1A,5);

X1D:=ABS(X1A-X1B);

X1E:=REF(X3,1)*0.015;

X1F:=REF(INDEXC,1);

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

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

X26:=MA(CLOSE,26);

X27:=X26+2*STD(X3,26);

X28:=X26-2*STD(X3,26);

X29:=X26+2*STD(REF(X3,1),26);

X2A:=X26-2*STD(REF(X3,1),26);

X2B:=IF(X24 AND X1< X28,1,0);

X2C:=IF(X25*X1 AND X2>X27,2,X2B);

X2D:=IF(X2C=1,80,45);

X2E:=IF(X2C=2,0,X2D);

X2F:=X2E;

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(X3-X7,0),5,1)/SMA(ABS(X3-X7),5,1)*100;

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

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

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

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

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

DRAWTEXT(ISLASTBAR=1 AND X1A>X1B AND X1D>X1E AND NOT(CROSS(75,X8)),40,' 持股待涨'),COLOR0099FF;

DRAWTEXT(ISLASTBAR=1 AND X1A< X1B AND X1D>X1E AND NOT(CROSS(CX3,20)),40,' 下调减持'),COLORFF9900;

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

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


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

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

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