MA2:MA(CLOSE,6),LINETHICK3;
MA20:MA(CLOSE,20),LINETHICK3;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
{www.gupang.com 股旁网_通达信股票指标公式}
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;
202108201745.jpg
|