通達信每周5%買入頂部頂?shù)踪I賣指標(biāo)公式
- 指標(biāo)類別: 通達信指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 超買超賣
- 畫線方法: 副圖
- 日期:2020-07-15 來源:互聯(lián)網(wǎng)
通達信每周5%買入頂部頂?shù)踪I賣指標(biāo)公式:
N1:=10; N2:=3; P:=6;
V1:=EMA(CLOSE,5)-EMA(CLOSE,340);
V2:=EMA(V1,144);
V3:(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,COLOR00BB00;
賣出:-1*IF((CROSS(98.5,V3) AND V1>V2) AND COUNT(V3>97,3)=2,20,0)+90,COLORFF9900;
抄:IF(CROSS(V3,5) AND V1<V2,-20,0)-50,COLOR0090FF;
DRAWTEXT(CROSS(V3,5) AND V1<V2,-45,'抄'),COLORFF00FF;
DRAWTEXT(CROSS(98.5,V3) AND V1>V2,75,'賣'),COLOR00FF00;
TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
TT1:=REF(EMA(TT2,3),1);
LC := REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
短賣:=STICKLINE(CROSS(RSI1,80),60,95,2,0),COLORFF9900,LINETHICK1;
DRAWTEXT(CROSS(RSI1,80),98,' 賣'),COLORFFFFCC;
買R:STICKLINE(CROSS(RSI1,50),30,70,1,0),COLORRED,LINETHICK1;
DRAWTEXT(CROSS(RSI1,50),50,' 買'),COLORFFFFCC;
壓力:= HHV(MA(RSI1,3),13),COLORGREEN;
支撐:=LLV(MA(RSI1,3),13),COLORYELLOW;
AA:=REF(RSI1,N2)=HHV(RSI1,2*N2+1);
BB:=BACKSET(AA,N2+1);
CC:=FILTER(BB,N2) AND RSI1=HHV(RSI1,N2+1);
K1:=BARSLAST(REF(CC,1));
頂背離:=REF(CLOSE,K1+1)<CLOSE AND REF(RSI1,K1+1)>RSI1 AND CC;
DRAWTEXT(頂背離,RSI1*1.2,'頂');
DRAWLINE(CC,RSI1,FILTER(頂背離>0,5),RSI1,0),COLORWHITE;
DRAWICON(頂背離,RSI1*1.1,2);
AA2:=REF(RSI1,N2)=LLV(RSI1,2*N2+1);
BB2:=BACKSET(AA2,N2+1);
CC2:=FILTER(BB2,N2) AND RSI1=LLV(RSI1,N2+1);
K2:=BARSLAST(REF(CC2,1));
底背離:REF(CLOSE,K2+1)>CLOSE AND REF(RSI1,K2+1)<RSI1 AND CC2;
DRAWTEXT(底背離,RSI1*1.2,'底');
DRAWLINE(CC2,RSI1,FILTER(底背離>0,5),RSI1,0),COLORWHITE;
DRAWICON(底背離,RSI1*0.98,1);
A:=EMA(AMOUNT/C/1000000,7);
MID :=EMA(A,P);
UPPER:=MID + 196/100*STD(A,25);
LOWER:=MID - 196/100*STD(A,25);
飽和度:IF((A-LOWER)/(UPPER-LOWER)>1,1,(A-LOWER)/(UPPER-LOWER)),COLORWHITE;
{STICKLINE(((CLOSE > 0) AND ISLASTBAR ),0,1,3,1),COLORFFFFFF;
STICKLINE(((CLOSE > 0) AND ISLASTBAR ),0.01,0.99,2.5,1),COLORFFFF00;}
STICKLINE(飽和度>=1,0,90,4,0),COLORRED;
H1:=EMA(C,8);
H2:=EMA(H1,20);
HH2:=EMA(CLOSE,14);
HH3:=MEMA(CLOSE,4);
VAR1:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;
VAR2:=SMA(VAR1,7,1);
VAR3:=SMA(VAR2,5,1);
全倉:CROSS(VAR2,VAR3) AND VAR2<20 AND HH2>HH3;
N5:=BARSLAST(CROSS(CLOSE,TT1));
N6:=BARSLAST(CROSS(TT1,CLOSE));
黑馬跟蹤:IF(N5<N6,N5+1,0);
操:DRAWTEXT(黑馬跟蹤=1,TT2 + TT2*(0.5),'操'),COLORRED;
漲幅:DYNAINFO(14)*100,LINETHICK0 ;
漲蹤:(C-REF(C,黑馬跟蹤))/REF(C,黑馬跟蹤)*100;
通達信每周5%買入頂部頂?shù)踪I賣指標(biāo)公式實例圖解:
通達信每周5%買入頂部頂?shù)踪I賣指標(biāo)公式