Pine Script Strategies - Looking Forward - Using as a Screener

419 views Asked by At

I've written a couple of strategies that are profitable, but I was wondering if anyone has found a way to use that logic as a screener? That is, regardless of symbol/ticker, just have it search either ALL symbols or a watchlist of symbols to seek out opportunities that match the "buy" criteria in the script?

1

There are 1 answers

1
vitruvius On

You are looking for the request.security() function. Not only you can request data from different time frames but you can also request data from different ticker ids. However, maximum number of security calls you can have in your script is 40. So, it will be a screener with some limits.

See this for more.