通达信精品趋势附图源码

[复制链接]
查看142 | 回复0 | 2021-8-19 17:22:01 | 显示全部楼层 |阅读模式

以下是通达信精品趋势附图源码(无源码的请下载附件导入)

AA:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
数值:(EMA(AA,3)-50)*2,COLORWHITE,LINETHICK2;
减:68,COLORFF85FF;
补:-68,COLORYELLOW;
清:90,COLORFFFF00,LINETHICK2,;
全:-90,COLORGREEN,LINETHICK2;
强弱线:0,COLORGREEN;
STICKLINE(DDX>0,0,DDX,1,0 ),COLOR0022CC;
STICKLINE(DDX<0,0,DDX,1,0 ),COLORFFFF00;
DDX1:=EMA(DDX,60)*20,COLOR00FFFF;
DDX2:=MA(DDX1,5),COLORFF00FF;
DDX3:MA(DDX1,7),COLOR00FF00,LINETHICK2;
DD1:=EMA(IF(L<= LLV(L,99),SMA(ABS(L-REF(L,1)),
99,1)/SMA(MAX(L-REF(L,1),0),99,1),0)*3,3)*5,COLORYELLOW;
DD2:=EMA(IF(L<= LLV(L,55),SMA(ABS(L-REF(L,1)),
55,1)/SMA(MAX(L-REF(L,1),0),55,1),0)*3,3)*5,COLORGREEN;
DD3:=EMA(IF(L<= LLV(L,25),SMA(ABS(L-REF(L,1)),
25,1)/SMA(MAX(L-REF(L,1),0),25,1),0)*3,3)*5,COLORMAGENTA;
D1:STICKLINE(DD3,DD3,0,5,-2),COLORMAGENTA;
D2:STICKLINE(DD2,DD2,0,5,-2),COLORGREEN;
D3:STICKLINE(DD1,DD1,0,3,-2),COLORYELLOW;
V1:=LLV(LOW,10);
V2:=HHV(H,25);
价位线:=EMA((C-V1)/(V2-V1)*4,4);
DRAWTEXT(CROSS(价位线,0.3),-70,'●进'),COLORRED;
DRAWTEXT(CROSS(3.5,价位线),72,'●逃'),COLORFFFFFF;

715344187.jpg

715344187.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则