Create a Nifty 50 technical screener in Excel using a constituent list and MarketXLS India. The plugin evaluates your symbol range against the rules you specify.
Try it in your own spreadsheet
Get the free MarketXLS sample workbook (.xlsx).
No account needed. MarketXLS live data requires a paid plan. Preview workbook
Get MarketXLS India: plans and subscription · See the India Excel add-in
Start with this formula
After connecting the required broker in the India add-in, enter:
=MXLSIN.Scan(A2:A51, "RSI(14) > 70", "day")
Use the example as a starting point and replace its instrument, date range or cell references with your own inputs. Historical dates in examples are sample periods; expiry-specific symbols must refer to a valid contract.
Set up the worksheet
- Open Excel and install MarketXLS India from the add-in marketplace.
- Sign in with your MarketXLS India account. For broker data, connect Zerodha or Angel One using the add-in panel. Use the broker named by a broker-specific formula.
- Enter the formula in an empty area. Leave adjacent cells clear for any table or multi-cell output.
- Confirm the instrument and settings before extending the worksheet.
Put the current Nifty 50 constituents in A2:A51. Verify and maintain that list from the index provider rather than assuming it stays fixed. Add indicator columns for a small selection of stocks before running Scan over the full range.
Build the working example
Use one interval across the sheet. For example, separate a daily trend screen from a fifteen-minute momentum screen instead of mixing the two in a single unlabeled list. Keep the complete universe on one sheet and the matching output on another.
Functions and syntax
These examples use the India namespace, MXLSIN.. Square brackets in a syntax line indicate optional arguments; do not type the brackets into Excel. Keep text arguments in quotation marks and use cell references when you want editable inputs.
Scan
Scans a list of up to 500 symbols and returns the ones where your rule holds on the latest candle.
Syntax:
MXLSIN.Scan(symbols, rule, [interval], [output], [mode], [broker])
Example:
=MXLSIN.Scan(A2:A51, "RSI(14) > 70", "day")
RSI
Relative Strength Index (Wilder) on live broker candles. Returns the latest value or a dated series.
Syntax:
MXLSIN.RSI(symbol, [interval], [period], [output], [mode], [broker])
Example:
=MXLSIN.RSI("INFY", "day", 14)
EMA
Exponential moving average on live broker candles.
Syntax:
MXLSIN.EMA(symbol, [interval], [period], [output], [mode], [broker])
Example:
=MXLSIN.EMA("INFY", "15m", 21)
Signal
Returns TRUE when your rule holds on the latest candle. Combine indicators with AND / OR.
Syntax:
MXLSIN.Signal(symbol, rule, [interval], [mode], [broker])
Example:
=MXLSIN.Signal("INFY", "RSI(14) < 30 AND CLOSE > EMA(200)", "day")
Check the result
The plugin scans the range you provide; the formula does not guarantee that those symbols are the latest index constituents. An apparent absence can also mean a symbol needs correction or history is unavailable. Check those cases before interpreting the result.
If Excel reports #NAME?, confirm the India add-in is loaded and the function name is spelled correctly. If a table reports #SPILL!, clear the cells in its output area. For missing broker data, check the connection in the add-in panel, verify the symbol, and test one request before expanding the sheet. Do not replace an error with zero when zero would change your analysis.
Can I reuse the sheet for a different watchlist?
Yes. Replace the symbol range and keep the rule and interval visible. Rename the worksheet so the old Nifty 50 label does not describe a different universe.
Get this working in your Excel
Choose a MarketXLS India subscription, install the India add-in, and follow the steps above. The pricing page lists the current subscription options; broker access requirements are separate from the spreadsheet formulas.
Use the India function library for the complete parameter reference, or contact the India team with the formula, instrument and error message if you need setup help. Never send broker passwords or access tokens.
Continue with the India Excel workflow series for related guides.
