MA1:EMA(CLOSE,P1),COLORWHITE,LINETHICK3;
MA2:EMA(CLOSE,P2),COLORRED,LINETHICK2;
MA3:EMA(CLOSE,P3),COLORYELLOW;
工作线: EMA(CLOSE,P1),COLORWHITE,LINETHICK3;
神秘线: EMA(CLOSE,P2),COLORRED,LINETHICK3;
生命线: EMA(CLOSE,P3),COLORYELLOW;
DRAWTEXT(CROSS(工作线,神秘线),工作线,'★建仓') ,COLORYELLOW;
DRAWTEXT(CROSS(神秘线,工作线),神秘线,'★空仓') ,COLORGREEN;
LC:=REF(CLOSE,3);
JH:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(FILTER(CROSS(JH,30),55),LOW*0.98,' 关注'),COLORYELLOW,LINETHICK1;
DRAWTEXT(FILTER(CROSS(84,JH),22),HIGH*1.02,' 小心'),COLOR00FF00;