79419576

Date: 2025-02-06 23:14:11
Score: 4
Natty:
Report link

Yes, it is possible, but v5 and v6 works a little differently here.

In Pine v5, requests are by default not dynamic. Dynamic requests are supported in v5, but only if programmers specify dynamic_requests=true in the script’s indicator(), strategy(), or library() declaration. Otherwise, the dynamic_requests parameter’s default value is false in v5.

The error message is strange though. Make sure that you do not have too many request.security() calls (the maximum is 40). By using string inputs (instead of tradeSymbol, expiry, etc), I tried to reproduce the issue on PineScript v5 and v6 but I had no luck, so I would say that you have too many request.security() calls. In that case, here are some ideas on fixing this issue.

If that does not solve your problem, please provide the whole code and I will look into it.

Reasons:
  • Blacklisted phrase (1): no luck
  • RegEx Blacklisted phrase (2.5): please provide
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: BrNi05