大智慧提前预警指标公式,大智慧三种背离现眼前指标公式
admin888
|大智慧提前预警指标公式,大智慧三种背离现眼前指标公式
大智慧提前预警指标公式
VAR1:=REF(MA(C,20),10);
开:=O-VAR1;
高:=H-VAR1;
低:=L-VAR1;
收:=C-VAR1;
MID:=MA(C,20);
UPPER:=MID+2*STD(C,20);
LOWER:=MID-2*STD(C,20);
V1:=(C-LOWER)/(UPPER-LOWER)*100;
V2:=V1-EMA(V1,5);
K1:=SUM(LLV(V2,4),4)/4;
V3:=EMA(V2,64)*10;
V4:=EMA(0.4*V2*(-1),3);
V5:=-1*EMA(V2,39)*10;
A:=V3>10;
B:=V2>V4;
D:=V5>10;
E:=V3<=10 OR V2<=V4 OR V5<=10;
STICKLINE(C,0,0,6,0), COLORYELLOW;
STICKLINE(收>=开 AND E,高,低,0,0), COLORRED;
STICKLINE(收>=开 AND E,收,开,3,0) ,COLORRED;
STICKLINE(收< 开 AND E,高,低,0,0) ,COLORGREEN;
STICKLINE(收< 开 AND E,收,开,3,0) ,COLORGREEN;
STICKLINE(开> 收 AND A ,低,高,0,0),COLORFF0000;
STICKLINE(开> 收 AND A ,收,开,3,0),COLORFF0000;
STICKLINE(开<=收 AND A,低,高,0,0),COLORYELLOW;
STICKLINE(开<=收 AND A,收,开,3,1),COLORYELLOW;
STICKLINE(开> 收 AND B,低,高,0,0),COLORRED;
STICKLINE(开> 收 AND B,收,开,3,0),COLORRED;
STICKLINE(开<=收 AND B,低,高,0,0),COLORRED;
STICKLINE(开<=收 AND B,收,开,3,1),COLORRED;
STICKLINE(开> 收 AND D,低,高,0,0),COLORGREEN;
STICKLINE(开> 收 AND D,收,开,3,0),COLORGREEN;
STICKLINE(开<=收 AND D,收,开,3,1),COLORGREEN;
长DIF:EMA(CLOSE,7)-EMA(CLOSE,144),linethick0;
长DEA:EMA(长DIF,360),linethick0;
JC:=CROSS(长DIF,长DEA);
fillrgn(长DIF,长DEA,长DIF>长DEA,RGB(150,0,150),长DIF<长DEA,RGB(0,100,200));
F:=(EMA(CLOSE,5)-EMA(CLOSE,21))*4;
A:=EMA(F,5);
MMD:=2*(F-A);
STICKLINE(MMD>0,0,MMD,1,1),COLOR0000FF;
STICKLINE(MMD<0,0,MMD,1,1),COLOR00FF00;
短DIF:F,COLORFFFFFF;
短DEA:A,COLOR00FFFF,linethick0
;PARTLINE(A,A>F,RGB(255,0,0),A
大智慧三种背离现眼前指标公式
SHORT:=12;
LONG:=26;
M:=9;
N:=9;
M1:=3;
M2:=3;
LC := REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,colorwhite;
RSI2:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,coloryellow;
RSI3:SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100,colorff00ff;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),colorwhite;
D:SMA(K,M2,1),coloryellow;
J:3*K-2*D,colorff00ff;
DIFF:EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),colorwhite;
DEA:EMA(DIFF,M),coloryellow;
MACD:2*(DIFF-DEA), COLORSTICK ;
A1:=BARSLAST(ref(cross(diff,dea),1));
B1:=ref(c,A1+1)>c and ref(diff,A1+1)
DRAWTEXT(FILTER(B1>0,5),0,'MACD'),COLORGREEN;
Stickline(FILTER(B1>0,5),-1,0,1,0),COLORGREEN;
A2:=BARSLAST(ref(cross(k,d),1));
B2:=ref(c,A2+1)>c and ref(k,A2+1)
DRAWTEXT(FILTER(B2>0,5),0.5,'KDJ'),COLORYELLOW;
Stickline(FILTER(B2>0,5),0.5,-1,1,0),COLORYELLOW;
A3:=BARSLAST(ref(cross(RSI1,RSI2),1));
B3:=ref(c,A3+1)>c and ref(RSI1,A3+1)
DRAWTEXT(FILTER(B3>0,5),-0.25,'RSI'),COLORred;
Stickline(FILTER(B3>0,5),-1,-0.25,1,0),COLORred;
C1:=BARSLAST(ref(cross(dea,diff),1));
D1:=ref(c,C1+1)
DRAWTEXT(FILTER(D1>0,5),-0.5,'MACD'),COLORwhite;
Stickline(FILTER(D1>0,5),-0.5,1,1,0),COLORwhite;
C2:=BARSLAST(ref(cross(d,k),1));
D2:=ref(c,C2+1)
DRAWTEXT(FILTER(D2>0,5),0,'KDJ'),COLORwhite;
Stickline(FILTER(D2>0,5),1,0,1,0),COLORwhite;
C3:=BARSLAST(ref(cross(RSI2,RSI1),1));
D3:=ref(c,C3+1)
DRAWTEXT(FILTER(D3>0,5),0.25,'RSI'),COLORblue;
Stickline(FILTER(D3>0,5),1,0.25,1,0),COLORblue;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。