通达信EMA5主图指标公式
2020/6/30 19:21:12
买:EMA(C,5),COLORCYAN;
A:=(REF(买,1));
IF(A>买,买,DRAWNULL),LINETHICK2;
IF(A<=买,A,DRAWNULL);
{STICKLINE((买>A),A,买,4,0),COLORRED;
STICKLINE((买<=A),A,买,4,0),COLORBLUE;}
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE( C/REF(C,1)>1.049 AND BETWEEN((H-C)/(C-O),0,1), C ,(O+C)/2,1.5,0),COLORLIGRAY;
STICKLINE(REF(MACD.MACD,1)<0 AND C/REF(C,1)>1.049 AND BETWEEN((H-C)/(C-O),0,1), C ,(O+C)/2,2,0),COLORYELLOW;
阻力: REF( HHV((HIGH+LOW+OPEN+2*CLOSE)/5+H-L,7),1),COLORLIBLUE,DOTLINE;
投股票 网 ww w.tou18.cn
股市公式下载推荐