通達(dá)信趨勢無敵波段買賣指標(biāo)公式
- 指標(biāo)類別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 趨勢
- 畫線方法: 副圖
- 日期:2020-07-25 來源:互聯(lián)網(wǎng)
通達(dá)信趨勢無敵波段買賣指標(biāo)公式:
N:=9;M:=14;N1:=6;
TYP := (HIGH + LOW + CLOSE)/3;
CC1:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),COLORFF00FF;
C1:=SMA(CC1,3,1);
C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;
CB1:=EMA(C3,5);
CB2:=REF(CB1,1);
DRAWBAND(CC1,RGB(220,50,100),100,RGB(100,150,72));
DRAWBAND(CC1,RGB(220,50,100),100,RGB(100,80,220));
STICKLINE(C>1,100,-100,5,0),COLORGRAY;
CCI:CC1,COLORFF00FF;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI:(RSI1-50)*5,LINETHICK2,COLORYELLOW;
R1:=SMA(RSI,3,1);
D1:=SMA(R1,3,1);
J1:=3*R1-2*D1;
RR1:=EMA(J1,5);
RR2:=REF(RR1,1);
RR:=RR1>RR2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
K1:(K-50)*5,COLORFFFF00;
K2:=SMA(K1,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
買入:=RR AND NOT(REF(RR,1)) AND (RR1<-100 AND BB1<-100) AND CB1<-100;
DRAWICON(買入,-200,1);
賣出:=REF(RR,1)=1 AND NOT(RR) AND CB1>100;
DRAWICON(賣出,200,2);
LC1:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC1),0),5,1) / SMA(ABS((CLOSE - LC1)),5,0)) * 100);
TRR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TRR);
MDI:=((DMM * 100) / TRR);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
0,COLORFF00FF;
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
階段底部:=(AV + NEWVOL);
STICKLINE((階段底部 >= 0),0,階段底部,0.3,1),LINETHICK2,COLORCC6600;
STICKLINE((階段底部 < 0),0,階段底部,0.8,1),LINETHICK6,COLORRED;
趨勢線:LLV(階段底部,1),COLORFFFFFF;
STICKLINE((趨勢線 >230 ),250,趨勢線,0.8,1),LINETHICK6,COLORGREEN;
230,COLORFFFFFF;
VAR1:=(HIGH+LOW+CLOSE)/3;
VAR2:=(VAR1-MA(VAR1,14))/(0.015*AVEDEV(VAR1,14));
150,COLORBLUE;
100;
0;
-100;
-150;
BB: EMA(VAR2,2),LINETHICK2,COLORWHITE;
VAR3:=MA(VOL,5);
VAR4:=MA(VOL,10);
VAR5:=MA(VOL,60);
VAR6:=MA(CLOSE,5);
VAR7:=MA(CLOSE,8);
VAR8:=MA(CLOSE,25);
VAR9:=MA(CLOSE,60);
VARA:=CROSS(VAR2,BB) AND VAR2>80 AND VOL>VAR3 AND VOL>VAR4 AND VOL>VAR5 AND VAR6>VAR9 AND VAR7>VAR9 AND VAR8>VAR9 AND OPEN<VAR6 AND CLOSE>VAR6;
DRAWTEXT(VARA,5,' 拉升!'),COLORYELLOW;
STICKLINE(VARA,5,-100,3,0),COLORRED;
底部:=CROSS(BB,-100);
DRAWICON(底部,-100,1);
頂部:=CROSS(150,BB);
DRAWICON(頂部,150,2);
VAR11:=3;
VAR21:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));
股價準(zhǔn)備啟動:IF(CROSS(VAR21,VAR11),100,0),COLORRED,LINETHICK2;
主力線:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*
SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK1,POINTDOT;
超短線:2*(((主力線-LLV(主力線,21))/(HHV(主力線,21)-LLV(主力線,21)))*(4))*(25),LINETHICK2,COLORMAGENTA;
STICKLINE(主力線>REF(主力線,1) ,主力線 ,REF(主力線,1),3 ,0),COLORFF00FF;
STICKLINE(主力線<=REF(主力線,1) ,主力線 ,REF(主力線,1),3 ,0),COLORGREEN;
V1:=(C*2+H+L)/4*1;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
莊家秘密撤: IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2;
莊家秘密進(jìn): IF(V4>=0,V4,0),COLORRED,LINETHICK2;BIAS1:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*2,COLORWHITE;
BIAS3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*2,COLORFF00FF,LINETHICK2;
見底:IF(BIAS3<-15,10,0),LINETHICK2,COLORRED;短線:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*500,LINETHICK0,COLORYELLOW;
中線:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*500,LINETHICK0,COLORWHITE;
紅柱:SMA(短線,3,1),LINETHICK0,COLOR0000FF;
藍(lán)柱:SMA(中線,3,1),COLORSTICK,COLORFFFF00;
{紅柱}
STICKLINE(紅柱<REF(紅柱,1)AND 紅柱>0,0,紅柱,1,1),COLORCYAN;
STICKLINE(紅柱>REF(紅柱,1)AND 紅柱>0,0,紅柱,1,1),COLORRED;
STICKLINE(藍(lán)柱<REF(藍(lán)柱,1) AND 藍(lán)柱>0,0,藍(lán)柱,1,0),COLOR00FFFF;
{藍(lán)柱}
STICKLINE(紅柱>REF(紅柱,1)AND 紅柱<0,0,紅柱,1,0),COLORLIRED;
STICKLINE(紅柱<REF(紅柱,1)AND 紅柱<0,0,紅柱,1,1),COLORGREEN;
STICKLINE(藍(lán)柱>REF(藍(lán)柱,1)AND 藍(lán)柱<0,0,藍(lán)柱,1,0),COLORRED;
通達(dá)信趨勢無敵波段買賣指標(biāo)公式實例圖解:
通達(dá)信趨勢無敵波段買賣指標(biāo)公式