''' What AB code will permit Filter Code selection from within a programs code.
That is: Program Code that overrides whatever settings are applied manually within the analysis window.
An extract of my existing code is given below
You must use CODE TAGS. I added them but any further posts without code tags will be deleted.
Currently, I set FILTER to Watch List - S&P ASX 300. Which is 300 tickers. And then run the code but:
It reports all buy/sell signals on all 300 tickers which is inconvenient.
I want buy signal to report any signal that occurs on these 300 tickers BUT
I want the sell signal to report only for stocks I hold in my watch list “mystocks” '''