大智慧出入乖离副图指标
-
相关简介:大智慧出入乖离副图指标 源码 GLL:=-6;N:=9;M1:=3;M2:=3; 95,COLORff7777,stick,linethick5; 75,colorff1111,stick,linethick5; 20,colorffcc88; BIAS1w :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; BIAS2w :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; BIAS3w :=(CLOSE-MA(CLOSE,24))/MA(
-
文章来源:股海网作者:股海网发布时间:2016-06-17浏览次数:
大智慧出入乖离副图指标
源码
GLL:=-6;N:=9;M1:=3;M2:=3;
95,COLORff7777,stick,linethick5;
75,colorff1111,stick,linethick5;
20,colorffcc88;
BIAS1w :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2w :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3w :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1w+2*BIAS2w+3*BIAS3w)/6;
MN:=MA(MM,3)-STD(MM,3);
if((MN<-12),55 ,-5),stick,linethick2,COLOR0066ff;
if((MN<-12),40 ,-5 ),stick,linethick2,COLOR0099ff;
if( mn<-9,30 ,-5),stick,linethick3,COLORffff66;
if( mn<-9,15 ,-5),stick,linethick3,COLORffcc33;
if( mn<-9,7 ,-5),stick,linethick3,COLORffcc00;
if((MN<-12),0,-15),stick,linethick2,COLOR00ff00;
if(mn<gll,0,-10),stick,colorgreen,linethick1;
买:(EMA(CLOSE,12) - EMA(CLOSE,26))*100+50,colorred,linethick2;
趋势 : EMA(买,9),color00ff00,linethick2;
MACD:=2*(买-趋势);
RSV:=(CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100;
K:SMA(RSV,m1,1),coloryellow,linethick1;
D:SMA(K,m2,1),colorwhite;
J:3*K-2*D,colorf000ff;
主力介入:if(cross(j,d) and count(mn<gll,2)>=1