通達(dá)信發(fā)現(xiàn)莊家跡指標(biāo)公式
- 指標(biāo)類別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 策略
- 畫線方法: 副圖
- 日期:2024-06-03 來源:互聯(lián)網(wǎng)
通達(dá)信發(fā)現(xiàn)莊家跡指標(biāo)公式:
AA:=(O+H+L+C)/4;
BB:=MA(AA,3);
CC:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA<REF(AA,1),AA*VOL,0),4);
DD:=REF(100-(100/(1+CC)),1);
A1:=HHV(AA,15);
A2:=LLV(AA,15);
A3:=A1-A2;
A4:=EMA((AA-A2)/A3,2)*100;
B1:=HHV(AA,60);
B2:=LLV(AA,60);
B3:=B1-B2;
B4:=EMA((AA-B2)/B3,2)*100;
C1:=HHV(AA,240);
C2:=LLV(AA,240);
C3:=C1-C2;
C4:=EMA((AA-C2)/C3,2)*100;
短期:A4,COLOR0099FF,LINETHICK2;
中期:B4,COLORRED,LINETHICK1;
長期:C4,COLORFF00FF,LINETHICK1;
STICKLINE(短期>90 AND 中期>70,86,94,1,0),COLORGREEN;
STICKLINE(短期<5 AND 中期<30,0,8,1,0),COLORRED;
IF(FILTER(中期<REF(中期,1)AND 中期>90 AND BB<REF(BB,1),5),80,100),COLORGREEN,LINETHICK1;
IF(FILTER(中期>REF(中期,1)AND 中期<5 AND C>REF(C,1),5),20,0),COLORCYAN,LINETHICK1;
D1:=中期>REF(中期,1) AND 短期>REF(短期,1)AND 長期>REF(長期,1)AND 長期<8 AND 中期<10 AND 短期<15;
D2:=CROSS(短期,中期) AND 中期<8;
D3:=CROSS(短期,長期) AND 長期<8 AND 中期<20;
DRAWICON(FILTER((D1 OR D2 OR D3) AND DD<15 AND C>REF(C,1),5),5,1);
DRAWICON(FILTER((中期<REF(中期,1)AND 短期<REF(短期,1)AND 長期<REF(長期,1)AND 中期>95 AND 短期>85)OR (長期>100 AND 中期>100 AND 短期>100),5),95,2);
強(qiáng)弱分界:50,POINTDOT,COLORWHITE;
警戒區(qū):90,LINETHICK1,COLORWHITE;
安全區(qū):20,COLORWHITE;
N:=5; N1:=21;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
VAR2:=8,COLORGREEN,LINETHICK0;
小試牛刀: IF(CROSS(VAR1,VAR2),8,0),STICK,COLORRED;
DRAWICON(小試牛刀>0,8,11);
發(fā)現(xiàn)莊跡: IF(VAR1<=8,8,0),STICK,COLORCYAN,LINETHICK2;
短線獲利:STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,60,42,1,0),COLORYELLOW;
VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VARK2:=REVERSE(VARK1);
VARK3:=SMA(VARK1,3,1);
VAR21:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR22:=8;
SS:=CROSS(VAR21,VAR22);
DRAWTEXT(SS,L*0.98,'●買進(jìn)!'),COLORYELLOW;
通達(dá)信發(fā)現(xiàn)莊家跡指標(biāo)公式實(shí)例圖解:
通達(dá)信發(fā)現(xiàn)莊家跡指標(biāo)公式