通达信四线粘合买点指标公式:
EMA5:EMA(C,5),COLORWHITE,LINETHICK2;
EMA13:EMA(C,13),COLORFF00FF;
EMA21:EMA(C,21),COLORYELLOW;
EMA34:EMA(C,34),COLORFFCC66;
EMA89:EMA(C,89),COLORBLUE;
SS:=CROSS(EMA5,EMA13) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA13,EMA21) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA21,EMA34) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA34,EMA89) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 ;
DRAWICON(SS,L-0.04,1);
DD:=CROSS(EMA13,EMA21) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA13,EMA89) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA21,EMA89) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA21,EMA89) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(EMA5,EMA89);
{DD:=CROSS(EMA5,EMA89);}
DRAWICON(DD,L-0.04,3);
LX:=(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,LINETHICK1;
J:=SUM(VOL*CLOSE,5)/SUM(VOL,5);
M:=EMA(J,2),COLORWHITE,LINETHICK1;
DRAWICON((CROSS(M,LX)),LX,10);
DRAWTEXT((CROSS(M,LX)),LX,' ←介入,'),COLOR00FF00;
通达信四线粘合买点指标公式