Skip to content

Commit 1b896c3

Browse files
authored
Update README.md
1 parent 2119e7f commit 1b896c3

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

faq_and_code/README.md

-25
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ Do not make the mistake of assuming this is strictly beginner's material; some o
3535
- [Editor](#editor)
3636
- [Techniques](#techniques)
3737
- [Debugging](#debugging)
38-
- [Limits](#limits)
3938

4039

4140

@@ -2797,27 +2796,3 @@ See the this section of the Pine User Manual on [debugging compound conditions](
27972796

27982797
**[Back to top](#table-of-contents)**
27992798

2800-
2801-
2802-
2803-
2804-
<br><br>
2805-
## LIMITS
2806-
2807-
### What are the limits in Pine?
2808-
As is mentioned in the Pine User Manual,
2809-
2810-
> 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.
2811-
2812-
2813-
- The limit for plots is 64. Note than one plot statement can use up more than one allowed plot, depending on how it is structured. If you use color of any form that is not of "const" form on the plot or text, each one will add a plot count. Starting with Pine v4, `alertcondition()` calls also count for one plot. All plotting functions count for at least one plot, except `hline()` calls which do not count as a plot. Some plotting functions such as `plotcandle()` count as 4 plots, 5 if you use series color on the body. You can see plot counts in the Data Window if you don't use the `title` argument in your calls.
2814-
- When using labels or lines created with `label.new()` and `line.new()` a garbage collector will preserve only the last ~50 objects of each type.
2815-
- The limit for `security()` calls is 40, but by using functions returning tuples with `security()`, you can fetch many more values than 40.
2816-
- The limit for variables is 1000.
2817-
- We do not know of a limit to the number of lines in a script. There is, however a limit of 50K compiled tokens, but they don't correspond to code lines.
2818-
2819-
2820-
2821-
2822-
**[Back to top](#table-of-contents)**
2823-

0 commit comments

Comments
 (0)