TradingView has designed its own scripting language called Pine Script.
TradingView 已经设计了自己的脚本语言叫做Pine Script.
It allows users to create custom indicators and run them on our servers.
这种脚本语言能够允许用户创建自己熟悉的指标器并且将其运行在他们的服务器上。
Pine was designed as a lightweight language focused on the specific task of developing indicators and strategies.
Pine 是一种轻量型语言专注于开发指标器以及策略等任务。
Most of TradingView’s built-in indicators have been coded in Pine.
大多数TradingView内置的指标器已经在pine内写成了代码。
It is our explicit goal to keep Pine accessible and easy to understand for the broadest possible audience.
我们目标已知是致力于让pine让更广泛的人群能够容易上手和使用。
Pine is cloud-based and therefore different in nature to client-side programming languages.
Pine是一种基于云服务的脚本语言,因此从本质上来讲它不同于基于本地的编程语言。
While we will not develop Pine into a full-fledged language with high-end coding capabilities for building very complex tools, constantly improving Pine is one of our highest priorities and we are happy to consider any requests for new features.
虽然我们没有野心将pine变成构建复杂工具的全能式的语言,但是持续提升pine的功能也是我们的重中之重,当然,我们希望看到有更多对于新功能的需求。
Because each script uses computational resources in the cloud, we must impose limits in order to share these resources fairly among our users.
因为每一个脚本都将使用在云端的计算资源,我们必须使用某些限制使得所有的用户能够共享这些资源。
We strive to impose as few limits as possible while enforcing as many as needed.
我们一直努力在提供更多需要的同时施加更少的限制。
We must ensure the platform keeps running smoothly so nobody is negatively affected by scripts that consume a disproportionate amount of resources.
我们一定会确保平台能够运转流畅,不能因为某些脚本使用了更多的计算资源而使得某些人收到影响。
The imposed limits apply to elements such as the amount of data from additional symbols, execution time, memory usage and script size.
所加的限定条件有附加额外指标的数据量,执行时间,记忆的使用以及脚本大小。
Additionally, we keep Pine syntax and semantics simple so it can handle common tasks efficiently.
另外,我们尽量是的pine的语法和语句尽可能的简单,使其能够有效的解决日常问题。
We will continue to improve Pine’s documentation and support to ensure that anyone who wishes to learn and use Pine may do so, as this helps grow the Pine development community and provides TradingView users with more robust and helpful tools.
我们将继续改进pine的说明书,使其能够确保那些想要学习和使用pine的人能够促进关于pine的发展社区以及给用户提供更强大和有用的工具。