大智慧神獒主升主图指标
-
相关简介:大智慧神獒主升主图指标 源码 {十二星座神獒赢富机构版主图} input:N(2,1,100),N1(3,2,100),N3(10,5,100),N4(10,1,100),P(3,0.1,20); 中轨:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,linethick2,COLOR800080; 天线:中轨+P*STD(中轨,N4),linethick2,Color00C0FF; 地线:中轨-P*STD(中轨,N4),linethic
-
文章来源:股海网作者:股海网发布时间:2016-05-16浏览次数:
大智慧神獒主升主图指标
源码
{十二星座·神獒赢富机构版主图}
input:N(2,1,100),N1(3,2,100),N3(10,5,100),N4(10,1,100),P(3,0.1,20);
中轨:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,linethick2,COLOR800080;
天线:中轨+P*STD(中轨,N4),linethick2,Color00C0FF;
地线:中轨-P*STD(中轨,N4),linethick2,colorCyan;
MA1:sma(c,4,1),colorgreen,linethick1;
MA2:ema(c,21),colorred,linethick1;
神獒主升线:ma1,linethick2,coloryellow;
星座持股线:ma2,linethick2,color0000ff;
DRAWTEXT(cross(ma1,ma2),ma1,'㊣'),linethick2,color0000ff;
DRAWTEXT(cross(ma2,ma1),ma1,'卖'),color00ff00;
mm1:=sma(c,2,1);
ma3:=ma(mm1,3);
ss1:=cross(ma3,ma1) and ma1>ref(ma1,1) and ma1<ma2;
DRAWTEXT(ss1,ma1*1.05,'盯'),colorff00ff;
mm2:=sma(c,2,1);
ma4:ma(mm1,3),color00ffff,linethick1;
ss2:=cross(ma4,ma2) and ma2<ref(ma2,1) and ma2<ma1;
DRAWTEXT(ss2,ma2*1.05,'★小心★'),colorff00ff;
ah:hhvall(h);
ahl:=ah-al;
a23:al+ahl*0.236,COLORYELLOW,POINTDOT;
a38:al+ahl*0.382,COLOREE00EE,POINTDOT;
a50:al+ahl*0.50,COLORYELLOW,POINTDOT;
a61:al+ahl*0.618,COLOREE00EE,POINTDOT;
a76:al+ahl*0.764,COLORYELLOW,POINTDOT;
{标注数字}y:=999;
DRAWTEXTREL(500,0,'100%
DRAWTEXTREL(500,y*0.236,'76.4%
DRAWTEXTREL(500,y*0.382,'61.8%
DRAWTEXTREL(500,y*0.50,'50%
DRAWTEXTREL(500,y*0.618,'38.2%
DRAWTEXTREL(500,y*0.764,'23.6%
DRAWTEXTREL(500,y-30,'最低
DRAWTEXTREL(1,795,'所属板块:'+BKNAME),ColorAFFF00;
DRAWTEXTREL(0,850,'每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+'元'+' 市净率:'+NUMTOSTRN((CLOSE / FINANCE2(4)),2)+'元'+' 净资产:'+NUMTOSTRN(FINANCE2(4),2)+'元'),Color00C0FF;
DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));
DRAWTEXTREL(10,900,'㊣十二星座*神獒赢富㊣'),linethick1,COLOR00EEff;
Var1:=EMA(EMA(EMA((CLOSE*6+LOW*2+HIGH+OPEN)/10,N),N),N);
短线:= Var1-REF(Var1,1)+Var1;
中短:= MA(短线,N1);
Var2:=EMA(EMA(EMA((CLOSE*6+LOW+HIGH*2+OPEN)/10,N),N),N);
H短线:= Var2-REF(Var2,1)+Var2;
H中短:= MA(H短线,N1);
中线:= EMA(CLOSE,10);
m中线:= EMA(中线,10);
stickline(CROSS(短线,中短),c,o,7,0),colorred;
stickline(CROSS(短线,中短),h,l,1,0),colorred;
stickline(CROSS(H中短,H短线),c,o,7,0),colorgreen;
stickline(CROSS(H中短,H短线),h,l,1,0),colorgreen;
DRAWTEXT(CROSS(短线,中短),(LOW * 0.995),'★'),LINETHICK1,colorYELLOW;
DRAWTEXT(CROSS(H中短,H短线),(HIGH * 1.02),'▼'),LINETHICK2,colorwhite;
gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100);
明日阻力:=l+(gj-l)+(c-l);
明日支撑:=l+(c-gj);
今日阻力:=REF(明日阻力 , 1);
今日支撑:=REF(明日支撑 , 1);
STICKLINE(DISPSTATUS=2
STICKLINE(DISPSTATUS=2
STICKLINE(DISPSTATUS=2
STICKLINE(DISPSTATUS=2
DRAWTEXTREL(830,5,'今日支撑:'+NUMTOSTRN(今日支撑 ,2 )),Colorred;
DRAWTEXTREL(700,5,'今日阻力:'+NUMTOSTRN(今日阻力 ,2 )),ColorGREEN;