通達信薛斯通道買賣提示指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 龍系
- 畫線方法: 副圖
- 日期:2024-06-17 來源:互聯(lián)網
通達信薛斯通道買賣提示指標公式:
N:=13;N1:=3;N2:=5;N3:=9;N4:=9;
VVAR4:=EXPMA(CLOSE,9);
VLDN:=EXPMA(VVAR4*0.86,5);
QAVW1:=(C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100;
QAVW2:=100*(HHV(H,55)-C)/(HHV(H,55)-LLV(L,55));
QAV21:=SMA(QAVW2,55,1)+100;
HH:=(HHV(V,135));
RSV8:=(CLOSE - LLV(L,21))/(HHV(H,21) - LLV(L,21));
K18:=EMA(RSV8,3);
D18:=EMA(K18,3);
J18:=3*K18-2*D18;
KDJ1:=REF(COUNT(J18<REF(J18,1),5)>=3,1) AND REF(J18,1)<0.03;
KDJ2:=J18>REF(J18,1);
QAV11:=SMA(QAVW1,9,1);
QAV51:=SMA(QAV11,3,1)+100;
KDJ3:=REF(COUNT(J18>REF(J18,1),5)>=3,1) AND REF(J18,1)>0.99;
KDJ4:=J18<REF(J18,1);
VAR22:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*200*10;
能量:=SMA(VAR22,5,1);
WRH:=QAV51-QAV21+50;
T:=(HIGH+LOW+CLOSE)/3;
CCII:=(T-MA(T,9))/(0.016*AVEDEV(T,9));
STICKLINE(WRH>REF(WRH,1),VLDN-0.4,VLDN-0.7,10,0),COLOR8C1177;
STICKLINE(WRH<REF(WRH,1),VLDN-0.4,VLDN-0.7,10,0),COLOR015400;
JJ:=(H+L+C)/3;
QJ0:=VOL/IF(H=L,4,H-L);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(C,O)),QJ0*(MIN(O,C)-L));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(O,C)-L),QJ0*(JJ-MIN(C,O)));
QJ3:=QJ0*(H-MAX(O,C));
QJ4:=QJ0*(MAX(C,O)-JJ);
QJ5:=QJ1+QJ2;
QJ6:=QJ3+QJ4;
DD:=(QJ5-QJ6)/(QJ5+QJ6)*100;
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/SUM(VOL,10)*100;
DDZ:=DD*17;
DDY:=((QJ2+QJ4)-(QJ1+QJ3))/SUM(VOL,10)*100;
撿錢1:=CROSS(CCII,-150),NODRAW;
撿錢2:=CROSS(CCII,-150) AND ((DDX>0 AND DDY>0) OR DDZ>400),NODRAW;
BIAS:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100,NODRAW;
撿錢3:=IF(BIAS<=-16,1,0),NODRAW;
量1:=MA(VOL,250);
F:=VOL<量1;
CCI8:=(T-MA(T,14))/(0.015*AVEDEV(T,14));
R:=F OR ((撿錢1 OR 撿錢2 OR 撿錢3) AND 能量<550) OR (FILTER(KDJ1 AND KDJ2,3) AND 能量<650) AND CCI8<-180,NODRAW;
DRAWICON(R,VLDN-0.7,9);
DRAWTEXT(R,VLDN-0.7,'撿錢啦'),COLOR00FFFF;
VAR2:=CLOSE*VOL;
VAR3:=EMA((EXPMA(VAR2,3)/EXPMA(VOL,3)+EXPMA(VAR2,6)/EXPMA(VOL,6)+EXPMA(VAR2,12)/EXPMA(VOL,12)+EXPMA(VAR2,24)/EXPMA(VOL,24))/4,N);
SUP:1.06*VAR3;
SDN:VAR3*0.94;
VAR4:=EXPMA(CLOSE,9);
LUP:EXPMA(VAR4*1.14,5);
LDN:EXPMA(VAR4*0.86,5);
多頭:=LDN>=REF(LDN,1);
STICKLINE(多頭,LDN,LDN+LDN*0.03,0.8,1),COLORMAGENTA;
獅龍?zhí)ь^:=多頭 AND COUNT(多頭=0,2)=1 ;
上穿:=CROSS(C,SDN);
SS:=C-SDN<0 AND C/REF(C,3)>1 AND COUNT(C-SDN<0,2)=2 AND C-O>0;
進倉:=上穿 OR SS;
STICKLINE(進倉,L,L-L*0.03,0.8,1),COLOR70DB93;
A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);
散戶:=MA(A,27),COLORF2E9E7,POINTDOT;
EMA5:=EMA(C,5);
EMA13:=EMA(C,9);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(EMA13,EMA5))+1),LLV(L,BARSLAST(CROSS
(EMA13,EMA5))+1),H=HHV(H,BARSLAST(CROSS(EMA5,EMA13))+1),HHV(H,BARSLAST(CROSS
(EMA5,EMA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(EMA5,EMA13))+1),HHV(H,BARSLAST(CROSS
(EMA5,EMA13))+1),L=LLV(L,BARSLAST(CROSS(EMA13,EMA5))+1),LLV(L,BARSLAST(CROSS
(EMA13,EMA5))+1),0),COLOR00FF00;
HRY33:=SQRT((HHV(HIGH,55)*LLV(LOW,55)));
牛:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
紅犀牛1:=UP>0 AND COUNT(DOWN>0,2)=1;
多空:=IF(紅犀牛1,-2,90),COLOR00FF00,LINETHICK3;
多:IF(多空=90,SDN,DRAWNULL),COLORMAGENTA,LINETHICK3;
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,N3),N3)/EMA(EMA(ABS(MTM),N3),N3),COLORWHITE;
MAZL:=MA(ZLGJ,N2),COLORYELLOW;
VAAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAAR2:=SMA(ABS(LOW-VAAR1),13,1)/SMA(MAX(LOW-VAAR1,0),10,1);
VAAR3:=EMA(VAAR2,10);
VAAR4:=LLV(LOW,33);
VAAR5:=EMA(IF(LOW<=VAAR4,VAAR3,0),3);
主力進場:=IF(VAAR5>REF(VAAR5,1),VAAR5,0),COLORRED,NODRAW;
洗盤:=IF(VAAR5<REF(VAAR5,1),VAAR5,0),COLORGREEN,NODRAW;
AAA:=ZLGJ>REF(ZLGJ,1) AND MAZL>REF(MAZL,1) AND CROSS(ZLGJ,MAZL);
BBB:=CROSS(ZLGJ,MAZL) AND 多空>10;
CCC:=CROSS(ZLGJ,MAZL) AND COUNT(多空=90,2)=1;
進場:=AAA OR BBB OR CCC;
STICKLINE(進場,SUP,SUP+SUP*0.06,0.8,1),COLORYELLOW;
買:=MA(CLOSE,1);
賣:=(LOW+HIGH+CLOSE)/3;
奇準:= MA(賣,5);
買賣:=LLV(奇準,10);
急買奇準:=LLV((買<買賣),5);
短買奇準:=LLV((買<買賣),10);
P:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5);
CCI:=((P - MA(P,14))*(100))/((1.5)*(AVEDEV(P,14)));
JL:=CCI < (-100);
P1:=4;
P2:=5;
V1:=LLV(LOW,P1);
V2:=HHV(HIGH,P1);
牛線:= EMA((CLOSE-V1)/(V2-V1)*100,P2),COLORRED,LINETHICK1;
馬線:= EMA(0.667*REF(牛線,1)+0.333*牛線,2),COLORGREEN,LINETHICK1;
AAAA:=CROSS(牛線,馬線) AND COUNT(急買奇準,2)=1 ;
BBBB:=CROSS(牛線,馬線) AND COUNT(短買奇準,2)=1 ;
CCCC:=CROSS(牛線,馬線) AND COUNT(JL,2)=1;
DDDD:=CROSS(牛線,馬線) AND JL;
進:=AAAA OR BBBB OR CCCC OR DDDD;
STICKLINE(進,SUP,SUP+SUP*0.016,0.8,1),COLORMAGENTA;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
VARB2:=(RSV/2+22)*1;
量:=EMA(VOL,13);
資金:=EMA(AMOUNT,13);
過濾:=((資金 /量) / 100);
提純:=(((CLOSE -過濾) / 過濾) * 100);
黃金:=((提純 < (0)) AND ZXNH),COLORRED;
低:=黃金 AND RSV<VARB2-2;
DRAWTEXT(低,SUP,'低'),COLORYELLOW;
AA8:=AMOUNT/VOL/100;
RSSV:=(AA8-LLV(AA8,9))/(HHV(AA8,9)-LLV(AA8,9))*100;
K8:=SMA(RSSV,3,1);
D8:=SMA(K8,3,1);
J8:=K8*3-D8*2;
CCI1:=(AA8-MA(AA8,14))/(0.015*AVEDEV(AA8,14));
DIIF:=EMA(AA8,12)-EMA(AA8,26);
DEA:=EMA(DIIF,9);
KDJJ:IF(J8>D,LDN,DRAWNULL),COLORYELLOW,LINETHICK3;
DIFFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEAA:=EMA(DIFFF,5);
MACD:=2*(DIFFF-DEAA);
A1:=EMA(DIFFF,5)*100;
A2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*100;
A3:=IF(A2>0,A2,50),POINTDOT,COLORRED;
A4:=IF(A2<0,A2,50),POINTDOT,COLORGREEN;
資金動能A:=A2+50,COLOR00FFFF,LINETHICK2;
資金動能B:=A1+50,COLORFFFF00,LINETHICK2;
資金動能C:=資金動能A-資金動能B>0;
資金動能:IF(資金動能C,LUP,DRAWNULL),COLORYELLOW,LINETHICK3;
VA1:=HHV(HIGH,9)-LLV(LOW,9);
VA2:=HHV(HIGH,9)-CLOSE;
VA3:=CLOSE-LLV(LOW,9);
VA4:=VA2/VA1*100-70;
VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VA6:=(CLOSE+HIGH+LOW)/3;
VA7:=SMA(VA3/VA1*100,3,1);
VA8:=LLV(LOW,34);
VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);
VARA:=IF(VA9>100,VA9-100,0);
VARB:=HHV(HIGH,34);
VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
生命線:=EMA(VARD,1),COLORYELLOW;
A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),CIRCLEDOT,COLORFF9900 ;
開始拉升:=IF(CROSS(VARC,生命線) AND VARC>VARD AND VARC<55 AND C>O,1,0),COLORLIRED,POINTDOT;
安全位:=20;
STICKLINE(CROSS(A5,安全位),LDN,LDN-LDN*0.04,2,1);
STICKLINE(開始拉升,LDN,LDN-LDN*0.03,4,1),COLORD9D919;
DRAWTEXT(開始拉升,LDN,' 開始拉升' ),COLORD9D919;
DRAWTEXT(CROSS(A5,安全位),LDN-0.5,' 低位轉強' ),COLORYELLOW;
VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VARF:=MA(VARE,3);
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR29:=HHV(HIGH,9)-CLOSE;
VAR39:=CLOSE-LLV(LOW,9);
VAR49:=((VAR29)/(VAR1))*(100)-70;
VAR59:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR69:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR79:=SMA(((VAR39)/(VAR1))*(100),3,1);
VAR89:=LLV(LOW,34);
VAR99:=SMA(VAR79,3,1)-SMA(VAR49,9,1);
VAR10:=IF((VAR99>100),VAR99-100,0);
VAR11:=HHV(HIGH,34);
VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7:=SMA(((VAR39)/(VAR1))*(100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR79,3,1)-SMA(VAR4,9,1);
VAR109:=IF((VAR99>100),VAR9-100,0);
VAR191:=HHV(HIGH,34);
B1:=EMA(((VAR69-VAR89)/(VAR11-VAR89))*(100),8);
領先:=EMA(B1,5),COLORCYAN;
A6:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);
極地上漲:=IF(A6,領先,0),COLORGREEN,LINETHICK2;
STICKLINE(極地上漲,LDN,LDN-LDN*0.05.1,2,1),COLORMAGENTA;
清:=EMA(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416,5)/2+50,COLORGREEN,POINTDOT;
賺20個點就走:=EMA(ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.1416,5)/2+50,COLORRED,POINTDOT;
黃主升藍主跌:=EMA(ATAN((MA(C,30)/REF(MA(C,30),1)-1)*100)*180/3.1416,5)/2+50,COLORYELLOW,POINTDOT;
STICKLINE(黃主升藍主跌>REF(黃主升藍主跌,1),LUP+0.3,LUP+0.4,3,0),COLORD9D919;
N10:=7;
LC1:=REF(CLOSE,1);
X:=SMA(MAX(CLOSE-LC1,0),N10,1)/SMA(ABS(CLOSE-LC1),N10,1)*100;
Y:=DRAWLINE(X>=HHV(X,N10),X,X<=LLV(X,N10),X,1);
TJ10:=X=Y;
TJ20:=X<REF(X,1);
絕對買底:STICKLINE(TJ10 AND TJ20,LUP,LUP+0.3,1,0),COLORBLUE;
A11:=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(A11,5); A21:=(黑碼線-REF(黑碼線,1))/REF(黑碼線,1)*100; A31:=EMA(C,5);
A41:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趨勢線:=(MA(3*SMA(A41,6,1)-2*SMA(SMA(A41,5,1),5,1),2));
A51:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
DRAWTEXT(CROSS(A11,黑碼線)AND 黑碼線<A51,LUP+0.6,'黑碼'),COLORD9D919;
VARM1:=4*SMA((CLOSE-LLV(LOW,N4))/(HHV(HIGH,N4)-LLV(LOW,N4))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N4))/(HHV(HIGH,N4)-LLV(LOW,N4))*100,5,1),3.2,1),COLORWHITE,LINETHICK1;
VARM2:=15,COLORGREEN,LINETHICK1;
上升在即1:= IF(CROSS(VARM1,VARM2),LUP,0),STICK,COLORRED,LINETHICK2;
上升在即:STICKLINE(上升在即1,SUP,SDN,0.1,0),COLORRED;
VARH2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VARH3:=SMA(SMA(VARH2,3,1),3,1)/28.57;
VARH4:=EMA(VARH3,5);
操盤:=3*VARH3-2*VARH4;
AH1:=CROSS(操盤,VARH3) AND VARH3<2.1 AND C>O;
DRAWTEXT(AH1,SUP-0.6,'財神'),COLORYELLOW;
通達信薛斯通道買賣提示指標公式實例圖解:
通達信薛斯通道買賣提示指標公式