飞狐量能主图
飞狐量能与主图同显,有用的拿去用,放到你的主图试试
源码
a0:=BARSCOUNT(c); a3:=SYSPARAM(3); a2:=SYSPARAM(2); a4:=SYSPARAM(4); a5:=SYSPARAM(5); nn0:=a3-a2; nn:=a0-a2; hh1:=(a4-a5)/10; y0:=a0>=a2; vv0:=if(y0=1 and SYSPARAM(1)>=a0,v,0); hhx:=SYSPARAM(4); llx:=SYSPARAM(5); x:=llx-(hhx-llx+MINDIFF)/9; y:=(HHV(VOL,SYSPARAM(3)-SYSPARAM(2)+1))*1; yvb:=y[SYSPARAM(3)]/(llx-x+MINDIFF); z:=VOL/yvb+x; var1:=vol/CAPITAl*100; 换手率:=var1,POINTDOT,Color0000A8; var2:=var1>1; var3:=var1<2; var4:=var1>2; var5:=var1<3; var6:=var1>=3; var7:=var1<5; var8:=var1>=5; var9:=var1<8; var10:=var1>=8; var11:=var1<15; var12:=var1>=15; var13:=var1<25; var14:=var1>=25; STICKLINE(vol/CAPITAl*100<1 ,x,z,8,0),Color00aa00; STICKLINE(vol/CAPITAl*100<1 ,x,z,6.6,0),Color00bb00; STICKLINE(vol/CAPITAl*100<1 ,x,z,4.4,0),Color00cc00; STICKLINE(vol/CAPITAl*100<1 ,x,z,3.3,0),Color00dd00; STICKLINE(vol/CAPITAl*100<1 ,x,z,2.2,0),Color00ee00; STICKLINE(vol/CAPITAl*100<1 ,x,z,1.1,0),Color00ff00; STICKLINE(var2 and var3 ,x,z,8,0 ),COLOraa00bb; STICKLINE(var2 and var3 ,x,z,6.6 ,0 ),COLORbb11bb; STICKLINE(var2 and var3 ,x,z,4.4,0 ),COLOrcc22bb; STICKLINE(var2 and var3 ,x,z,3.3,0 ),COLORdd33bb; STICKLINE(var2 and var3 ,x,z,2.2 ,0 ),COLORee44bb; STICKLINE(var2 and var3 ,x,z,1.1 ,0 ),COLORff55bb; STICKLINE(var4 and var5,x,z,8,0),COLOR0000AA; STICKLINE(var4 and var5,x,z,6.6,0),COLOR0000bb; STICKLINE(var4 and var5,x,z,4.4,0),COLOR0000cc; STICKLINE(var4 and var5,x,z,3.3,0),COLOR0000dd; STICKLINE(var4 and var5,x,z,2.2,0),COLOR0000ee; STICKLINE(var4 and var5,x,z,1.1,0),COLOR0000ff; STICKLINE(var6 and var7,x,z,8,0),COLORFFaa00; STICKLINE(var6 and var7,x,z,6.6,0),COLORFFbb00; STICKLINE(var6 and var7,x,z,4.4,0),COLORFFcc00; STICKLINE(var6 and var7,x,z,3.3,0),COLORFFdd00; STICKLINE(var6 and var7,x,z,2.2,0),COLORFFee00; STICKLINE(var6 and var7,x,z,1.1,0),COLORFFff00; STICKLINE(var8 and var9,x,z,8 ,0 ),COLOR00aaff; STICKLINE(var8 and var9,x,z,6.6 ,0 ),COLOR00bbff; STICKLINE(var8 and var9,x,z,4.4,0 ),COLOR00ccff; STICKLINE(var8 and var9,x,z,3.3 ,0 ),COLOR00ddff; STICKLINE(var8 and var9,x,z,2.2 ,0 ),COLOR00eeff; STICKLINE(var8 and var9,x,z,1.1 ,0 ),COLOR00ffff; STICKLINE(var10 and var11,x,z, 8,0 ),coloraaaaCC; STICKLINE(var10 and var11,x,z, 6.6,0 ),colorbbbbCC; STICKLINE(var10 and var11,x,z, 4.4,0 ),colorccccCC; STICKLINE(var10 and var11,x,z, 3.3,0 ),colorddddCC; STICKLINE(var10 and var11,x,z, 2.2,0 ),coloreeeeCC; STICKLINE(var10 and var11,x,z, 1.1,0 ),colorFFffCC; STICKLINE(var12 and var13,x,z, 8,0 ),color66aa33; STICKLINE(var12 and var13,x,z,6.6,0 ),color66bb33; STICKLINE(var12 and var13,x,z, 4.4,0 ),color66cc33; STICKLINE(var12 and var13,x,z, 3.3,0 ),color66dd33; STICKLINE(var12 and var13,x,z, 2.2,0 ),color66ee33; STICKLINE(var12 and var13,x,z, 1.1,0 ),color66ff33; STICKLINE(var14,x,z, 8,0 ),COLOR000055; STICKLINE(var14,x,z, 6.6,0 ),COLOR000077; STICKLINE(var14,x,z, 4.4,0 ),COLOR000099; STICKLINE(var14,x,z, 3.3,0 ),COLOR0000BB; STICKLINE(var14,x,z, 2.2,0 ),COLOR0000DD; STICKLINE(var14,x,z, 1.1,0 ),COLOR0000FF; 五日:MA(z,5),COLORWHITE; 十日:MA(z,10),COLORMAGENTA;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
飞狐量能主图
飞狐量能与主图同显,有用的拿去用,放到你的主图试试
源码
a0:=BARSCOUNT(c);
a3:=SYSPARAM(3);
a2:=SYSPARAM(2);
a4:=SYSPARAM(4);
a5:=SYSPARAM(5);
nn0:=a3-a2;
nn:=a0-a2;
hh1:=(a4-a5)/10;
y0:=a0>=a2;
vv0:=if(y0=1 and SYSPARAM(1)>=a0,v,0);
hhx:=SYSPARAM(4);
llx:=SYSPARAM(5);
x:=llx-(hhx-llx+MINDIFF)/9;
y:=(HHV(VOL,SYSPARAM(3)-SYSPARAM(2)+1))*1;
yvb:=y[SYSPARAM(3)]/(llx-x+MINDIFF);
z:=VOL/yvb+x;
var1:=vol/CAPITAl*100;
换手率:=var1,POINTDOT,Color0000A8;
var2:=var1>1;
var3:=var1<2;
var4:=var1>2;
var5:=var1<3;
var6:=var1>=3;
var7:=var1<5;
var8:=var1>=5;
var9:=var1<8;
var10:=var1>=8;
var11:=var1<15;
var12:=var1>=15;
var13:=var1<25;
var14:=var1>=25;
STICKLINE(vol/CAPITAl*100<1 ,x,z,8,0),Color00aa00;
STICKLINE(vol/CAPITAl*100<1 ,x,z,6.6,0),Color00bb00;
STICKLINE(vol/CAPITAl*100<1 ,x,z,4.4,0),Color00cc00;
STICKLINE(vol/CAPITAl*100<1 ,x,z,3.3,0),Color00dd00;
STICKLINE(vol/CAPITAl*100<1 ,x,z,2.2,0),Color00ee00;
STICKLINE(vol/CAPITAl*100<1 ,x,z,1.1,0),Color00ff00;
STICKLINE(var2 and var3 ,x,z,8,0 ),COLOraa00bb;
STICKLINE(var2 and var3 ,x,z,6.6 ,0 ),COLORbb11bb;
STICKLINE(var2 and var3 ,x,z,4.4,0 ),COLOrcc22bb;
STICKLINE(var2 and var3 ,x,z,3.3,0 ),COLORdd33bb;
STICKLINE(var2 and var3 ,x,z,2.2 ,0 ),COLORee44bb;
STICKLINE(var2 and var3 ,x,z,1.1 ,0 ),COLORff55bb;
STICKLINE(var4 and var5,x,z,8,0),COLOR0000AA;
STICKLINE(var4 and var5,x,z,6.6,0),COLOR0000bb;
STICKLINE(var4 and var5,x,z,4.4,0),COLOR0000cc;
STICKLINE(var4 and var5,x,z,3.3,0),COLOR0000dd;
STICKLINE(var4 and var5,x,z,2.2,0),COLOR0000ee;
STICKLINE(var4 and var5,x,z,1.1,0),COLOR0000ff;
STICKLINE(var6 and var7,x,z,8,0),COLORFFaa00;
STICKLINE(var6 and var7,x,z,6.6,0),COLORFFbb00;
STICKLINE(var6 and var7,x,z,4.4,0),COLORFFcc00;
STICKLINE(var6 and var7,x,z,3.3,0),COLORFFdd00;
STICKLINE(var6 and var7,x,z,2.2,0),COLORFFee00;
STICKLINE(var6 and var7,x,z,1.1,0),COLORFFff00;
STICKLINE(var8 and var9,x,z,8 ,0 ),COLOR00aaff;
STICKLINE(var8 and var9,x,z,6.6 ,0 ),COLOR00bbff;
STICKLINE(var8 and var9,x,z,4.4,0 ),COLOR00ccff;
STICKLINE(var8 and var9,x,z,3.3 ,0 ),COLOR00ddff;
STICKLINE(var8 and var9,x,z,2.2 ,0 ),COLOR00eeff;
STICKLINE(var8 and var9,x,z,1.1 ,0 ),COLOR00ffff;
STICKLINE(var10 and var11,x,z, 8,0 ),coloraaaaCC;
STICKLINE(var10 and var11,x,z, 6.6,0 ),colorbbbbCC;
STICKLINE(var10 and var11,x,z, 4.4,0 ),colorccccCC;
STICKLINE(var10 and var11,x,z, 3.3,0 ),colorddddCC;
STICKLINE(var10 and var11,x,z, 2.2,0 ),coloreeeeCC;
STICKLINE(var10 and var11,x,z, 1.1,0 ),colorFFffCC;
STICKLINE(var12 and var13,x,z, 8,0 ),color66aa33;
STICKLINE(var12 and var13,x,z,6.6,0 ),color66bb33;
STICKLINE(var12 and var13,x,z, 4.4,0 ),color66cc33;
STICKLINE(var12 and var13,x,z, 3.3,0 ),color66dd33;
STICKLINE(var12 and var13,x,z, 2.2,0 ),color66ee33;
STICKLINE(var12 and var13,x,z, 1.1,0 ),color66ff33;
STICKLINE(var14,x,z, 8,0 ),COLOR000055;
STICKLINE(var14,x,z, 6.6,0 ),COLOR000077;
STICKLINE(var14,x,z, 4.4,0 ),COLOR000099;
STICKLINE(var14,x,z, 3.3,0 ),COLOR0000BB;
STICKLINE(var14,x,z, 2.2,0 ),COLOR0000DD;
STICKLINE(var14,x,z, 1.1,0 ),COLOR0000FF;
五日:MA(z,5),COLORWHITE;
十日:MA(z,10),COLORMAGENTA;