A:=IF(C>REF(C,1) AND MA(C,3)>REF(MA(C,3),1),1,0);
B:=IF(C<REF(C,1) AND MA(C,3)<REF(MA(C,3),1),1,0);
E:=IF(C>REF(C,1) AND MA(C,3)<REF(MA(C,3),1),1,0);
D:=IF(C<REF(C,1) AND MA(C,3)>REF(MA(C,3),1),1,0);
{ 爱约股_通达信股票指标公式}
DRAWTEXT(A,MA(C,6),'●'),COLORRED;
DRAWTEXT(B,MA(C,6),'●'),COLORGREEN;
DRAWTEXT(E,MA(C,6),'○'),COLORLIRED;
DRAWTEXT(D,MA(C,6),'○'),COLORLIGREEN;