飞狐VMACD指标公式,飞狐陀螺尼指标公式
admin888
|飞狐VMACD指标公式,飞狐陀螺尼指标公式
飞狐VMACD指标公式
N:=1;
DRAWGBK(DATE>900101,COLORRGB(110,95,0),COLORRGB(0,20,0),1);
stICKLINE(C>0,0,0,10,0),COLORGRAY;
zxj:=if((H-maX(C,O))>((MIN(C,O)-L)) AND C>L,((H+2*L)/3+3*C+2*O)/6,
IF((H-MAX(C,O))<((MIN(C,O)-L)) AND C
均价:=if(DATATYPE>=6 AND DATATYPE<10,AMOUNT/(vol*100),zxj);
重心:=if(STKTYPE=0,zxj,(zxj+均价)/2);
VV:=AMOUNT/100000000;
LB:=(MA(VV,1)/HHV(VV,0)+MA(VV,1)/HHV(VV,IF(N=0,0,IF(n=1,738,if(N=2,369,184)))))/2;
XS:=2;
s:=if((H-MAX(C,O))>Abs(C-O)AND (MIN(C,O)-L)
x:=IF((MIN(C,O)-L)>ABS(C-O)AND (H-MAX(C,O))
sx:=IF(c>REF(C,1)and H>REF(H,1)AND 重心>REF(重心,1),S,IF(c
qr:=(0.809*C+0.191*sx);
obv:=SUM(IF(qr>REF(qr,1),vv,IF(qr
wobv:=(WMA(obv,2)+WMA(obv,4)+WMA(obv,8))/3;
saobv:=(WMA(wobv,24)+WMA(wobv,6)+WMA(wobv,12))/3,LINEDOT,COLORFAABEC;
sbobv:=(WMA(sAobv,24)+WMA(sAobv,6)+WMA(sAobv,12))/3,LINEDOT;
skobv:=(WMA(sbobv,24)+WMA(sbobv,6)+WMA(sbobv,12))/3,LINEDOT;
soobv:=(WMA(skobv,24)+WMA(skobv,6)+WMA(skobv,12))/3,LINEDOT;
Swobv:=((wobv+SBobv)/2+SAobv)/2,LINETHICK2;
DLv21:=ema(Swobv,13);
DLv36:=EMA(Swobv,34);
DLv60:=EMA(Swobv,55);
rOBY:=dma(Swobv,LB/xs);
sOBV:=DMA(Swobv,LB/XS/xs);
YOBV:=DMA(Swobv,LB/XS/XS/xs);
SSOBC:=DMA(Swobv,LB/XS/XS/XS/xs),COLORFAABEC,COLORRED,LINETHICK2;
LOBV:=DMA(Swobv,LB/XS/XS/XS/XS/xs),COLOR00bb00;
QROBV:(((sOBV-SSOBC)/2+(YOBV-SSOBC))/2+(((wobv-sbobv)/2+sAobv-sbobv)/2+(Swobv-DLv21)+((DLv21-DLv60)/2+DLv36-DLv60)/2))/4,COLOR00CCCC;
MQR:MA(qrobv,8),COLORGRAY;
FILLRGN(QROBV>=MQR,QROBV,MQR),COLORBROWN;
FILLRGN(QROBV
OBc:((sOBV-SSOBC+rOBY-YOBV)/2+(wobv-sbobv+(wobv-soobv)/2+sAobv-skobv)/3+DLv21-DLv60)/3,COLOR7F00FF,LINETHICK2;
MOBv:MA(OBC,4),COLORCYAN;
PARTLINE(OBc
KOBV:=2*(obc-MOBV);
DOBV:2*(QROBV-MQR),COLORSTICK;
macdOBV:(KOBV+DOBV)/2,COLORSTICK,COLORRED;
STICKLINE(MacDOBV>=0,0,MACDOBV,5,1),COLORRED;
STICKLINE(MACDOBV<0,0,MACDOBV,5,1),COLOR00bb00;
STICKLINE(DOBV>=0,0,DOBV,0,0),COLOR00CCCC;
STICKLINE(DOBV<0,0,DOBV,0,0),COLORCYAN;
OBVH1:=REF(MACDOBV/2,BArslAST(MACDOBV=HHV(MACDOBV,34))),COLOR0099FF,LINETHICK1;
OBVH2:REF(MACDOBV/2,BARSLAST(MACDOBV=HHV(MACDOBV,72))),COLORWHITE,LINETHICK1;
OBVL1:=REF(MACDOBV/2,BARSLAST(MACDOBV=LLV(MACDOBV,34))),COLORGRAY,LINETHICK2;
OBVL2:=REF(MACDOBV/2,BARSLAST(MACDOBV=LLV(MACDOBV,144))),COLOR0099FF,LINETHICK2;
大行情=NOT(REF(OBVH1,1)=REF(OBVH2,1)) AND OBVH1=OBVH2;
DRAWTEXT(MACDOBV>OBVH1,OBVL2*2,'*'),COLORWHITE,ALIGN0;
DRAWTEXT(大行情,OBVH2*4,'★'),COLORRED,ALIGN0;
QGOBV:=REF(HHV(mobv,9),1),COLORFAABEC,LINEDOT;
QDOBV:=REF(LLV(mobv,9),1),COLORAAAA00,LINEDOT;
资金:=(MAX(obc,MAX(mobv,qrobv))-MIN(obc,MIN(mobv,qrobv)))/ABS(MIN(obc,MIN(mobv,qrobv)))*10;
ZJGL:=(((obc-MOBV)/ABS(MobV)+(QRobV-MQR)/ABS(MQR)+((obc-qrobv)/ABS(QROBV)+(MOBV-MQR)/ABS(MQR))/2)/3)*10;
DSGL:=(((obc-MOBV)/ABS(MobV)+(obc-QgOBV)/ABS(QgobV)+(MobV-QDOBV)/ABS(QDobV))/3)*10;
SGL:=(ZJGL+DSGL)/2;
DRAWTEXT(crOSS(ZJGL,0)AND OBC>REF(OBC,1),QROBV*0.8,'★'),COLORYELLOW,ALIGN0;
DRAWTEXT(CROSS(DSGL,0)AND OBC>REF(OBC,1) AND OBC>QROBV,QROBV*1.25,'★'),COLORWHITE,ALIGN0;
飞狐陀螺尼指标公式
v1:=ma(100*(c-llv(c,34))/(hhv(h,34)-llv(l,34)),5)-20;
v2:=2*abs(v1);
v3:=100-(100-3*SMA((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,20,1)+2*sma(sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,20,1),15,1));
v4:=100-(100-3*sma((o-llv(l,55))/(hhv(h,55)-llv(l,55))*100,20,1)+2*sma(sma((o-llv(l,55))/(hhv(h,55)-llv(l,55))*100,20,1),15,1));
v5:=(h+l+c)/3;
v6:=(v5-ma(v5,10))/(0.015*avedev(v5,10));
v7:=(v5-ma(v5,30))/(0.015*avedev(v5,30));
v8:=if(v6>=150 and v6<200 and v7>=150 and v7<200,10,0);
v9:=if(v6<=-150 and v6>-200 and v7<=-150 and v7>-200,-10,v8);va:=(c-ma(c,13))/ma(c,13)*100;vb:=100-abs(va);
vc:=3*sma((indexc-llv(indexl,55))/(hhv(indexh,55)-llv(indexl,55))*100,20,1)-2*sma(sma((indexc-llv(indexl,55))/(hhv(indexh,55)-llv(indexl,55))*100,20,1),15,1);
vd:=3*sma((indexo-llv(indexl,55))/(hhv(indexh,55)-llv(indexl,55))*100,20,1)-2*sma(sma((indexo-llv(indexl,55))/(hhv(indexh,55)-llv(indexl,55))*100,20,1),15,1);
ve:=ref(l,1)*0.9;
vf:=l*0.9;
v10:=(vf*v+ve*(capital-v))/capital;
v11:=ema(v10,30);
v12:=v11-c;
v13:=ref(c,1);
v14:=sma(max(c-v13,0),7,1)/sma(abs(c-v13),7,1)*100;
v15:=sma(max(c-v13,0),13,1)/sma(abs(c-v13),13,1)*100;
v16:=barscount(c);
v17:=sma(max(c-ref(c,1),0),6,1)/sma(abs(c-ref(c,1)),6,1)*100;
v18:=((-100)*(hhv(h,60)-c)/(hhv(h,60)-llv(l,60))+50)*2;
v19:=(c-llv(l,15))/(hhv(h,15)-llv(l,15))*100;
v1a:=(sma(v19,4,1)-50)*2;
v1b:=sma(v1a,3,1);
v1c:=(indexc-llv(indexl,14))/(hhv(indexh,14)-llv(indexl,14))*100;
v1d:=sma(v1c,4,1);
v1e:=sma(v1d,3,1);
v1f:=(hhv(h,30)-c)/c*100;
v20:=if(v17<=25 and v18<-95 and v1f>20 and v1b<-30 and v1e<30
and v12>=-0.25 and v14<22 and v15<28 and v16>50,80,0);
大趋势: v3;
顶线: if(vb<90,vb,100);
多方: if(v1>0,v1,0),linestick;
空方: -if(v1<0,v2,0),linestick;
抄底: v20,colorred,linethick2;
预警系统: (if((v7>=200 and v6>=150) orcross(65,多方),15,if(v7<=-200
and v6<=-150,-15,v9))+65);
stickline(v3<=ref(v4,1),v3,v4,8,0),colorwhite;
stickline(v3>ref(v4,1),v3,v4,8,0),colorred;
t1:=c>ma(c,20) and ma(c,20)>=ref(ma(c,20),1);
t2:=c; t3:=多方>60 and 预警系统>65 and 顶线=100;
t4:=多方>48 and 预警系统>65 and 顶线<100;
t5:=空方<-38 and 预警系统<65;
t6:=抄底>50 and 顶线<90;
t7:=v3>ref(v4,1) and v>ref(v,1) and c>ref(c,1);
t8:=v3<=ref(v4,1) and c and 空方>=ref(空方,1) and vc; drawtext(t1 and count(t1,30)=1,10,'上升通道!'),color00ffff;
b2:=drawtext(t2 and count(t2,30)=1,55,'下降通道!'),color00ffff;
b3:=drawtext(t3 and count(t3,30)=1,55,'上涨过急!'),color00ffff;
b4:=drawtext(t4 and count(t4,30)=1,75,'庄家出货!'),color00ffff;
b5:=drawtext(t5 and count(t5,30)=1,50,'有小反弹!'),color00ffff;
b6:=drawtext(t6 and count(t6,30)=1,30,'抢反弹!'),color00ffff;
b7:=drawtext(t7 and count(t7,30)=1,-10,'资金进场!'),color00ffff;
drawtext(t8 and count(t8,30)=1,90,'见顶回落!'),color00ffff;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。