aa1:=wma(c,2);//短加权bb1:=ema(aa1,2);//平滑a:=ma(bb1,3);//平均aa2:=wma((h+c+o)/3,18);//长加权均线dd3:=a>=aa2 and c>aa2;//短>长,且收>长dd4:=a
aa2 ;//短>长Var1:=ema(c,3);Var2:=ema(c,8);{}STICKLINE((dd4 or dd5) and oc ,h,l,0.5,0),Color3F8C3A;//跌势STICKLINE((dd4 or dd5) and o>c ,c,o,7,0),Color3F8C3A;//跌势阴线STICKLINE((dd3 or c>aa2) and oaa2) and oaa2) and o>c,c,o,7,0),Colorff33ff;//涨势阴线STICKLINE((dd3 or c>aa2) and o>c,h,l,0.5,0),Colorff33ff;//涨势阴线