简体   繁体   English

Tradingview - 使用松树脚本的“转到日期”

[英]Tradingview - “Go to Date” using pine-script

Is there a way to move the view automatically to a specific historical date?有没有办法将视图自动移动到特定的历史日期? Basically doing the same thing as the "Go to..." button, but automatically with a script?基本上做与“转到...”按钮相同的事情,但自动使用脚本?

No. You can't move the bars on a chart from a script.不可以。您不能从脚本移动图表上的条形。

Not-what-you-want-but-loosely-related: We are currently speccing a feature that would allow script authors to provide the user with a means of selecting a specific bar (date-time) on a chart to provide a date-time input into a script: https://trello.com/c/H8rcP1TE不是你想要的,而是松散相关的:我们目前正在指定一项功能,允许脚本作者为用户提供一种选择图表上特定条形(日期时间)以提供日期的方法-时间输入到脚本中: https : //trello.com/c/H8rcP1TE

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

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