通達信贏盡天下主圖買賣指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 均線
- 畫線方法: 主圖
- 日期:2022-09-16 來源:互聯(lián)網(wǎng)
通達信贏盡天下主圖買賣指標公式:包含未來函數(shù):BACKSET,COST,XMA
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60),COLORRED,LINETHICK2;
MA144:MA(CLOSE,144),LINETHICK2;
清倉:=1.66*MA(FORCAST(CLOSE,2),40);
出貨:=1.36*MA(FORCAST(CLOSE,2),40);
高拋:=1.16*MA(FORCAST(CLOSE,2),40);
低吸:=0.82*MA(FORCAST(CLOSE,2),40);
滿倉:=0.72*MA(FORCAST(CLOSE,2),40);
強通1:=清倉>REF(清倉,1);
強通2:=出貨>REF(出貨,1);
強通3:=高拋>REF(高拋,1);
強通4:=低吸>REF(低吸,1);
強通5:=滿倉>REF(滿倉,1);
上升通道:=強通1 AND 強通2 AND 強通3 AND 強通4 AND 強通5,;
五強:=MA5>REF(MA5,1);
十強:=MA10>REF(MA10,1);
二十強:=MA20>REF(MA20,1);
三十強:=MA30>REF(MA30,1);
六十強:=MA60>REF(MA60,1);
小均強:=五強 AND 十強;
均強:=十強 AND 二十強 AND 三十強;
大均強:=十強 AND 二十強 AND 三十強 AND 六十強;
JJD:=(H+L+C)/3;
強勢線1:=HHV(MA((((LOW + HIGH) + CLOSE) / 3),8),60);
強勢線2:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.18),8),20);
強勢線3:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.258),8),10);
強勢線4:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.08),80),13);
開始走強1:=強勢線1>REF(強勢線1,1);
開始走強2:=強勢線2>REF(強勢線2,1);
開始走強3:=強勢線3>REF(強勢線3,1);
開始走強4:=強勢線4>REF(強勢線3,1);
雙強1:=開始走強1 AND 開始走強2;
雙強2:=開始走強2 AND 開始走強3;
雙強3:=開始走強2 AND 開始走強3;
雙強4:=開始走強3 AND 開始走強4;
三強:=開始走強1 AND 開始走強2 AND 開始走強3;
四強:=開始走強1 AND 開始走強2 AND 開始走強3 AND 開始走強4;
強勢為王:=雙強1 OR 雙強2 OR 雙強3 OR 雙強4 OR 三強 OR 四強;
VV:=(C+L+H)/3;
DSA:=SMA(XMA(VV,15),2,1);
頂部1:=DSA*1.0888;
頂部2:=DSA*1.158;
頂部3:=DSA*1.218;
底部1:=DSA*0.9518;
底部2:=DSA*0.888;
底部3:=DSA*0.8;
五日走強:=MA5>REF(MA5,1);
十日走強:=MA10>REF(MA10,1);
二十日走強:=MA20>REF(MA20,1);
六十日走強:=MA60>REF(MA60,1);
低位主升:=五日走強 AND 十日走強 AND 六十日走強;
主升浪:=五日走強 AND 十日走強 AND 二十日走強;
大主升浪:=十日走強 AND 二十日走強 AND 六十日走強;
大主升浪2:=五日走強 AND 十日走強 AND 二十日走強 AND 六十日走強;
總主升:=主升浪 AND 大主升浪 AND 大主升浪2;
總主升浪:=低位主升 OR 主升浪 OR 大主升浪 OR 大主升浪2 OR 總主升,;
強勢主升低買:=L<底部1 AND 總主升浪 AND 強勢為王 AND C<DSA;
獵股小王:=L<底部1 AND C<DSA AND 強勢為王;
DRAWICON(獵股小王>0,L*0.97,1);
DRAWTEXT(獵股小王>0,L*0.97, '獵'),COLORYELLOW;
獵股大王出擊:=強勢主升低買 AND 獵股小王 AND H<DSA;
A:=MA(C,30);
A1:=A*1.1;
A4:=A*0.9;
A2:=A1-(A1-A4)*0.191;
持倉:=IF(HIGH*1.01>A2 OR REF(HIGH,1)>REF(A2,1),A1,A4);
生命線:=IF(HIGH*1.01>A2 OR REF(HIGH,1)>REF(A2,1),A2,A4);
主升持倉:=持倉>生命線,;
主升1:=持倉>REF(持倉,1),;
主升2:=生命線>REF(生命線,1),;
主升:=主升1 AND 主升2,;
主升獵股王:=(獵股大王出擊 AND 主升持倉 AND 主升) OR (獵股小王 AND 主升持倉 AND 主升);
絕對的主升:=(主升獵股王 AND 小均強) OR (獵股小王 AND 小均強);
DRAWICON(絕對的主升>0,L*0.97,1);
Y1:=LLV(L,17);
Y2:=SMA(ABS(L-REF(L,1)),17,1);
Y3:=SMA(MAX(L-REF(L,1),0),17,2);
Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1));
VAR2:=EXPMA(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4),4),4);
天:=( MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,2));
地:=( MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1));
高興:=STICKLINE(地>天 AND 地<0 AND ("KDJ.J"(9,3,3)>REF("KDJ.J"(9,3,3),1) AND"KDJ.D"(9,3,3)<20 AND "KDJ.J"(9,3,3)<20) AND V=LLV(V,10) AND IF(CROSS(Q,0),1,0),10,0,1,0)=1,COLORRED;
DRAWICON(高興,L*0.915,1);
DRAWTEXT(高興,L*0.915, '興'),COLORYELLOW;
HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;
AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);
QY:=BACKSET(AA,HIGHN+1);
CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);
DRAWICON(CC,H*1.02,2);
DDD:=BARSLAST(CC);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBU:=IF(DDD,REF(H,DDD),H);{頂部}
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DINGBU1:=REF(DINGBU,DDD+1);
GDCS1:=CONST(DINGBUTS);
DINGBUTS1:=REF(DINGBUTS,DDD+1);
GDCS2:=CONST(DINGBUTS1);
DINGBU2:=REF(DINGBU1,DDD+1);
MM:=IF(CURRBARSCOUNT>GDCS2,0,1);
高壓:=DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORFF00FF,LINETHICK1;
DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT;
DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,POINTDOT;
AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);
QY1:=BACKSET(AA1,LOWN+1);
CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);
DRAWICON(CC1,L*0.98,1);
DD1:=BARSLAST(CC1);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
YDB:=IF(DD1,REF(L,DD1),L);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
DDCS1:=CONST(DDTS1);
ZDB:=REF(YDB,DD1+1);
DDTS2:=REF(DDTS1,DD1+1);
DDCS2:=CONST(DDTS2);
低支:=DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORFF00FF,LINETHICK1;
ZGSTAR:=(高壓+低支)/2;
ZGEND:=CONST((高壓+低支)/2);
STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);
中軌:=DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF00FF,LINETHICK1;
DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORMAGENTA,POINTDOT,;
DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN,POINTDOT;
CBFB:=COSTEX(C,REF(C,1));
JL:=IF(C>CBFB,V,0);
CL:=IF(C<CBFB,V,0);
JLH:=SUM(JL,4);
CLH:=SUM(CL,4);
LHB:=CLH/JLH;
TJ1:=IF(HHV(LHB,5)>4 AND CROSS(2,LHB) AND C>=O,1,0);
{DRAWICON(TJ1,L*0.93,1);
DRAWTEXT(TJ1,L*0.93, '錢'),COLORYELLOW;}
N:=5;
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,LINETHICK0;
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
操盤線:=SMA(V3,2,1);
V5:=SMA(操盤線,2,1);
贏盡天下抄底:=IF(操盤線>REF(操盤線,1) AND REF(操盤線,1)<REF(操盤線,2) AND 操盤線<23 ,25,0) AND CROSS(VAR1,8);
{DRAWICON(贏盡天下抄底,L*0.86,1);
DRAWTEXT(贏盡天下抄底,L*0.86, '底'),COLORYELLOW;}
MA62:=MA(C,62)COLORCC3299,LINETHICK1 ;
MA133:=MA(C,133)COLOR0099FF,LINETHICK1;
W:=IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLORFF00FF ,LINETHICK2;
WW:=IF(MA5<REF(MA5,1),MA5,DRAWNULL),COLORGREEN ,LINETHICK2;
AAA:= EMA(EMA(EMA(100*(CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33)),1),2),2);
BB:= EMA(AAA,5)COLORLIBLUE;
P:=EVERY(AAA>50,10) AND CROSS(AAA,BB) AND BB>REF(BB,1);
{DRAWTEXT(FILTER(P=1,1),L*0.87,'-追')COLORYELLOW;}
{如認為信號多.可把最后一句里的(P=1,1)的1改為大于1的數(shù)數(shù).如.(P=1,5).改到你自己認可};
E40:=EXPMA(CLOSE,40);
工作線:=MA(CLOSE,1);
M3:=MA(CLOSE,3)COLORRED;
M13:=MA(CLOSE,13)COLORGREEN;
收:=C,COLORRED,NODRAW;
高:=H,NODRAW;
三:=C*1.0348,NODRAW;
五:=C*1.055,NODRAW;
八:=C*1.0848,NODRAW;
十:=C*1.1048,NODRAW;
十五:=C*1.1548,NODRAW;
廿:=C*1.2048,NODRAW;
止:=C*(1-0.025),NODRAW;
TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
TT1:=REF(EMA(TT2,3),1);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
稻殼1:=EMA(CLOSE,144),POINTDOT,COLORWHITE;
稻殼2:=EMA(C,318);
AAA1:=AMOUNT/VOL;
BB1:=L<AAA1*0.9;
CCC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DDD1:=L<MA(C,5)*0.921;
EE1:=VOL<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
F:=100*(C-REF(C,1))/REF(C,1);
P1:=IF(C<REF(O,1) AND F<0,1,0);
P2:=IF(C<REF(O,2) AND F<0,1,0);
TT3:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 ;
TT4:=P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0 ;
Z1:=MA(C,13);
ZX:=REF(Z1,13/2+1);
DRAWICON(CROSS(ZX,C),H*1.01,2);
{DRAWTEXT(CROSS(工作線,M13)AND J<55,LOW,'入')COLORWHITE;}
{DRAWTEXT(CROSS(CLOSE,TT1)AND J<55,L*0.955,7);}
DRAWICON(CROSS(CLOSE,TT1)AND J<55,L*0.955,7);
{DRAWTEXT(CROSS(88,RSI),HIGH * 1.02,'頂'),COLOR00FFFF;}
DRAWICON(CROSS(88,RSI),HIGH * 1.00,8);
{DRAWTEXT(FF1,L*0.99,'超短'),COLOR00FF00;}
{STICKLINE(TT3,OPEN,CLOSE,1,0),COLORFF00FF;};
{STICKLINE(TT4,OPEN,CLOSE,1,0),COLORGREEN;};
日跌: L*0.99,NODRAW,COLORFF00FF;
周跌: L*0.94,NODRAW,COLORFF00FF;
通達信贏盡天下主圖買賣指標公式實例圖解:
通達信贏盡天下主圖買賣指標公式