通达信趋势底部副图顶底有显示提示顶部风险


X_50:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

X_51:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;

X_52:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;

X_53:=(X_50+2*X_51+3*X_52)/6;

X_54:=MA(X_53,3);

X_55:=LLV(LOW,36);

X_56:=HHV(HIGH,30);

X_57:=EMA((CLOSE-X_55)/(X_56-X_55)*4,4)*25;

底背离:IF(X_54<-4 ,-11,0),COLORA67D3D,LINETHICK3;

顶背离:IF((X_57>90),110,100), COLORGREEN,LINETHICK3; 

DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0); 

趋势:5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)

-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)

-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)

,3,1),2,1),COLOR7F52AF;

趋势1:EMA(MA(趋势,5),3),COLORA6B8C1;

STICKLINE(趋势>=趋势1,趋势,趋势1,2,0),COLOR7F52AF;

STICKLINE(趋势<趋势1,趋势,趋势1,2,0),COLORA6B8C1;

STICKLINE(趋势>108 AND 趋势>=趋势1,趋势,108,2,0),COLORBLUE ;

STICKLINE(趋势1>108 AND 趋势<趋势1,趋势1,108,2,0),COLORWHITE;

STICKLINE(趋势<0 AND 趋势<趋势1,趋势,0,2,0),COLORF00FF0 ;

STICKLINE(趋势1<0 AND 趋势>趋势1,趋势1,0,2,0),COLORF0F000;

V1:=MA(C,5)=HHV(MA(C,5),20);

V2:=MA(C,5)>MA(C,20);

V3:=COUNT(MA(C,1)>REF(C,1),3)=3;

风险:IF(V1 AND V2 AND V3,30,0),STICK,COLOR00FF00;

V11:=MA(C,5)=HHV(MA(C,5),120);

V21:=MA(C,5)>MA(C,120);

V31:=COUNT(MA(C,1)>REF(C,1),3)=3;

风险1:IF(V11 AND V21 AND V31,60,0),STICK,COLORF0F000;

底部:5;

抄底:IF(CROSS(趋势,底部),60,0),STICK,COLORYELLOW,LINETHICK4;

DRAWTEXT(抄底,50,'抄底'),COLORRED;

天线:108,COLORFF9D00;

逃顶:IF(CROSS(天线,趋势),1,0),STICK,COLORFF9D00;

STICKLINE(CROSS(天线,趋势),90,108,6,0),COLORFF9D00; 

A1:=((MA(C,60)-L)/MA(C,20)),COLOR00FFFF;

B1:=((MA(C,60)-L)/MA(C,60)),COLOR00FF00;

C1:=((MA(C,30)-L)/MA(C,30)),COLORFF00FF;

主力:(A1+B1+C1)/3,COLOR0000FF;

散户:-1*(A1+B1+C1)/3,COLOR00FF00;

TJ1:=CROSS(散户,主力);

MA5:=MA(CLOSE,5);

MA10:=MA(CLOSE,10);

MA20:=MA(CLOSE,20);

MA30:=MA(CLOSE,30);

MA54:=MA(CLOSE,54);

MA60:=MA(CLOSE,60);

MA120:=MA(CLOSE,120);

热度:1/((MA5+MA10+MA20+MA30+MA60+MA120)/6/C)/10,COLORWHITE,DOTLINE;

BBT:热度-主力,NODRAW;

XS:=BBT<=0.02;

STICKLINE(BBT>=REF(BBT,1),主力,热度,0.01,0),COLORFF80FF;

STICKLINE(BBT<REF(BBT,1),主力,热度,0.01,0),COLORC08000;

DRAWICON(XS,主力,11);



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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