大智慧大涨的启动点指标公式,大智慧CYW+OBV分时指标公式
admin888
|大智慧大涨的启动点指标公式,大智慧CYW+OBV分时指标公式
大智慧大涨的启动点指标公式
N:=10;
F:=25;
Va6:=(2*CLOSE+HIGH+LOW)/4;
Va8:=LLV(LOW,34);
VarB:=HHV(HIGH,34);
VarC:=EMA((Va6-Va8)/(VarB-Va8)*100,13);
VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2);
生命线:EMA(VarD,N), colorff00ff,linethick2;
var1:=hhv(high,9)-llv(low,9);
var2:=hhv(high,9)-close;
var3:=close-llv(low,9);
var4:=((var2)/(var1))*(100)-70;
var5:=((close-llv(low,60))/(hhv(high,60)-llv(low,60)))*(100);
var6:=((2)*(close)+high+low)/(4);
var7:=sma(((var3)/(var1))*(100),3,1);
var8:=llv(low,34);
var9:=sma(var7,3,1)-sma(var4,9,1);
var10:=if((var9>100),var9-100,0);
var11:=hhv(high,34);
b1:=ema(((var6-var8)/(var11-var8))*(100),8);
b2:=ema(b1,5);
stickline(b1-b2>0,b1,b2,4,0),colorffffff;
stickline(b1-b2<0,b1,b2,4,0),colorFFFF52;
ss1:=(LOW+HIGH+CLOSE*2)/4;
ss2:= MA(ss1,4);
ss3:=HHV(ss2,10);
ss4:=ma(ss3,3);
ss5:=1.25*ss4-0.25*ss3;
xkkj:=if(ss5>ss3,ss3,ss5);
ff1:=LLV(ss2,10);
ff2:=ma(ff1,3);
ff3:=1.25*ff2-0.25*ff1;
dkkj:=if(ff3
ma13:=ma(c,13);
zdhm:=cross(c,dkkj) and cross(c,ma13) and cross(c,xkkj);
zhm:=cross(c,ma13) and cross(c,xkkj);
大黑马:if(zdhm or zhm,50,0),coloryellow,pointdot;
a:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*a+19*REF(a,1)+18*REF(a,2)+17*REF(a,3)+16*REF(a,4)+15*REF(a,5)+14*REF(a,6) +13*REF(a,7)+12*REF(a,8)+11*REF(a,9)+10*REF(a,10)+9*REF(a,11)+8*REF(a,12) +7*REF(a,13)+6*REF(a,14)+5*REF(a,15)+4*REF(a,16)+3*REF(a,17)+2*REF(a,18)+ REF(a,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
小黑马:IF(CROSS(D1,K1),45,0),COLORFFCC66,POINTDOT;
stickline(大黑马>0,0,大黑马*1.1,1,0),colorwhite;
stickline(大黑马>0 and 大黑马<52,30,大黑马,1,0),colorred;
stickline(大黑马>0,0,大黑马*0.8,4,0),colorred;
stickline(大黑马>0,0,大黑马*0.4,8,0),colorred;
stickline(大黑马>0,0,大黑马*0.2,10,0),coloryellow;
stickline(大黑马>0,0,大黑马*0.1,10,0),colorffcc66;
stickline(小黑马>0,0,小黑马*1.1,1,0),colorwhite;
stickline(小黑马>0 and 小黑马<52,30,小黑马,1,0),colorffcc66;
stickline(小黑马>0,0,小黑马*0.8,4,0),colorffcc66;
stickline(小黑马>0,0,小黑马*0.4,8,0),colorffcc66;
stickline(小黑马>0,0,小黑马*0.2,10,0),colorff00ff;
stickline(小黑马>0,0,小黑马*0.1,10,0),colorblue;
大智慧CYW+OBV分时指标公式
INPUT:K(1,0,20),P(1,0,20);
DRAWTEXTREL(0,10,'【CYW:K='+K+':OBV:P='+P+': 0不显示】'),COLOR00FFFF,LINETHICK2;
DRAWTEXTabs(490,5,'【大盘指数:'+NUMTOSTRN("05引.大盘指数#DAY",2)+'】【大盘涨跌:'+NUMTOSTRN("05引.大盘涨跌#DAY",2)+'】【大盘涨幅:'+NUMTOSTRN("05引.大盘涨幅#DAY",2)+'%】'),LINETHICK1,Color00ffFF,LAYER0;
DRAWTEXTABS(500,20,'【涨家数:'+NUMTOSTRN(DYNAINFO(69),0)+ '】'),COLOR0000ff,LINETHICK1;
DRAWTEXTABS(625,20,'【平家数:'+NUMTOSTRN(DYNAINFO(71),0)+ '】'),COLOR00FFff,LINETHICK1;
DRAWTEXTABS(740,20,'【跌家数:'+NUMTOSTRN(DYNAINFO(70),0)+ '】'),COLOR00ff00,LINETHICK1;
DRAWRECTABS(490,35 ,490+(DYNAINFO(69)+DYNAINFO(71)+DYNAINFO(70))/2.59,42, rgb(0,255,0)),COLOR00ff00,LAYER4;
DRAWRECTABS(490,35 ,490+(DYNAINFO(69)+DYNAINFO(71))/2.59 ,42, rgb(255,255,0)),COLOR00FFFF,LAYER3;
DRAWRECTABS(490,35 ,490+(DYNAINFO(69))/2.5,42, rgb(255,0,0)),COLOR0000ff,LAYER2;
主动买D:DYNAINFO(23),Color0000ff,PRECIS0,linethick0;
主动卖D:DYNAINFO(22),Color00ff00,PRECIS0,linethick0;
DRAWRECTABS(490,60 ,490+(主动买D+主动卖D)/(主动买D+主动卖D)*370,67, rgb(0,255,0)),COLOR00ff00,LAYER4;
DRAWRECTABS(490,60 ,490+(主动买D)/(主动买D+主动卖D)*370 ,67, rgb(255,0,0)),COLOR0077FF,LAYER3;
DRAWTEXTabs(520,45,'【外盘买:'+NUMTOSTRN(主动买D/(主动买D+主动卖D)*100,1)+'%】' ),LINETHICK2,Color0000FF,LAYER0;
DRAWTEXTabs(690,45,'【内盘卖:'+NUMTOSTRN(主动卖D/(主动买D+主动卖D)*100,1)+'%】' ),LINETHICK2,Color00FF00,LAYER0
DRAWTEXTABS(520,68,IFS((主动买D-主动卖D) >= 0,'【外盘买-内盘卖? '+NUMTOSTRN(主动买D-主动卖D,0)+'手】','')),linethick4,color0077FF;
DRAWTEXTABS(520,68,IFS((主动买D-主动卖D) < 0,'【外盘买-内盘卖? '+NUMTOSTRN(主动买D-主动卖D,0)+'手】','')),linethick4,color00FF00;
DYNAINFO(3),COLOR0077ff,DOTLINE,layer0;
{均线}tt:=BARSCOUNT(C);
zz:=SUM(AMOUNT,tt)/SUM(VOL*100,tt);
zz1:=BETWEEN(C/zz,1.05,0.95);
均线:IF(zz1=0,MA(C,TT),zz),COLOR00ffFF,linethick1,LAYER0;
{最高.最低}H1:hhvall(hhv(C,0)),COLOR7077FF,CROSSDOT,LINETHICK1;
L1:llvall(llv(C,0)),COLOR00FF00,CROSSDOT,LINETHICK1;
DRAWTEXT(barstatus=2,DYNAINFO(5),' 最高:'+NUMTOSTRN(DYNAINFO(5),2)+'元 '+NUMTOSTRN(100*(DYNAINFO(5)/DYNAINFO(3)-1),2)+'%'),linethick1,ALIGN0,VALIGN2,ColorFF00ff;
DRAWTEXT(barstatus=2,DYNAINFO(6),' 最低:'+NUMTOSTRN(DYNAINFO(6),2)+'元 '+NUMTOSTRN(100*(DYNAINFO(6)/DYNAINFO(3)-1),2)+'%'),linethick1,ALIGN0,VALIGN2,colorgreen;
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00FF00;
支撑:L1+P1*0.5/8,COLOR00FF00;
FILLRGN(支撑,阻力,支撑<阻力,RGB(0,0,200)),LINETHICK2,LAYER6;
现价:CLOSE,COLOR00FFFF,LINETHICK2,LAYER0;
DRAWTEXT(barstatus=2,DYNAINFO(7),'___'+NUMTOSTRN(DYNAINFO(7),2)+'元.委比:'+NUMTOSTRN(DYNAINFO(15)*100,0)+'%'),ALIGN0,VALIGN2,color00ffFF,LINETHICK4;
DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★'),COLOR00FF00,LINETHICK2;
DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★'),COLORRED,LINETHICK2;
DRAWTEXT(TIME=100000,C+0.01, NUMTOSTR(C)),Color00ffFF,LINETHICK3,align0;
分钟数30:(TIME0=36000),PRECIS0,linethick0;
VERTLINE(分钟数30,2),COLOR00FF00,LAYER4;
{叠加大盘}TC:=STRCMP(STRLEFT(MARKETLABEL,2),'SZ');
DPSH:="SH000001$CLOSE"/HHV(STKINDI('SH000001','05引.RC#DAY'),0);
DPSZ:="399001$CLOSE"/HHV(STKINDI('399001','05引.RC#DAY'),0);
DPC:=IF(INBLOCK('A股板块'),DYNAINFO(3)*IF(C=0,DPSZ,DPSH),C);
POLYLINE(C>0,DPC),COLOR0000FF,LAYER0,linethick2;
{CYW}YB:(L1+P1*0.5),COLORFF9900;
STICKLINE(CYW>=0,YB,YB+CYW*K,2,0 ),Color0000ff;
STICKLINE(CYW<0,YB,YB+CYW*K,2,0 ),Color00FF00;
{OBV}OBVJ:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
VA:=OBVJ/100000*P;
F:L1-P1*0.5;
STICKLINE(OBVJ>=0,F,F+VA,4,0 ),Color0000ff;
STICKLINE(OBVJ<0,F,F-VA,4,0 ),Color00FF00;
FILLRGN(F,L1,F
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。