好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式上证大盘历史平均市盈率TDX副图指标下载 通达信上证大盘

上证大盘历史平均市盈率TDX副图指标下载 通达信上证大盘

  • 指标公式类型:通达信公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-12-28 07:08:45
  • 指标公式标签:上证大盘 历史平均市盈率
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:上证大盘历史平均市盈率TDX副图指标下载 通达信上证大盘

多谢 周易2000 分享思路.
指标公式原版是飞狐与大智慧源码!现在发的是通达信版本的,必须使用新版通达信才可以编辑成公式

个人说明一下:
1` 本指标是专门应用于上证数的月周期。
2` 本指标以后是要自己动手进行数据输入的。

{上证平均市盈率历史 _[通达信版] 壹瓣杺埖 }
{n取值随数据添加改变(添加1个等于1` 添加2个等于2)以此类推!}
n:=0;
drawband(80,rgb(225,200,190),10,rgb(225,200,190));
stickline(8=8,10,10,1,0);
stickline(8=8,20,20.5,10,0),color007700;
stickline(8=8,30,30,1,0);
stickline(8=8,40,40,1,0);
stickline(8=8,50,50.3,10,0),colorbrown;
stickline(8=8,60,60,1,0);
stickline(8=8,70,70,1,0);
stickline(8=8,80,80,1,0);
curr:=currbarscount;
a98:=34.03; a99:=34.03; a100:=34.30;a101:=34.39;a102:=35.30;a103:=45.37;
a104:=43.93;a105:=43.89;a106:=42.52;a107:=40.84;a108:=40.09;a109:=38.14;
a110:=42.82;a111:=47.99;a112:=49.92;a113:=51.13;a114:=54.02;a115:=55.22;
a116:=58.21;a117:=58.13;a118:=54.83;a119:=56.31;a120:=59.89;a121:=59.14;
a122:=59.39;a123:=56.82;a124:=60.88;a125:=60.99;a126:=55.92;a127:=56.55;
a128:=49.26;a129:=42.14;a130:=40.61;a131:=38.84;a132:=40.08;a133:=37.59;
a134:=34.31;a135:=35.11;a136:=37.16;a137:=39.08;a138:=38.75;a139:=44.47;
a140:=42.40;a141:=43.02;a142:=40.40;a143:=38.23;a144:=36.46;a145:=34.50;
a146:=37.92;a147:=38.20;a148:=38.20;a149:=38.54;a150:=38.28;a151:=36.11;
a152:=35.78;a153:=34.37;a154:=32.97;a155:=32.51;a156:=34.00;a157:=36.64;
a158:=38.91;a159:=40.89;a160:=42.49;a161:=38.95;a162:=28.73;a163:=26.65;
a164:=26.49;a165:=25.68;a166:=26.75;a167:=25.34;a168:=25.69;a169:=24.29;
a170:=22.87;a171:=24.99;a172:=22.63;a173:=22.28;a174:=15.66;a175:=15.98;
a176:=16.05;a177:=16.92;a178:=16.78;a179:=15.72;a180:=15.63;a181:=16.38;
a182:=17.61;a183:=18.00;a184:=17.72;a185:=19.42;a186:=19.69;a187:=19.91;
a188:=20.03;a189:=20.38;a190:=21.41;a191:=22.86;a192:=26.13;a193:=33.38;
a194:=38.36;a195:=39.62;a196:=44.36;a197:=53.33;a198:=43.42;a199:=42.74;
a200:=50.59;a201:=59.24;a202:=63.74;a203:=69.64;a204:=53.79;a205:=59.24;
a206:=49.40;a207:=49.21;a208:=39.45;a209:=42.06;a210:=25.89;a211:=20.64;
a212:=20.93;a213:=18.13;a214:=18.68;a215:=14.09;a216:=15.23;a217:=14.86;
a218:=16.26;a219:=17.01;a220:=19.37;a221:=20.21;a222:=22.47;a223:=25.36;
a224:=29.47;a225:=23.04;a226:=24.12;a227:=26.03;a228:=27.93;a229:=28.78;
a230:=26.24;a231:=26.91;a232:=27.54;a233:=25.42;a234:=19.93;a235:=18.47;
a236:=19.86;a237:=19.85;a238:=20.00;a239:=22.61;a240:=21.51;a241:=21.60;
a242:=21.63;a243:=22.56;a244:=22.77;a245:=22.74;a246:=16.34;a247:=16.49;
a248:=16.14;a249:=15.42;a250:=14.19;a251:=14.96;a252:=15.21;a253:=15.21;
率0:=if(curr=151,a103,if(curr=152,a102,if(curr=153,a101,if(curr=154,a100,if(curr=155,a99,
if(curr=156,a98,drawnull))))));
率1:=if(curr=101,a153,if(curr=102,a152,if(curr=103,a151,if(curr=104,a150,if(curr=105,a149,
if(curr=106,a148,if(curr=107,a147,if(curr=108,a146,if(curr=109,a145,if(curr=110,a144,
if(curr=111,a143,if(curr=112,a142,if(curr=113,a141,if(curr=114,a140,if(curr=115,a139,
if(curr=116,a138,if(curr=117,a137,if(curr=118,a136,if(curr=119,a135,if(curr=120,a134,
if(curr=121,a133,if(curr=122,a132,if(curr=123,a131,if(curr=124,a130,if(curr=125,a129,
if(curr=126,a128,if(curr=127,a127,if(curr=128,a126,if(curr=129,a125,if(curr=130,a124,
if(curr=131,a123,if(curr=132,a122,if(curr=133,a121,if(curr=134,a120,if(curr=135,a119,
if(curr=136,a118,if(curr=137,a117,if(curr=138,a116,if(curr=139,a115,if(curr=140,a114,
if(curr=141,a113,if(curr=142,a112,if(curr=143,a111,if(curr=144,a110,if(curr=145,a109,
if(curr=146,a108,if(curr=147,a107,if(curr=148,a106,if(curr=149,a105,if(curr=150,a104,
率0))))))))))))))))))))))))))))))))))))))))))))))))));
率2:=if(curr=51,a203,if(curr=52,a202,if(curr=53,a201,if(curr=54,a200,if(curr=55,a199,
if(curr=56,a198,if(curr=57,a197,if(curr=58,a196,if(curr=59,a195,if(curr=60,a194,
if(curr=61,a193,if(curr=62,a192,if(curr=63,a191,if(curr=64,a190,if(curr=65,a189,
if(curr=66,a188,if(curr=67,a187,if(curr=68,a186,if(curr=69,a185,if(curr=70,a184,
if(curr=71,a183,if(curr=72,a182,if(curr=73,a181,if(curr=74,a180,if(curr=75,a179,
if(curr=76,a178,if(curr=77,a177,if(curr=78,a176,if(curr=79,a175,if(curr=80,a174,
if(curr=81,a173,if(curr=82,a172,if(curr=83,a171,if(curr=84,a170,if(curr=85,a169,
if(curr=86,a168,if(curr=87,a167,if(curr=88,a166,if(curr=89,a165,if(curr=90,a164,
if(curr=91,a163,if(curr=92,a162,if(curr=93,a161,if(curr=94,a160,if(curr=95,a159,
if(curr=96,a158,if(curr=97,a157,if(curr=98,a156,if(curr=99,a155,if(curr=100,a154,
率1))))))))))))))))))))))))))))))))))))))))))))))))));
率3:=if(curr=4,a250,if(curr=5,a249,if(curr=6,a248,if(curr=7,a247,if(curr=8,a246,
if(curr=9,a245,if(curr=10,a244,if(curr=11,a243,if(curr=12,a242,if(curr=13,a241,
if(curr=14,a240,if(curr=15,a239,if(curr=16,a238,if(curr=17,a237,if(curr=18,a236,
if(curr=19,a235,if(curr=20,a234,if(curr=21,a233,if(curr=22,a232,if(curr=23,a231,
if(curr=24,a230,if(curr=25,a229,if(curr=26,a228,if(curr=27,a227,if(curr=28,a226,
if(curr=29,a225,if(curr=30,a224,if(curr=31,a223,if(curr=32,a222,if(curr=33,a221,
if(curr=34,a220,if(curr=35,a219,if(curr=36,a218,if(curr=37,a217,if(curr=38,a216,
if(curr=39,a215,if(curr=40,a214,if(curr=41,a213,if(curr=42,a212,if(curr=43,a211,
if(curr=44,a210,if(curr=45,a209,if(curr=46,a208,if(curr=47,a207,if(curr=48,a206,
if(curr=49,a205,if(curr=50,a204,率2)))))))))))))))))))))))))))))))))))))))))))))));
率4:=if(curr>n,refx(ref(if(islastbar,a253,if(curr=2,a252,if(curr=3,a251,率3))),1),n),drawnull);
{新数据}
{a254:= ; a255:= ; a256:= ; a257:= ; a258:= ; a259:= ; a260:= ;}
上证平均市盈率:=if(period=7,率4,drawnull);
{例式1:
率5:=if(islastbar,a254,drawnull);
上证平均市盈率:=if(period=7,率5,drawnull)+率4;}
{例式2:
率5:=if(islastbar,a255,if(curr=2,a254,drawnull));
上证平均市盈率:=if(period=7,率5,drawnull)+率4;}
drawband(上证平均市盈率,rgb(180,0,0),上证平均市盈率,rgb(180,0,0));
上证指数:=if(period=7,c/100+10,drawnull);
drawband(上证指数,rgb(22,20,190),上证指数,rgb(22,20,190));
drawtext(上证平均市盈率=a203,上证平均市盈率,'←69。64'),color223388;
drawtext(上证平均市盈率=a215,上证平均市盈率,'←14。09'),color223388;
drawtext_fix(8=8,0.5,0,0,'上证指数历史平均市盈率'),color2d4045;
drawtext_fix(8=8,0,0.1,0,'■平均市盈率'),color0000aa;
drawtext_fix(8=8,0,0.2,0,'■上证指数'),color8f0000;
drawtext_fix(8=8,0.3,0.15,0,'高风险区域'),color2d4045;
drawtext_fix(8=8,0.3,0.85,0,'低风险区域'),color2d4045;
drawtext_fix(8=8,0,0.9,0,'上证指数月周期专用'),color0000ff;

必须使用新版通达信才可以编辑成公式,本人没安装,所以请大家自己编辑成公式吧


上证大盘历史平均市盈率【通达信版】_ {副图+源码}

  >>>使用本站搜索工具可以找到更多上证大盘历史平均市盈率TDX副图指标下载 通达信上证大盘

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文上证大盘历史平均市盈率TDX副图指标下载 通达信上证大盘仅供学习研究。

猜你喜欢

学了又学