通達信形影不離買賣指標(biāo)公式
- 指標(biāo)類別: 通達信指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 超買超賣
- 畫線方法: 副圖
- 日期:2019-06-22 來源:互聯(lián)網(wǎng)
通達信形影不離買賣指標(biāo)公式:含有未來函數(shù)
大主力:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
形影主力:10,LINETHICK1,COLORRED;
買指路: IF(CROSS(大主力,形影主力),20,10),LINETHICK1,COLORYELLOW;
小心:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
形影不離漲: IF(CROSS(小心,10),15,0),STICK ,COLORRED ,LINETHICK1;
DRAWTEXT(形影不離漲,15,'底') , COLORRED ;{M1 2 1000 7 M2 2 1000 13 M3 2 1000 34 M4 2 1000 55 M5 2 1000 135}
工作7日線:MA(CLOSE,7),COLORWHITE;
短趨13日線:MA(CLOSE,13),COLORYELLOW;
中趨34日線:MA(CLOSE,34),COLORFF00FF;
長趨55日線:MA(CLOSE,55),COLORGREEN;
半年135日線:MA(CLOSE,135),COLORRED;
VAR14:=ZIG(3,13);
買:=IF((REF(VAR14,2) > REF(VAR14,1)) AND (VAR14 > REF(VAR14,1)),0.3,0);
DRAWICON ((REF(VAR14,2) > REF(VAR14,1)) AND (VAR14 > REF(VAR14,1)),LOW - (LOW)*(0.05),16),COLORFFFF00;
DRAWICON ((REF(VAR14,2) < REF(VAR14,1)) AND (VAR14 < REF(VAR14,1)),HIGH + (HIGH)*(0.03),14),COLORWHITE;
STICKLINE((REF(VAR14,2) < REF(VAR14,1)) AND (VAR14 < REF(VAR14,1)),CLOSE,OPEN,3,0),COLORGREEN;
STICKLINE((REF(VAR14,2) > REF(VAR14,1)) AND (VAR14 > REF(VAR14,1)),CLOSE,OPEN,3,0),COLORYELLOW;
{粉逃}
VAR1F:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),6);
VAR2F:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
STICKLINE(VAR1F,H,L,2,1),COLORFF00FF,LINETHICK2;{高位紅色}
STICKLINE(VAR1F,H,L,2,1),COLORFF00FF,LINETHICK2;{高位紅色}
STICKLINE(VAR1F,H,L,2,0),COLORFF00FF,LINETHICK2;{高位紅色}
STICKLINE(VAR2F,H,L,2,0),COLORWHITE,LINETHICK2;{底位白色}
STICKLINE(VAR2F,H,L,2,0),COLORWHITE,LINETHICK2;{底位白色};
{形影不離逃}
VAR20:=PEAKBARS(3,15,1)<10;
VAR21:=IF(VAR20=1,2,0);
VAR22:=IF(VAR21=2,2,0);
VAR23:=IF(VAR22>REF(VAR22,1),35,0)LINETHICK2;
DRAWTEXT(VAR23=35,HIGH*1.015,'←【形影不離逃】'),COLOR00FF00;
DRAWICON(VAR23=35,HIGH*1.01,6);
{量能飽和度。}
量能飽和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,
100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),NODRAW,COLOR4080FF;
通達信形影不離買賣指標(biāo)公式實例圖解:
通達信形影不離買賣指標(biāo)公式