Dynamic watchlist not populating with results


New member
Hi, I have a dynamic watchlist that is not producing results for Futures.
My dynamic watchlist has the following conditions:
  • 1,000 or greater in volume
  • 4 consecutive green candles in the 15 minute timeframe
  • Higher highs
  • Higher lows
  • Only show results for the follow Futures tickers:
    • /CL:XNYM
    • /ES:XCME
    • /NQ:XCME
    • /SI:XCEC
    • /UB:XCBT
    • /ZS:XCBT
Please know there is no price range set due to the complex nature of Futures.

def greenBars;
def higherHighsLows;

if (GetSymbol() == "/CL:XNYM" or
    GetSymbol() == "/ES:XCME" or
    GetSymbol() == "/NQ:XCME" or
    GetSymbol() == "/SI:XCEC" or
    GetSymbol() == "/UB:XCBT" or
    GetSymbol() == "/ZS:XCBT") then {

      greenBars = sum(close > open, 4) >= 4;
      higherHighsLows =
        high[0] > open[1] and
        low[0] > low[1] and
        high[1] > high[2] and
        low[1] > low[2] and
        high[2] > high[3] and
        low[2] > low[3];
    } else {
      greenBars = 0;
      higherHighsLows = 0;

plot scan = greenBars and higherHighsLows;

What I have done was applied the code shown above, without the GetSymbol() functions, to the Stock Hacker Scanner. Next I run a scan to search for Futures with 4 consecutive green candles, higher highs, and higher lows. For example, /UBZ20 appeared on the Stock Hacker Scanner as a result. I then quickly referred to the Futures dxfeed ticker for the /UB and appended the following to my dynamic watchlist:
if (GetSymbol() == "/UB:XCBT"
Even after appending this function to my dynamic watchlist, the Futures ticker /UB did not populate on my dynamic watchlist even though it appears, and continued to reappear on the Stock Hacker Scanner after pressing the Scan button multiple times.

To confirm that /UB met the condition of my code, I added my code to a custom chart study, and it has been confirmed that /UB met the condition of my code because the custom study returned a value of 1.


Please know I have tested this very code with Stocks, using the GetSymbol() function with only TSLA, ZM, AAPL and it works as expected; just not for Futures. I have also added alerts for changes to the dynamic watchlist and received none.

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.