{ 参数 rn:1,100,10 参数 rm:1,30,3}
var1:=("399139$c");
var2:=("399190$c");
var3:=("399132$c");
var4:=("399150$c");
var5:=("399138$c");
var6:=("399200$c");
var7:=("399110$c");
var8:=("399136$c");
var9:=("399135$c");
var10:=("399130$c");
var11:=("399160$c");
var12:=("999999$c");
var13:=("399137$c");
医药:=sum((var1/ref(var1,1)-1)*100,0)*10;
金融:=sum((var2/ref(var2,1)-1)*100,0)*10;
纺织:=sum((var3/ref(var3,1)-1)*100,0)*10;
建筑:=sum((var4/ref(var4,1)-1)*100,0)*10;
机械:=sum((var5/ref(var5,1)-1)*100,0)*10;
地产:=sum((var6/ref(var6,1)-1)*100,0)*10;
农林:=sum((var7/ref(var7,1)-1)*100,0)*10;
电子:=sum((var8/ref(var8,1)-1)*100,0)*10;
石化:=sum((var9/ref(var9,1)-1)*100,0)*10;
制造:=sum((var10/ref(var10,1)-1)*100,0)*10;
运输:=sum((var11/ref(var11,1)-1)*100,0)*10;
上证:=sum((var12/ref(var12,1)-1)*100,0)*10;
金属:=sum((var13/ref(var13,1)-1)*100,0)*10;
医药a:sum((var1/ref(var1,1)-1)*100,0)*2+100,colorwhite;
金融a:sum((var2/ref(var2,1)-1)*100,0)*2+100,colorred;
纺织a:=sum((var3/ref(var3,1)-1)*100,0)*2+100;
建筑a:=sum((var4/ref(var4,1)-1)*100,0)*2+100;
机械a:=sum((var5/ref(var5,1)-1)*100,0)*2+100;
地产a:sum((var6/ref(var6,1)-1)*100,0)*2+100,linethick1,colormagenta;
农林a:sum((var7/ref(var7,1)-1)*100,0)*2+100,colorgreen;
电子a:=sum((var8/ref(var8,1)-1)*100,0)*2+100;
石化a:=sum((var9/ref(var9,1)-1)*100,0)*2+100;
制造a:=sum((var10/ref(var10,1)-1)*100,0)*2+100;
运输a:sum((var11/ref(var11,1)-1)*100,0)*2+100,linethick1,coloryellow;
上证a:sum((var12/ref(var12,1)-1)*100,0)*2+100,linethick3;
金属a:=sum((var13/ref(var13,1)-1)*100,0)*2+100,linethick1;
当前猎狼线:sum((c/ref(c,1)-1)*100,0)*2+100,linethick2,color0000ff;
var17:=const(ma(医药,rn));
var18:=const(ma(金融,rn));
var19:=const(ma(纺织,rn));
var20:=const(ma(建筑,rn));
var21:=const(ma(机械,rn));
var22:=const(ma(地产,rn));
var23:=const(ma(农林,rn));
var24:=const(ma(电子,rn));
var25:=const(ma(石化,rn));
var26:=const(ma(制造,rn));
var27:=const(ma(运输,rn));
var28:=const(ma(上证,rn));
var29:=const(ma(金属,rn));
p1:=if(barslast(currbarscount=4+1),1,0);
p2:=if(barslast(currbarscount=6+2),1,0);
p3:=if(barslast(currbarscount=8+3),1,0);
p4:=if(barslast(currbarscount=10+4),1,0);
p5:=if(barslast(currbarscount=12+5),1,0);
p6:=if(barslast(currbarscount=14+6),1,0);
p7:=if(barslast(currbarscount=16+7),1,0);
p8:=if(barslast(currbarscount=18+8),1,0);
p9:=if(barslast(currbarscount=20+9),1,0);
p10:=if(barslast(currbarscount=22+10),1,0);
p11:=if(barslast(currbarscount=24+11),1,0);
p12:=if(barslast(currbarscount=26+12),1,0);
p13:=if(barslast(currbarscount=28+13),1,0);
p14:=if(barslast(currbarscount=2),1,0);
stickline(医药,0,if(p2-p1,const(医药)-(var17),drawnull),5,-2),colorff00ff;
stickline(金融,0,if(p3-p2,const(金融)-(var18),drawnull),5,-2),colorff00ff;
stickline(纺织,0,if(p4-p3,const(纺织)-(var19),drawnull),5,-2),colorff00ff;
stickline(建筑,0,if(p5-p4,const(建筑)-(var20),drawnull),5,-2),colorff00ff;
stickline(机械,0,if(p6-p5,const(机械)-(var21),drawnull),5,-2),colorff00ff;
stickline(地产,0,if(p7-p6,const(地产)-(var22),drawnull),5,-2),colorff00ff;
stickline(农林,0,if(p8-p7,const(农林)-(var23),drawnull),5,-2),colorff00ff;
stickline(电子,0,if(p9-p8,const(电子)-(var24),drawnull),5,-2),colorff00ff;
stickline(石化,0,if(p10-p9,const(石化)-(var25),drawnull),5,-2),colorff00ff;
stickline(制造,0,if(p11-p10,const(制造)-(var26),drawnull),5,-2),colorff00ff;
stickline(运输,0,if(p12-p11,const(运输)-(var27),drawnull),5,-2),colorff00ff;
stickline(上证,0,if(p1-p14,const(上证)-(var28),drawnull),5,-1),colorff00ff;
stickline(金属,0,if(p13-p12,const(金属)-(var29),drawnull),5,-2),colorff00ff;
stickline(医药,0,if(p2-p1,const(ma(医药,rm))-(var17),drawnull),2,0),coloraaaaff;
stickline(金融,0,if(p3-p2,const(ma(金融,rm))-(var18),drawnull),2,0),coloraaaaff;
stickline(纺织,0,if(p4-p3,const(ma(纺织,rm))-(var19),drawnull),2,0),coloraaaaff;
stickline(建筑,0,if(p5-p4,const(ma(建筑,rm))-(var20),drawnull),2,0),coloraaaaff;
stickline(机械,0,if(p6-p5,const(ma(机械,rm))-(var21),drawnull),2,0),coloraaaaff;
stickline(地产,0,if(p7-p6,const(ma(地产,rm))-(var22),drawnull),2,0),coloraaaaff;
stickline(农林,0,if(p8-p7,const(ma(农林,rm))-(var23),drawnull),2,0),coloraaaaff;
stickline(电子,0,if(p9-p8,const(ma(电子,rm))-(var24),drawnull),2,0),coloraaaaff;
stickline(石化,0,if(p10-p9,const(ma(石化,rm))-(var25),drawnull),2,0),coloraaaaff;
stickline(制造,0,if(p11-p10,const(ma(制造,rm))-(var26),drawnull),2,0),coloraaaaff;
stickline(运输,0,if(p12-p11,const(ma(运输,rm))-(var27),drawnull),2,0),coloraaaaff;
stickline(上证,0,if(p1-p14,const(ma(上证,rm))-(var28),drawnull),2,0),coloraaaaff;
stickline(金属,0,if(p13-p12,const(ma(金属,rm))-(var29),drawnull),2,0),coloraaaaff;
drawtext(p2-p1,-2,' 医药'),coloryellow;
drawtext(p3-p2,-2,' 金融'),coloryellow;
drawtext(p4-p3,-2,' 纺织'),coloryellow;
drawtext(p5-p4,-2,' 建筑'),coloryellow;
drawtext(p6-p5,-2,' 机械'),coloryellow;
drawtext(p7-p6,-2,' 地产'),coloryellow;
drawtext(p8-p7,-2,' 农林'),coloryellow;
drawtext(p9-p8,-2,' 电子'),coloryellow;
drawtext(p10-p9,-2,' 石化'),coloryellow;
drawtext(p11-p10,-2,' 制造'),coloryellow;
drawtext(p12-p11,-2,' 运输'),coloryellow;
drawtext(p13-p12,-2,' 金属'),coloryellow;
q1:=if(barslast(currbarscount=2),10,0);
drawtext((q1>=10 and ref(q1,1)<=0),金融a,'金融'),colorred;
drawtext((q1>=10 and ref(q1,1)<=0),地产a,'地产'),colormagenta;
drawtext((q1>=10 and ref(q1,1)<=0),医药a,'医药'),colorwhite;
drawtext((q1>=10 and ref(q1,1)<=0),农林a,'农林'),colorgreen;
drawtext((q1>=10 and ref(q1,1)<=0),运输a,'运输'),coloryellow;
上一指标公式:抓黑马网均线 高低线 大阴线 通达信阴线黑马
下一指标公式:底买主图指标详解 通达信买主
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文板块全能显显示板块板块监控指标详解 通达信全能监控仅供学习研究。