《股票-通达信BOLL布林通道买卖指标公式.docx》由会员分享,可在线阅读,更多相关《股票-通达信BOLL布林通道买卖指标公式.docx(7页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、通达信BOLL布林通道买卖指标公式_正点财经O1:(SUM(EMA(CLOSE+LOW)/2,1)/3,3),COLORWHITE,LINETHICK1;O2:=EMA(O1,3),COLORFF00FF,LINETHICK1;O3:=EMA(O2,3),COLOR00FFFF,LINETHICK1;MA20:MA(CLOSE,20);IF(CLOSEMA20),MA20,DRAWNULL),COLOR00FF00,LINETHICK2;IF(CLOSEMA20),MA20,DRAWNULL),COLOR0000FF,LINETHICK2;VAR1:=CLOSEREF(CLOSE,1)ANDC
2、LOSEREF(CLOSE,2);VAR2:=REF(VAR1,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR3:=REF(VAR2,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR4:=REF(VAR3,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR5:=REF(VAR4,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR6:=REF(VAR5,1)ANDCLOSE=REF(CLOSE,1)ANDCL
3、OSE=REF(CLOSE,2);VAR7:=REF(VAR6,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR8:=REF(VAR7,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR9:=REF(VAR8,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VARA:=REF(VAR9,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VARB:=REF(VARA,1)ANDCLOSE=REF(CLOSE,1)ANDCL
4、OSE=REF(CLOSE,2);VARC:=REF(VARB,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VARD:=CLOSEREF(CLOSE,1)ANDCLOSEREF(CLOSE,2);VARE:=REF(VARD,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VARF:=REF(VARE,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR10:=REF(VARF,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2
5、);VAR11:=REF(VAR10,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR12:=REF(VAR11,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR13:=REF(VAR12,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR14:=REF(VAR13,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR15:=REF(VAR14,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=R
6、EF(CLOSE,2);VAR16:=REF(VAR15,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR17:=REF(VAR16,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR18:=REF(VAR17,1)ANDCLOSE=REF(CLOSE,1)ANDCLOSE=REF(CLOSE,2);VAR19:=REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16ORVAR17ORVAR18,1)ANDVAR1;V
7、AR1A:=REF(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7ORVAR8ORVAR9ORVARAORVARBORVARC,1)ANDVARD;DRAWICON(FILTER(VAR19=1,5),LOW-0.1,1);DRAWICON(FILTER(VAR1A=1,5),HIGH+0.1,2);N:=20;M:=32;P1:=80;P2:=100;VARR:=(C+H+O+L)/4;卖出:XMA(VARR,N)*(1+P1/1000),COLORLIBLUE,LINETHICK2;买入:XMA(VARR,M)*(1-P2/1000),COLORMAGEN
8、TA,LINETHICK2;幅度:100*(卖出-买入)/买入,NODRAW;MA1:=MA(VAR1,3);STICKLINE(卖出LOWAND卖出HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;STICKLINE(卖出MIN(C,O)AND卖出MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;STICKLINE(卖出LOWAND卖出HIGH,卖出,HIGH,0,0),COLORGREEN;STICKLINE(卖出LOW,OPEN,CLOSE,3,0),COLORGREEN;STICKLINE(卖出LOW,H
9、IGH,LOW,0,0),COLORGREEN;STICKLINE(买入LOWAND买入HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;STICKLINE(买入MIN(C,O)AND买入MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;STICKLINE(买入LOWAND买入HIGH,买入,LOW,0,0),COLORMAGENTA;STICKLINE(买入HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;STICKLINE(买入HIGH,HIGH,LOW,0,0),COLORMAGENTA;DRAWTEXT(CROSS(C,买入)OR(L买入),LOW*0.95,),COLORRED,LINETHICK2;DRAWTEXT(CROSS(C,卖出)OR(H卖出),HIGH*1.02,),COLORGREEN;通达信BOLL布林通道买卖指标公式实例图解:通达信BOLL布林通道买卖指标公式