VAR1:=EMA(CLOSE,12);
VAR2:=EMA(CLOSE,50);
长线牛股:(CLOSE-VAR1)*2/(12+1)+VAR1,colorFF;
VAR3:=(CLOSE-VAR2)*2/(50+1)+VAR2;
DRAWICON(FILTER(CROSS(长线牛股,VAR3),20),长线牛股,1);
DRAWICON(FILTER(CROSS(VAR3,长线牛股),20),长线牛股,2);
洼地:IF(长线牛股>VAR3,VAR3,长线牛股),colorFF00;
生命线:VAR3,colorFFFF;