通达信抓涨分时主图指标公式
2020/4/11 19:22:32
MA2:MA(CLOSE,6),LINETHICK3;
MA20:MA(CLOSE,20),LINETHICK3;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
{www.tou18.cn 投股票网_通达信股票指标公式}
HAO:=IF(C>REF(C,1) AND MA(C,3)>REF(MA(C,3),1),1,0);
HUAI:=IF(C<REF(C,1) AND MA(C,3)<REF(MA(C,3),1),1,0);
HAO1:=IF(C>REF(C,1) AND MA(C,3)<REF(MA(C,3),1),1,0);
HUAI1:=IF(C<REF(C,1) AND MA(C,3)>REF(MA(C,3),1),1,0);
DRAWTEXT(HAO,MA(C,6),'●'),COLORRED;
DRAWTEXT(HUAI,MA(C,6),'●'),COLORGREEN;
DRAWTEXT(HAO1,MA(C,6),'○'),COLORLIRED;
DRAWTEXT(HUAI1,MA(C,6),'○'),COLORLIGREEN;
投 股票网 www. tou18.cn
股市公式下载推荐