PORTFOLIO TABLE Simple [Titans_Invest]PORTFOLIO TABLE Simple
This is a simple table for you to monitor your assets or cryptocurrencies in your SPOT wallet without needing to access your broker’s website or wallet app.
⯁ HOW TO USE THIS TABLE❓
You only need to select the asset and enter the amount of each one.
The table will show how much you have of each asset and the total value of your portfolio.
You’ll be able to monitor up to 39 assets in real time.
⯁ CONVERT VALUES
You can also activate and select a currency for conversion.
For example, cryptocurrency assets are calculated in US dollars, but you can select euros as the conversion currency.
The values originally in dollars will then be displayed in euros.
⯁ Track your Portfolio in real time:
⯁ Add your local Currency to Convert Values:
⯁ Follow your Portfolio Live:
___________________________________________________________
📜 SCRIPT : PORTFOLIO TABLE Simple
🎴 Art by : @Titans_Invest & @DiFlip
👨💻 Dev by : @Titans_Invest & @DiFlip
🎑 Titans Invest — The Wizards Without Gloves 🧤
✨ Enjoy!
___________________________________________________________
o Mission 🗺
• Inspire Traders to manifest Magic in the Market.
o Vision 𐓏
• To elevate collective Energy 𐓷𐓏
Pengurusan portfolio
Credit Spread Monitor: HY & IG vs US10Y📉 Credit Spread Monitor: HY & IG vs US10Y
This indicator provides a dynamic and visual way to monitor credit spreads relative to the US Treasury benchmark. By comparing High Yield (HY) and Investment Grade (IG) corporate bond yields to the 10-Year US Treasury Yield (US10Y), it helps assess market stress, investor risk appetite, and potential macro turning points.
🔍 What It Does
-Calculates credit spreads:
HY Spread = BAMLH0A0HYM2EY − US10Y
IG Spread = BAMLC0A0CMEY − US10Y
-Detects macro risk regimes using statistical thresholds and yield curve signals:
🔴 HY Spread > +2σ → Potential financial stress
🟠 Inverted Yield Curve + HY Spread > 2% → Recession risk
🟢 HY Spread < 1.5% → Risk-on environment
-Visually highlights conditions with intuitive background colors for fast decision-making.
📊 Data Sources Explained
🔴 High Yield (HY): BAMLH0A0HYM2EY → ICE BofA US High Yield Index Effective Yield
🔵 Investment Grade (IG): BAMLC0A0CMEY → ICE BofA US Corporate Index Effective Yield
⚪ Treasury 10Y: US10Y → 10-Year US Treasury Yield
⚪ Treasury 2Y: US02Y → 2-Year US Treasury Yield (used to detect curve inversion)
✅ This Indicator Is Ideal For:
Macro traders looking to anticipate economic inflection points
Portfolio managers monitoring systemic risk or credit cycles
Fixed-income analysts tracking the cost of corporate borrowing
ETF/Asset allocators identifying shifts between risk-on and risk-off environments
🧠 Why It's Useful
This script helps visualize how tight or loose credit conditions are relative to government benchmarks. Since HY spreads typically widen before major downturns, this tool can provide early warning signals. Similarly, compressed spreads may indicate overheating or complacency in risk markets.
🛠️ Practical Use Case:
You’re managing a multi-asset portfolio. The HY spread jumps above +2σ while the yield curve remains inverted. You decide to reduce exposure to equities and high-yield bonds and rotate into cash or Treasuries as recession risk rises.
📎 Additional Notes
Sourced from FRED (Federal Reserve Economic Data) and TradingView’s bond feeds.
Designed to work best on daily resolution, using open prices to ensure consistency across series with different update timings.
This script is original, not based on built-in or public templates, and intended to offer educational, statistical, and visual insights for serious market participants.
🧮Calculadora de Entrada/ApalancamientoThis tool automatically calculates the required position size and leverage for a trade based on the user's defined risk amount, stop loss percentage, and capital allocated for the operation.
📊 It displays the following data in a clean table at the bottom-right corner of the chart:
🟨 Required position size
⚡ Leverage needed
💰 Capital used in the trade
🟥 Risk amount per trade
Perfect for traders who manage their capital and risk with precision.
Values update automatically every few candles.
💡 Recommended for traders using fixed risk management strategies (% of capital) and who want a quick visual reference for executing safe and efficient trades.
Gestión Visual Interactiva + Línea Arrastrable🧠 Interactive Trade Management + Smart Take Profit
This script is designed to manage trades visually and intuitively, combining the best of day trading and swing trading strategies.
✅ Key Features:
Entry and Stop Loss can be configured from the panel or by directly dragging the lines on the chart.
Automatic Take Profit levels calculated based on multiples of Risk (TP1, TP2, TP3).
Smart trailing stop system that activates from a defined level and adjusts dynamically.
Support for both LONG and SHORT trades with adaptive logic.
Integrated alerts for TP1, TP2, Trailing Stop, and Stop Loss.
🎯 Ideal for:
Traders who want to let part of their position run beyond the first target.
Trades where you want to turn a day trade into a swing trade partially.
Those who seek a visual and practical control of their trade management directly on the chart.
💡 Recommendation: Use the configuration panel to define initial values and adjust visually with the interactive lines for maximum flexibility.
Indicatore PAC con Dividendi v3Indicator created to estimate long-term investment on distribution ETFs. With start and end date, and estimated coupon.
It arises from the need to create a portfolio that generates a cash flow to be passed on as an inheritance, a buy and hold. I hope it can be of help to others.
Livelli di Sconto da All Time HighInspired by the philosophy of the discount buy, this indicator give the discount levels from all time. In the last times, in which there's a massive amount money flowing in the market due to massive use of etf. Ther usual metrics to buy assets are difficult to use. In my opinion, after a strong correction, the prices usualy goes up again, except for some strong macro event.
So, I hope this indicator could hepl, for some trending growing market, to help to take decisions for extra buy in pac/dca plan.
Market Correlation Monitor v6 simpleIf gold and VIXM (medium term volatility) are up, we're in a risk-off regime where defensive investments do best. Likely at that time, SPY and the Nasdaq (QQQ or XLK) are down, and vice versa.
But typical asset relationships can change in volatile times like this. Using Claude and pinescript, I created a market correlation view indicator that can show you whether we're risk on or risk off, and what the relationships between oil, gold, SPY, and bitcoin are right now. It tells you when relationships decouple. Fascinating stuff, for me, as I was learning these things even exist for the first time.
Market Correlation Monitor v6 simpleIf gold and VIXM (medium term volatility) are up, we're in a risk-off regime where defensive investments do best. Likely at that time, SPY and the Nasdaq (QQQ or XLK) are down, and vice versa.
But typical asset relationships can change in volatile times like this. Using Claude and pinescript, I created a market correlation view indicator that can show you whether we're risk on or risk off, and what the relationships between oil, gold, SPY, and bitcoin are right now. It tells you when relationships decouple. Fascinating stuff, for me, as I was learning these things even exist for the first time.
Variación vs Cierre MáximoChange in the highest closing price of period N versus the current closing price to see the percentage change, ideal for setting an alarm when the price rises or falls more than a certain value.
Average Daily LiquidityIt is important to have sufficient daily trading value (liquidity) to ensure you can easily enter and, importantly, exit the trade. This indicator allows you to see if the traded value of a stock is adequate. The default average is 10 periods and it is common to average the daily traded value as both price and volume can have spikes causing trading errors. Some investors use a 5 period for a week, 10 period for 2 weeks, 20 or 21 period for 4 weeks/month and 65 periods for a quarter. You need to ascertain your buying amount such as $10000 and then have the average daily trading value be your comfortable moving average more such as average liquidity is more than 10 x MA(close x volume) or $100000 in this example. The value is extremely important for small and micro cap stocks you may wish to purchase.
Buy/Sell Signal Indicatorrength Calculation: The script checks how often the price has interacted with each support or resistance level within a certain look-back period (loopback). The more interactions, the stronger the support or resistance is considered.
SBC ProtfoSBC Portfo PNL Indicator
Description
The SBC Portfo PNL Indicator is a powerful and user-friendly tool designed specifically for Hebrew-speaking traders to track the Profit and Loss (PNL) of their stock portfolios directly on TradingView charts. This indicator allows users to manage up to **5 distinct portfolios**, each capable of holding an **unlimited number of stocks** with **unlimited buy commands**. It provides a seamless way to input and analyze purchase data, making it ideal for traders who want to monitor their portfolio performance in real-time.
Key Features
- **Multi-Portfolio Support**: Create and track up to 5 separate portfolios, allowing flexibility for different trading strategies or accounts.
- **Unlimited Stock Entries**: Each portfolio can include an unlimited number of stocks, with no restrictions on the number of buy commands per stock.
- **Detailed Buy Commands**: For each stock, input the following data:
- **Stock Ticker**: The symbol of the stock (e.g., `AAPL`, `TSLA`).
- **Buy Price**: The price at which the stock was purchased (e.g., `150.25`).
- **Buy Amount**: The quantity of shares purchased (e.g., `10`).
- **Hebrew-Friendly Interface**: Designed with Hebrew-speaking users in mind, ensuring intuitive navigation and clear instructions in the TradingView settings dialog.
- **Customizable PNL Tracking**: Visualize the profit and loss of your portfolios directly on your TradingView charts, with real-time updates based on market data.
How to Use
1. **Add the Indicator**:
- Open TradingView, go to the chart, and add the "SBC Portfo PNL Indicator" from the Indicators menu.
2. **Configure Portfolios**:
- Open the indicator’s settings dialog.
- For each portfolio (up to 5), manually enter the portfolio data in the provided input fields using the following format:
```
PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
```
**Example**:
```
Portfolio1:AAPL:150.25x10;TSLA:266.72x5
```
- This example represents a portfolio named "Portfolio1" with two buy commands:
- 10 shares of AAPL bought at $150.25.
- 5 shares of TSLA bought at $266.72.
- Repeat for additional portfolios (e.g., `Portfolio2`, `Portfolio3`, etc.), each in its own input field.
- You can add multiple buy commands for the same stock within a portfolio by including additional entries (e.g., `AAPL:160.50x20`).
3. **Apply Settings**:
- Save the settings to apply the portfolio data to the chart.
- The indicator will calculate and display the PNL based on the current market prices of the entered stocks.
4. **Monitor PNL**:
- View the profit and loss for each portfolio directly on the chart, with customizable display options (e.g., table, labels, or graphical overlays, depending on indicator settings).
## Input Format
Each portfolio’s data must be entered manually in the indicator’s settings dialog, with one input field per portfolio. The format is as follows:
```
PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
```
- **PortfolioName**: A unique name for the portfolio (e.g., `Portfolio1`, `Growth`, `Tech`).
- **StockTicker**: The stock symbol (e.g., `AAPL`, `GOOGL`).
- **BuyPrice**: The purchase price per share (e.g., `150.25`).
- **BuyAmount**: The number of shares purchased (e.g., `10`).
- **Separator**: Use `:` to separate portfolio name, ticker, and buy data; `x` to separate price and amount; and `;` to separate multiple stock entries.
**Example Input for Multiple Portfolios**:
- Portfolio 1:
```
GrowthPortfolio:AAPL:150.25x10;TSLA:266.72x5;MSFT:305.10x8
```
- Portfolio 2:
```
DividendPortfolio:KO:55.20x50;PG:145.30x30
```
Companion Tool
To simplify portfolio management, use the **SBC Portfo Manager** desktop app (available separately). This tool allows Hebrew-speaking users to create, edit, and export portfolio data in the correct format, which can then be copied and pasted into the indicator’s settings. Note: The SBC Portfo Manager is an independent tool and not affiliated with TradingView.
Notes
- **Hebrew Support**: Instructions and labels in the settings dialog are optimized for Hebrew users, ensuring clarity and ease of use.
- **Unlimited Flexibility**: Add as many stocks and buy commands as needed per portfolio, with no upper limit.
- **Manual Input**: Portfolio data must be entered manually in the settings dialog. Ensure the format is correct to avoid errors.
- **Compatibility**: Works with any stock ticker supported by TradingView.
Disclaimer
The SBC Portfo PNL Indicator is an independent tool created to assist Hebrew-speaking traders in tracking portfolio performance. It is **not** affiliated with TradingView. Always verify your portfolio data and consult with a financial advisor before making trading decisions.
Support
For questions, issues, or feature requests, please contact the developer via TradingView or check the (github.com) for additional resources.
License
This indicator is provided under the Attribution-NonCommercial 4.0 International license. Please review the terms on the GitHub repository or contact the developer for details.
UT Bot Strategy Backtest with Date RangeBacktesting Strategy for UT Bot Alerts by QuantNomad
• Preferred Settings: Heikin Ashi candles, 15m chart length, January 1, 2025 to current date, Key value: 1, ATR: 10, Order size: 50% of equity, Recalculation and order filling unchecked.
• Most Profitable Token: FARTCOIN using above settings.
TSLA2DTesla Swing Indicator
Overview
The Tesla Swing Indicator is a powerful and versatile trading tool designed to help traders identify swing trading opportunities, with a primary focus on Tesla (TSLA) stock. While optimized for TSLA, this indicator can also be applied to other stocks, making it a flexible addition to any trader’s toolkit. It combines multiple technical elements—Moving Averages (MAs), Stochastic signals, RSI-based background coloring, high volume detection, and a unique Bottom Line trend indicator—to provide a comprehensive view of market conditions.
Key Features
Moving Averages (MAs): The indicator plots four customizable MAs (default lengths: 20, 50, 150, and 300) to help identify trends and potential reversals. You can toggle between SMA and EMA for each MA and adjust their lengths and linewidths to suit your trading style.
MA1 (20-period EMA, yellow).
MA2 (50-period SMA, blue).
MA3 (150-period SMA, red).
MA4 (300-period SMA, white).
Stochastic Signals: The indicator uses Stochastic %K and %D to generate buy and sell signals:
Pre-Buy Signal (blue circles below candles): Indicates a potential buy when %K crosses above %D in oversold territory (below 20).
Crossover in Oversold (gold squares below candles): Confirms a buy signal when %K crosses above %D while both are below 20.
Crossunder in Overbought (pink squares above candles): Signals a potential sell when %K crosses below %D in overbought territory (above 80).
Note: While the Stochastic component works well for TSLA, it may produce less reliable signals on other stocks due to differences in volatility and price behavior. Adjust the Stochastic parameters (e.g., lengths) or test thoroughly when applying to non-TSLA stocks.
RSI Background Coloring: The background turns green when the 15-period RSI is above 50, indicating bullish momentum. This helps traders quickly gauge the strength of the current trend.
High Volume Background: The background highlights in yellow when volume exceeds 1.5 times the 20-period average volume, signaling significant market activity that often precedes big moves.
Bottom Line Trend Indicator: Positioned at the bottom of the chart, the Bottom Line acts as a trend indicator based on price interactions with the MAs:
Green: Indicates a bullish trend when the price is above MA2 (50-period).
Red: Signals a bearish trend when the price is below MA3 (150-period).
Gray: Reflects a neutral or transitional state when the price crosses below MA2 but isn’t below MA3, or when MA1 is above MA2 in a neutral context.
The Bottom Line provides a quick visual cue for the overall trend direction, helping traders align their strategies accordingly.
PVSRA Candle Coloring: The indicator applies Price-Volume-Sentiment-Range Analysis (PVSRA) to color candles based on volume and price action:
Lime (200% Bullish): High volume bullish candle (volume ≥ 2x average or weighted range condition).
Red (200% Bearish): High volume bearish candle.
Blue (150% Bullish): Rising volume bullish candle (volume ≥ 1.5x average).
Fuchsia (150% Bearish): Rising volume bearish candle.
White (Normal Bullish): Normal volume bullish candle.
Gray (Normal Bearish): Normal volume bearish candle.
This coloring helps traders identify significant candles driven by strong volume, often indicating potential trend continuations or reversals.
MACD Divergence Detection (Disabled by Default): The indicator includes logic to detect bullish and bearish MACD divergences, which can be enabled via the code for advanced users.
Usage
Best for Tesla (TSLA): The indicator is fine-tuned for TSLA, leveraging its volatility and volume characteristics to generate reliable signals. The Stochastic signals, in particular, are optimized for TSLA’s price action.
Other Stocks: The indicator can be applied to other stocks, but caution is advised with the Stochastic component. Stocks with different volatility profiles may require adjustments to the Stochastic parameters (e.g., k_length, k_smoothing, d_smoothing) to improve signal accuracy. Test thoroughly on your chosen stock and consider disabling Stochastic signals if they underperform.
Timeframes: Works on any timeframe, but swing traders may find the best results on daily higher. Ensure your chart has enough historical data (at least 300 bars) to calculate the longest MA (300 periods).
Customization: Adjust MA lengths, toggle between SMA/EMA, and tweak RSI and volume thresholds via the indicator settings to match your trading preferences.
How to Interpret
Trend Direction: Use the Bottom Line’s color (green, red, gray) to assess the overall trend. Green suggests a bullish bias, red indicates bearish conditions, and gray signals neutrality or a potential transition.
Momentum and Strength: The green RSI background (RSI > 50) confirms bullish momentum, while the absence of green indicates weaker momentum. Yellow high volume backgrounds highlight periods of significant market activity, often preceding major price movements.
Entry/Exit Signals: Look for Pre-Buy Signals (blue circles) and Crossover in Oversold (gold squares) for potential buy opportunities, and Crossunder in Overbought (pink squares) for sell signals. Confirm these signals with the trend direction (Bottom Line) and volume activity (yellow background).
Significant Candles: PVSRA candle colors help identify key price action. Lime and red candles (200% volume) indicate strong momentum, while blue and fuchsia (150% volume) suggest rising interest that may lead to bigger moves.
Limitations
Stochastic on Other Stocks: As noted, the Stochastic signals are optimized for TSLA and may generate false signals on stocks with different price behaviors. Adjust parameters or disable if necessary.
Historical Data: Ensure your chart has sufficient historical bars (at least 300) to calculate the longest MA. If not, reduce the MA4 length in the settings.
Volatility: The indicator assumes a certain level of volatility (as seen in TSLA). On low-volatility stocks, signals may be less frequent or less reliable.
Final Notes
The Tesla Swing Indicator is a robust tool for swing traders looking to capitalize on TSLA’s price movements, with the flexibility to adapt to other stocks with proper adjustments. Its combination of trend analysis (Bottom Line), momentum (RSI background), volume detection (high volume background), and entry/exit signals (Stochastic) provides a well-rounded approach to technical analysis. Use it as part of a broader trading strategy, and always backtest on your chosen stock and timeframe to ensure optimal performance.
Live Futures Relative Strength and Position SizerRecommends contract, stoploss and take profit size depending on 1-minute ATR. Also plots a table to show relative strength of YM, NQ, ES and RTY since the latest daily candle open.
ETF Builder & Backtest System [TradeDots]Create, analyze, and monitor your own custom “ETF-like” portfolio directly on TradingView. This script merges up to 10 different assets with user-defined weightings into a single composite chart, allowing you to see how your personalized portfolio would have performed historically. It is an original tool designed to help traders and investors quickly gauge risk and return profiles without leaving the TradingView platform.
📝 HOW IT WORKS
1. Custom Portfolio Construction
Multiple Assets : Combine up to 10 different stocks, ETFs, cryptocurrencies, or other symbols.
User-Defined Weights : Allocate each asset a percentage weight (e.g., 15% in AAPL, 10% in MSFT, etc.).
Single Composite Value : The script calculates a weighted “ETF-style” price, effectively simulating a merged portfolio curve on your chart.
2. Performance Tracking & Return Analysis
Automatic History Capture : The indicator records each asset’s starting price when it first appears in your chosen date range.
Rolling Updates : As time progresses, all asset prices are continually evaluated and the portfolio value is updated in real time.
Buy & Hold Returns : See how each asset—and the overall portfolio—performed from the “start” date to the most recent bar.
Annualized Return : Automatically calculates CAGR (Compound Annual Growth Rate) to help visualize performance over varying timescales.
3. Table & Visual Output
Performance Table : A comprehensive table displays individual asset returns, annualized returns, and portfolio totals.
Normalized Chart Plot : The composite ETF value is scaled to 100 at the start date, making it easy to compare relative growth or decline.
Optional Time Filter : You can define a specific date range (Start/End Dates) to focus on a particular period or to limit historical data.
⚙️ KEY FEATURES
1. Flexible Asset Selection
Choose any symbols from multiple asset classes. The script will only run calculations when data is available—no need to worry about missing quotes.
2. Dynamic Table Reporting
Start Price for each asset
Percentage Weight in the portfolio
Total Return (%) and Annualized Return (%)
3. Simple Backtesting Logic
This script takes a straightforward Buy & Hold perspective. Once the start date is reached, the portfolio remains static until the end date, so you can quickly assess hypothetical growth.
4. Plot Customization
Toggle the main “ETF” plot on/off.
Alter the visual style for tables and text.
Adjust the time filter to limit or extend your performance measurement window.
🚀 HOW TO USE IT
1. Add the Script
Search for “ETF Builder & Backtest System ” in the Indicators & Strategies tab or manually add it to your chart after saving it in your Pine Editor.
2. Configure Inputs
Enable Time Filter : Choose whether to restrict the analysis to a particular date range.
Start & End Date : Define the period you want to measure performance over (e.g., from 2019-12-31 to 2025-01-01).
Assets & Weights : Enter each symbol and specify a percentage weight (up to 10 assets).
Display Options : Pick where you want the Table to appear and choose background/text colors.
3. Interpret the Table & Plots
Asset Rows : Each asset’s ticker, weighting, start price, and performance metrics.
ETF Total Row : Summarizes total weighting, composite starting value, and overall returns.
Normalized Plot : Tracks growth/decline of the combined portfolio, starting at 100 on the chart.
4. Refine Your Strategy
Compare how different weights or a new mix of assets would have performed over the same period.
Assess if certain assets contribute disproportionately to your returns or volatility.
Use the results to guide allocations in your real trading or paper trading accounts.
❗️LIMITATIONS
1. Buy & Hold Only
This script does not handle rebalancing or partial divestments. Once the portfolio starts, weights remain fixed throughout the chosen timeframe.
2. No Reinvestment Tracking
Dividends or other distributions are not factored into performance.
3. Data Availability
If historical data for a particular asset is unavailable on TradingView, related results may display as “N/A.”
4. Market Regimes & Volatility
Past performance does not guarantee similar future behavior. Markets can change rapidly, which may render historical backtests less predictive over time.
⚠️ RISK DISCLAIMER
Trading and investing carry significant risk and can result in financial loss. The “ETF Builder & Backtest System ” is provided for informational and educational purposes only. It does not constitute financial advice.
Always conduct your own research.
Use proper risk management and position sizing.
Past performance does not guarantee future results.
This script is an original creation by TradeDots, published under the Mozilla Public License 2.0.
Use this indicator as part of a broader trading or investment approach—consider fundamental and technical factors, overall market context, and personal risk tolerance. No trading tool can assure profits; exercise caution and responsibility in all financial decisions.
Grid Bot Visualizer V1
📊 Grid Bot Visualizer – V1
A dynamic and visual support tool for grid trading strategies.
🔧 Key Features
• Fixed grid levels based on a central entry price
• Customizable spacing, number of levels, and range
• Color-coded lines (🟢 green above, 🔴 red below)
• Expands automatically when price exceeds boundaries (within the defined box)
• Optional price labels shown outside the grid
• Grid visually framed by a blue box
• Vertical line to mark grid origin
• Built-in alert when price hits a grid level
⚙️ Use Case
Ideal for visualizing grid bot logic in volatile markets.
Monitor how price interacts with predefined zones.
✅ Alert Ready
Use alertcondition to get notified when a grid level is touched.
Max RR CalculatorAutomatically calculates the maximum RR reached during trade. Entry is at the candle close. There is an option available that takes another trade after getting stopped out on the next candle that is in same bias as first trade.
(If the first trade is a long and gets stopped out, then the second trade will wait until the next up candle to enter long again)
Price Map Profile [BigBeluga]An advanced volume-based tool designed to map out how trading activity is distributed across price levels. It combines dynamic volume profiling with structural pivot detection to highlight key levels of interest in the market — including hidden support/resistance zones and dominant liquidity areas.
Unlike traditional volume profiles locked to fixed sessions, this indicator continuously processes historical bars to build a real-time "map" of volume distribution. It intelligently reveals where buyers and sellers were most active, helping traders pinpoint high-impact zones with clarity.
🔵 KEY FEATURES
Creates a volume map profile by scanning price action over a defined lookback window (`length`).
Divides price vertically into volume bins (default: 100) and aggregates either total volume or bar count per bin.
Bins are plotted as horizontal zones extending to the right of the chart — wider offset means more volume at that price.
Each zone is color-coded using gradients to represent volume magnitude:
- Below average volume = cool tones (blue/teal)
- Above average volume = warm tones (red/orange)
The highest volume bin is highlighted with a red label showing the exact volume, helping to identify strong price agreement.
Detects pivot highs and lows using a 15-bar swing method, marking them as potential S/R levels.
If a pivot level is located inside a low-volume zone (volume < average), it is emphasized with a dashed line and label .
Pivot line color matches direction:
- High pivots = yellow
- Low pivots = aqua
The volume of the bin containing the pivot is shown alongside the pivot, providing volume context for the structural level.
Filters out nearby duplicate pivots using ATR-based distance checks to ensure clean and non-redundant signals.
🔵 HOW TO USE
Use the wide red zones as liquidity and consolidation areas where price may stall, reverse, or absorb volume.
Pivot-based dashed lines within low-volume zones highlight hidden support/resistance levels where price may react sharply.
Combine this indicator with trend or order flow tools to validate reversal or breakout setups .
Switch between Volume and Frequency modes to adapt to the type of data your asset provides.
🔵 CONCLUSION
The Price Map Profile transforms raw volume into an actionable visual map. By aligning volume depth with key market structure levels, it helps traders identify where market participants are most active — and where hidden inefficiencies lie. Ideal for traders seeking precision entries, dynamic S/R zones, and deeper volume structure insight.
Prop Firm Business SimulatorThe prop firm business simulator is exactly what it sounds like. It's a plug and play tool to test out any tradingview strategy and simulate hypothetical performance on CFD Prop Firms.
Now what is a modern day CFD Prop Firm?
These companies sell simulated trading challenges for a challenge fee. If you complete the challenge you get access to simulated capital and you get a portion of the profits you make on those accounts payed out.
I've included some popular firms in the code as presets so it's easy to simulate them. Take into account that this info will likely be out of date soon as these prices and challenge conditions change.
Also, this tool will never be able to 100% simulate prop firm conditions and all their rules. All I aim to do with this tool is provide estimations.
Now why is this tool helpful?
Most traders on here want to turn their passion into their full-time career, prop firms have lately been the buzz in the trading community and market themselves as a faster way to reach that goal.
While this all sounds great on paper, it is sometimes hard to estimate how much money you will have to burn on challenge fees and set realistic monthly payout expectations for yourself and your trading. This is where this tool comes in.
I've specifically developed this for traders that want to treat prop firms as a business. And as a business you want to know your monthly costs and income depending on the trading strategy and prop firm challenge you are using.
How to use this tool
It's quite simple you remove the top part of the script and replace it with your own strategy. Make sure it's written in same version of pinescript before you do that.
//--$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$--//--------------------------------------------------------------------------------------------------------------------------$$$$$$
//--$$$$$--Strategy-- --$$$$$$--// ******************************************************************************************************************************
//--$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$--//--------------------------------------------------------------------------------------------------------------------------$$$$$$
length = input.int(20, minval=1, group="Keltner Channel Breakout")
mult = input(2.0, "Multiplier", group="Keltner Channel Breakout")
src = input(close, title="Source", group="Keltner Channel Breakout")
exp = input(true, "Use Exponential MA", display = display.data_window, group="Keltner Channel Breakout")
BandsStyle = input.string("Average True Range", options = , title="Bands Style", display = display.data_window, group="Keltner Channel Breakout")
atrlength = input(10, "ATR Length", display = display.data_window, group="Keltner Channel Breakout")
esma(source, length)=>
s = ta.sma(source, length)
e = ta.ema(source, length)
exp ? e : s
ma = esma(src, length)
rangema = BandsStyle == "True Range" ? ta.tr(true) : BandsStyle == "Average True Range" ? ta.atr(atrlength) : ta.rma(high - low, length)
upper = ma + rangema * mult
lower = ma - rangema * mult
//--Graphical Display--// *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-$$$$$$
u = plot(upper, color=#2962FF, title="Upper", force_overlay=true)
plot(ma, color=#2962FF, title="Basis", force_overlay=true)
l = plot(lower, color=#2962FF, title="Lower", force_overlay=true)
fill(u, l, color=color.rgb(33, 150, 243, 95), title="Background")
//--Risk Management--// *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-$$$$$$
riskPerTradePerc = input.float(1, title="Risk per trade (%)", group="Keltner Channel Breakout")
le = high>upper ? false : true
se = lowlower
strategy.entry('PivRevLE', strategy.long, comment = 'PivRevLE', stop = upper, qty=riskToLots)
if se and upper>lower
strategy.entry('PivRevSE', strategy.short, comment = 'PivRevSE', stop = lower, qty=riskToLots)
The tool will then use the strategy equity of your own strategy and use this to simulat prop firms. Since these CFD prop firms work with different phases and payouts the indicator will simulate the gains until target or max drawdown / daily drawdown limit gets reached. If it reaches target it will go to the next phase and keep on doing that until it fails a challenge.
If in one of the phases there is a reward for completing, like a payout, refund, extra it will add this to the gains.
If you fail the challenge by reaching max drawdown or daily drawdown limit it will substract the challenge fee from the gains.
These gains are then visualised in the calendar so you can get an idea of yearly / monthly gains of the backtest. Remember, it is just a backtest so no guarantees of future income.
The bottom pane (non-overlay) is visualising the performance of the backtest during the phases. This way u can check if it is realistic. For instance if it only takes 1 bar on chart to reach target you are probably risking more than the firm wants you to risk. Also, it becomes much less clear if daily drawdown got hit in those high risk strategies, the results will be less accurate.
The daily drawdown limit get's reset every time there is a new dayofweek on chart.
If you set your prop firm preset setting to "'custom" the settings below that are applied as your prop firm settings. Otherwise it will use one of the template by default it's FTMO 100K.
The strategy I'm using as an example in this script is a simple Keltner Channel breakout strategy. I'm using a 0.05% commission per trade as that is what I found most common on crypto exchanges and it's close to the commissions+spread you get on a cfd prop firm. I'm targeting a 1% risk per trade in the backtest to try and stay within prop firm boundaries of max 1% risk per trade.
Lastly, the original yearly and monthly performance table was developed by Quantnomad and I've build ontop of that code. Here's a link to the original publication:
That's everything for now, hope this indicator helps people visualise the potential of prop firms better or to understand that they are not a good fit for their current financial situation.
Advanced Momentum Scanner [QuantAlgo]The Advanced Momentum Scanner is a sophisticated technical indicator designed to identify market momentum and trend direction using multiple exponential moving averages (EMAs), momentum metrics, and adaptive visualization techniques. It is particularly valuable for those looking to identify trading and investing opportunities based on trend changes and momentum shifts across any market and timeframe.
🟢 Technical Foundation
The Advanced Momentum Scanner utilizes a multi-layered approach with four different EMA periods to identify market momentum and trend direction:
Ultra-Fast EMA for quick trend changes detection (default: 5)
Fast EMA for short-term trend analysis (default: 10)
Mid EMA for intermediate confirmation (default: 30)
Slow EMA for long-term trend identification (default: 100)
For momentum detection, the indicator implements a Rate of Change (RoC) calculation to measure price momentum over a specified period. It further enhances analysis by incorporating RSI readings for overbought/oversold conditions, volatility measurements through ATR, and optional volume confirmation. When these elements align, the indicator generates trading signals based on the selected sensitivity mode (Conservative, Balanced, or Aggressive).
🟢 Key Features & Signals
1. Multi-Period Trend Identification
The indicator combines multiple EMAs of different lengths to provide comprehensive trend analysis within the same timeframe, displaying the information through color-coded visual elements on the chart.
When an uptrend is detected, chart elements are colored with the bullish theme color (default: green/teal).
Similarly, when a downtrend is detected, chart elements are colored with the bearish theme color (default: red).
During neutral or indecisive periods, chart elements are colored with a neutral gray color, providing clear visual distinction between trending and non-trending market conditions.
This visualization provides immediate insights into underlying trend direction without requiring separate indicators, helping traders and investors quickly identify the market's current state.
2. Trend Strength Information Panel
The trend panel operates in three different sensitivity modes (Conservative, Aggressive, and Balanced), each affecting how the indicator processes and displays market information.
The Conservative mode prioritizes trend sustainability over frequency, showing only strong trend movements with high probability.
The Aggressive mode detects early trend changes, providing more frequent signals but potentially more false positives.
The Balanced mode offers a middle ground with moderate signal frequency and reliability.
Regardless of the selected mode, the panel displays:
Current trend direction (UPTREND, DOWNTREND, or NEUTRAL)
Trend strength percentage (0-100%)
Early detection signals when applicable
The active sensitivity mode
This comprehensive approach helps traders and investors:
→ Assess the strength of current market trends
→ Identify early potential trend changes before full confirmation
→ Make more informed trading and investing decisions based on trend context
3. Customizable Visualization Settings
This indicator offers extensive visual customization options to suit different trading styles and preferences:
Display options:
→ Fully customizable uptrend, downtrend, and neutral colors
→ Color-coded price bars showing trend direction
→ Dynamic gradient bands visualizing potential trend channels
→ Optional background coloring based on trend intensity
→ Adjustable transparency levels for all visual elements
These visualization settings can be fine-tuned through the indicator's interface, allowing traders and investors to create a personalized chart environment that emphasizes the most relevant information for their strategy.
The indicator also features a comprehensive alert system with notifications for:
New trend formations (uptrend, downtrend, neutral)
Early trend change signals
Momentum threshold crossovers
Other significant market conditions
Alerts can be customized and delivered through TradingView's notification system, making it easy to stay informed of important market developments even when you are away from the charts.
🟢 Practical Usage Tips
→ Trend Analysis and Interpretation: The indicator visualizes trend direction and strength directly on the chart through color-coding and the information panel, allowing traders and investors to immediately identify the current market context. This information helps in assessing the potential for continuation or reversal.
→ Signal Generation Strategies: The indicator generates potential trading signals based on trend direction, momentum confirmation, and selected sensitivity mode. Users can choose between Conservative (fewer but more reliable signals), Balanced (moderate approach), or Aggressive (more frequent but potentially less reliable signals).
→ Multi-Period Trend Assessment: Through its layered EMA approach, the indicator enables users to understand trend conditions across different lookback periods within the same timeframe. This helps in identifying the dominant trend and potential turning points.
🟢 Pro Tips
Adjust EMA periods based on your timeframe:
→ Lower values for shorter timeframes and more frequent signals
→ Higher values for higher timeframes and more reliable signals
Fine-tune sensitivity mode based on your trading style:
→ "Conservative" for position trading/long-term investing and fewer false signals
→ "Balanced" for swing trading/medium-term investing with moderate signal frequency
→ "Aggressive" for scalping/day trading and catching early trend changes
Look for confluence between components:
→ Strong trend strength percentage and direction in the information panel
→ Overall market context aligning with the expected direction
Use for multiple trading approaches:
→ Trend following during strong momentum periods
→ Counter-trend trading at band extremes during overextension
→ Early trend change detection with sensitivity adjustments
→ Stop loss placement using dynamic bands
Combine with:
→ Volume indicators for additional confirmation
→ Support/resistance analysis for strategic entry/exit points
→ Multiple timeframe analysis for broader market context
Vietnamese Stocks: Multi-Ticker Fibonacci AlertThis Pine Script™ indicator is designed specifically for traders monitoring the Vietnamese stock market (HOSE, HNX). Its primary goal is to automate the tracking of Fibonacci retracement levels across a large list of stocks, alerting you when prices breach key support zones.
Core Functionality:
The script calculates Fibonacci retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) for up to 40 tickers simultaneously. The calculation is based on the highest high and lowest low identified since a user-defined Start Time. This allows you to anchor the Fibonacci analysis to a specific market event, trend start, or time period relevant to your strategy.
What it Does For You:
Automated Watchlist Scanning: Instead of drawing Fib levels on dozens of charts, select one of the two pre-configured watchlists (up to 40 symbols each, customizable in settings) populated with popular Vietnamese stocks.
Time-Based Fibonacci: Define a Start Time in the settings. The script uses this date to find the subsequent highest high and lowest low for each symbol in your chosen watchlist, forming the basis for the Fib calculation.
Intelligent Alerts: Get notified via TradingView's alerts when the candle closing price of any stock in your active watchlist falls below the critical 38.2%, 50%, 61.8%, or 78.6% levels relative to its own high/low range since the start time. Alerts are consolidated for efficiency.
Visual Aids:
- Plots the same time-based Fibonacci levels directly on your current chart symbol for quick reference.
- Includes an optional on-chart table showing which monitored stocks are currently below key Fib levels (enable "Show Debug Info").
- Features experimental background coloring to highlight potential bullish signals on the current chart.
Configuration:
Start Time: Crucial input – sets the anchor point for Fib calculations.
WatchList Selection: Choose between WatchList #1 (Bluechip/Midcap focus) or WatchList #2 (Defensive/Other focus) using the boolean toggles.
Symbol Customization: Easily replace the default symbols with your preferred Vietnamese stocks directly in the indicator settings.
Notification Prefix: Add custom text to the beginning of your alert messages.
Alert Setup: Remember to create an alert in TradingView, selecting this indicator and the alert() condition, usually with "Once Per Bar Close" frequency.
This tool is open-source under the MPL 2.0 license. Feel free to use, modify, and learn from it.
Enhanced Execution ToolA comprehensive position sizing calculator for disciplined risk management
Description :
This tool provides traders with precise position sizing calculations based on their account parameters and market conditions. The indicator calculates optimal position sizes for different entry scenarios while maintaining strict risk control.
Key Features:
Multiple entry options (High, Close, Manual)
Flexible stop loss configuration (LoD or Previous Day Low)
Account-based risk management (1% risk by default)
ATR-based distance metrics for volatility assessment
Clear visual table displaying all critical trade parameters
How to Use:
Configure your account size and risk percentage
Select your preferred entry methods (High/Close/Manual)
Choose stop loss reference (Low of Day or Previous Day Low)
View calculated position sizes and risk parameters
For manual entries, input your desired entry and stop prices
Input Parameters:
Account Configuration: Set your capital and risk tolerance
Entry Options: Choose which entry methods to display
Stop Loss: Select stop loss reference level
Technical Settings: Adjust ATR length and distance limits
Display Options: Customize table appearance
Output Includes:
Risk amount in dollars
Risk as percentage of entry price
Entry to stop loss as percentage of ATR
Stop loss price
Entry price
Position size as % of account
Share quantity
Ideal For:
Traders who want to maintain consistent risk management
Those who need quick position sizing calculations
Investors who trade with multiple entry strategies
Note: Always verify calculations before executing trades. This tool is designed to assist with trade planning, not as trade advice.