PROTECTED SOURCE SCRIPT
MCAP-Turnover-FF vs Nifty50 Performance Jitendra

🧩 Script Summary:
Title: MCAP-Turnover-FF vs Nifty50 Performance Jitendra
Purpose:
This indicator calculates and visualizes key financial and liquidity metrics for a stock, comparing it against the NIFTY50 index and highlighting significant conditions like high turnover, liquidity, and weekly breakouts.
This indicator measures liquidity and trading activity by calculating and plotting daily turnover—the total traded value per bar (price × volume). It also computes:
A comparison of stock performance vs NIFTY50 index is included, alongside weekly breakout detection.
All metrics are displayed in a configurable table or text summary, with color-coded highlights to quickly spot key trends like spikes in turnover, outperforming stocks, or breakouts.
How To use and Change Setting
Complete Setting Details
https://drive.google.com/file/d/11Z7j74t-c7YuepEsC9TN6_Nb24N8j9Go/view?usp=drive_link
📊 Main Features & Metrics Displayed:
Market Capitalization (Mcap):
Free Float:
Turnover Metrics:
20-bar SMA of turnover.
High Turnover Quarter (HTQ):
TOMCAP (%):
Turnover-to-FreeFloat Ratio (%):
1-Min Liquidity (Optional):
Performance vs NIFTY50:
Weekly Breakout Detection:
🧠 Data Fetching / Input Logic:
TSO(Total Shares Outstanding)
FSO(Float Shares Outstanding)
NIFTY Close
Previous Week High/Low
1-Min Liquidity
Thanks.
Please let me know in comment if You Required any Additional Information
Title: MCAP-Turnover-FF vs Nifty50 Performance Jitendra
Purpose:
This indicator calculates and visualizes key financial and liquidity metrics for a stock, comparing it against the NIFTY50 index and highlighting significant conditions like high turnover, liquidity, and weekly breakouts.
This indicator measures liquidity and trading activity by calculating and plotting daily turnover—the total traded value per bar (price × volume). It also computes:
A comparison of stock performance vs NIFTY50 index is included, alongside weekly breakout detection.
All metrics are displayed in a configurable table or text summary, with color-coded highlights to quickly spot key trends like spikes in turnover, outperforming stocks, or breakouts.
How To use and Change Setting
Complete Setting Details
https://drive.google.com/file/d/11Z7j74t-c7YuepEsC9TN6_Nb24N8j9Go/view?usp=drive_link
📊 Main Features & Metrics Displayed:
- Toggle in setting to Enable Disable Settings or Not Required Data
- SMA length (for avg turnover)
- Lookback bars (for performance)
- Toggle for each metric visibility
- Toggle for dark mode
- Table layout (vertical or horizontal)
Market Capitalization (Mcap):
- Calculated from total shares outstanding × close price.
- Formatted in cr, K cr, or L cr.
Free Float:
- Based on float shares outstanding × close price.
Turnover Metrics:
- Turnover = volume * close (converted to crore).
20-bar SMA of turnover.
- Percentage change from previous bar.
High Turnover Quarter (HTQ):
- Checks if current turnover is highest in past 52 bars.
TOMCAP (%):
- Turnover as % of Market Cap.
Turnover-to-FreeFloat Ratio (%):
- Shows how much turnover compares to the available float.
1-Min Liquidity (Optional):
- Fetches 1-min resolution liquidity.
- Shows average over 20 bars.
Performance vs NIFTY50:
- Calculates stock performance vs NIFTY over lookbackBars (default 5).
- Highlights Outperform or Underperform.
Weekly Breakout Detection:
- If close is above previous week’s high → "Breakout ↑"
- Below low → "Breakdown ↓"
- Else → "In Range"
🧠 Data Fetching / Input Logic:
TSO(Total Shares Outstanding)
`request.financial(..., "TOTAL_SHARES_OUTSTANDING")` | Used for Market Cap and Free Float Pct
FSO(Float Shares Outstanding)
`request.financial(..., "FLOAT_SHARES_OUTSTANDING")` | Used for Free Float calculation
NIFTY Close
`request.security("NSE:NIFTY", timeframe.period, close)` | To compute stock vs index performance
Previous Week High/Low
`request.security(syminfo.tickerid, "W", high[1]/low[1])` | For weekly breakout logic
1-Min Liquidity
`request.security(syminfo.tickerid, "1", volume * close)` | For short-term liquidity insights
Thanks.
Please let me know in comment if You Required any Additional Information
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。