单均差指标 (源码)
2012-08-22 08:48:00来源:本站整理浏览:205
通达信单均差指标公式股票软件源码如下:
AA:=V/((H-L)*2-ABS(C-O));
BUY:=IF(C>O,AA*(H-L),IF(C<O,AA*((H-L)-(O-C)),V/2));
SELL:=(V-BUY);
STICKLINE(V>0,0,V/10000,2,1);
STICKLINE(BUY>SELL,0,BUY/10000,2,0),COLOR3300CC;
STICKLINE(BUY>SELL,0,SELL/10000,0.8,0),COLOR338800;
STICKLINE(BUY<SELL,0,SELL/10000,2,0),COLOR338800;
STICKLINE(BUY<SELL,0,BUY/10000,0.8,0),COLOR3300CC;
MS:=MA((BUY-SELL)/10000,5)*2;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
MM:MA(MS,5),COLOR00FFFF,LINETHICK2;
F:=BACKSET(MS>REF(MS,1),2);
E:=BACKSET(MS<REF(MS,1),2);
R:IF(F,MS,DRAWNULL),COLOR8888FF,LINETHICK2;
G:IF(E,MS,DRAWNULL),COLORLIBLUE,LINETHICK2;
- 上一篇公式:乌托邦指标 (源码)
- 下一篇公式:主力吸筹洗盘指标 (源码)