您现在的位置:程序化交易>> 股票公式>> 其他>> 其他软件公式>>正文内容

量能主图飞狐量能与主图同显[其他软件公式]

相关标签:量能平台主图指标公式 、 飞狐指标 量能趋势 、 分时图量能指标公式 、 谁有量能划线指标主图 、 量能饱和主图公式 、 量能饱和度指标公式 、 量能成交量指标公式 、 通达信量能指标公式 、 资金量能指标公式 、 量能平台指标公式 、 绝密量能指标公式 、 超级量能指标公式 、 量能选股指标公式 、 陈氏量能线指标公式 、 汇盈量能指标公式 、

 

飞狐量能主图飞狐量能与主图同显,有用的拿去用,放到你的主图试试源码

 

原理解析:


 

 

源码:

 

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;

{程序化交易 www.cxh99.com }

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容