指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:板块指标详解 通达信板块
板块指标
var1:=mema(("399190$c"),3);
var2:=mema(("399200$c"),3);
var3:=mema(("399137$c"),3);
var4:=mema(("399139$c"),3);
var5:=mema(("399136$c"),3);
var6:=mema(("399110$c"),3);
var7:=mema(("399135$c"),3);
var8:=mema(("999999$c"),3);
var9:=mema(("399329$c"),3);
var10:=mema(("399131$c"),3);
var11:=mema(("399140$c"),3);
var12:=mema(("000005$c"),3);
金融:sum((var1/ref(var1,1)-1)*100,0),colorred;
地产:sum((var2/ref(var2,1)-1)*100,0),colormagenta;
金属:sum((var3/ref(var3,1)-1)*100,0),colorlired,linethick2;
医药:sum((var4/ref(var4,1)-1)*100,0),colorwhite;
电子:sum((var5/ref(var5,1)-1)*100,0),colorcyan;
农林:sum((var6/ref(var6,1)-1)*100,0),colorgreen;
石化:=sum((var7/ref(var7,1)-1)*100,0),coloryellow;
上证:sum((var8/ref(var8,1)-1)*100,0),coloryellow,pointdot,linethick4;
中小板:sum((var9/ref(var9,1)-1)*100,0),colorblue,linethick2;
食品:sum((var10/ref(var10,1)-1)*100,0),coloryellow;
水电:sum((var11/ref(var11,1)-1)*100,0),colormagenta,linethick2;
商业:sum((var12/ref(var12,1)-1)*100,0),colorgray;
p1:=if(barslast(currbarscount=10),10,0);
p2:=if(barslast(currbarscount=7),10,0);
p3:=if(barslast(currbarscount=4),10,0);
drawtext((p3>=10 and ref(p3,1)<=0),上证,'上证'),coloryellow;
drawtext((p3>=10 and ref(p3,1)<=0),金融,'金融'),colorred;
drawtext((p2>=10 and ref(p2,1)<=0),地产,'地产'),colormagenta;
drawtext((p1>=10 and ref(p1,1)<=0),金属,'金属'),colorlired;
drawtext((p3>=10 and ref(p3,1)<=0),医药,'医药'),colorwhite;
drawtext((p2>=10 and ref(p2,1)<=0),电子,'电子'),colorcyan;
drawtext((p1>=10 and ref(p1,1)<=0),农林,'农林'),colorgreen;
{drawtext((p3>=10 and ref(p3,1)<=0),石化,'石化'),coloryellow; };
drawtext((p2>=10 and ref(p2,1)<=0),中小板,'中小板'),colorblue,linethick2;
drawtext((p3>=10 and ref(p3,1)<=0),食品,'食品'),coloryellow;
drawtext((p2>=10 and ref(p2,1)<=0),水电,'水电'),colormagenta,linethick2;
drawtext((p1>=10 and ref(p1,1)<=0),商业,'商业'),colorgray;
>>>使用本站搜索工具可以找到更多“板块指标详解 通达信板块”