通达信的好像没有,以下是大智慧的,供参考:止盈线:ema(c,7),linethick1,colorwhite;工作线:ema(c,14),linethick1,coloryellow;生命线:ema(c,25),colorred,linethick1;drawicon(cross(工作线,生命线),工作线*0.95,5);drawicon(cross(c,生命线) and c>ema(c,14),l*0.96,1);drawicon(cross(止盈线,c) and ref(c,1)>ema(c,7) and ref(c,2)>ema(c,7) and ref(c,3)>ema(c,7) and ref(c,4)>ema(c,7),h*1.08,2);drawtext(cross(ref(c,3),生命线) and ref(c,1)>ema(c,25) and ref(c,2)>ema(c,25) and c>ema(c,25) and ref(c,4)<ema(c,25) and ref(c,5)<ema(c,25),l*0.96,'$'),coloryellow;drawtext(cross(工作线,c) and ref(c,1)>ema(c,25) and ref(c,1)>ema(c,14) and ref(c,2)>ema(c,14) and ref(c,3)>ema(c,14) and ref(c,4)>ema(c,14),h*1.05,'止损'),coloryellow;drawtext(cross(生命线,c) and ref(c,1)>ema(c,25) and ref(c,2)>ema(c,25) and ref(c,3)>ema(c,25),h*1.03,'逃命'),colorgreen;drawicon(cross(生命线,工作线),high*1.04,4); 20210311