[英]Indicator on indicator feature in pine script
I found references about being able to select values from another indicator applied on chart as an input of type "source" to another indicator. 我发现了有关能够从图表上应用的另一个指标中选择值的参考,作为另一个指标的“源”类型输入。 I still see the option to apply indicator on indicator in GUI, however I cannot choose any other indicator in the Properties dropdown menu than the default ones.
我仍然看到在GUI中的指标上应用指标的选项,但是我无法在“属性”下拉菜单中选择除默认指标以外的任何其他指标。 I read that there are limitations to what indicators we can select as an input, but I can't see even the basic ones as SMA or EMA, when applied to the chart.
我读到可以选择哪些指标作为输入有一定的局限性,但是当应用于图表时,甚至连基本指标(如SMA或EMA)都看不到。
Was this functionality limited in recent time? 最近一段时间该功能受到限制吗? Or is there another way we can access data from other indicators?
还是我们可以通过其他指标访问数据的另一种方式?
If you have a Basic or Pro plan, make sure you have not already used this feature because those plans can only have 1 "indicator on indicator" at any given time. 如果您有基本计划或专业计划,请确保您尚未使用此功能,因为在任何给定时间这些计划只能有1个 “指示器亮起”。
If you would like to add another script to your (user generated) script, make sure you have input(type=input.source)
. 如果要将其他脚本添加到(用户生成的)脚本,请确保您具有
input(type=input.source)
。
Most importantly , not all indicators can be calculated based on another indicator due to various technical difficulties. 最重要的是 ,由于各种技术难题,并非所有指标都可以基于另一个指标来计算。 So, only ones that work are shown in the indicator list.
因此,指标列表中仅显示有效的指标。
Here, I just added SMA to RSI: 在这里,我只是将SMA添加到RSI:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.