源码
P1:=12;P2:=50;
Var1:=EMA(CLOSE,P1);
Var2:=EMA(CLOSE,P2);
长线牛股: (CLOSE-Var1)*2/(P1+1)+Var1, COLORRED;
Var3:=(CLOSE-Var2)*2/(P2+1)+Var2;
DRAWICON(FILTER(CROSS(长线牛股,Var3),20),长线牛股,1);
DRAWICON(FILTER(CROSS(Var3,长线牛股),20),长线牛股,2);
洼地: IF(长线牛股>Var3,Var3,长线牛股), COLORGREEN;
生命线: Var3,COLORYELLOW;
