大智慧指标公式源码 大智慧三线共震公式源码
2016-11-09 16:03 股票知识 zhishi.southmoney.com
INPUT:N(70,1,999),M(5,1,120);
ZSC:=IF(INBLOCK(工程建筑),"991002$CLOSE",IF(INBLOCK(电力),"991003$CLOSE",IF(INBLOCK(计算机),"991004$CLOSE",
IF(INBLOCK(电子信息),"991006$CLOSE",IF(INBLOCK(房地产),"991007$CLOSE",IF(INBLOCK(纺织服装),"991008$CLOSE",
IF(INBLOCK(钢铁),"991009$CLOSE",IF(INBLOCK(供水供气),"991010$CLOSE",IF(INBLOCK(化工化纤),"991011$CLOSE",
IF(INBLOCK(电器),"991014$CLOSE",IF(INBLOCK(交通设施),"991016$CLOSE",IF(INBLOCK(银行类),"991017$CLOSE",
IF(INBLOCK(旅游酒店),"991018$CLOSE",IF(INBLOCK(煤炭石油),"991019$CLOSE",IF(INBLOCK(酿酒食品),"991020$CLOSE",
IF(INBLOCK(农林牧渔),"991021$CLOSE",IF(INBLOCK(商业连锁),"991023$CLOSE",IF(INBLOCK(建材),"991024$CLOSE",
IF(INBLOCK(其他行业),"991025$CLOSE",IF(INBLOCK(汽车类),"991026$CLOSE",IF(INBLOCK(机械),"991027$CLOSE",
IF(INBLOCK(医药),"991028$CLOSE",IF(INBLOCK(外贸),"991031$CLOSE",IF(INBLOCK(教育传媒),"991032$CLOSE",
IF(INBLOCK(仪电仪表),"991033$CLOSE",IF(INBLOCK(有色金属),"991034$CLOSE",IF(INBLOCK(造纸印刷),"991035$CLOSE",
IF(INBLOCK(券商),"991036$CLOSE",IF(INBLOCK(电力设备),"991037$CLOSE",IF(INBLOCK(通信),"991135$CLOSE",
IF(INBLOCK(运输物流),"991136$CLOSE",IF(INBLOCK(保险),"991255$CLOSE",0))))))))))))))))))))))))))))))));
ZSH:=IF(INBLOCK(工程建筑),"991002$HIGH",IF(INBLOCK(电力),"991003$HIGH",IF(INBLOCK(计算机),"991004$HIGH",
IF(INBLOCK(电子信息),"991006$HIGH",IF(INBLOCK(房地产),"991007$HIGH",IF(INBLOCK(纺织服装),"991008$HIGH",
IF(INBLOCK(钢铁),"991009$HIGH",IF(INBLOCK(供水供气),"991010$HIGH",IF(INBLOCK(化工化纤),"991011$HIGH",
IF(INBLOCK(电器),"991014$HIGH",IF(INBLOCK(交通设施),"991016$HIGH",IF(INBLOCK(银行类),"991017$HIGH",
IF(INBLOCK(旅游酒店),"991018$HIGH",IF(INBLOCK(煤炭石油),"991019$HIGH",IF(INBLOCK(酿酒食品),"991020$HIGH",
IF(INBLOCK(农林牧渔),"991021$HIGH",IF(INBLOCK(商业连锁),"991023$HIGH",IF(INBLOCK(建材),"991024$HIGH",
IF(INBLOCK(其他行业),"991025$HIGH",IF(INBLOCK(汽车类),"991026$HIGH",IF(INBLOCK(机械),"991027$HIGH",(股票知识网zhishi.southmoney.com)
ZSC:=IF(INBLOCK(工程建筑),"991002$CLOSE",IF(INBLOCK(电力),"991003$CLOSE",IF(INBLOCK(计算机),"991004$CLOSE",
IF(INBLOCK(电子信息),"991006$CLOSE",IF(INBLOCK(房地产),"991007$CLOSE",IF(INBLOCK(纺织服装),"991008$CLOSE",
IF(INBLOCK(钢铁),"991009$CLOSE",IF(INBLOCK(供水供气),"991010$CLOSE",IF(INBLOCK(化工化纤),"991011$CLOSE",
IF(INBLOCK(电器),"991014$CLOSE",IF(INBLOCK(交通设施),"991016$CLOSE",IF(INBLOCK(银行类),"991017$CLOSE",
IF(INBLOCK(旅游酒店),"991018$CLOSE",IF(INBLOCK(煤炭石油),"991019$CLOSE",IF(INBLOCK(酿酒食品),"991020$CLOSE",
IF(INBLOCK(农林牧渔),"991021$CLOSE",IF(INBLOCK(商业连锁),"991023$CLOSE",IF(INBLOCK(建材),"991024$CLOSE",
IF(INBLOCK(其他行业),"991025$CLOSE",IF(INBLOCK(汽车类),"991026$CLOSE",IF(INBLOCK(机械),"991027$CLOSE",
IF(INBLOCK(医药),"991028$CLOSE",IF(INBLOCK(外贸),"991031$CLOSE",IF(INBLOCK(教育传媒),"991032$CLOSE",
IF(INBLOCK(仪电仪表),"991033$CLOSE",IF(INBLOCK(有色金属),"991034$CLOSE",IF(INBLOCK(造纸印刷),"991035$CLOSE",
IF(INBLOCK(券商),"991036$CLOSE",IF(INBLOCK(电力设备),"991037$CLOSE",IF(INBLOCK(通信),"991135$CLOSE",
IF(INBLOCK(运输物流),"991136$CLOSE",IF(INBLOCK(保险),"991255$CLOSE",0))))))))))))))))))))))))))))))));
ZSH:=IF(INBLOCK(工程建筑),"991002$HIGH",IF(INBLOCK(电力),"991003$HIGH",IF(INBLOCK(计算机),"991004$HIGH",
IF(INBLOCK(电子信息),"991006$HIGH",IF(INBLOCK(房地产),"991007$HIGH",IF(INBLOCK(纺织服装),"991008$HIGH",
IF(INBLOCK(钢铁),"991009$HIGH",IF(INBLOCK(供水供气),"991010$HIGH",IF(INBLOCK(化工化纤),"991011$HIGH",
IF(INBLOCK(电器),"991014$HIGH",IF(INBLOCK(交通设施),"991016$HIGH",IF(INBLOCK(银行类),"991017$HIGH",
IF(INBLOCK(旅游酒店),"991018$HIGH",IF(INBLOCK(煤炭石油),"991019$HIGH",IF(INBLOCK(酿酒食品),"991020$HIGH",
IF(INBLOCK(农林牧渔),"991021$HIGH",IF(INBLOCK(商业连锁),"991023$HIGH",IF(INBLOCK(建材),"991024$HIGH",
IF(INBLOCK(其他行业),"991025$HIGH",IF(INBLOCK(汽车类),"991026$HIGH",IF(INBLOCK(机械),"991027$HIGH",(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。