Momentum Leader ATR Risk MapMomentum Leader ATR Risk Map is a position-management indicator designed to help traders visualize where a leading stock is trading relative to its 50-period SMA and ATR-based extension levels.
The goal is not to generate automatic buy or sell signals. Instead, this tool provides a structured risk map for momentum leaders by combining:
• ATR extension from a configurable SMA baseline
• Positive extension bands for profit-taking and risk management
• Negative extension bands for pullback, add-zone, and damage-control reference levels
• Relative strength scoring versus a benchmark such as SPY
• SMA trend status
• Optional liquidity, sector RS, and industry RS filters
• Nearest upside and downside map levels shown directly in the table
By default, the indicator uses a Daily anchor and 50-period SMA baseline, making it suitable for swing trading and longer-term position management in momentum leaders. A 24-hour / 1440-minute anchor is also available for users who prefer to evaluate instruments with extended-hours or near-24-hour trading behavior.
Core Risk Map Levels:
Positive Extension Zones:
• +2.95x ATR: High-RS leader zone
• +4.56x ATR: Super momentum zone
• +5.27x ATR: Approximate 2σ risk zone
• +7.83x ATR: Approximate 3σ profit zone
• +10.00x ATR: Extreme / trail-only zone
Negative Extension Zones:
• -1.00x ATR: Pullback
• -2.00x ATR: Add zone
• -3.00x ATR: Deep pullback
• -4.56x ATR: Damage control
• -5.27x ATR: Washout / reclaim-needed zone
The table is designed to answer a few practical questions quickly:
• Is the stock still acting like a leader?
• Is price extended, normal, or damaged relative to the SMA/ATR map?
• Is the SMA trend still constructive?
• Is relative strength still intact across multiple lookback windows?
• Where is the nearest upside ATR map level?
• Where is the nearest downside ATR map level?
Relative Strength Logic:
The RS Score compares the current symbol against a user-selected benchmark over 21, 63, 126, and 252 anchor bars. A score of 4 of 4 means the symbol is outperforming the benchmark across all four lookback windows.
Optional Advanced Inputs:
The indicator includes optional sector and industry RS inputs for users who want to manually compare the stock against relevant ETFs such as XLK, SMH, IGV, XBI, XLE, XLF, or other sector/industry proxies. These are turned off by default to keep the tool frictionless.
A liquidity filter is also available, but it is turned off by default so the indicator can remain focused on the risk map itself.
Credit and Inspiration:
This indicator was inspired by concepts shared by several market educators and traders:
• Jeff Sun / @jfsrev
x.com
• @i_manage_risk
x.com
• StratLab / @StratLaboratory
x.com
Their publicly shared work on relative strength, momentum leadership, ATR extension frameworks, risk management, and scaling into or out of leaders helped shape the conceptual foundation for this tool.
This script is an independent implementation. It is not affiliated with, sponsored by, or endorsed by Jeff Sun, @i_manage_risk, StratLab, or @StratLaboratory, and it is not intended to replicate their complete methodologies.
Suggested Use:
This indicator is best used as a position-management overlay for stocks that have already been identified as potential leaders through a separate screening process. It can help define areas where the stock may be:
• Acting normally within a leadership trend
• Becoming extended into profit-taking zones
• Pulling back toward constructive support
• Losing momentum or entering damage-control territory
Important Notes:
ATR extension levels are reference zones, not guaranteed targets or support/resistance levels. A stock can remain extended for longer than expected, especially during strong momentum regimes. Conversely, deep pullbacks can signal deterioration rather than opportunity if leadership and trend structure are no longer intact.
Use this tool alongside broader market context, earnings risk, volume behavior, trend structure, and personal risk-management rules.
This indicator is for educational and informational purposes only and does not constitute financial advice. مؤشر

