主力行为分时指标 (源码)
2012-02-28 10:31:00来源:本站整理浏览:283
通达信主力行为分时指标公式股票软件源码如下:
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);
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
DRAWTEXT(A,MA(C,6),'●'),COLORRED;
DRAWTEXT(B,MA(C,6),'●'),COLORGREEN;
DRAWTEXT(E,MA(C,6),'○'),COLORLIRED;
DRAWTEXT(D,MA(C,6),'○'),COLORLIGREEN;