{111长线牛股主图P1 1 100 12P2 1 100 50}
压力:EMA(CLOSE,24),LINETHICK5,COLOR00FFFF;
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;
STICKLINE(长线牛股>生命线,生命线,长线牛股,2,1),COLOR0000FF;
STICKLINE(生命线>洼地,洼地,生命线,1,1),COLOR00FF00;
DRAWTEXT_FIX(ISLASTBAR,0.138,0.1,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.158,0.1,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.2858,0.1,0,GNBLOCK),COLORYELLOW;