DRAWTEXT_FIX(1,0,0,0, 粉红色为EMA线 ),COLORLIRED;
DRAWTEXT_FIX(1,0,0.5,0, 黄色为MA线 ),COLORYELLOW;
{
XX:=1;
X1:=IF(XX=0,MA(C,5),EMA(C,5));
X2:=IF(XX=0,MA(C,10),EMA(C,10));
X3:=IF(XX=0,MA(C,20),EMA(C,20));
X4:=IF(XX=0,MA(C,60),EMA(C,60));
X5:=IF(XX=0,MA(C,120),EMA(C,120));
X6:=IF(XX=0,MA(C,250),EMA(C,250)),COLORLICYAN;
CX1:=L X1 AND C
CX2:=L X2 AND C
CX3:=L X3 AND C
CX4:=L X4 AND C
CX5:=L X5 AND C
CX6:=L X6 AND C
XX:=CX1+CX2+CX3+CX4+CX5+CX6;
XG:XX
}