同花顺三线开花副图指标
源码
n:=20;
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;
长期相对价位:C4,color6600ff,linethick2;
天线5,linethick2,coloreeee33,POINTDOT;
地线:5,linethick2,color33ee33,POINTDOT;
中线:50,linethick2,coloreeeeee,POINTDOT;
长期头部:IF((c4 (90)),20,0);
中期头部:IF((b4 (90)),15,0);
短期头部:IF((a4 (90)),6,0);