通達信趨勢操盤抄底不敗指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 超買超賣
- 畫線方法: 副圖
- 日期:2019-09-09 來源:互聯(lián)網(wǎng)
通達信趨勢操盤抄底不敗指標公式:
VAR1:=(EMA(C,12)-EMA(C,26))*100+50;
VAR2:=EMA(VAR1,9);
VAR3:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;
VAR4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR5:=SMA(VAR4,13,8);
VAR6:=SMA(VAR3,21,8);
VAR7:=MA(C,80)-MA(C,10)/7;
VAR8:=EMA(C,5);
VAR9:=MA((LLV(C,9))*1.1,14);
VAR10:=2*VAR9-VAR8-C*0.1;
VAR11:=IF(((VAR8-VAR10)*5>0),(POW((VAR8-VAR10)*5,2))/10,(-1*(POW((VAR8-VAR10)*(5),2)))/(10));
VAR12:=IF((VAR11>0),VAR11-0,12);
VAR13:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;
趨勢線:CEILING(SMA(VAR5,13,8)),LINETHICK2,COLOR0000FF;
操盤線: MA(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),5),LINETHICK2,COLORBLUE;
STICKLINE(FILTER(CROSS(趨勢線,VAR12)AND 趨勢線>REF(C,1) OR CROSS(趨勢線,操盤線) AND
趨勢線<20 OR 趨勢線>REF(趨勢線,1)
AND 趨勢線<35 AND C>REF(C,1),5),5,20,2,2),COLOR00FF00;
底部:IF((趨勢線-VAR6<(-65)),20,40),COLORF0F000;
頂部:IF((趨勢線-VAR6>85),80,100),COLORF0F000;
DRAWICON(IF(VAR13<15,15,0),20,1);
黃金區(qū):IF(VAR13<15,15,0),COLORLIMAGENTA,LINETHICK2;
強弱分界:50,POINTDOT,COLORAABBDD,LINETHICK2;
{抄{底不敗 參數(shù):P1:-20 20 -6}
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1+2*BIAS2+3*BIAS3)/6;
股價趨勢:=MA(MM,3),COLORRED;
買入信號:=EMA(股價趨勢,2);
抄底:IF(股價趨勢<-6,20,0),COLORFFCCCC;
DRAWTEXT(CROSS(股價趨勢,買入信號) AND COUNT(買入信號<-6,2)>1,50,'買入'),COLORRED,LINETHICK3;
STICKLINE((股價趨勢<-9),0,0,4,0 ),COLORCC0033;
STICKLINE((股價趨勢<-9),0,5,4,0 ),COLORFF9966;
底部預(yù)警信號:=
STICKLINE( (股價趨勢<-9),0,2,4,0) ,COLORFFCC66;
STICKLINE( (股價趨勢<-9),0,8,4,0 ),COLORFFFF66;
XY1272:=
STICKLINE((股價趨勢<-12),10 ,-15,4,0) ,COLOR0066FF;
STICKLINE((股價趨勢<-12),10 ,-5,4,0 ),COLOR0099FF;
STICKLINE((股價趨勢<-12),10 ,0,4,0 ),COLOR00CCFF;
STICKLINE((股價趨勢<-12),10 ,3,4,0),COLOR00FFFF;
{CCI頂?shù)罪@示}
頂:=85;
中:=50;
底:=20;
VAE1:=HHV(HIGH,9)-LLV(LOW,9);
VAE2:=HHV(HIGH,9)-CLOSE;
VAE3:=CLOSE-LLV(LOW,9);
VAE4:=VAE2/VAE1*100-70;
VAE5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAE6:=(2*CLOSE+HIGH+LOW)/4;
VAE7:=SMA(VAE3/VAE1*100,3,1);
VAE8:=LLV(LOW,34);
VAE9:=SMA(VAE7,3,1)-SMA(VAE4,9,1);
VAEA:=IF(VAE9>100,VAE9-100,0);
VAEB:=HHV(HIGH,34);
AA:= VAEA*2;
EE:= EMA((VAE6-VAE8)/(VAEB-VAE8)*100,13);
VAEC:=EMA(0.667*REF(EE,1)+0.333*EE,2);
RR:=SMA(VAE5,20,1),COLORRED;
CC1:=SMA(RR,5,1),COLORGREEN;
STICKLINE(RR>CC1,RR,CC1,1,0),COLORRED;
STICKLINE(CC1>RR,RR,CC1,1,0),COLORGREEN;
CCI進:IF((CROSS(RR,CC1) AND (CC1 < 頂) ),80,0),COLORRED;
{黃底部增強紅買入顯示}
K2:=EMA(C,5),COLORFFFF00;
K3:=EMA(C,10),COLORFFFF00;
K5:=EMA(C,30),COLORFFFF00;
KK5:=EMA(INDEXC,30),COLORFFFF00;
K6:=2*(K2-K5);
K7:=2*(K2-K3);
K8:=2*(K7+K6),COLORRED;
STICKLINE(CROSS(K8,0),0,6,3,0) ,COLORRED;
K1:=IF(K8>REF(K8,5) AND K3<REF(K3,5) ,1,0 ),COLORYELLOW;
K21:=IF(K8>REF(K8,7) AND K3<REF(K3,7) ,1,0 ),COLORYELLOW;
K31:=IF(K8>REF(K8,9) AND K3<REF(K3,9) ,1,0 ),COLORYELLOW;
K4:=IF(K8>REF(K8,11) AND K3<REF(K3,11) ,1,0 ),COLORYELLOW;
底部1:STICKLINE((K1 OR K21 OR K31 OR K4) AND K8<0 AND K8>REF(K8,1),4,0,8,0) ,COLORYELLOW;
通達信趨勢操盤抄底不敗指標公式實例圖解:
通達信趨勢操盤抄底不敗指標公式