• Products
  • Community
  • Markets
  • Brokers
  • More
Get started
  • Community
  • /Indicators and strategies
  • /Fiidiidata

Fiidiidata

FII and DII Data Greetings to All of you. The script is plotting FII & DII activity of buying or selling on Daily TimeFrame of Nifty Spot. Will display only on Nifty 50 Spot on Daily TimeFrame . Codes are hardcoded because novice to PineScripting. Data is collected from NSE website on daily basis, it's an manual process. Observation: Start date of observation is 16th Nov., 2021. FII bought worth 14,240 & kept buying for next 2 days & bought stocks worth 17,760 crores. But market kept falling as we can see in the chart. Now FII's started selling & in next 5 days they sold stocks worth 18,698 crores. What makes sense from this is might have cut their losses early. FII's kept selling & Nifty made an low of 16410. FII had sold stocks worth -21,954 crores. FII are negative & the top green box which you see is FII & DII activity from 19th Oct 2021 when Nifty Spot made an High of 18604.45. As of 14th Jan.,2022 they are still Negative & DII are extremely positive. NOTE: DII have not sold any thing yet. They are PLUS +74,428 Crore . Now if they start selling we need to take care of our portfolio. Hope the information might help in someway. Take Care & Stay Safe why because Health is Wealth. PS: If you have any better way to improve the hard coded codes please enlighten. Thank you in advance
Pine Script® indicator
by nanujogi
Updated
4343

Select market data provided by ICE Data services. Select reference data provided by FactSet. Copyright © 2025 FactSet Research Systems Inc.SEC fillings and other documents provided by Quartr.© 2025 TradingView, Inc.

More than a product
  • Supercharts
Screeners
  • Stocks
  • ETFs
  • Bonds
  • Crypto coins
  • CEX pairs
  • DEX pairs
  • Pine
Heatmaps
  • Stocks
  • ETFs
  • Crypto
Calendars
  • Economic
  • Earnings
  • Dividends
More products
  • Yield Curves
  • Options
  • News Flow
  • Pine Script®
Apps
  • Mobile
  • Desktop
Community
  • Social network
  • Wall of Love
  • Refer a friend
  • House Rules
  • Moderators
Ideas
  • Trading
  • Education
  • Editors' picks
Pine Script
  • Indicators & strategies
  • Wizards
  • Freelancers
Tools & subscriptions
  • Features
  • Pricing
  • Market data
Trading
  • Overview
  • Brokers
Special offers
  • CME Group futures
  • Eurex futures
  • US stocks bundle
About company
  • Who we are
  • Space mission
  • Blog
  • Careers
  • Media kit
Merch
  • TradingView store
  • Tarot cards for traders
  • The C63 TradeTime
Policies & security
  • Terms of Use
  • Disclaimer
  • Privacy Policy
  • Cookies Policy
  • Accessibility Statement
  • Security tips
  • Bug Bounty program
  • Status page
Business solutions
  • Widgets
  • Charting libraries
  • Lightweight Charts™
  • Advanced Charts
  • Trading Platform
Growth opportunities
  • Advertising
  • Brokerage integration
  • Partner program
  • Education program
Community
  • Social network
  • Wall of Love
  • Refer a friend
  • House Rules
  • Moderators
Ideas
  • Trading
  • Education
  • Editors' picks
Pine Script
  • Indicators & strategies
  • Wizards
  • Freelancers
Business solutions
  • Widgets
  • Charting libraries
  • Lightweight Charts™
  • Advanced Charts
  • Trading Platform
Growth opportunities
  • Advertising
  • Brokerage integration
  • Partner program
  • Education program
Look FirstLook First