通達信蝦公擒龍買賣指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 超買超賣
- 畫線方法: 副圖
- 日期:2023-11-03 來源:互聯(lián)網(wǎng)
通達信蝦公擒龍買賣指標公式:
T1:=5;
T2:=4;
P:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5);
BB:=MA(P,3);
CC:=(SUM(IF((P > REF(P,1)),(P)*(VOL),0),4))/(SUM(IF((P < REF(P,1)),(P)*(VOL),0),4));
DD:=REF(100 - (100)/(1 + CC),1);
A1:=HHV(P,15);
A2:=LLV(P,15);
A3:=A1 - A2;
A4:=(EMA((P - A2)/(A3),2))*(100);
B1:=HHV(P,60);
B2:=LLV(P,60);
B3:=B1 - B2;
B4:=(EMA((P - B2)/(B3),2))*(100);
C1:=HHV(P,240);
C2:=LLV(P,240);
C3:=C1 - C2;
C4:=(EMA((P - C2)/(C3),2))*(100);
長風(fēng)險:C4,LINETHICK2,COLOR443434;
中風(fēng)險:B4,COLORAA7755;
短風(fēng)險:A4,COLOR44AABB;
IF(FILTER((中風(fēng)險 < REF(中風(fēng)險,1)) AND (中風(fēng)險 > 90) AND (BB < REF(BB,1)),5),92,100),LINETHICK2,COLOR44BB00;
IF(FILTER((中風(fēng)險 > REF(中風(fēng)險,1)) AND (中風(fēng)險 < 5) AND (CLOSE > REF(CLOSE,1)),5),14,0),LINETHICK2,COLOR2222FF;
VAR4:=LLV(LOW,T1);
VAR5:=HHV(HIGH,T2);
散戶:EMA(((P - VAR4)/(VAR5 - VAR4))*(100),T2),LINETHICK2,COLOR3333DD;
莊家:EMA((0.667)*(REF(散戶,1)) + (0.333)*(散戶),2),LINETHICK2,COLORDDCC00;
VAR6:=((HHV(HIGH,4) - P)/(HHV(HIGH,4) - LLV(LOW,4)))*(100) - 72;
VAR7:=((P - LLV(LOW,4))/(HHV(HIGH,4) - LLV(LOW,4)))*(100);
VAR8:=SMA(VAR7,2,1);
VAR9:=CLOSE - REF(CLOSE,5);
VARA:=((EMA(EMA(VAR9,5),5))/(EMA(EMA(ABS(VAR9),5),5)))*(100);
VARB:=((EMA(EMA(VAR9,10),10))/(EMA(EMA(ABS(VAR9),10),10)))*(100);
VARC:=((EMA(EMA(VAR9,20),20))/(EMA(EMA(ABS(VAR9),20),20)))*(100);
賣出:=IF((VARA > 0) AND CROSS(VARC,VARA),10,0);
CCI:=((P - MA(P,14))*(100))/((1.5)*(AVEDEV(P,14)));
RSI1:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),6,1)))*(100);
STICKLINE((CCI > 100),106,100,6,0),COLOR00AC00;
STICKLINE((RSI1 > 80),105,102,6,0),COLOR00FE00;
STICKLINE((CCI < (-100)),(-6),0,6,0),COLORYELLOW;
STICKLINE((RSI1 < 25),(-6),(-2),6,0),COLORFF44FF;
D1:=(中風(fēng)險 > REF(中風(fēng)險,1)) AND (短風(fēng)險 > REF(短風(fēng)險,1)) AND (長風(fēng)險 > REF(長風(fēng)險,1)) AND (長風(fēng)險 < 8) AND (中風(fēng)險 < 10) AND (短風(fēng)險 < 15);
D2:=CROSS(短風(fēng)險,中風(fēng)險) AND (中風(fēng)險 < 8);
D3:=CROSS(短風(fēng)險,長風(fēng)險) AND (長風(fēng)險 < 8) AND (中風(fēng)險 < 20);
DRAWICON(FILTER(D1 OR D2 OR D3 AND (DD < 15) AND (CLOSE > REF(CLOSE,1)),5),8,1),COLORFF0000;
DRAWICON(FILTER((中風(fēng)險 < REF(中風(fēng)險,1)) AND (短風(fēng)險 < REF(短風(fēng)險,1)) AND (長風(fēng)險 < REF(長風(fēng)險,1)) AND (中風(fēng)險 > 95) AND (短風(fēng)險 > 85) OR (長風(fēng)險 > 100) AND (中風(fēng)險 > 100) AND (短風(fēng)險 > 100),5),95,2),COLOR000080;
警戒線:80,COLORDCDCDC;
啟動線:20,COLORYELLOW;
50,POINTDOT,COLOR00DCDC;
通達信蝦公擒龍買賣指標公式實例圖解:
通達信蝦公擒龍買賣指標公式