手机端
当前位置:爱约股 > 通达信 > 通达信炫酷布林线一主副图套装指标公式

通达信炫酷布林线一主副图套装指标公式

使用说明:
绝非华而不实的布林指标一套(一主图两副图),趋势、通道、位置、幅度、方向、级别、粘合、发散、乖离、极限、盘整、突破。

{S-BOLL主图}

BOLL0:=MA(CLOSE,10);
UPPER0:=BOLL0+2*STD(CLOSE,10);
LOWER0:=BOLL0-2*STD(CLOSE,10);
DRAWBAND(UPPER0,RGB(100,200,100),BOLL0,0);
DRAWBAND(BOLL0,RGB(50,150,50),LOWER0,0);
BOLL1:=MA(CLOSE,20);
UPPER1:=BOLL1+2*STD(CLOSE,20);
LOWER1:=BOLL1-2*STD(CLOSE,20);
DRAWBAND(UPPER1,RGB(255,220,0),BOLL1,0);
DRAWBAND(BOLL1,RGB(255,160,0),LOWER1,0);
BOLL2:=MA(CLOSE,30);
UPPER2:=BOLL2+2*STD(CLOSE,30);
LOWER2:=BOLL2-2*STD(CLOSE,30);
DRAWBAND(UPPER2,RGB(0,160,255),BOLL2,0);
DRAWBAND(BOLL2,RGB(0,160,255),LOWER2,0);
BOLL3:=MA(CLOSE,60);
UPPER3:=BOLL3+2*STD(CLOSE,60);
LOWER3:=BOLL3-2*STD(CLOSE,60);
DRAWBAND(UPPER3,RGB(200,160,255),BOLL3,0);
DRAWBAND(BOLL3,RGB(150,100,255),LOWER3,0);
BOLL4:=MA(CLOSE,120);
UPPER4:=BOLL4+2*STD(CLOSE,120);
LOWER4:=BOLL4-2*STD(CLOSE,120);
DRAWBAND(UPPER4,RGB(0,100,255),BOLL4,0);
DRAWBAND(BOLL4,RGB(0,100,255),LOWER4,0);
UMID:=(BOLL4+UPPER4)/2;
LMID:=(BOLL4+LOWER4)/2;
DRAWBAND(UMID,RGB(0,170,255),BOLL4,0);
DRAWBAND(BOLL4,RGB(0,140,255),LMID,0);
{爱约股-股票公式网站 }
DIF1:=EMA(CLOSE,10)-EMA(CLOSE,120);
DEA1:=EMA(DIF1,9);
MACD1:=(DIF1-DEA1)*2;
STICKLINE(MACD1>0,BOLL4,BOLL4+MACD1,0.35,0),COLORRED;
STICKLINE(MACD1<0,BOLL4,BOLL4+MACD1,0.35,0),COLORBLUE;
MA120:BOLL4,COLORRED,LINETHICK5;
IF(BOLL4<REF(BOLL4,1),BOLL4,DRAWNULL),COLORBLUE,LINETHICK5;
MA60:BOLL3,COLORRED,LINETHICK4;
IF(BOLL3<REF(BOLL3,1),BOLL3,DRAWNULL),COLORBLUE,LINETHICK4;
MA30:BOLL2,COLORRED,LINETHICK3;
IF(BOLL2<REF(BOLL2,1),BOLL2,DRAWNULL),COLORBLUE,LINETHICK3;
MA20:BOLL1,COLORRED,LINETHICK2;
IF(BOLL1<REF(BOLL1,1),BOLL1,DRAWNULL),COLORBLUE,LINETHICK2;
MA10:BOLL0,COLORRED,LINETHICK1;
IF(BOLL0<REF(BOLL0,1),BOLL0,DRAWNULL),COLORBLUE,LINETHICK1;
DRAWKLINE(H,O,L,C);


{S-BOLL副图1}

