同花順彩色布林BOLL主圖指標(biāo)公式
同花順指標(biāo)公式源碼概況:
- 指標(biāo)類別: 同花順指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 趨勢
- 畫線方法: 主圖
- 日期:2019-01-15 來源:互聯(lián)網(wǎng)
同花順指標(biāo)公式源碼介紹:
同花順彩色布林BOLL主圖指標(biāo)公式:
二分位:(H+L)/2 ,LINETHICK3,coloryellow,POINTDOT;
MID1 : MA(CLOSE,18),POINTDOT,LINETHICK3,colorwhite;
UPPER1: MID1 + 2*STD(CLOSE,14),linethick2,coloryellow;
LOWER1: MID1 - 2*STD(CLOSE,14),linethick2,coloryellow;
VAR1:=UPPER1;
FF:=VAR1>REF(VAR1,1);
PARTLINE(VAR1,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;
VAR2:=LOWER1;
FF:=VAR2>REF(VAR2,1); PARTLINE(VAR2,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;
VAR3:=MA(CLOSE,18);
FF:=VAR3>REF(VAR3,1);PARTLINE(VAR3,FF,RGB(255,0,0),1,RGB(3,3,255)),LINETHICK4;
VAR4:=MA(CLOSE,4);
FF:=VAR4>REF(VAR4,1); PARTLINE(VAR4,FF,RGB(235,1,1),1,RGB(3,3,255)),LINETHICK3;
RSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,5,1);
J:=3*K-2*D;
X:=REF(J,1)<10 AND H>REF(H,1) AND C>REF(C,1) AND C>REF(O,1) AND L>REF(L,1);
STICKLINE(X,L ,L,20,0),COLOR008888;
STICKLINE(X,L ,H,0,0),COLORFF00FF;
STICKLINE(X,C ,O,5,0),COLORFF00FF;
WR:="W&R"(14);
DRAWICON(FILTER(CROSS(WR,(0 - 81)),10),L,4);//威廉買點(diǎn)↑ ↓
DRAWICON(FILTER(CROSS((0 -19),WR),10),H,5);//威廉賣點(diǎn)
DRAWTEXT(FILTER(CROSS(WR,(0 - 81)),21),L,'威廉買'),ALIGN0,colorred;//威廉買點(diǎn)
DRAWTEXT(FILTER(CROSS(0 -19,WR),21),H,'威廉賣'),ALIGN2,colorgreen;//威廉賣點(diǎn)
aa:=CLOSE > REF(CLOSE, 1) AND REF(CLOSE, 1) > REF(CLOSE, 2) AND REF(CLOSE, 1) < REF(CLOSE, 3) AND IF(REF(CLOSE, 3) < REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) < REF(CLOSE, 5),REF(CLOSE, 1) < REF(CLOSE, 4) OR( REF(CLOSE, 2) < REF(CLOSE, 4) AND REF(CLOSE, 3) >= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) < REF(CLOSE, 6), 1,REF(CLOSE, 6) < REF(CLOSE, 7))));
bb:=CLOSE < REF(CLOSE, 1) AND REF(CLOSE, 1) < REF(CLOSE, 2) AND REF(CLOSE, 1) > REF(CLOSE, 3) AND IF(REF(CLOSE, 3) > REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) > REF(CLOSE, 5),REF(CLOSE, 1) > REF(CLOSE, 4) OR( REF(CLOSE, 2) > REF(CLOSE, 4) AND REF(CLOSE, 3) <= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) > REF(CLOSE, 6), 1,REF(CLOSE, 6) > REF(CLOSE, 7))));
DRAWTEXT(aa AND CLOSE>REF(OPEN,2),LOW,'三平底'),color,COLORFF00FF;
DRAWTEXT(bb AND CLOSE<REF(CLOSE,2),HIGH,'三平頂'),colorred;
MID1 : MA(CLOSE,18),POINTDOT,LINETHICK3,colorwhite;
UPPER1: MID1 + 2*STD(CLOSE,14),linethick2,coloryellow;
LOWER1: MID1 - 2*STD(CLOSE,14),linethick2,coloryellow;
VAR1:=UPPER1;
FF:=VAR1>REF(VAR1,1);
PARTLINE(VAR1,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;
VAR2:=LOWER1;
FF:=VAR2>REF(VAR2,1); PARTLINE(VAR2,FF,RGB(255,0,0),1,RGB(0,255,0)),LINETHICK4;
VAR3:=MA(CLOSE,18);
FF:=VAR3>REF(VAR3,1);PARTLINE(VAR3,FF,RGB(255,0,0),1,RGB(3,3,255)),LINETHICK4;
VAR4:=MA(CLOSE,4);
FF:=VAR4>REF(VAR4,1); PARTLINE(VAR4,FF,RGB(235,1,1),1,RGB(3,3,255)),LINETHICK3;
RSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,5,1);
J:=3*K-2*D;
X:=REF(J,1)<10 AND H>REF(H,1) AND C>REF(C,1) AND C>REF(O,1) AND L>REF(L,1);
STICKLINE(X,L ,L,20,0),COLOR008888;
STICKLINE(X,L ,H,0,0),COLORFF00FF;
STICKLINE(X,C ,O,5,0),COLORFF00FF;
WR:="W&R"(14);
DRAWICON(FILTER(CROSS(WR,(0 - 81)),10),L,4);//威廉買點(diǎn)↑ ↓
DRAWICON(FILTER(CROSS((0 -19),WR),10),H,5);//威廉賣點(diǎn)
DRAWTEXT(FILTER(CROSS(WR,(0 - 81)),21),L,'威廉買'),ALIGN0,colorred;//威廉買點(diǎn)
DRAWTEXT(FILTER(CROSS(0 -19,WR),21),H,'威廉賣'),ALIGN2,colorgreen;//威廉賣點(diǎn)
aa:=CLOSE > REF(CLOSE, 1) AND REF(CLOSE, 1) > REF(CLOSE, 2) AND REF(CLOSE, 1) < REF(CLOSE, 3) AND IF(REF(CLOSE, 3) < REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) < REF(CLOSE, 5),REF(CLOSE, 1) < REF(CLOSE, 4) OR( REF(CLOSE, 2) < REF(CLOSE, 4) AND REF(CLOSE, 3) >= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) < REF(CLOSE, 6), 1,REF(CLOSE, 6) < REF(CLOSE, 7))));
bb:=CLOSE < REF(CLOSE, 1) AND REF(CLOSE, 1) < REF(CLOSE, 2) AND REF(CLOSE, 1) > REF(CLOSE, 3) AND IF(REF(CLOSE, 3) > REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) > REF(CLOSE, 5),REF(CLOSE, 1) > REF(CLOSE, 4) OR( REF(CLOSE, 2) > REF(CLOSE, 4) AND REF(CLOSE, 3) <= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) > REF(CLOSE, 6), 1,REF(CLOSE, 6) > REF(CLOSE, 7))));
DRAWTEXT(aa AND CLOSE>REF(OPEN,2),LOW,'三平底'),color,COLORFF00FF;
DRAWTEXT(bb AND CLOSE<REF(CLOSE,2),HIGH,'三平頂'),colorred;
S下:=HHV(MA(HIGH,2),2),colorgreen,LINETHICK0;
S上:=LLV(MA(HIGH,2),1),colorred,LINETHICK0;
Sppp:=-(S上-S下)/REF(C,1)*100;
Sptem1:=(MIN(O,C)-L)/(H-L)*100;
Sptem2:=(H-MAX(O,C))/(H-L)*100;
SPTEM3:=(C-O)/(H-L)*100;
SKJ1:=(SPTEM3>49 AND SPTEM1>0.3*SPTEM2) OR SPTEM3>80;
SKJ2:=(SPTEM3<=49 AND SPTEM3>20 AND SPTEM1>SPTEM2);
SKJ3:=(SPTEM3<=20 AND sptem3>-20 AND sptem1>1.2*sptem2);
SKJ4:=(SPTEM3<-20 AND SPTEM3>-40 AND SPTEM1>2*SPTEM2);
SKJ:=(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4) AND (Sppp>2 OR REF(Sppp,1)>2 );
短買:=IF(SUM(sppp>0,5)=5 AND SUM(skj>0,5)=0,5*(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4),5*skj),colorred;
DRAWTEXT(短買,L,'短買'),colorwhite;
S上:=LLV(MA(HIGH,2),1),colorred,LINETHICK0;
Sppp:=-(S上-S下)/REF(C,1)*100;
Sptem1:=(MIN(O,C)-L)/(H-L)*100;
Sptem2:=(H-MAX(O,C))/(H-L)*100;
SPTEM3:=(C-O)/(H-L)*100;
SKJ1:=(SPTEM3>49 AND SPTEM1>0.3*SPTEM2) OR SPTEM3>80;
SKJ2:=(SPTEM3<=49 AND SPTEM3>20 AND SPTEM1>SPTEM2);
SKJ3:=(SPTEM3<=20 AND sptem3>-20 AND sptem1>1.2*sptem2);
SKJ4:=(SPTEM3<-20 AND SPTEM3>-40 AND SPTEM1>2*SPTEM2);
SKJ:=(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4) AND (Sppp>2 OR REF(Sppp,1)>2 );
短買:=IF(SUM(sppp>0,5)=5 AND SUM(skj>0,5)=0,5*(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4),5*skj),colorred;
DRAWTEXT(短買,L,'短買'),colorwhite;
同花順彩色布林BOLL主圖指標(biāo)公式實(shí)例圖解:
同花順彩色布林BOLL主圖指標(biāo)公式
同花順指標(biāo)相關(guān)閱讀
- ·通達(dá)信七日均線+BOLL主圖BS買賣+選股指標(biāo)公
- ·通達(dá)信BOLLBBI主圖指標(biāo)公式
- ·通達(dá)信另類布林BOLL買賣2主圖指標(biāo)公式
- ·通達(dá)信另類布林BOLL趨勢買賣主圖指標(biāo)公式
- ·通達(dá)信OBV-BOLL指標(biāo)公式
- ·通達(dá)信均衡布林BOLL主圖指標(biāo)公式
- ·通達(dá)信優(yōu)化boll紅色持股主圖指標(biāo)公式
- ·通達(dá)信布林BOLL系統(tǒng)主圖指標(biāo)公式
- ·通達(dá)信布林BOLLK線買賣主圖指標(biāo)公式
- ·通達(dá)信五線BOLL布林線怎么看主力建倉主圖指
- ·通達(dá)信炫酷布林BOLL布林線運(yùn)用技巧指標(biāo)公式
- ·通達(dá)信布林BOLL完美買賣操盤提示指標(biāo)公式