飞狐超级高清版VOL指标公式
飞狐超级高清版VOL指标公式
wl:=winner(c)*100;
 获利:wl,colorred,LINETHICK0,PRECISION2;
 浮筹:(WINNER(C*1.07)-WINNER(C*0.93))*85,colorFFFFFF,LINETHICK0,PRECISION2;
 rsvw:=(c-llv(l,55))/(hhv(h,55)-llv(l,55))*wl;
 wk:sma(rsvw,4,1),colorff2288,LINETHICK0;
 wd:sma(wk,4,1),LINETHICK0,colorfff000;
 wj:3*wk-2*wd,Color00ffFF,LINETHICK0,PRECISION2;
 k:"kdj.k",colorffffff,LINETHICK0,PRECISION2;
 d:"kdj.d",LINETHICK0,Colorff00ff,PRECISION2;
 TYP_D:=(C+H+L)/3;
 CCIT1:=(MA(TYP_D,1)-MA(TYP_D,7))/(0.015*AVEDEV(TYP_D,7))/4;
 CCITK1:=SMA(CCIT1,3,1);
 CCITD1:=SMA(CCITK1,3,1);
 势能:ema(3*CCITK1-2*CCITD1,3),Colorred,LINETHICK0,PRECISION2;
 FILLRGN(势能<0,势能,0),Color008080;
 FILLRGN(势能>0,势能,0),Color0000ff;
 FILLRGN(势能>9.9,if(势能>9.9,势能,10),10),Color00ffff;
 FILLRGN(势能<=-19.9,if(势能<=-19.9,势能,-20),-20),Color000999;
 FILLRGN(势能<=-19.9 and wl>50,if(势能<=-19.9,势能,-20),-20),Colorff00ff;
 FILLRGN(wk<=wd,wk,wd),Colorcc0000;
 FILLRGN(wk>wd,wk,wd),Color000888;
 STICKLINE(wl<50,wl,50,4,0),colorff6600;
 STICKLINE(wl<50,wl,50,3,0),colorff7700;
 STICKLINE(wl<50,wl,50,2,0),colorff8800;
 STICKLINE(wl<50,wl,50,1,0),colorff9900;
 STICKLINE(wl>50,wl,50,4,0),color2266ff;
 STICKLINE(wl>50,wl,50,3,0),color3377ff;
 STICKLINE(wl>50,wl,50,2,0),color4488ff;
 STICKLINE(wl>50,wl,50,1,0),color5599ff;
 STICKLINE(if(wl>75,wl,75)>75,if(wl>75,wl,75),75,4,0),color656500;
 STICKLINE(if(wl>75,wl,75)>75,if(wl>75,wl,75),75,3,0),color757500;
 STICKLINE(if(wl>75,wl,75)>75,if(wl>75,wl,75),75,2,0),color858500;
 STICKLINE(if(wl>75,wl,75)>75,if(wl>75,wl,75),75,1,0),color959500;
 STICKLINE(if(wl<25,wl,25)<25,if(wl<25,wl,25),25,4,0),color000066;
 STICKLINE(if(wl<25,wl,25)<25,if(wl<25,wl,25),25,3,0),color000077;
 STICKLINE(if(wl<25,wl,25)<25,if(wl<25,wl,25),25,2,0),color000088;
 STICKLINE(if(wl<25,wl,25)<25,if(wl<25,wl,25),25,1,0),color000099;
 STICKLINE(wl>50 and wl<75 and wl<ref(wl,1),wl,50,4,0),colorbbbbbb;
 STICKLINE(wl>50 and wl<75 and wl<ref(wl,1),wl,50,3,0),colorcccccc;
 STICKLINE(wl>50 and wl<75 and wl<ref(wl,1),wl,50,2,0),colordddddd;
 STICKLINE(wl>50 and wl<75 and wl<ref(wl,1),wl,50,1,0),coloreeeeee;
 STICKLINE(wl>=75 and wl>ref(wl,1),wl,75,4,0),color0000cc;
 STICKLINE(wl>=75 and wl>ref(wl,1),wl,75,3,0),color0000dd;
 STICKLINE(wl>=75 and wl>ref(wl,1),wl,75,2,0),color0000ee;
 STICKLINE(wl>=75 and wl>ref(wl,1),wl,75,1,0),color0000ff;
 STICKLINE(wl>25 and wl<50 and wl>ref(wl,1),wl,50,4,0),color00cccc;
 STICKLINE(wl>25 and wl<50 and wl>ref(wl,1),wl,50,3,0),color00dddd;
 STICKLINE(wl>25 and wl<50 and wl>ref(wl,1),wl,50,2,0),color00eeee;
 STICKLINE(wl>25 and wl<50 and wl>ref(wl,1),wl,50,1,0),color00ffff;
 STICKLINE(wl<=25 and wl<=ref(wl,1),wl,25,4,0),color886666;
 STICKLINE(wl<=25 and wl<=ref(wl,1),wl,25,3,0),color887777;
 STICKLINE(wl<=25 and wl<=ref(wl,1),wl,25,2,0),color888888;
 STICKLINE(wl<=25 and wl<=ref(wl,1),wl,25,1,0),color889999;
 {股票指标公式网-股票公式网站 www.dzhtdx.com}
 STICKLINE(ref(wl,1)>98 and c>ref(c,1) and wl<ref(wl,1) and (c-llv(c,5))/llv(c,5)*100>20,wl,100,4,0),color00cc00;
 STICKLINE(ref(wl,1)>98 and c>ref(c,1) and wl<ref(wl,1) and (c-llv(c,5))/llv(c,5)*100>20,wl,100,3,0),color00dd00;
 STICKLINE(ref(wl,1)>98 and c>ref(c,1) and wl<ref(wl,1) and (c-llv(c,5))/llv(c,5)*100>20,wl,100,2,0),color00ee00;
 STICKLINE(ref(wl,1)>98 and c>ref(c,1) and wl<ref(wl,1) and (c-llv(c,5))/llv(c,5)*100>20,wl,100,1,0),color00ff00;
 PARTLINE(c,-20),Colorcccccc,LINETHICK1,LINEDOT;
 势能,Colorred,LINETHICK1;
 PARTLINE(势能<ref(势能,1),势能),Colorff9999,LINETHICK1;
 wk,Colorff00FF,LINETHICK1;
 wd,Colorfff222,LINETHICk1;
 wj,Color00ff00,LINETHICk1,LINEDOT;
 k,colorffffFF,LINETHICK2;
 d,Color00ffff,LINETHICK2;
 诱多:=((wl>ref(wl,1)*1.5 and wl-50>ref(sum(wl-50,3),1)) or wl>ref(wl,1)*2) and wl>79;
 DRAWICON(诱多,wl*1.01,5),ALIGN0;
 DRAWTEXTex(CLOSE,1,0,1,' 乘风获利KD'),align5,color00ffff;

飞狐瀑布趋势主图指标公式
飞狐瀑布趋势主图指标公式
