EMA8:=EMA(C,8);
EMA13:EMA(C,13),COLORFFCCCC;
EMA21:EMA(C,21),COLORFF00FF;
EMA34:EMA(C,34),COLORYELLOW;
EMA55:EMA(C,55),COLORFFCC66;
EMA89:EMA(C,89),COLORBLUE;
F1:=EMA13-EMA21<130/1000 AND EMA13-EMA34<230/1000 AND EMA13-EMA55<330/1000;
F2:=EMA21-EMA13<130/1000 AND EMA21-EMA34<230/1000 AND EMA21-EMA55<330/1000;
F3:=EMA34-EMA13<130/1000 AND EMA34-EMA21<230/1000 AND EMA34-EMA55<330/1000;
F4:=EMA55-EMA13<130/1000 AND EMA55-EMA21<230/1000 AND EMA55-EMA34<330/1000;
F5:=EMA13-EMA21<100/1000 AND EMA13-EMA34<200/1000;
FF1:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA13,EMA21);
FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA13);
FF3:=F5 AND C>EMA89 AND CROSS(EMA13,EMA21);
G1:=EMA21-EMA34<220/1000 AND EMA21-EMA34<320/1000 AND EMA21-EMA89<420/1000;
G2:=EMA34-EMA13<220/1000 AND EMA34-EMA21<320/1000 AND EMA34-EMA89<420/1000;
G3:=EMA55-EMA21<220/1000 AND EMA55-EMA34<320/1000 AND EMA55-EMA89<420/1000;
G4:=EMA89-EMA21<220/1000 AND EMA89-EMA34<320/1000 AND EMA89-EMA55<420/1000;
GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA89,EMA13);
GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA21);
DRAWICON(FF1 OR FF2 OR FF3 OR GG1 OR GG2,L-0.1,9);
==============================================================
{均線粘合牛股2}
EMA8:=EMA(C,8);
EMA13:=EMA(C,13);
EMA21:=EMA(C,21);
EMA34:=EMA(C,34);
EMA55:=EMA(C,55);
EMA89:=EMA(C,89);
F1:=EMA13-EMA21<130/1000 AND EMA13-EMA34<230/1000 AND EMA13-EMA55<330/1000;
F2:=EMA21-EMA13<130/1000 AND EMA21-EMA34<230/1000 AND EMA21-EMA55<330/1000;
F3:=EMA34-EMA13<130/1000 AND EMA34-EMA21<230/1000 AND EMA34-EMA55<330/1000;
F4:=EMA55-EMA13<130/1000 AND EMA55-EMA21<230/1000 AND EMA55-EMA34<330/1000;
F5:=EMA13-EMA21<100/1000 AND EMA13-EMA34<200/1000;
FF1:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA13,EMA21);
FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA13);
FF3:=F5 AND C>EMA89 AND CROSS(EMA13,EMA21);
G1:=EMA21-EMA34<220/1000 AND EMA21-EMA34<320/1000 AND EMA21-EMA89<420/1000;
G2:=EMA34-EMA13<220/1000 AND EMA34-EMA21<320/1000 AND EMA34-EMA89<420/1000;
G3:=EMA55-EMA21<220/1000 AND EMA55-EMA34<320/1000 AND EMA55-EMA89<420/1000;
G4:=EMA89-EMA21<220/1000 AND EMA89-EMA34<320/1000 AND EMA89-EMA55<420/1000;
GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA8,EMA13);
GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA21);
均線粘合:FF1 OR FF2 OR FF3 OR GG1 OR GG2;(南方財(cái)富網(wǎng)SOUTHMONEY.COM)
(責(zé)任編輯:張曉軒)