顶底趋势线通达信公式 副图 源码附图

N:=4;
M:=9;
Z:=MA(C,55);
T:=MA(C,21);
Q:=MA(C,34);
E:=(C-(Z+T+Q)/3)/MA(C,3)*500,VOLSTICK;
CC:=IF(E>0,E,0);
DD:=IF(E<0,E,0);
NN:=(EMA(C,12)-EMA(C,26))*20,COLORFF3870;
MM:=EMA(NN,9),COLORRED;
RR:=2*(NN-MM)*30,STICK;
A:=(H+L+C*2)/4;
B:=EMA(A,8);
D:=STD(A,8);
W:=(A-B)/D*100;
WW:=EMA(W,8);
MC:=EMA(WW,N),COLORRED,LINETHICK2;
EE:=EMA(MC,M),COLORWHITE,LINETHICK1;
随时见顶:(CC>20)*140,COLORFF0000,CIRCLEDOT;
顶部区域:(SUM(CC,2)>78)*155,CIRCLEDOT,COLORYELLOW;
再上一层楼:FILTER((SUM(CC,4)>275),10)*170,COLORFF00FF,CIRCLEDOT;
VAR4:=REF(C,1);
VAR5:=SMA(MAX(C-VAR4,0),7,1)/SMA(ABS(C-VAR4),7,1)*100;
VAR6:=FILTER(CROSS(79,VAR5),4)*190;
DRAWTEXT(VAR6,100,'减'),COLORFF00CC;
VAR2:=(REF(H,1)+REF(L,1))/2;
VAR3:=MA(C,20)+2*STD(C,20);
VAR7:=FILTER(CROSS(VAR2,VAR3),4);
DRAWTEXT(VAR7,100,'减'),COLORWHITE;
VAR8:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)
-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
QQ:=FILTER(CROSS(VAR8,13),4)*-200;
VAR9:=IF(VAR8>90,50,100);
VAR10:=FILTER(CROSS(VAR9,VAR8),4);
DRAWTEXT(VAR10,130,'$入袋为安'),COLORFFFFFF;
VAR51:=SMA(MIN(C-VAR4,0),7,1)/SMA(ABS(C-VAR4),7,1)*100;
VAR61:=FILTER(CROSS(VAR51,-79),4)*-190;
VAR33:=MA(C,20)-2*STD(C,20);
VAR77:=FILTER(CROSS(VAR33,VAR2),4);
随时见底:(DD<-40)*-160,COLORFF0000,CIRCLEDOT;
底部区域:(SUM(DD,2)<-90)*-175,CIRCLEDOT,COLORYELLOW;
再到地下层:FILTER((SUM(DD,4)<-290),10)*-190,COLORFF0000,CIRCLEDOT;
DRAWTEXT(VAR61,-100,'增'),COLORFF00CC;
DRAWTEXT(VAR77,-100,'增'),COLORWHITE;
DRAWTEXT(QQ,-130,'$祝你好运'),COLOR00FFFF;
E2:(C-(Z+T+Q)/3)/MA(C,3)*500,VOLSTICK;
MCC:EMA(WW,N),COLORRED,LINETHICK2;
IF(MCC<=REF(MCC,1),MCC,DRAWNULL),COLORFF0000,LINETHICK2;


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

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

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

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