相關(guān)標(biāo)簽:
aa1:=wma(c,2);//短加權(quán)均線
bb1:=ema(aa1,2);//平滑
a:=ma(bb1,3);//平均
aa2:=wma((h+c+o)/3,18);//長(zhǎng)加權(quán)均線
dd3:=a>=aa2 and c>aa2;//短>長(zhǎng),且收>長(zhǎng)
dd4:=a<aa2 ;//短<長(zhǎng)
dd5:=a>aa2 ;//短>長(zhǎng)
Var1:=ema(c,3);
Var2:=ema(c,8);
STICKLINE((dd4 or dd5) and o<c ,h,l,0.5,0),Color00cc99;//跌勢(shì)陽(yáng)線
STICKLINE((dd4 or dd5) and o<c ,c,o,7,0),Color00cc99;//跌勢(shì)陽(yáng)線
STICKLINE((dd4 or dd5) and o>c ,h,l,0.5,0),Color3F8C3A;//跌勢(shì)陰線
STICKLINE((dd4 or dd5) and o>c ,c,o,7,0),Color3F8C3A;//跌勢(shì)陰線
STICKLINE((dd3 or c>aa2) and o<c,c,o,7,0),Colorred;//漲勢(shì)陽(yáng)線
STICKLINE((dd3 or c>aa2) and o<c,h,l,0.5,0),Colorred;//漲勢(shì)陽(yáng)線
STICKLINE((dd3 or c>aa2) and o>c,c,o,7,0),Colorff33ff;//漲勢(shì)陰線
STICKLINE((dd3 or c>aa2) and o>c,h,l,0.5,0),Colorff33ff;//漲勢(shì)陰線