以下是通达信均线粘合开花(25日后发布)
N:=粘合度N;
A1:=MA(C,M1);
A2:=MA(C,M2);
A3:=MA(C,M3);
A4:=MA(C,M4);
A5:=MA(C,M5);
A6:=MA(C,M6);
G1:=MAX(A1,A2);
G2:=MAX(A3,G1);
G3:=MAX(G2,A4);
G4:=MAX(G3,A5);
G5:=MAX(G4,A6);
D1:=MIN(A1,A2);
D2:=MIN(D1,A3);
D3:=MIN(D2,A4);
D4:=MIN(D3,A5);
D5:=MIN(D4,A6);
差价:=G5-D5;
AA:=G5+D5;
均价:=AA/2;
粘合:=差价/D5;
粘合度:=粘合*1000;
粘合度A:=粘合度;
JXKH1:=REF(A1,1)<=A1 AND REF(A2,1)<=A2 AND REF(A3,1)<=A3;
JXKH2:=REF(A4,1)<=A4 AND REF(A5,1)<=A5 AND REF(A6,1)<=A6;
开花地带:=粘合度A<N AND C>=O AND C>(G5+0.02) AND JXKH1 AND JXKH2;
粘合开花:开花地带 AND COUNT(开花地带,2)=1,COLORMAGENTA,LINETHICK2;