江恩八線主圖公式詳細(xì)介紹
2017-12-22 10:55 分析家公式網(wǎng)
2、江恩八線(主圖)
七天線:MA(CLOSE,7),coloryellow,linethick2;
一號(hào)線:eMA(CLOSE,144),color3399ff;
工作線:eMA(CLOSE,14),color9000F5,linethick2;
二號(hào)線:eMA(CLOSE,25);
三號(hào)線:eMA(CLOSE,318);
生命線:eMA(CLOSE,453),colorred,linethick2;
五號(hào)線:eMA(CLOSE,550),colorFFFF37;
六號(hào)線:eMA(CLOSE,610);
七號(hào)線:eMA(CLOSE,730);
八號(hào)線:eMA(CLOSE,888),colorF00FF0;
九號(hào)線:eMA(CLOSE,99),color53ff53;
DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));
DEA:=EMA(DIFF,9);
MACD:=0.90*(DIFF-DEA);
tj:=(diff》=dea);
tj1:=(diff》=0);
stickline(tj,h,l,0.5,0),COLORyellow;
stickline(tj,o,c,4,0),COLORyellow;
stickline(tj1 and tj,h,l,0.5,0),colorf00ff0;
stickline(tj1 and tj,o,c,4,1),colorf00ff0;
stickline(diff《dea,h,l,0.5,0),colorf0f000;
stickline(diff《dea,o,c,4,0),colorf0f000;
Var1:=(CLOSE*2+HIGH+LOW)/4;
SK:= EMA(Var1,13)-EMA(Var1,73);
SD:= EMA(SK,2);
drawtext((cross(sk,sd) and sk《-0.04 and (c-ref(c,1))/ref(c,1)》=0.03) or (cross(sk,sd) and sk《=-0.14 )
or (cross(sk,sd) and sk《=0.05 and (v/ma(v,5)》2 or c/ref(c,1)》0.035)) ,l*0.99,‘短線’),color53FF53;
stickline((cross(sk,sd) and sk《-0.04 and (c-ref(c,1))/ref(c,1)》=0.03) or (cross(sk,sd) and sk《=-0.14 )
or (cross(sk,sd) and sk《=0.05 and (v/ma(v,5)》2 or c/ref(c,1)》0.035)),h,l,0.5,0),colorred;
stickline((cross(sk,sd) and sk《-0.04 and (c-ref(c,1))/ref(c,1)》=0.03) or (cross(sk,sd) and sk《=-0.14 )
or (cross(sk,sd) and sk《=0.05 and (v/ma(v,5)》2 or c/ref(c,1)》0.035)),o,c,10,1),linethick3,colorred;