源码
N:=15;
C0:=(H+L+C)/3;
A1:=HHV(C0,N);A2:=LLV(C0,N);A3:=A1-A2;
A4:=EMA((C0-A2)/A3,2)*100;
B1:=HHV(C0,4*N);B2:=LLV(C0,4*N);B3:=B1-B2;
B4:=EMA((C0-B2)/B3,2)*100;
C1:=HHV(C0,16*N);C2:=LLV(C0,16*N);C3:=C1-C2;
C4:=EMA((C0-C2)/C3,2)*100;
短期相对价位:A4,COLOR66DDDD,LINETHICK2;
中期相对价位:B4,COLOR6699FF,LINETHICK2;
长期相对价位:C4,COLOR6600FF,LINETHICK2;
天线:95,LINETHICK2,COLOREEEE33,POINTDOT;
地线:5,LINETHICK2,COLOR33EE33,POINTDOT;
中线:50,LINETHICK2,COLOREEEEEE,POINTDOT;