简体   繁体   English

如何将指标调用到我的策略中 (Pine-Script) (Tradingview)

[英]How to call indicators into my strategy (Pine-Script) (Tradingview)

I wanted to use the Relative Vigor Index as part of my trading strategy, but I can't seem to be able to call/referrence it, even though it's a built-in tradingview indicator.我想使用相对活力指数作为我交易策略的一部分,但我似乎无法调用/引用它,即使它是一个内置的交易视图指标。 I've tried using its full name ( RelativevigorIndex ) and I've tried shortening it to RVI , as well as RVGI .我试过使用它的全名( RelativevigorIndex ),我试过将它缩短为RVIRVGI

Please help请帮忙

Not all built in chart indicators have built in functions in pine.并非所有内置图表指标都在 pine 中内置函数。 You will have to load the code for the built in indicator (from the pine editor : Open / Open default built-in script) and manually incorporate the code into your strategy script.您必须加载内置指标的代码(来自 pine 编辑器:打开/打开默认内置脚本)并手动将代码合并到您的策略脚本中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM