您现在的位置:程序化交易>> 股票公式>> 通达信>> 通达信公式>>正文内容

板块指数,个股和多板块同图显示(通达信公式 副图指标公式 公式、源码 测试图)[通达信公式]

相关标签:

 

副图中,显示个股走势,多个板块的指数的走势。N:=45;cxh2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;cxh3:=SMA(cxh2,5,1);cxh4:=SMA(cxh3,3,1);个股波:SMA(cxh4,3,1),COLORWHITE,LINETHICK3;cxh22:=(INDEXC-LLV(INDEXL,N))/(HHV(INDEXH,N)-LLV(INDEXL,N))*100;cxh33:=SMA(cxh22,5,1);cxh44:=SMA(cxh33,3,1);指数波:SMA(cxh44,3,1),COLORRED,LINETHICK5;AA:=( "399300$ CLOSE "-LLV("399300$ LOW ",N))/(HHV("399300$ HIGH ",N)-LLV("399300$ LOW ",N))*100;AA1:=SMA(AA,5,1);AA2:=SMA(AA1,3,1);沪深300:SMA(AA2,3,1),COLORMAGENTA,LINETHICK2;BB:=( "399005$ CLOSE "-LLV("399005$ LOW ",N))/(HHV("399005$ HIGH ",N)-LLV("399005$ LOW ",N))*100;BB1:=SMA(BB,5,1);BB2:=SMA(BB1,3,1);中小板指:SMA(BB2,3,1),COLORYELLOW,LINETHICK1;CC:=( "399006$ CLOSE "-LLV("399006$ LOW ",N))/(HHV("399006$ HIGH ",N)-LLV("399006$ LOW ",N))*100;CC1:=SMA(CC,5,1);CC2:=SMA(CC1,3,1);创业板指:SMA(CC2,3,1),COLORCYAN,LINETHICK1;DD:=( "399305$ CLOSE "-LLV("399305$ LOW ",N))/(HHV("399305$ HIGH ",N)-LLV("399305$ LOW ",N))*100;DD1:=SMA(DD,5,1);DD2:=SMA(DD1,3,1);基金:SMA(DD2,3,1),COLORLICYAN,LINETHICK1;EE:=( "399190$ CLOSE "-LLV("399190$ LOW ",N))/(HHV("399190$ HIGH ",N)-LLV("399190$ LOW ",N))*100;EE1:=SMA(EE,5,1);EE2:=SMA(EE1,3,1);金融行业:SMA(EE2,3,1),COLORGREEN,LINETHICK2;FF:=( "399200$ CLOSE "-LLV("399200$ LOW ",N))/(HHV("399200$ HIGH ",N)-LLV("399200$ LOW ",N))*100;FF1:=SMA(FF,5,1);FF2:=SMA(FF1,3,1);地产:SMA(FF2,3,1),COLORLIGREEN,LINETHICK1;GG:=( "399110$ CLOSE "-LLV("399110$ LOW ",N))/(HHV("399110$ HIGH ",N)-LLV("399110$ LOW ",N))*100;GG1:=SMA(GG,5,1);GG2:=SMA(GG1,3,1);农林牧渔:SMA(GG2,3,1),COLORLIGRAY,LINETHICK1;HH:=( "399941$ CLOSE "-LLV("399941$ LOW ",N))/(HHV("399941$ HIGH ",N)-LLV("399941$ LOW ",N))*100;HH1:=SMA(HH,5,1);HH2:=SMA(HH1,3,1);新能源:SMA(HH2,3,1),COLORBROWN,LINETHICK1;II:=( "399137$ CLOSE "-LLV("399137$ LOW ",N))/(HHV("399137$ HIGH ",N)-LLV("399137$ LOW ",N))*100;II1:=SMA(II,5,1);II2:=SMA(II1,3,1);有色金属:SMA(II2,3,1),COLORLIRED,LINETHICK1;JJ:=( "399139$ CLOSE "-LLV("399139$ LOW ",N))/(HHV("399139$ HIGH ",N)-LLV("399139$ LOW ",N))*100;JJ1:=SMA(JJ,5,1);JJ2:=SMA(JJ1,3,1);{通达信公式大全 程序化久久公式网WWW.cxh99.com}医药:SMA(JJ2,3,1),COLORLIMAGENTA,LINETHICK1;

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容