您的位置:爱股网 > 查股公式 > 通达信顶底趋势线副图源码[查股公式]
股票行情消息数据:

通达信顶底趋势线副图源码[查股公式]

2022/11/15 18:04:58

参数
N 0 100 4
M 0 100 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;

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红数据 股票评级报告
广告客服:315126368   843010021
爱股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29