通達信頂?shù)妆畴x均線主圖指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 均線
- 畫線方法: 主圖
- 日期:2023-04-28 來源:互聯(lián)網(wǎng)
通達信頂?shù)妆畴x均線主圖指標公式:
VAR444:=C;
操作:=MA(VAR444,5);
收盤破此線短逃:HHV(操作,13),LINETHICK2,COLORYELLOW;
{關(guān)注啟動點}
VAR1K:=EMA(VOL/CAPITAL,3);
VAR2K:=HHV(VAR1K,240);
VAR3K:=LLV(VAR1K,240);
VAR4K:=MA(CLOSE,33);
VAR5K:=EMA(CLOSE,13)-EMA(CLOSE,26);
VAR6K:=EMA(VAR5K,9);
VAR7K:=2*(VAR5K-VAR6K);
VAR8K:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR9K:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
VARAK:=(CLOSE-LLV(LOW,225))/(HHV(HIGH,225)-LLV(LOW,225))*100;
VARBK:=SMA(VAR8K,3,1);
VARCK:=SMA(VAR9K,15,1);
VARDK:=SMA(VARAK,45,1);
VAREK:=(VARDK-REF(VARDK,1))*50;
VARFK:=(VARCK-REF(VARCK,1))*10;
VAR10K:=REF(VARCK,1)-REF(VARDK,1);
VAR11K:=(VARCK-VAR10K-VARDK)*30;
VAR12K:=VARBK-REF(VARBK,1);
固定籌碼:= EMA((VAR1K-VAR3K)/VAR3K*VAR4K,13);
移動籌碼:= EMA((VAR2K-VAR1K)/VAR1K*VAR4K,13);
多空對比:=固定籌碼-移動籌碼;
VAR13K:=VAR7K>=-0.035 AND VAR7K<=0.045 AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND 多空對比>-100;
啟動:=(VAR13K AND VAR12K>7 AND REF(VAR12K,1)<0 AND (VAR12K-REF(VAR12K,1)>9)) ;
DRAWTEXT(啟動,L-0.2,'啟動'),COLORYELLOW;
{頂?shù)妆畴x}
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背離'),COLOR0000FF;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'頂背離'),COLOR00FFFF;
A:=(2*C+O+H+L)/5;
主籌:=EMA(WINNER(A)*46.18,5);
強勢:=EMA(主籌,13);
散戶:=(EMA((WINNER(A*1.1)-WINNER(A*0.96))*80,10))/(主籌+(EMA((WINNER(A*1.1)-WINNER(A*0.96))*80,10)))*100;
弱勢:=EMA((EMA((WINNER(A*1.1)-WINNER(A*0.96))*80,5))/(主籌+(EMA((WINNER(A*1.1)-WINNER(A*0.96))*80,5)))*100,13);
強弱分界線:=(主籌+散戶)/2;
DRAWTEXT(CROSS(主籌,強勢)AND C>O,L-0.8,'短線'),COLORWHITE;
會員專用:=EMA(SMA(MAX(C-REF(C,2),0),5,1)/SMA(ABS(C-REF(C,2)),5,1)*100,3);
跨越:=EMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,10,1),3);
特殊會員專用:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,13,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,13,1),5,1);
機構(gòu)做空能量線:=SMA((HHV(H,13)-C)/(HHV(H,13)-LLV(L,13))*100,2,1);
DRAWTEXT(CROSS(會員專用,特殊會員專用) AND 特殊會員專用<80,L,'上'),COLORWHITE;
DRAWTEXT(CROSS(會員專用,跨越) AND 特殊會員專用<80,H,'漲'),COLORFFAA66;
近買:DRAWTEXT(REF(CROSS(機構(gòu)做空能量線,跨越),25) AND 機構(gòu)做空能量線>1.005*跨越,L,'近買'),COLORFFAA66;
低入:DRAWTEXT(REF(CROSS(跨越,特殊會員專用),82) AND 跨越>1.3*特殊會員專用,L,'低入'),COLORWHITE;
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;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖離:=MA(BIAS,3);
抄底:=IF(乖離<-12 AND 乖離>=-18,-10,0);
抄底二:=IF(乖離<-18,5,0);
VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);
VAR2:=DMA(CLOSE,VOL/MA(VOL,31)/31);
VAR3:=(CLOSE-VAR1)/VAR1*100<-10;
VAR4:=(VAR1-VAR2)/VAR2*100<-16;
VAR5:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23;
VAR6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16;
VAR7:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));
VAR8:=INDEXC;
VAR9:=MA(VAR8,6);
VARA:=MA(VAR8,24);
VARB:=MA(VAR8,32);
VARC:=VARB>VAR9*1.11 AND VARA>VAR9*1.095;
SSS:=(VAR3 AND VAR4 AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 OR VAR5 AND VAR6 AND CROSS(VAR7,79) OR VARC AND CLOSE/COST(8)<=0.8)*100;
抄底王:=SSS>0;
DRAWTEXT(SSS>0,L,'抄底王'),COLORWHITE;
陳氏抄底:=抄底<0 OR 抄底二>0 OR 抄底王>0;
當天換手:=V/CAPITAL*100;
五天換手:=SUM(當天換手,5)/2;
量能線:=MA(五天換手,2);
VARR1:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARR2:=EMA(VARR1,24);
VARR3:=EMA(VARR2,10);
VARR4:=3*VARR2-2*VARR3;
VARR5:=EMA(VARR4,5)/10;
陳氏趨勢線:=EMA(VARR5,5);
DRAWTEXT(CROSS(陳氏趨勢線, 7.5),H+0.3,'【注意】'),COLORFF0055;
A1N:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑馬線:=EMA(A1N,5);
A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趨勢線:=4*EMA(A4,3)-3*EMA(EMA(A4,3),3);
A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
DRAWTEXT(CROSS(黑馬線,A5)AND 趨勢線<80,C,'追漲'),COLORRED;
通達信頂?shù)妆畴x均線主圖指標公式實例圖解:
通達信頂?shù)妆畴x均線主圖指標公式