大智慧三线共振指标(源码)

2014-11-28 22:37:00来源:本站整理浏览:746

IF(INBLOCK("仪电仪表"),"991033$LOW",IF(INBLOCK("有色金属"),"991034$LOW",IF(INBLOCK("造纸印刷"),"991035$LOW",
IF(INBLOCK("券商"),"991036$LOW",IF(INBLOCK("电力设备"),"991037$LOW",IF(INBLOCK("通信"),"991135$LOW",
IF(INBLOCK("运输物流"),"991136$LOW",IF(INBLOCK("保险"),"991255$LOW",0))))))))))))))))))))))))))))))));
Var12:=(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100;
能量线:SMA(Var12,3,1)*(-1)+100,colorRED,linethick2;
KNX:=SMA(Var12,3,1);
MK:=MA(KNX,M);
买点:IF(KNX>N AND CROSS(MK , KNX),50,0),COLORWHITE,LINETHICK1;
Var13:=(HHV(ZSH,34)-ZSC)/(HHV(ZSH,34)-LLV(ZSL,34))*100;
行业线:SMA(Var13,3,1)*(-1)+100,colorgreen,linethick1;
Var11:=(HHV(INDEXH,34)-INDEXC)/(HHV(INDEXH,34)-LLV(INDEXL,34))*100;
大盘线:SMA(Var11,3,1)*(-1)+100,colorYELLOW,linethick1;
板块:=IFS(INBLOCK("工程建筑"),"工程建筑",IFS(INBLOCK("电力"),"电力",IFS(INBLOCK("计算机"),"计算机",IFS(INBLOCK("电子信息"),"电子信息",
IFS(INBLOCK("房地产"),"房地产",IFS(INBLOCK("纺织服装"),"纺织服装",IFS(INBLOCK("钢铁"),"钢铁",IFS(INBLOCK("供水供气"),"供水供气",
IFS(INBLOCK("化工化纤"),"化工化纤",IFS(INBLOCK("电器"),"电器",IFS(INBLOCK("交通设施"),"交通设施",IFS(INBLOCK("银行类"),"银行类",
IFS(INBLOCK("旅游酒店"),"旅游酒店",IFS(INBLOCK("煤炭石油"),"煤炭石油",IFS(INBLOCK("酿酒食品"),"酿酒食品",IFS(INBLOCK("农林牧渔"),"农林牧渔",
IFS(INBLOCK("商业连锁"),"商业连锁",IFS(INBLOCK("建材"),"建材",IFS(INBLOCK("其他行业"),"其他行业",IFS(INBLOCK("汽车类"),"汽车类",
IFS(INBLOCK("机械"),"机械",IFS(INBLOCK("医药"),"医药",IFS(INBLOCK("外贸"),"外贸",IFS(INBLOCK("教育传媒"),"教育传媒",IFS(INBLOCK("仪电仪表"),"仪电仪表",
IFS(INBLOCK("有色金属"),"有色金属",IFS(INBLOCK("造纸印刷"),"造纸印刷",IFS(INBLOCK("券商"),"券商",IFS(INBLOCK("电力设备"),"电力设备",
IFS(INBLOCK("通信"),"通信",IFS(INBLOCK("运输物流"),"运输物流",IFS(INBLOCK("保险"),"保险",""))))))))))))))))))))))))))))))));
DRAWTEXTABS(10,5,"所属: "+板块+"指数"),COLORYELLOW;


 

上一页  [1] [2] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式