通達信大頭通道買賣主圖指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 主圖
- 日期:2022-07-12 來源:互聯(lián)網(wǎng)
通達信大頭通道買賣主圖指標公式:
VARA:=(MA(C,13)+MA(C,17))/2;
VARB:=(STD(C,13)+STD(C,17))/2;
VARC:=IF((C>REF(C,1)),88,0);
VARD:=VARA+0.72*VARB;
VARF:=IF(((C)/(REF(C,1))>1.05) AND H/C<1.01 AND VARC>0,91,0);
VARE:=IF(VARB>1.88 ,MA(VARD,3),VARD);
VARG:=EMA(EMA(C,9),9);
CON:=(VARG-REF(VARG,1))/REF(VARG,1)*1000;
HCON:=100*WINNER(C*0.95);
VAR1:=EMA(EMA(EMA(C,5),5),5);
VAR2:=VAR1-REF(VAR1,1)+VAR1;
VAR3:=CROSS(VAR2,MA(VAR2,26));
VAR4:=CROSS(MA(C,13),MA(C,21));
VAR5:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
VAR6:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
VAR7:=IF(VAR6<=10,30,0);
VARJ:=SMA(VAR5,3,1);
VARK:=SMA(VARJ,3,1);
VARL:=EMA(SMA((C-LLV(L,19))/(HHV(H,19)-LLV(L,19))*100,8,1),3);
VARM:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
VAR8:=(VARL>20 AND VARL<80);
VAR9:=((VARL-REF(VARL,1))>3 AND VAR8);
VAR10:=EMA(((C-LLV(L,22))/(HHV(H,22)-LLV(L,22)))*100,5);
VAR11:=EMA(((C-LLV(L,22))/(HHV(H,22)-LLV(L,22)))*50,13);
止贏:VARE*1.1,COLORRED;
壓力:VARE*1.05,COLORBLUE;
支撐:VARE*0.95,COLOR18FF18;
反轉(zhuǎn):VARE*0.9,COLORYELLOW;
平衡:VARE,COLORFFFFFF;
DRAWTEXT(ISLASTBAR,止贏,'止贏'),COLORRED;
DRAWTEXT(ISLASTBAR,壓力,'壓力'),COLORBLUE;
DRAWTEXT(ISLASTBAR,支撐,'支撐'),COLOR18FF18;
DRAWTEXT(ISLASTBAR,反轉(zhuǎn),'反轉(zhuǎn)'),COLOR18CCFF;
DRAWTEXT(ISLASTBAR,平衡,'平衡'),COLORFFFFFF;
DRAWTEXT(FILTER((VARF>90),34),LOW*0.965,'◆'),COLORRED;
STICKLINE(HCON>50 AND COST(85)<C AND CON>0,O,C,1.8,0),COLORFF00FF;
DRAWTEXT(VAR3 AND VAR4,L*0.95,'圓底'),COLORYELLOW;
STICKLINE(CROSS(VARJ,VARK) AND CROSS(MACD.DIF, MACD.DEA),C,O,1,0),COLORYELLOW;
DRAWTEXT(VAR7<REF(VAR7,1),L*0.98,'搶'),COLORYELLOW;
DRAWTEXT(FILTER(VAR9,5),L*0.97,'加'),COLORFF00FF;
DRAWICON(CROSS(76,VARM),H,16);
重心:AMOUNT/VOL/100,POINTDOT,LINETHICK5,COLORYELLOW;
布林極限:BB,COLORFF00FF,NODRAW;
RSI1:RSI.RSI1,COLORRED,NODRAW;
KDJJ:KDJ.J,COLORWHITE,NODRAW;
STICKLINE(CROSS(VAR10, VAR11),O,C,1.6,1),COLORRED;
STICKLINE(CROSS(VAR10, VAR11),O,C,1,1),COLORRED;
DRAWTEXT(FILTER(CROSS(C,反轉(zhuǎn)) OR CROSS(C,支撐) OR CROSS(C,平衡) OR CROSS(C,壓力),3),L*0.995,'買'),COLORRED;
DRAWTEXT(FILTER(CROSS(反轉(zhuǎn),C) OR CROSS(支撐,C) OR CROSS(平衡,C) OR CROSS(壓力,C),3),H*1.02,'賣'),COLORGREEN;
通達信大頭通道買賣主圖指標公式實例圖解:
通達信大頭通道買賣主圖指標公式