kotak-logo
Stock Screener Using AI Logo Light Mode

Kotak

Stockshaala

Module 6
Building Your First AI-Powered Screener (No Code)
Course Index
Read in
English
हिंदी

Chapter 2 | 2 min read

Combining Multiple Conditions in a Single Prompt

One of the biggest strengths of AI stock screening is that you don’t need to run filters one by one.

You can combine multiple conditions into a single prompt - fundamentals and technicals together.

The result? A faster process and a shortlist that already fits your strategy.

  • In traditional screeners, you might first filter by fundamentals (low debt, high ROE), export the list, then apply technical filters (RSI, moving averages).
  • With AI, you can merge both into one prompt:
    “Show me IT stocks with ROE above 15%, debt-to-equity below 0.5, and trading above their 200-day moving average.”

This way, AI handles everything at once.

Here are some combined prompts you might use in the Indian market:

  • “List auto stocks under ₹500 with profit growth for 3 years, RSI below 30, and trading volume above 10-day average.”
  • “Find banking companies with NPAs under 2%, ROE above 12%, and price above 200-DMA.”
  • “Show FMCG stocks with P/E under 20, consistent dividend history, and MACD showing bullish crossover.”

Notice how each example blends fundamental filters (profit growth, debt, P/E, NPAs) with technical signals (RSI, moving averages, MACD).

  • Use AND: Tells AI that all conditions must apply. “ROE > 15 AND Price < ₹1,000 AND RSI < 30.”
  • Limit to 3–4 conditions at a time. Too many in one line can confuse AI.
  • Add sector or index filters to narrow the universe: “Nifty 100,” “mid-cap IT,” “large-cap pharma.”
  • Refine step by step: If results are too broad, follow up with: “Now remove companies with promoter pledges.”

By combining conditions:

  • You get shorter, sharper lists.
  • You save time switching between separate filters.
  • You avoid chasing stocks that look good on one side but weak on another.

For example, a stock may look cheap on fundamentals (low P/E) but be in a downtrend technically. A combined prompt avoids such mismatches.

Let’s say you’re exploring opportunities in the Nifty 500:

  1. Prompt: “Find Nifty 500 stocks with ROE above 15%, low debt, and price above 200-DMA.”
  2. Refine: “Now filter only those with sales growth in the last 3 years.”
  3. Narrow: “Remove companies with pledge ratio above 10%.”

This approach layers multiple rules into a single AI-driven workflow, leaving you with a strong, focused shortlist.

Combining multiple conditions in a single AI prompt gives you a complete, 360° filter.

Instead of juggling separate lists, you get companies that meet both fundamental and technical rules in one shot.

The key is precision: use numbers, keep prompts simple, and refine step by step.

Done right, this approach saves time and makes your shortlists far more reliable.

Is this chapter helpful?
Previous
Asking AI for Screeners with Specific Rules
Next
Getting Outputs in Usable Formats (Tables, Lists, Comparisons)

Disclaimer: This article is for informational purposes only and does not constitute financial advice. It is not produced by the desk of the Kotak Neo Research Team, nor is it a report published by the Kotak Neo Research Team. The information presented is compiled from several secondary sources available on the internet and may change over time. Investors should conduct their own research and consult with financial professionals before making any investment decisions. Read the full disclaimer here.

Investments in securities market are subject to market risks, read all the related documents carefully before investing. Brokerage will not exceed SEBI prescribed limit. The securities are quoted as an example and not as a recommendation. SEBI Registration No-INZ000200137 Member Id NSE-08081; BSE-673; MSE-1024, MCX-56285, NCDEX-1262.

Discover our extensive knowledge center

Explore our comprehensive video library that blends expert market insights with Kotak's innovative financial solutions to support your goals.

PreviousCourse IndexNext