【通达信】锦上添花主图指标公式
2015.11.08 20:08
MAA5:MA(C,5),COLORLIRED,LINETHICK2;
MAA10:MA(C,10),COLORCYAN;
MAA30:MA(C,30),COLORRED;
KS:IF(MAA10>MAA30,MAA10,MAA30),COLORYELLOW;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.05,’↖买’),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,2,0),COLORMAGENTA;
卖:=HHV(A8,2)=HHV(A8,7) AND COUNT(A8>0,2) AND CROSS(MA(A8,3),A8);
DRAWTEXT(FILTER(卖=1,5),HIGH+0.05,’↙卖’),COLORYELLOW;
STICKLINE(卖,OPEN,CLOSE,2,0),COLORGREEN;
申明:本文为作者投稿或转载,在概念股网 http://www.gainiangu.com/ 上发表,为其独立观点。不代表本网立场,不代表本网赞同其观点,亦不对其真实性负责,投资决策请建立在独立思考之上。