Portfolio [Afnan]🚀 Portfolio - Advanced Portfolio Management Indicator 📊
A game-changing portfolio management tool designed to help traders stay on top of their positions and manage risk efficiently. This indicator combines detailed tracking, real-time analytics, and visual clarity to ensure traders are well-equipped for the dynamic world of financial markets.
📈 Key Features 💡
Track up to 14 positions with ease
Real-time Profit & Loss (P&L) updates and risk metrics
Visual representation of entry, stop-loss (SL), and target levels
Alerts for stop-loss breaches and target achievements
Comprehensive portfolio summaries for quick analysis
Customizable options to suit individual trading styles
🔍 Main Components ⚙️
📊 1. Position Tracking
Detailed position data: entry, stop-loss, target levels, and more
Real-time risk-reward ratios
Insights into position size and exposure percentages
Continuous updates on P&L in real-time
📉 2. Visual Indicators
Clear visual markers for entry, SL, and target prices
Price labels with detailed percentage changes
Indicators that show the current position's market status
💼 3. Portfolio Summary
Aggregate account values and exposure
Summarized P&L metrics across all positions
Risk management insights for better decision-making
Daily performance tracking to evaluate strategies
⚠️ 4. Alert System
Instant notifications for stop-loss breaches
Alerts when target prices are hit
Alerts operate for the current chart symbol
⚡ Customization Options 🎨
Show or hide specific data columns
Adjust the table's position and size for better visibility
Personalize color schemes and text styles
Switch between full portfolio view and single symbol focus
📱 How to Use 📝
Input your positions in the indicator's settings
Enable or disable specific positions dynamically
Customize display preferences to your liking
Set up alerts for proactive risk management
Monitor all your trading activities in one comprehensive dashboard
📌 Important Notes ℹ️
Compatible with any trading symbol
Updates seamlessly during market hours
Alerts are specific to the currently active chart symbol
Maximum capacity: 14 simultaneous positions
Created by: @AfnanTAjuddin
⚠️ Disclaimer ⚠️
This indicator is a tool for informational purposes only. Ensure all calculations are verified and consult a financial professional before making investment decisions.
🎯 "Stay disciplined, trade smart, and let data guide your decisions." 📊 مؤشر

مؤشر

RedK Portfolio Tracker [Table Version]RedK Portfolio Tracker is a simple tool that enables a trader to monitor and track a portfolio of up to 10 holdings (+ free cash) in real time - directly on the chart
Now that we have tables in Pine, this is a table version of my previously published Portfolio Tracker
- The table works better in visualizing the various table elements (title row, column labels..etc), and is more flexible in allowing color coding of gain/loss. for many traders, myself included, these simple visual signals are valuable in helping timely trading decisions.
I'll come back and improve this script as i'm really enjoying the ability to track things this way - if you liked this and want to receive the updates, please flag / favorite it below and you'll get notified when i publish new versions.
Some new features for the table version:
- ability to change default color of various table elements (text, default background, title background, gain/loss color, border..etc)
- ability to change the text size to suit your monitor and visual preference
- ability to change table position
The "portfolio-specific" inputs are similar to the previous version - we get the ability to enter up to 10 positions, entry price and qty, then also add the free cash
- also a change from prior version, this table will plot by default on the price chart, but will have no scale - the portfolio ploy itself will also show (blue/orange stepping line) but the PnL plot will be hidden by default -- how we plot the portfolio & P/L is possibly one of the areas for improvements for next versions - also thinking of other adding valuable data i track in my own trading, like the quarterly dividends for the held positions .. we'll see - this is just a start
hope some will find this useful. feel free to comment. مؤشر

مؤشر

RedK_Portfolio Tracker v2: few enhancements and display optionsThis is an update for the PTracker v1 that I published couple of days ago. wanted to publish this as a separate script to get a chance to show how the new Portfolio Summary Infobox can be displayed on the price chart as an option. In my opinion, that info box is the most important element in this tool and that's the piece i was most looking for.
quick note here: you can track your portfolio (if not so many positions) by entering something like (without the brackets) in TradingView's chart symbol area - TradingView will resolve these symbols and chart the total -- there's a nice post by our friend @boji1 about this in a lot more details - however, that wouldn't show the stats that i need to look at to track my portfolio on daily basis.
i also made couple of other enhancements, like adding the ability to include "free cash" in the portfolio - While this free cash value will impact the Total P/L and P/L %, as part of the overall portfolio (and the denominator), it will not impact the "cost of positions" or the (current) "value of positions" -- also "Cash" will not count towards the total 10 positions that we can track with this tool.
Using Portfolio Tracker as a floating panel on the price chart
====================================================
By default, when the Portfolio Tracker is added to the chart, it will occupy its own lower panel like the picture above.
if your charts are already busy (like mine :)) - you most probably already have a couple of lower studies and it's crowded there.
in this case, you can use the Object Tree tool after adding the PTracker, to drag it onto the price panel, or you can also do that by right-clicking on the infobox and choose to move up to the price panel.
when you do that, remember to also use the Style settings of PTracker to hide both Portfolio and PnL plots, and choose Scale = no scale - this way you get the infobox to work like a floating panel on the price chart
here's a screenshot that shows this scenario - also shows how the infobox color can be easily changed from the PTracker settings to suit your chart background and for best visibility
i hope this is useful in your trading - i look forward to @TradingView team surprising us with a real portfolio tracking capability soon :)
good luck. مؤشر
