stickline(c>0,0,100,100,0),color7d7f0f;
買線:EMA(C,2),color000999;
賣線:EMA(SLOPE(C,21)*20+C,42),pointdot,coloryellow,linethick1;
BUY1:=cross(買線,賣線);
SEL1:=cross(賣線,買線);
drawtext(buy1,LOW-0.1,'◆ '),colorf00ff0,linethick1;
drawtext(sel1,HIGH+0.1,'◎'),colorwhite,linethick1;
stickline(買線>=賣線,low,high,0.1,0),colorred;
stickline(買線>=賣線,close,open,8,0),colorred;
stickline(買線>=賣線,close,open,10,0),colorred;
stickline(買線<賣線,close,open,8,0),colorffff00,linethick1;
stickline(買線<賣線,close,open,8,0),color00ff00,linethick1;
stickline(買線<賣線,low,high,0.1,1),color00ff00,linethick1;
stickline(cross(買線,賣線) or cross(賣線,買線),open,close,10,0),coloryellow;
限制:=EMA((((H+C)/2+L+(C+L)/2)/3-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2))/(EMA(HHV (((H+C)/2+L+(C+L)/2)/3,21),2)-EMA(LLV(((H+C)/2+L+(C+L)/2)/3,89),2)),8)*100;
平衡:=SMA(EMA(SMA((C+L)/2,3,1),3),5,1);
DRAWTEXT(FILTER(平衡>REF(平衡,1)AND HHV(MA((H+C)/2,13),10)<REF(HHV(MA((H+C)/2,13),10),1)AND((C+L)/2)>REF((C+L)/2,1),5)AND 限制<88,L*0.98,' ------'),colorred;
DRAWTEXT(FILTER(平衡<REF(平衡,1)AND llV(MA((H+C)/2,13),10)<REF(llV(MA((H+C)/2,13),10),1)AND((C+L)/2)<REF((C+L)/2,1),5)AND 限制>60,h*1.02,' ------'),colorwhite
2009-6-24