BOLL0:=MA(CLOSE,10);
UPPER0:=BOLL0+2*STD(CLOSE,10);
LOWER0:=BOLL0-2*STD(CLOSE,10);
BOLL1:=MA(CLOSE,20);
UPPER1:=BOLL1+2*STD(CLOSE,20);
LOWER1:=BOLL1-2*STD(CLOSE,20);
BOLL2:=MA(CLOSE,30);
UPPER2:=BOLL2+2*STD(CLOSE,30);
LOWER2:=BOLL2-2*STD(CLOSE,30);
BOLL3:=MA(CLOSE,60);
UPPER3:=BOLL3+2*STD(CLOSE,60);
LOWER3:=BOLL3-2*STD(CLOSE,60);
BOLL4:=MA(CLOSE,120);
UPPER4:=BOLL4+2*STD(CLOSE,120);
LOWER4:=BOLL4-2*STD(CLOSE,120);
JX4A:=UPPER4-BOLL4;
JX4B:=LOWER4-BOLL4;
DRAWBAND(JX4A,RGB(0,120,255),0,0);
DRAWBAND(0,RGB(0,100,255),JX4B,0);
JX3A:=UPPER3-BOLL3;
JX3B:=LOWER3-BOLL3;
DRAWBAND(JX3A,RGB(200,160,255),0,0);
DRAWBAND(0,RGB(150,100,255),JX3B,0);
JX2A:=UPPER2-BOLL2;
JX2B:=LOWER2-BOLL2;
DRAWBAND(JX2A,RGB(0,200,255),0,0);
DRAWBAND(0,RGB(0,160,255),JX2B,0);
JX1A:=UPPER1-BOLL1;
JX1B:=LOWER1-BOLL1;
DRAWBAND(JX1A,RGB(255,220,0),0,0);
DRAWBAND(0,RGB(255,160,0),JX1B,0);
JX0A:=UPPER0-BOLL0;
JX0B:=LOWER0-BOLL0;
DRAWBAND(JX0A,RGB(100,200,100),0,0);
{爱约股-股票公式网站 }
DRAWBAND(0,RGB(50,150,50),JX0B,0);
GL0:C-BOLL0,COLORRED,LINETHICK1;
GL1:C-BOLL1,COLORRED,LINETHICK2;
GL2:C-BOLL2,COLORRED,LINETHICK3;
GL3:C-BOLL3,COLORRED,LINETHICK4;
GL4:C-BOLL4,COLORRED,LINETHICK5;
IF(GL0<0,GL0,DRAWNULL),COLORBLUE,LINETHICK1;
IF(GL1<0,GL1,DRAWNULL),COLORBLUE,LINETHICK2;
IF(GL2<0,GL2,DRAWNULL),COLORBLUE,LINETHICK3;
IF(GL3<0,GL3,DRAWNULL),COLORBLUE,LINETHICK4;
IF(GL4<0,GL4,DRAWNULL),COLORBLUE,LINETHICK5;


{S-BOLL副图2}

DRAWBAND(100,RGB(0,140,255),0,0);
DRAWBAND(0,RGB(0,100,255),-100,0);
JC:0,NODRAW;
ST:50,POINTDOT,COLORWHITE;
SW:-50,POINTDOT,COLORWHITE;
VAR10:=MA(CLOSE,10);
BB10:=50*(CLOSE-VAR10)/STD(CLOSE,10);
VAR20:=MA(CLOSE,20);
BB20:=50*(CLOSE-VAR20)/STD(CLOSE,20);
VAR60:=MA(CLOSE,60);
BB60:=60*(CLOSE-VAR60)/STD(CLOSE,60);
VAR120:=MA(CLOSE,120);
{爱约股-股票公式网站 }
BB120:=50*(CLOSE-VAR120)/STD(CLOSE,120);
BBJX:(BB10+BB20+BB60+BB120)/4,COLORWHITE;
BBK1:EMA(BBJX,5),COLORRED;
BBK2:EMA(BBK1,5),COLORRED,LINETHICK2;
BBK3:EMA(BBK2,5),COLORRED,LINETHICK3;
IF(BBK1<REF(BBK1,1),BBK1,DRAWNULL),COLORBLUE;
IF(BBK2<REF(BBK2,1),BBK2,DRAWNULL),COLORBLUE,LINETHICK2;
IF(BBK3<REF(BBK3,1),BBK3,DRAWNULL),COLORBLUE,LINETHICK3;

 

通达信炫酷布林一主两副套装指标公式

 

通达信炫酷布林一主两副套装指标公式的选股公式如下:

分享至:

相关推荐