分时图自动画线(分时主图、源码、FNC文档、图片)介绍
分时图自动画线(分时主图、源码、FNC文档、图片)
{N 24 1 100 1}
aa:=N;
A1:=REF(H,aa)=HHV(H,2*aa); B1:=FILTER(A1,aa); C1:=BACKSET(B1,aa);
D1:=FILTER(C1,aa);A2:=REF(L,aa)=LLV(L,2*aa); B2:=FILTER(A2,aa);
C2:=BACKSET(B2,aa); D2:=FILTER(C2,aa);
R1:=BACKSET(DISPSTATUS=2,BARSLAST(D1)+1); S1:=R1>REF(R1,1);
T1:=BACKSET(DISPSTATUS=2,BARSLAST(D2)+1); U1:=T1>REF(T1,1);
R2:=BACKSET(S1,REF(BARSLAST(D1),1)+2); S2:=R2>REF(R2,1);
T2:=BACKSET(U1,REF(BARSLAST(D2),1)+2); U2:=T2>REF(T2,1);
R3:=BACKSET(S2,REF(BARSLAST(D1),1)+2); S3:=R3>REF(R3,1);
T3:=BACKSET(U2,REF(BARSLAST(D2),1)+2); U3:=T3>REF(T3,1);
R4:=BACKSET(S3,REF(BARSLAST(D1),1)+2); S4:=R4>REF(R4,1);
T4:=BACKSET(U3,REF(BARSLAST(D2),1)+2); U4:=T4>REF(T4,1);
DRAWLINE(S2,H,S1,H,1),colorf00ff0;
DRAWLINE(U2,L,U1,L,1),LINETHICK2,POINTDOT, colore66878;
DRAWLINE(S3,H,S2,H,1),colorblue;
DRAWLINE(U3,L, U2,L,1),LINETHICK2,POINTDOT,colorff0099;
DRAWLINE(S4,H,S3,H,1),COLORGRAY;
DRAWLINE(U4,L, U3,L,1),LINETHICK2,color00ff00;
gd11637