涨跌DDX指标 (源码)
2012-05-04 08:19:00来源:本站整理浏览:573
通达信涨跌DDX指标公式股票软件源码如下:
N1:=3;
N2:=8;
SS:(BARSLAST(CLOSE=LLV(CLOSE,N2)))/5,NODRAW;
JS:(BARSLAST(CLOSE=HHV(CLOSE,N1)))/5,NODRAW;
SS10:(BARSLAST(CLOSE=LLV(CLOSE,10)))/5;
JS10:(BARSLAST(CLOSE=HHV(CLOSE,10)))/5;
持股:((SS>0 AND JS=0 )>0),COLORLIMAGENTA,NODRAW;
买入:((持股>0 AND REF(持股,1)=0)),COLORWHITE,NODRAW;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
卖出:((JS=0.2 )>0),COLORLIBLUE,NODRAW;
买点:REF(LLV(CLOSE,N2),1),COLORWHITE,NODRAW;
卖点:REF(HHV(CLOSE,N1),1),COLORLIBLUE,NODRAW;
STICKLINE(持股,0,1,1,0),COLORLIMAGENTA;
STICKLINE(买入,0,1,1,0),COLORWHITE;
STICKLINE(卖出,0,1,1,0),COLORLIBLUE;
- 上一篇公式:秘密建仓指标 (源码)
- 下一篇公式:弘历动力金叉指标 (源码)