通達信成本多空布林主圖指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 主圖
- 日期:2023-04-10 來源:互聯網
通達信成本多空布林主圖指標公式:
VAR1:=AMOUNT/(100*VOL);
VAR2:=MA(VAR1,3);
VAR3:=MA(VAR1,6);
VAR4:=MA(VAR1,12);
VAR5:=MA(VAR1,24);
BBI: (VAR2+VAR3+VAR4+VAR5)/4;
UPR: BBI+3*STD(BBI,10);
DWN: BBI-3*STD(BBI,10);
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORAAAAAA;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORBBBBBB;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.2,0 ),COLORCCCCCC;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.1,0 ),COLORDDDDDD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0 ),COLOR6666CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2 ,0 ),COLOR7777DD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4 ,0 ),COLOR8888EE;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.1 ,0 ),COLOR9999FF;
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.3,0 ),COLOR1199FF;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.3 ,0 ),COLOR1199FF;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.3 ,0 ),COLORCCCCCC;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.3 ,0 ),COLORCCCCCC;
跌停:=REF(C,1)/C>=1.0996;
STICKLINE(跌停,OPEN,CLOSE,4,0),COLORGREEN;
STICKLINE(跌停,OPEN,CLOSE,3,0),COLORBLUE;
STICKLINE(跌停,H,L,0,0),COLORBLUE;
漲停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(漲停,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(漲停,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(漲停,H,L,0,0),COLORYELLOW;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
買:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(買=1,5),LOW-0.05,'進'),COLORYELLOW;
STICKLINE(買,OPEN,CLOSE,6,0),COLORYELLOW;
A:=BARSCOUNT(C);
AH:=HHV(H,200);
AL:=LLV(L,200);
A0:=(AH-AL)/40;
B1:=L-A0;
STICKLINE((A+0)/34=FLOOR((A+0)/34),B1,B1-1.5*A0,3,0),COLORF00FF0;
DRAWTEXT((A+0)/34=FLOOR((A+0)/34),B1-1*A0,'時間窗'),COLORWHITE;
DRAWTEXT(HIGH>REF(HIGH,1) AND REF(HIGH,2)>REF(HIGH,1) AND LOW>REF(LOW,1) AND REF(LOW,2)>REF(LOW,1) AND MA(CLOSE,5)<MA(CLOSE,10) , LOW, '拐點') ,COLORRED;
DRAWTEXT(HIGH<REF(HIGH,1) AND LOW<REF(LOW,1) AND REF(HIGH,2)<REF(HIGH,1) AND REF(LOW,2)<REF(LOW,1) AND MA(CLOSE,5)>MA(CLOSE,10), HIGH, '拐點') ,COLOR00C800;
量頂:=FILTER(V>0.9*HHV(V,150),3)=1;
DRAWTEXT(量頂,1.06*H,'量'),COLORFFAA00;
DRAWTEXT(量頂,1.02*H,'頂'),COLORFFAA00;
理:=EMA(HHV(HIGH,1),8);
想:=EMA(CLOSE,8);
論:=((想 < REF(想,1)) AND (CLOSE < 想));
壇:=IF(((理 < REF(理,1)) OR 論),1,0);
理想論壇出擊:=((((COUNT((壇 = 1),4) = 3) AND (壇 = 0)) AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 89);
DRAWICON((理想論壇出擊 >=89),L*0.97,1);
DRAWTEXT((理想論壇出擊 >=89),L*0.97,'理想論壇出擊'),COLORYELLOW;
STICKLINE((理想論壇出擊 >=89),H,L,6,0),LINETHICK1,COLORRED;
STICKLINE((理想論壇出擊 >=89),H,L,0.2,0),COLORYELLOW;
STICKLINE((理想論壇出擊 >=89),O,C,2,0),LINETHICK1,COLORYELLOW;
DRAWICON((理想論壇出擊 >=89),(H+L)/2,7);
通達信成本多空布林主圖指標公式實例圖解:
通達信成本多空布林主圖指標公式