G_BOLL指标 (源码)
通达信G_BOLL指标公式股票软件源码如下:
上A: 2.1*STD(C,20)/MA(C,20)*1000;
下A:-2.1*STD(C,20)/MA(C,20)*1000;
上B: 1.3*STD(C,20)/MA(C,20)*1000;
下B:-1.3*STD(C,20)/MA(C,20)*1000;
开:=(O/MA(C,20)-1)*1000;
高:=(H/MA(C,20)-1)*1000;
低:=(L/MA(C,20)-1)*1000;
收:=(C/MA(C,20)-1)*1000;
STICKLINE(C,0,0,6,0),COLORYELLOW;
STICKLINE(收>=开,高,低,0,0) ,COLORRED;
STICKLINE(收>=开,收,开,2,0) ,COLORRED;
STICKLINE(收<开,高,低,0,0) ,COLORGREEN;
STICKLINE(收<开,收,开,2,0) ,COLORGREEN;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
MID:= MA(CLOSE,26);
AB:= EMA((EMA(CLOSE,3)+EMA(CLOSE,5)+EMA(CLOSE,8)+EMA(CLOSE,13))/4,2)LINETHICK2;
UPPER:= IF(DATE<1090501,MID+2*STD(CLOSE,26),0);
AUPPER:= IF(DATE<1090501,MID+1.7*2*STD(CLOSE,26),0);
LOWER:= IF(DATE<1090501,MID-2*STD(CLOSE,26),0);
ALOWER:= IF(DATE<1090501,MID-1.7*2*STD(CLOSE,26),0);
DRAWTEXT(CROSS(AB,MID),0,'追击');
- 上一篇公式:60分选牛股指标 (源码)
- 下一篇公式:短线狙击手主图指标 (源码)