Add preset index lists for quick symbol selection#10
Open
tanishq-rocks wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Preset Index List dropdown to all scanner/screener indicators, letting users scan a full Nifty index instead of manually pasting symbols into the Notes field.
Preset Index Listinput (group: Preset Index Lists) with 22 options:None (use Notes), Nifty 50, Next 50, 100, 200, 500, LargeMidcap 250, Midcap 50/100/150, Smallcap 50/100/250, Microcap 250, Bank, Private Bank, PSU Bank, Auto, Finance, FMCG, Metal, Pharma, Realty.request.security()allows at most 40 calls per script, each index is pre-split into 40-symbol Pages (Page 1 (1-40),Page 2 (41-80), ...), selected via a matching<List Name> — Pagedropdown.effective_symbolsnow resolves via aswitchon the selected list/page, falling back to the existing manually-pastedi_symbolsNotes input whenNone (use Notes)is selected — so existing behavior/configs are preserved by default.Why
Manually pasting up to 40
EXCHANGE:SYMBOLpairs into the Notes field for every scan was tedious and error-prone. This adds ready-made Nifty index/sector symbol lists so users can scan a whole index in one click, while still supporting custom symbol lists as before.Files changed
ICT Displacement Candles/[Scanner] ICT Displacement Candles.txtICT Equal Highs and Lows/ICT Equal Highs and Lows with Screener.txtICT Fair Value Gap (FVG)/Scanner - ICT Fair Value Gap (FVG) Scanner.txtICT Liquidity Sweep Pattern/Scanner - ICT Liquidity Sweep Pattern Scanner.txtICT Liquidity Void/[Scanner] ICT Liquidity Void Fill Scanner.txtICT Liquidity Void/ICT Liquidity Void Screener.txtICT Market Structure Shift (MSS)/ICT Market Structure Shift (MSS) Screener.txtICT Mitigation Block/[Scanner] ICT Mitigation Block Scanner.txtMomentum Setup - RSI Direction Confirmation Scanner/... Bajaj Momentum Investing Setup with Scanner.txt.../[Scanner] Momentum Setup - RSI Directional Momentum.txtOption Buying Scalping Setup/... Option Buying Scalping Setup with Scanner.txtOption Buying Scalping Setup/... Vijay Thakare Option Buying Scalping Setup.txt(minor unrelated one-line fix)Sideways Market Skipper/... Sideways Market Skipper Scanner.txtICT Retracement to Order Block/... ICT Retracement to Order Block with Screener.txt.../... Market Profile by RicardoSantos).txtTesting done
None (use Notes)and verify it still scans the pasted Notes symbols as before.Nifty 50) and each of its Page options, and confirm the screener table populates with the expected symbols.request.security()call-limit errors.