同花顺一波三浪指标公式

[复制链接]
查看160 | 回复0 | 2021-8-20 21:35:20 | 显示全部楼层 |阅读模式

N:=13;
N1:=30;
M:=10;
M1:=5;
TRX:=MAX(ABS(H-REF(H,1)),ABS(L-REF(L,1)));
DMZ:=IF((H+L)<=(REF(H,1)+REF(L,1)),0,TRX);
DMF:=IF((H+L)>=(REF(H,1)+REF(L,1)),0,TRX);
DIZ:=SUM(DMZ,N)/(SUM(DMZ,N)+SUM(DMF,N));
DIF:=SUM(DMF,N)/(SUM(DMF,N)+SUM(DMZ,N));
DDI:DIZ-DIF,COLORSTICK,LINETHICK3;
ADDI:SMA(DDI,N1,M),colorwhite,LINETHICK1;
AD:MA(ADDI,M1),coloryellow,LINETHICK1;
V1:=LLV(LOW,10);
V2:=HHV(H,25);
价位线:=EMA((C-V1)/(V2-V1)*4,4);
DRAWTEXT(CROSS(价位线,0.3),-0.5,'▲'),colorlired;
DRAWTEXT(CROSS(3.5,价位线),1,'◆'),colorliblue;
 

202108202132.jpg

202108202132.jpg

 

回复

使用道具 举报

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

本版积分规则