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;
{ _通达信股票指标公式}
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;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)