AI Strategy Finder
Investing strategies with AI
Strategies for stocks and ETFs that you hold for days, months or years — found and tested by our AI on daily prices.
What Investing is?
#Trading finds strategies for the index, trade by trade. Investing does the same for a portfolio of stocks or ETFs: which ones to buy, when to sell them, and how many to hold at a time. Switch to it with the Trading | Investing switch at the top of Find strategies.
Our AI tries thousands of combinations of stock-picking rules, holding periods and exits on daily prices of every stock in the universe you choose, keeps the best and puts each through 8 robustness tests built for portfolios. The ones that pass all 8 are shown first, in green — exactly like trading.
Every result is a complete model portfolio: equal money in each stock, the buys and sells it made, its growth year by year next to the index's.
Who it suits, and who it does not?
#It suits investors who want rules for choosing and selling stocks — momentum, chart patterns, moving averages, company results and valuation — instead of tips, and who will act on a list of buys and sells at the next open.
It does not suit someone who wants intraday trades (use Trading), or who wants news and tips in the rules.
The Investing form, card by card
#The left card is Stocks, the right card is Your style:
- Universe — Nifty 50, Nifty 100, Nifty 200, Nifty 500, Nifty Midcap 150, Nifty Smallcap 250, ETFs, or one of your own lists (My lists, below).
- How do you pick stocks? — Chart patterns (VCP, Stage 2, flat bases, breakouts, Darvas box…), Momentum (the strongest stocks, ranked and rebalanced), Technical indicators (moving averages, RSI, bands, candles…), and Company Fundamentals (sales and profit growth, ROE, debt, promoters, fresh results, P/E, price to book). Tick one or more; the AI mixes them (see Company Fundamentals).
- Strategies to generate — 25, 50, 100 or 200 (the default; 1 strategy = 1 credit), and the Period: Last 5, 10, 15 or 20 years or All time. It starts on the last 5 years; a universe with a shorter history greys out the longer choices. Long term needs at least 10 years, so it starts on 10 years and the shorter choice is greyed out.
- How often do you want to act? — On signal: buy and sell only when a stock gives a setup, no fixed dates. On schedule: check and rebalance on fixed dates (see Rebalancing).
- How long do you usually hold? — Swing (5 to 30 days), Short term (1 to 12 months) or Long term (more than 12 months). A strategy is kept only when its own trades are held that long on average, so a Swing strategy really holds for days to weeks, not hours. With Company Fundamentals ticked the question goes away: the AI tries every holding period itself, and each strategy shows the one it fits.
- Stocks at a time — 5, 10, 15, 20 or 30, and Capital (₹) — ₹10,00,000 to start with. The capital is split equally between the stocks held.
Real index lists for every date
#Key feature. Index lists change all the time. A stock that is in the Nifty 50 today may not have been in it 10 years ago, and many stocks that were in it then have since dropped out. A backtest that uses today's list therefore tests on hindsight, and its results look better than anything an investor could really have got.
An example. Trent joined the Nifty 50 only in September 2024, after its share price had already risen many times over. A backtest on today's Nifty 50 list would happily "buy" Trent in 2016, when no Nifty 50 investor even held it. And Yes Bank, which was in the Nifty 50 until March 2020 and then crashed, would be missing from that test altogether.
What AI Strategy Finder does. It uses the official NSE index change notices going back to 2006 and, for every date of the backtest, tests only on the stocks that were really in the index on that date. A stock can be bought only while it is in the index; if it leaves, a holding is kept until the strategy's normal exit, just as a real investor would. So the results show what you could really have done at the time.
Most backtesting tools skip this step. The results page and the strategy page say Tested on the real Nifty … list of each date when it applies.
Stocks, ETFs and the price history
#The prices are daily closes of NSE stocks, adjusted for splits and bonus issues, so a 1:1 bonus never looks like a 50% fall. Historical membership starts in 2006 for Nifty 50, 100 and 500, in 2011 for Nifty 200, and in 2016 for Midcap 150 and Smallcap 250; available backtest dates also depend on stored price history.
ETFs is a list of 33 liquid ETFs — the most traded one for each thing they track (one gold ETF, one Nifty 50 ETF, one Nasdaq ETF and so on), so the AI never holds two ETFs that are really the same. Liquid-fund, gilt and bond ETFs are left out. Their results are compared with the Nifty 50.
New stock-index backtests use dated NSE membership notices: a stock can be bought only while it is in the index, and an existing holding stays until its normal exit even after it leaves. Companies without stored price history are left out; this includes merged or delisted companies. Genuine symbol renames use the same company's stored history. ETFs and your own fixed lists are unchanged. Older saved search rows retain their original method until rerun.
How a stock is sold: the exits?
#The AI chooses each strategy's exits: a stop loss, a target (or none), a trailing stop and trail to cost. Depending on the holding period it can also add a time exit (sell after a number of trading days) or an exit rule such as close below the 50-day average.
Example: a stock bought at ₹1,000 with a stop loss of 10%, a trailing stop of 5%, trail to cost at 10% and a target of 15%. The stop starts at ₹900. At ₹1,050 the trailing stop moves it up to ₹950. At ₹1,100 it moves to ₹1,000 — the buy price, which is also what trail to cost does at 10% up. At ₹1,150 the target sells it.
On schedule strategies keep only a stop loss (or none): otherwise a stock is sold when it drops out of the ranking at a rebalance. The result rows say when it drops out at a rebalance in that case.
With Company Fundamentals, On signal strategies can also sell when the company's numbers turn bad (see Company Fundamentals).
Rebalancing
#An On schedule strategy ranks the stocks on fixed dates and holds the top ones. Rebalance offers Let AI choose, Weekly (Mondays), Monthly, Quarterly and Half-yearly. With Let AI choose, the AI picks a rebalance that suits your holding period.
The ranking uses the close of the last trading day of the period, and the buys and sells happen at the next open. Weekly means Monday's open — or Tuesday's when Monday is a market holiday.
Every rebalancing strategy carries a tag on its row and its page, for example Rebalances weekly (Mondays), so you always know when it will ask you to act.
Company Fundamentals
#Company Fundamentals lets the AI use a company's quarterly and yearly results — sales and profit growth, return on equity (ROE), debt, margins, cash flow, who owns the shares (promoters, foreign and domestic institutions, pledged promoter shares) and fresh results — and compare the price with those numbers: P/E, price to book, EV/EBITDA, PEG, and whether a stock is cheap against its sector or against its own last 5 years. A strategy may use the results, the valuation or both.
Tick it alone or together with chart patterns, momentum or technical indicators. Ticked together, every strategy uses at least one company rule and one of the others — for example P/E ≤ 25, profit growth faster than in the previous quarter, and RSI(2) above 70.
The form does not ask how long you hold. The AI tries every holding period and uses the rules that suit each:
- Swing — price decides the trade. Company numbers only keep weak companies out (profitable, low debt, few pledged shares), or catch fresh results: results out in the last 5, 10 or 20 trading days with profit up at least 15% or 25% on the same quarter last year.
- Short term — growth in the last 1 to 4 quarters: sales and profit up on the same quarter last year, growth getting faster, margins improving, at a sensible price.
- Long term — the business over 3 to 5 years: sales and profit growth a year over 3 years, steady growth, average ROE, cash flow, and the price against the stock's own history and its sector.
- On schedule can also rank the stocks by a quality score, value score, growth score, growth at a reasonable price or quality + value + momentum — each a number from 1 to 99 against the other stocks that day.
- Selling on the numbers. On signal strategies can also sell when the numbers turn bad — for example sales fell 10% or more on the same quarter last year, the company made a loss over the last 12 months or P/E at least 30% above its own 5-year median. With Company Fundamentals alone, these are the only exit rules besides the stop loss, target, trailing stop and time exit; ticked together with chart patterns, momentum or technical indicators, price exits such as close below the 50-day average are tried too.
- No peeking at results early. A quarter's numbers count only from the day the company announced them. A company that announced its September quarter on 30 October 2026 is used from 30 October, never from 30 September. When the announcement date is missing, the AI waits for SEBI's deadline: 45 days after the quarter, 60 days after the year end.
- Valuation every day. P/E and the other ratios are worked out every day from that day's close and the latest numbers public that day. A share at ₹1,000 with ₹50 of profit per share over the last 12 months has a P/E of 20.
- Banks and finance companies report differently. Rules on debt, operating margin, ROCE, interest cover and EV/EBITDA are never true for them; profit growth, ROE, price to book and ownership work as usual.
- Dates. Company numbers start in 2018–2019, so a search that uses them starts in August 2019 even when you choose 10 years: about 4 years searched and the last 3 years unseen. With fewer years to learn from, fewer of these strategies pass every test — most often with Short term and On signal.
- Universes. Company numbers cover the Nifty 500 stocks. For ETFs the Company Fundamentals choice is greyed out.
- Code. A strategy that uses Company Fundamentals works for alerts and Investing Terminal as usual, but its code comes only as a JSON file of the rules — not as Python or TradingView code.
The results
#The results look like trading results. At the top: Strategies generated, Passed every test, History used and how much The index grew in a year. Each row shows the rule in short (Entry or Picks, then Exit), Trades, Net profit ₹, CAGR, Win %, Max DD, Calmar, PF and Sharpe, then one badge for each of the 8 tests. Calmar (the Calmar ratio) is CAGR ÷ max drawdown — 30% a year with a 15% fall is 2.0; higher is steadier, and Steady returns sorts by it. Filter also offers a minimum Calmar ratio.
Profit and drawdown are for the whole portfolio on its starting capital. The numbers start before costs, as in trading. Tick Brokerage, Taxes & charges (delivery STT, stamp duty, exchange and SEBI fees, GST) or Slippage above the list, or on a strategy's page, to take them out; your ticks are kept for that search or strategy. The search itself always took out delivery charges when it tested the strategies.
Show first: Steady returns | Higher returns. Every search finds half of its strategies for steady returns (good growth with small falls) and half for the highest returns. The switch above the list only changes the order: Steady returns (the default) puts growth divided by the deepest fall first, Higher returns puts the highest CAGR first. Higher returns usually come with deeper falls — check Max DD before you choose.
ETFs often open at an unreal price, so on those days we use the previous day's close as the opening price. Sudden one-trade spikes during the day are ignored too. Stock prices are used as they are.
A search shows at most the 3 best strategies that pass every test, from both kinds. Two strategies whose daily ups and downs move almost together count as one.
Rows that pass every test are green. Rows that pass the 4 most important tests are orange, under Considerable strategies. When a search has neither, the best of the rest is shaded violet and the list is headed Strategies.
The 8 tests for investing. The bar is the index of the stocks you chose (for example Nifty Midcap 150 for midcap stocks), not just making money:
- Unseen years hold up and beat the index — in the most recent years, which the search never saw, it kept its growth and beat the index.
- Beats random picks — it beats almost all portfolios built the same way from random rules or random rankings.
- Survives bad luck in the order of months — histories drawn from its own months, in other orders, still end in profit.
- Nearby settings also work — slightly different settings work too; not one lucky number.
- Survives buying and selling a day late — buying and selling a day late still makes money and beats the index.
- Beats the index in most periods — it made money and beat the index in most periods, not in one lucky stretch.
- Walk-forward — settings chosen only on older years kept beating the index in the years that followed.
- Not dependent on a few stocks — tested on different subsets of the stocks, it still made money and beat the index.
An investing strategy's page
#Click a row for the full report: the CAGR, Max drawdown and Final value next to the index's, the Sharpe ratio, Win rate, Profit factor and Average hold, and the tabs Overview, Robustness, Monte Carlo, Seasonality, Holdings & stocks and Trades. Holdings & stocks shows what the strategy holds now, its Next buys, and which stocks the money came from.
The buttons: Save, Run robustness tests · 1 credit, Update to the latest data · 1 credit (when newer prices exist), Add to portfolio, Buy · 499 credits and Create alert. The rules stay blurred until you buy the strategy; before that, Create alert asks you to buy it (or to log in first). Once bought, Create alert opens My alerts and starts an alert that tells you before every open which stocks it buys and sells (up to 100 alerts for 499 credits a month). Alerts belong on the strategy's page; the rows of a search do not have the button.
Edit & re-test (once bought) works as in trading: remove a rule, change the stop loss, target, trailing stop, time exit, the stocks at a time, the rebalance or the dates, and press Apply and re-test · 1 credit to see the new numbers. Save edited version keeps it as a new saved strategy; the original stays as it was.
On a purchased investing strategy, press Deploy beside Alert to open Investing Terminal. It supports daily-signal and scheduled momentum strategies. Review the imported rules, allocate capital per broker account and choose any starting model stocks before enabling entries. You need the Investing Terminal on an active trial, paid or Platinum account. A free trial deploys in Forward Testing; if you signed up on the Strategy Finder, your first deploy starts a 7-day Investing Terminal trial. There is no separate deployment fee or My Alerts subscription requirement. See Investing Terminal.
My lists: search on your own stocks
#My lists (in the left menu) lets you make your own universes. Press Add list, type a name in List name at the top (for example My banks or Sector ETFs), and tick stocks and ETFs from the two tabs — every Nifty 500 stock and every NSE ETF is there. Liquid only shows just the 33 ETFs of the ETFs universe; many of the others hardly trade.
A list holds up to 100 stocks and ETFs, and you can keep up to 20 lists. A search needs at least 5. Find strategies on a list opens the Investing form with that list chosen, and your lists also appear under My lists in Universe.
Every time you save a list it becomes a new version. A strategy found on a list keeps the stocks it was found on, so editing the list later never changes its results or its alerts.
What Investing costs?
#- A search uses 1 credit for each strategy it generates — 200 credits for a search of 200 — the same as trading. Visitors cannot run investing searches; a free account can.
- Buy costs 499 credits and opens the strategy's rules for good.
- Run robustness tests, Update to the latest data and each Edit & re-test cost 1 credit each.
- Alerts: up to 100 alerts for just 499 credits a month, on the My alerts page.
What it cannot do?
#- It does not buy or sell anything. It finds and tests portfolios; placing the orders is your decision.
- It cannot promise the future. A portfolio that beat the index for 10 years can lag it for the next 2.
- It is not investment advice. It does not read news, and its company numbers are only those in the results companies file.
- Historical membership reduces survivorship bias, but stocks without stored price history remain unavailable (see Stocks, ETFs and the price history).
If something looks wrong
#- The button says Create a free account to find investing strategies — investing searches need an account. Create one, or log in.
- The button says Buy credits to generate strategies — your balance is below 10 credits.
- My list is greyed out in Universe — it has fewer than 5 stocks and ETFs. Add more on My lists.
- Few strategies in green — common with small universes and short dates. Try a bigger universe, or keep the 10-year dates.
- It says company numbers are not available for this list yet — the list is mostly ETFs or stocks outside the Nifty 500. Choose a Nifty universe, or untick Company Fundamentals.
- My search starts in 2019, not on the date I chose — company numbers start then (see Company Fundamentals).
- I don't see How long do you usually hold? — it is not asked when Company Fundamentals is ticked; the AI tries every holding period.