中国小股民 发表于 2009-9-5 14:47
ma20:ma(c,20),colorwhite,linethick2;<BR>ma120:ma(c,120),colorffcccc,linethick2;<BR>ma250:ma(c,250),colorffcc66,linethick2;<BR>乖离线:=((c-ref(ma20,1))/20+ma20)*1.20;<BR>tt1:=cross(ma20,ma120) and cross(ma20,ma250) and v>ref(v,1);<BR>tt2:=ma20>ref(ma20,2) and v>ref(v,1) and cross(c,ma20);<BR>STICKLINE(TT1,l,l-0.09,4,0),coloryellow;<BR>DRAWTEXT(TT1,l-0.13,'金叉'),coloryellow;<BR>STICKLINE(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l,l-0.09,4,0),coloryellow;<BR>DRAWTEXT(cross(c,ma120) and cross(c,ma250) and cross(c,ma20),l-0.13,'并线开花'),coloryellow;<BR>STICKLINE(tt2,l,l-0.09,4,0),coloryellow;<BR>DRAWTEXT(tt2,l-0.13,'买点1'),coloryellow;<BR>STICKLINE(cross(c,乖离线),h,h+0.09,4,0),color00ff00;<BR>DRAWTEXT(cross(c,乖离线) ,h+0.13,'卖点'),color00ff00;<BR>STICKLINE(ma250>=ref(ma250,1) and ma20>=ref(ma20,1) and cross(c,ma250),l,l-0.09,4,0),colorffcc66;<BR>DRAWTEXT(ma250>=ref(ma250,1) and ma20>=ref(ma20,1) and cross(c,ma250),l-0.13,'牛象'),colorffcc66;<BR>STICKLINE(ma120>=ref(ma120,1) and cross(c,ma20) and cross(c,ma120) and v>ref(v,1),l,l-0.09,4,0),colorff00ff;<BR>DRAWTEXT(ma120>=ref(ma120,1) and cross(c,ma20) and cross(c,ma120) and v>ref(v,1),l-0.13,'买点2'),
页:
[1]