《股票-通达信布林BOLL买卖操作指标公式.docx》由会员分享,可在线阅读,更多相关《股票-通达信布林BOLL买卖操作指标公式.docx(8页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、通达信布林BOLL买卖操作指标公式_正点财经上轨:平衡+2*STD(C,20),LINETHICK2,COLORMAGENTA;下轨:平衡-2*STD(C,20),LINETHICK2,COLORGREEN;IF(平衡REF(平衡,1),平衡,DRAWNULL),COLORRED;IF(平衡=REF(平衡,1),平衡,DRAWNULL),COLORYELLOW;IF(平衡REF(平衡,1),平衡,DRAWNULL),COLORGREEN;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;STICKLINE(OPEN=CLOSE,CLOSE,OPE
2、N,2,0),COLORFFBB00;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,1,0),COLORFFDD00;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,0.5,0),COLORFFFF00;STICKLINE(CLOSEOPEN,CLOSE,OPEN,3,0),COLOR000055;STICKLINE(CLOSEOPEN,CLOSE,OPEN,2,0),COLOR000077;STICKLINE(CLOSEOPEN,CLOSE,OPEN,1,0),COLOR0000BB;STICKLINE(CLOSEOPEN,CLOSE,OPEN,0.5,0)
3、,COLOR0000FF;VAR9Q:=C=HHV(C,4)AND(REF(C,1)=REF(C,2)ORREF(C,1)=REF(C,3)ORREF(C,1)=HHV(C,4)ANDCLOSE=REF(C,2)ORREF(C,2)=HHV(C,4)ANDREF(C,3)=LLV(C,4)ANDC=REF(C,1)ORREF(C,3)=HHV(C,4)ANDC=REF(C,1)ANDC=REF(C,2);红持:=VAR9Q;STICKLINE(VAR9Q,C,(O+C)/2,3,0),COLOR000055;STICKLINE(VAR9Q,C,(O+C)/2,2,0),COLOR000077;
4、STICKLINE(VAR9Q,C,(O+C)/2,1,0),COLOR0000BB;STICKLINE(VAR9Q,C,(O+C)/2,0.5,0),COLOR0000FF;VARAQ:=C=HHV(C,4)ANDREF(C,1)=LLV(C,4);粉变:=VARAQ;STICKLINE(VARAQ,C,(O+C)/2,3,0),COLORFF11FF;STICKLINE(VARAQ,C,(O+C)/2,2,0),COLORFF55FF;STICKLINE(VARAQ,C,(O+C)/2,1,0),COLORFF99FF;STICKLINE(VARAQ,C,(O+C)/2,0.5,0),CO
5、LORFFDDFF;VARBQ:=C=LLV(C,4)AND(REF(C,1)REF(C,2)ORREF(C,1)REF(C,3)ORREF(C,1)=LLV(C,4)ANDCREF(C,2)ORREF(C,2)=LLV(C,4)ANDREF(C,1)!=HHV(C,4)ANDCREF(C,1)ORREF(C,3)=LLV(C,4)ANDCREF(C,1)ANDCREF(C,2);灰跌:=VARBQ;STICKLINE(VARBQ,C,(O+C)/2,3,0),COLOR333333;STICKLINE(VARBQ,C,(O+C)/2,2,0),COLOR777777;STICKLINE(VA
6、RBQ,C,(O+C)/2,1,0),COLORBBBBBB;STICKLINE(VARBQ,C,(O+C)/2,0.5,0),COLORFFFFFF;VARCQ:=REF(C,1)=LLV(C,4)ANDC=REF(C,2)ORREF(C,2)=LLV(C,4)ANDREF(C,1)=REF(C,3)ANDREF(C,2)REF(C,4)ANDC=REF(C,1);绿买:=VARCQ;STICKLINE(VARCQ,O,(O+C)/2,3,0),COLOR003300;STICKLINE(VARCQ,O,(O+C)/2,2,0),COLOR007700;STICKLINE(VARCQ,O,(
7、O+C)/2,1,0),COLOR00BB00;STICKLINE(VARCQ,O,(O+C)/2,0.5,0),COLOR00FF00;VARDQ:=REF(C,1)=HHV(C,4)ANDCREF(C,2)OR(REF(C,2)=HHV(C,4)ANDREF(C,1)REF(C,3)ORREF(C,3)=HHV(C,4)ANDREF(C,1)REF(C,2)ANDREF(C,2)=REF(C,4)ANDCREF(C,1);蓝抛:=VARDQ;STICKLINE(VARDQ,O,(O+C)/2,3,0),COLORFF1100;STICKLINE(VARDQ,O,(O+C)/2,2,0),C
8、OLORFF5500;STICKLINE(VARDQ,O,(O+C)/2,1,0),COLORFF9900;STICKLINE(VARDQ,O,(O+C)/2,0.5,0),COLORFFDD00;Y1:=REF(EMA(DMA(HIGH+LOW)+(CLOSE*2)/4.15),0.9),3),1);DRAWTEXT(CROSS(CLOSE,Y1),LOW,买进),COLORYELLOW;STICKLINE(CROSS(Y1,CLOSE),H*1.05,H,0,0),COLORWHITE;DRAWTEXT(CROSS(Y1,CLOSE),HIGH*1.05,卖出),COLORWHITE;VA
9、R1W:=(100-(90*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21);VAR2W:=(100-(90*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21);VAR3W:=(100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6),34);DRAWTEXT(CROSS(VAR2W,MA(VAR3W,6),LOW-0.6,(买),COLORFF99FF;DRAWTEXT(CROSS(MA(VAR3W,6),VAR1W),HIGH+0.9,(卖),COLOR
10、CCFF13;VAR3P:=IF(CLOSE/REF(CLOSE,1)1.050ANDHIGH/CLOSE1.010ANDIF(CLOSEREF(CLOSE,1),88,0)0,91,0);STICKLINE(VAR3P90,L,L*0.92,0,0),COLORFF00FF;DRAWTEXT(VAR3P90,LOW*0.92,追涨),COLORFF00FF;SS:=MA(LOW+HIGH+CLOSE)/3,5)REF(MA(LOW+HIGH+CLOSE)/3,5),1)ANDREF(MA(LOW+HIGH+CLOSE)/3,5),1)REF(MA(LOW+HIGH+CLOSE)/3,5),2
11、);SC:=LHHV(MA(LOW+HIGH+CLOSE)/3,5),13)ANDHHHV(MA(LOW+HIGH+CLOSE)/3,5),13)ANDCREF(C,1)ANDCMR:=SCANDCOUNT(SS,2);买:=MRANDNOT(REF(MR,1);STICKLINE(买,L,L*0.95,0,0),COLORRED;DRAWTEXT(买,L*0.95,必涨),COLORRED;多方:=7*SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*30,4,1)-3*SMA(SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27
12、)-LLV(LOW,27)*30,4,1),3,1)-SMA(SMA(SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*30,4,1),3,1),2,1);STICKLINE(CROSS(78.89,多方),H+1.5,H,0,0),COLOR00FF00;DRAWTEXT(CROSS(78.89,多方),H+1.5,(逃顶),COLOR00FF00;A1:=3*SMA(C-LLV(L,55)/(HHV(H,55)-LLV(L,55)*1,5,1)-2*SMA(C-LLV(L,55)/(HHV(H,55)-LLV(L,55)*1,5,1);A2:=
13、(EMA(A1,5)-REF(EMA(A1,5),1)/REF(EMA(A1,5),1)*1;A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60)*1;DRAWTEXT(CROSS(A1,EMA(A1,5)ANDEMA(A1,5)A5,L*0.98,(黑马),COLORYELLOW;VAR1:=(CLOSE-LLV(LOW,24)/(HHV(HIGH,24)-LLV(LOW,24)*1;VAR2:=SMA(VAR1,3,1)*100;趋势线:=SMA(SMA(VAR2,3,1)*VAR1),3,1)*1;VAR9:=CROSS(趋势线,(SMA(VAR2,3,1)*VAR1)AND(SMA(VAR2,3,1)*VAR1)DRAWTEXT(VAR9ANDCOUNT(VAR9,1)=1,H+0.6,逃),LINETHICK2,COLORYELLOW;DRAWICON(FILTER(CROSS(-WR.WR1(14,14),(0-81),10),L-0.2,1);DRAWICON(FILTER(CROSS(0-19),-WR.WR1(14,14),10),H,2);通达信布林BOLL买卖操作指标公式实例图解:通达信布林BOLL买卖操作指标公式
限制150内