如何在相同的图表中包含RSI和卷? [英] How to include RSI and Volume in the same chart?

查看:165
本文介绍了如何在相同的图表中包含RSI和卷?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我想在高图表中嵌入RSI插件,即
(即RSI,Volume)。我尝试使用Highstock
(两个窗格,烛台和音量)

  http ://www.highcharts.com/stock/demo/candlestick-and-volume 



和RSI指标插件

  http://jsfiddle.net/BlackLabel/RE7sS/ 

完成任何想法??

解决方案

要将RSI添加到任何Highstock演示中,您需要包含所需的文件。在RSI中,case文件是:


  • indicators.js(base)

  • ema.js对于RSI)

  • rsi.js(RSI插件)


以你为例:< a href =http://jsfiddle.net/jLpbL1db/ =nofollow> http://jsfiddle.net/jLpbL1db/

注意:

不要忘记在options中添加指标,并且链接到 series.id

 指标:[{
id:AAPL,
类型:rsi
}] ,


First of all i want to embed RSI plugin with the highstock chart, (i.e) RSI, Volume in the same chart. i tried it with using Highstock (Two panes, candlestick and volume )

http://www.highcharts.com/stock/demo/candlestick-and-volume 

and the RSI indicator plugin

http://jsfiddle.net/BlackLabel/RE7sS/

Any ideas to get it done??

解决方案

To add RSI to any Highstock demo, you need to include required files. In RSI case files are:

  • indicators.js (base)
  • ema.js (required for RSI)
  • rsi.js (RSI plugin)

And example for you: http://jsfiddle.net/jLpbL1db/

Note:

Don't forget to add indicator in options, with link to series.id:

        indicators: [{
            id: "AAPL",
            type: "rsi"
        }],

这篇关于如何在相同的图表中包含RSI和卷?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