ZenAlgo - DominatorThis indicator provides a structured multi-ticker overview of market momentum and relative strength by analyzing short-term price behavior across selected assets in comparison with broader crypto dominance and Bitcoin/ETH performance.
Ticker and Market Data Handling
The script accepts up to 9 user-defined symbols (tickers) along with BTCUSD and ETHUSD. For each symbol:
It retrieves the current price.
It also requests the daily opening price from the "D" timeframe to compute intraday percentage change.
For BTC, ETH, and dominance (sum of BTC, USDT, and USDC dominance), daily change is calculated using this same method.
This comparison enables tracking relative performance from the daily open, which provides meaningful insight into intraday strength or weakness among different assets.
Dominance Logic
The indicator aggregates dominance data from BTC , USDT , and USDC using TradingView’s CRYPTOCAP indices. This combined dominance is used as a reference in directional and status calculations. ETH dominance is also analyzed independently.
Changes in dominance are used to infer whether market attention is shifting toward Bitcoin/stablecoins (typically indicating risk-off sentiment) or away from them (typically risk-on behavior, benefiting altcoins).
Price Direction Estimation
The script estimates directional bias using an EMA-based deviation technique:
A short EMA (user-defined lookback , default 4 bars) is calculated.
The current close is compared to the EMA to assess directional bias.
Recent candle changes are also inspected to confirm a consistent short-term trend (e.g., 3 consecutive higher closes for "up").
A small threshold is used to avoid classifying flat movements as trends.
This directionality logic is applied separately to:
The selected ticker's price
BTC price
Combined dominance
This allows the script to contextualize the movement of each asset within broader market conditions.
Market Status Evaluation
A custom function analyzes ETH and BTC dominance trends along with their relative strength to define the overall market regime:
Altseason is identified when BTC dominance is declining, ETH dominance rising, and ETH outperforms BTC.
BTC Season occurs when BTC dominance is rising, ETH dominance falling, and BTC outperforms ETH.
If neither condition is met, the state is Neutral .
This classification is shown alongside each ticker's row in the table and helps traders assess whether market conditions favor Bitcoin, Ethereum, or altcoins in general.
Ticker Status Classification
Each ticker is analyzed independently using the earlier directional logic. Its status is then determined as follows:
Full Bull : Ticker is trending up while dominance is declining or BTC is also rising.
Bullish : Ticker is trending up but not supported by broader bullish context.
Bearish : Ticker is trending down but without broader confirmation.
Full Bear : Ticker is trending down while dominance rises or BTC falls.
Neutral : No strong directional bias or conflicting context.
This classification reflects short-term momentum and macro alignment and is color-coded in the results table.
Table Display and Plotting
A configurable table is shown on the chart, which:
Displays the name and status of each selected ticker.
Optionally includes BTC, ETH, and market state.
Uses color-coding for intuitive interpretation.
Additionally, price changes from the daily open are plotted for each selected ticker, BTC, ETH, and combined dominance. These values are also labeled directly on the chart.
Labeling and UX Enhancements
Labels next to the current candle display price and percent change for each active ticker and for BTC, ETH, and combined dominance.
Labels update each bar, and old labels are deleted to avoid clutter.
Ticker names are dynamically shortened by stripping exchange prefixes.
How to Use This Indicator
This tool helps traders:
Spot early rotations between Bitcoin and altcoins.
Identify intraday momentum leaders or laggards.
Monitor which tickers align with or diverge from broader market trends.
Detect possible sentiment shifts based on dominance trends.
It is best used on lower to mid timeframes (15m–4h) to capture intraday to short-term shifts. Users should cross-reference with longer-term trend tools or structural indicators when making directional decisions.
Interpretation of Values
% Change : Measures intraday move from daily open. Strong positive/negative values may indicate breakouts or reversals.
Status : Describes directional strength relative to market conditions.
Market State : Gives a general bias toward BTC dominance, ETH strength, or altcoin momentum.
Limitations & Considerations
The indicator does not analyze liquidity or volume directly.
All logic is based on short-term movements and may produce false signals in ranging or low-volume environments.
Dominance calculations rely on external CRYPTOCAP indices, which may differ from exchange-specific flows.
Added Value Over Other Free Tools
Unlike basic % change tables or price overlays, this indicator:
Integrates dominance-based macro context into ticker evaluation.
Dynamically classifies market regimes (BTC season / Altseason).
Uses multi-factor logic to determine ticker bias, avoiding single-metric interpretation.
Displays consolidated information in a table and chart overlays for rapid assessment.
個人檔案管理
Crypto Portfolio vs BTC – Custom Blend TrackerThis tool tracks the performance of a custom-weighted crypto portfolio (SUI, BTC, SOL, DEEP, DOGE, LOFI, and Other) against BTC. Simply input your start date to anchor performance and compare your basket’s relative strength over time. Ideal for portfolio benchmarking, alt-season tracking, or macro trend validation.
Supports all timeframes. Based on BTC-relative returns (not USD). Open-source and customizable.
Risk Calculator PRO — manual lot size + auto lot-suggestionWhy risk management?
90 % of traders blow up because they size positions emotionally. This tool forces Risk-First Thinking: choose the amount you’re willing to lose, and the script reverse-engineers everything else.
Key features
1. Manual or Market Entry – click “Use current price” or type a custom entry.
2. Setup-based ₹-Risk – four presets (A/B/C/D). Edit to your workflow.
3. Lot-Size Input + Auto Lot Suggestion – you tell the contract size ⇒ script tells you how many lots.
4. Auto-SL (optional) – tick to push stop-loss to exactly 1-lot risk.
5. Instant Targets – 1 : 2, 1 : 3, 1 : 4, 1 : 5 plotted and alert-ready.
6. P&L Preview – table shows potential profit at each R-multiple plus real ₹ at SL.
7. Margin Column – enter per-lot margin once; script totals it for any size.
8. Clean Table UI – dark/light friendly; updates every 5 bars.
9. Alert Pack – SL, each target, plus copy-paste journal line on the chart.
How to use
1. Add to chart > “Format”.
2. Type the lot size for the symbol (e.g., 1250 for Natural Gas, 1 for cash equity).
3. Pick Side (Buy / Sell) & Setup grade.
4. ✅ If you want the script to place SL for you, tick Auto-SL (risk = 1 lot).
5. Otherwise type your own Stop-loss.
6. Read the table:
• Suggested lots = how many to trade so risk ≤ setup ₹.
• Risk (currency) = real money lost if SL hits.
7. Set TradingView alerts on the built-in conditions (T1_2, SL_hit, etc.) if you’d like push / email.
8. Copy the orange CSV label to Excel / Sheets for journalling.
Best practices
• Never raise risk to “fit” a trade. Lower size instead.
• Review win-rate vs. R multiple monthly; adjust setups A–D accordingly.
• Test Auto-SL in replay before going live.
Disclaimer
This script is educational. Past performance ≠ future results. The author isn’t responsible for trading losses.
Uptrick: Asset Rotation SystemOverview
The Uptrick: Asset Rotation System is a high-level performance-based crypto rotation tool. It evaluates the normalized strength of selected assets and dynamically simulates capital rotation into the strongest asset while optionally sidestepping into cash when performance drops. Built to deliver an intelligent, low-noise view of where capital should move, this system is ideal for traders focused on strength-driven allocation without relying on standard technical indicators.
Purpose
The purpose of this tool is to identify outperforming assets based strictly on relative price behavior and automatically simulate how a portfolio would evolve if it consistently moved into the strongest performer. By doing so, it gives users a realistic and dynamic model for capital optimization, making it especially suitable during trending markets and major crypto cycles. Additionally, it includes an optional safety fallback mechanism into cash to preserve capital during risk-off conditions.
Originality
This system stands out due to its strict use of normalized performance as the only basis for decision-making. No RSI, no MACD, no trend oscillators. It does not rely on any traditional indicator logic. The rotation logic depends purely on how each asset is performing over a user-defined lookback period. There is a single optional moving average filter, but this is used internally for refinement, not for entry or exit logic. The system’s intelligence lies in its minimalism and precision — using normalized asset scores to continuously rotate capital with clarity and consistency.
Inputs
General
Normalization Length: Defines how many bars are used to calculate each asset’s normalized score. This score is used to compare asset performance.
Visuals: Selects between Equity Curve (show strategy growth over time) or Asset Performance (compare asset strength visually).
Detect after bar close: Ensures changes only happen after a candle closes (for safety), or allows bar-by-bar updates for quicker reactions.
Moving Average
Used internally for optional signal filtering.
MA Type: Lets you choose which moving average type to use (EMA, SMA, WMA, RMA, SMMA, TEMA, DEMA, LSMA, EWMA, SWMA).
MA Length: Sets how many bars the moving average should calculate over.
Use MA Filter: Turns the filter on or off. It doesn’t affect the signal directly — just adds a layer of control.
Backtest
Used to simulate equity tracking from a chosen starting point. All calculations begin from the selected start date. Prior data is ignored for equity tracking, allowing users to isolate specific market cycles or testing periods.
Starting Day / Month / Year: The exact day the strategy starts tracking equity.
Initial Capital $: The amount of simulated starting capital used for performance calculation.
Rotation Assets
Each asset has 3 controls:
Enable: Include or exclude this asset from the rotation engine.
Symbol: The ticker for the asset (e.g., BINANCE:BTCUSDT).
Color: The color for visualization (labels, plots, tables).
Assets supported by default:
BTC, ETH, SOL, XRP, BNB, NEAR, PEPE, ADA, BRETT, SUI
Cash Rotation
Normalization Threshold USDC: If all assets fall below this threshold, the system rotates into cash.
Symbol & Color: Sets the cash color for plots and tables.
Customization
Dynamic Label Colors: Makes labels change color to match the current asset.
Enable Asset Label: Plots asset name labels on the chart.
Asset Table Position: Choose where the key asset usage table appears.
Performance Table Position: Choose where the backtest performance table appears.
Enable Realism: Enables slippage and fee simulation for realistic equity tracking. Adjusted profit is shown in the performance table.
Equity Styling
Show Equity Curve (STYLING): Toggles an extra-thick visual equity curve.
Background Color: Adds a soft background color that matches the current asset.
Features
Dual Visualization Modes
The script offers two powerful modes for real-time visual insights:
Equity Curve Mode: Simulates the growth of a portfolio over time using dynamic asset rotation. It visually tracks capital as it moves between outperforming assets, showing compounded returns and the current allocation through both line plots and background color.
Asset Performance Mode: Displays the normalized performance of all selected assets over the chosen lookback period. This mode is ideal for comparing relative strength and seeing how different coins perform in real-time against one another, regardless of price level.
Multi-Asset Rotation Logic
You can choose up to 10 unique assets, each fully customizable by symbol and color. This allows full flexibility for different strategies — whether you're rotating across majors like BTC, ETH, and SOL, or including meme tokens and stablecoins. You decide the rotation universe. If none of the selected assets meet the strength threshold, the system automatically moves to cash as a protective fallback.
Key Asset Selection Table
This on-screen table displays how frequently each enabled asset was selected as the top performer. It updates in real time and can help traders understand which assets the system has historically favored.
Asset Name: Shortened for readability
Color Box: Visual color representing the asset
% Used: How often the asset was selected (as a percentage of strategy runtime)
This table gives clear insight into historical rotation behavior and asset dominance over time.
Performance Comparison Table
This second table shows a full backtest vs. chart comparison, broken down into key performance metrics:
Backtest Start Date
Chart Asset Return (%) – The performance of the asset you’re currently viewing
System Return (%) – The equity growth of the rotation strategy
Outperformed By – Shows how many times the system beat the chart (e.g., 2.1x)
Slippage – Estimated total slippage costs over the strategy
Fees – Estimated trading fees based on rotation activity
Total Switches – Number of times the system changed assets
Adjusted Profit (%) – Final net return after subtracting fees and slippage
Equity Curve Styling
To enhance visual clarity and aesthetics, the equity curve includes styling options:
Custom Thickness Curve: A second stylized line plots a shadow or highlight of the main equity curve for stronger visual feedback
Dynamic Background Coloring: The chart background changes color to match the currently held asset, giving instant visual context
Realism Mode
By enabling Realism, the system calculates estimated:
Trading Fees (default 0.1%)
Slippage (default 0.05%)
These costs are subtracted from the equity curve in real time, and shown in the table to produce an Adjusted Return metric — giving users a more honest and execution-aware picture of system performance.
Adaptive Labeling System
Each time the asset changes, an on-chart label updates to show:
Current Asset
Live Equity Value
These labels dynamically adjust in color and visibility depending on the asset being held and your styling preferences.
Full Customization
From visual position settings to table placements and custom asset color coding, the entire system is fully modular. You can move tables around the screen, toggle background visuals, and control whether labels are colored dynamically or uniformly.
Key Concepts
Normalized values represent how much an asset has changed relative to its past price over a fixed period, allowing performance comparisons across different assets. Outperforming refers to the asset with the highest normalized value at a given time. Cash fallback means the system moves into a stable asset like USDC when no strong performers are available. The equity curve is a running total of simulated capital over time. Slippage is the small price difference between expected and actual trade execution due to market movement.
Use Case Flexibility
You don’t need to use all 10 assets. The system works just as effectively with only 1 asset — such as rotating between CASH and SOL — for a simple, minimal strategy. This is ideal for more focused portfolios or thematic rotation systems.
How to Use the Indicator
To use the Uptrick: Asset Rotation System, start by selecting which assets to include and entering their symbols (e.g., BINANCE:BTCUSDT). Choose between Equity Curve mode to see simulated portfolio growth, or Asset Performance mode to compare asset strength. Set your lookback period, backtest start date, and optionally enable the moving average filter or realism settings for slippage and fees. The system will then automatically rotate into the strongest asset, or into cash if no asset meets the strength threshold. Use alerts to be notified when a rotation occurs.
Asset Switch Alerts
The script includes built-in alert conditions for when the system rotates into a new asset. You can enable these to be notified when the system reallocates to a different coin or to cash. Each alert message is labeled by target asset and can be used for automation or monitoring purposes.
Conclusion
The Uptrick: Asset Rotation System is a next-generation rotation engine designed to cut through noise and overcomplication. It gives users direct insight into capital strength, without relying on generic indicators. Whether used to track a broad basket or focus on just two assets, it is built for accuracy, adaptability, and transparency — all in real-time.
Disclaimer
This script is for research and educational purposes only. It is not intended as financial advice. Past performance is not a guarantee of future results. Always consult with a financial professional and evaluate risks before trading or investing.
Dot On Plan | Economic Cycle Analysis v2.4This closed-source script applies a structured macroeconomic model to classify economic regimes in real time, using inter-asset ratios and yield spreads. It helps traders and analysts interpret broader market conditions—such as expansion, stagflation, deflation, or supply shocks—through well-established market proxies.
🔍 Core Metrics and Logic
The script tracks the following macro indicators:
- **Copper/Oil Ratio**: A proxy for industrial activity vs. energy costs (Copper futures ÷ Oil futures). A rising ratio signals growth optimism; a falling ratio suggests weakening demand.
- **TIPS Spread (Breakeven Inflation)**: The difference between 10Y Treasury yields and 10Y TIPS yields, reflecting inflation expectations. A high spread indicates inflationary pressure.
- **Gold/Oil Ratio**: Measures market stress (Gold futures ÷ Oil futures). A rising ratio often appears in disinflationary or crisis environments.
- **Copper/Gold Ratio**: A "growth vs. safety" indicator. Rising indicates risk-on confidence; falling suggests risk aversion.
Each ratio is smoothed with a moving average to identify trends, evaluating direction and momentum. Trend strength is assessed using a short-term slope and a statistical threshold to detect persistence.
🧭 Economic Regime Classification
The script combines these metrics to identify 17 distinct economic states, such as:
- Typical Expansion: Indicates strong growth and inflation expectations with low safe-haven demand.
- Stagflation Risk: Reflects cost-push inflation with weak growth and high safe-haven demand.
- Supply Shock Conditions: Signals rising inflation and uncertainty, often due to geopolitical events.
Regime classification is based on the interaction of these metrics and their positioning relative to long-term trends. The specific weighting and logic are proprietary, ensuring a unique approach.
📊 Features
- Live macro regime status table with trend updates and economic implications.
- Visual plots of key ratios and optional moving averages.
- Customizable alerts for key regimes (e.g., stagflation onset, expansion reentry).
- Full customization for MA periods, ratio thresholds, TIPS threshold, and table update frequency.
📈 How to Use
- Apply on daily or weekly charts for stable macro signals (adjustable via "Data Timeframe" input).
- Customize thresholds and MA periods to match your market view.
- Use regime outputs to guide allocation (e.g., cyclical assets in expansion, defensive assets in stagflation).
⚠️ Disclaimer
This script is for informational and educational purposes only and does not constitute financial or investment advice. Past performance is not indicative of future results. Always conduct your own research and consult a qualified financial advisor before trading. The underlying calculation logic is proprietary and not disclosed in full.
ETH Z-Pulse | QuantumResearchETH Z-Pulse | QuantumResearch
📉 Ethereum On-Chain Z-Score Composite for Trend Detection
ETH Z-Pulse is a custom on-chain valuation indicator developed by QuantumResearch, designed to identify key trend shifts in Ethereum based on three powerful on-chain metrics: NUPL, SOPR, and MVRV. It computes a composite Z-Score signal to detect statistically significant bullish or bearish phases in the market.
🔍 Core Components:
📈 NUPL Z-Score — Measures Unrealized Profit/Loss using Glassnode’s Market Cap vs. Realized Cap
📊 SOPR Z-Score — Spent Output Profit Ratio smoothed with an EMA filter
📉 MVRV Z-Score — Market Value to Realized Value comparison for Ethereum
The result is a single composite oscillator (On_chainz) that dynamically signals trend strength and valuation extremes.
⚙️ Signal Logic:
Bullish (Long Bias): When the composite Z-Score > +0.83
Bearish (Short Bias): When the Z-Score < -0.58
Neutral Zone: Values between thresholds (continuous signal)
Color-coded plots and chart bars visually highlight trend shifts and help distinguish accumulation vs. distribution phases.
🧠 Use Case:
Ideal for:
Long-term investors looking to assess ETH valuation cycles
Swing traders seeking macro trend confirmation
Analysts comparing on-chain signals with technical setups
📌 Technical Notes:
Requires on-chain data feeds from Glassnode and CoinMetrics
Designed specifically for Ethereum (ETH) on daily timeframe
Customizable Z-Score lengths for fine-tuning
Non-overlay indicator
⚠️ Disclaimer:
This tool is for educational and research purposes only.
Past performance is not indicative of future results.
On-chain metrics are probabilistic, not predictive. Always combine with other forms of analysis and risk management.
Not financial advice.
CL Live lotsize ROOSTER📄 Description:
This is a utility script designed for manual futures traders who enter with market orders and want to size their positions precisely based on $ risk.
⚙️ Features:
✅ Calculates live contract size based on:
A fixed dollar risk amount (e.g. $100)
A manually set static stop-loss price
The live market price as your entry
✅ Uses a configurable risk-reward ratio (e.g. 1:3)
✅ Plots entry, stop, and target levels on the chart
✅ Displays calculated contract size as a floating label
🎯 Why this tool?
Built to support fast execution workflows , this tool helps traders who:
Enter trades at candle close or open
Want to pre-calculate their market order size before the signal
Prefer a visual, consistent, real-time R:R validation system
Avoid fumbling with the long/short position tool at the last second
🔧 Settings:
Static Stop-Loss Price: Enter the price level where you'd place your SL
Account Risk ($): How much you’re willing to risk per trade
Risk-Reward Ratio: Set your target multiplier (e.g. 3 for 3R)
PORTFOLIO TABLE Full [Titans_Invest]PORTFOLIO TABLE Full
This is a complete table for monitoring your assets or cryptocurrencies in your SPOT wallet without needing to access your broker’s website or app.
⯁ HOW TO USE THIS TABLE❓
Simply select the asset and enter the amount you hold.
The table will display the value of each asset and the total value of your portfolio.
You can monitor up to 19 assets in real time.
⯁ CONVERT VALUES
You can also enable and select a currency for conversion.
For example, cryptocurrencies are calculated in US dollars by default, but you can choose euros as the conversion currency.
The values originally in dollars will then be displayed in euros.
⯁ TRACK THE DAILY VARIATION OF YOUR PORTFOLIO
You’ll be able to monitor your portfolio’s raw daily variation in real time.
🔶 Track your Portfolio in real time:
🔶 Add your local Currency to Convert Values:
🔶 Follow your Portfolio Live:
___________________________________________________________
📜 SCRIPT : PORTFOLIO TABLE Full
🎴 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 𐓷𐓏
Risk Calculator Manual Only### Indicator Name: Risk Calculator Manual Only
Description:
This indicator is designed for manual risk and position size calculation. It helps traders manage risk per trade by clearly displaying key trade parameters on the chart in an easy-to-read table format. The indicator does not auto-calculate entry, stop, or target prices—all values must be entered manually, giving full control to the trader.
Key Features:
- Manual input only: Users manually enter the entry price, stop-loss, and take-profit levels.
- On-chart data table: Displays all calculated metrics in a compact, color-coded table:
- Trade Type: Long or Short, selectable in settings.
- Entry Price, Stop-Loss, Take-Profit: Entered by the user.
- Position Size ($): Automatically calculated based on your risk amount and stop-loss distance.
- Profit ($): Potential profit based on take-profit level.
- Loss ($): Potential loss based on stop-loss level.
- Color coding:
- Profit row is highlighted in green.
- Loss row is highlighted in red.
- Alerts: Optional alerts when price hits the stop-loss or take-profit levels.
How to Use:
1. Enter your planned entry price, stop-loss, and take-profit in the indicator settings.
2. Set your risk amount per trade (in USD).
3. The indicator will calculate the appropriate position size, potential profit, and loss, and display them in a visual table.
4. Enable alerts if you want to be notified when price reaches your stop-loss or take-profit.
Benefits:
- Helps enforce disciplined risk management.
- Visual feedback on key trade metrics, directly on the chart.
- Fast, manual trade planning with no automation—ideal for discretionary traders.
- Supports both long and short trade types.
Notes:
- This tool assumes accurate manual input. It does not auto-detect price levels.
- Best used by traders who prefer full control over their risk setup and calculations.
---------------------------------------------------------
Position Size Calculator (Fixed % or ATR-based Stop Support)Position Size Calculator (Fixed % or ATR-based Stop Support)
Purpose and Background
This indicator allows traders to calculate appropriate position sizes directly on the chart, based on a key rule:
“What percentage of your capital are you willing to risk per trade?”
While many traders focus on entries and indicators, position sizing and risk allocation are often overlooked.
This tool visualizes and simplifies the “1% risk rule” promoted by IBD (Investor’s Business Daily) and William J. O’Neil, helping both beginners and experienced traders maintain disciplined capital management.
Key Features
Automatically calculates and displays:
・ Position Size
The number of units (shares, contracts, coins) you can hold based on your stop-loss range and risk allowance.
・ Stop Price
The price level at which your stop-loss would be triggered.
・ Risk Amount
The maximum loss per trade based on your portfolio size and risk percentage.
Two stop-loss modes available:
・ Fixed % Mode
O’Neil suggests using up to 8% stop-loss in uptrends and keeping it tighter (around 4%) in corrections. This mode allows flexible manual settings.
・ ATR-Based Mode
Uses the asset’s average volatility to dynamically calculate stop-loss width using the Average True Range (ATR).
ATR Usage and Recommended Settings
ATR helps you avoid noise-based stop-outs and align your risk with market volatility.
There are two parameters you can adjust:
・ ATR Length
Defines how many bars are used to calculate the average range.
・Shorter values (5–10) respond faster for day trades
・Longer values (14–21) offer smoother ranges for swing/position trades(Default is 14)
・ATR Multiplier
Sets how wide the stop-loss is by multiplying the ATR value:
・Day trading: 1.0–1.5×
・Swing trading: 1.5–2.5×
・Position trading: 2.0–3.0×
Practical Examples: Risk % × Stop-Loss % → Max Positions
This tool helps estimate how many positions you can hold in a portfolio based on your risk per trade and stop width.
Examples:
・Risk 0.5%, Stop 8% → Max 16 positions
・Risk 0.5%, Stop 4% → Max 8 positions
・Risk 1.0%, Stop 8% → Max 8 positions
・Risk 1.0%, Stop 4% → Max 4 positions
・Risk 2.0%, Stop 8% → Max 4 positions
・Risk 2.0%, Stop 4% → Max 2 positions
These assume worst-case scenarios where all positions are stopped out simultaneously within your overall portfolio risk limit.
Display & Customization Options
・ Currency Display: USD or JPY
No currency conversion is applied. Select based on your trading region (e.g., USD for U.S. stocks, JPY for Japanese stocks).
Support for additional currencies can be added upon request.
・ Show/Hide Decimal Places
Toggle decimals for better visibility. Ideal for fractional assets like crypto and CFDs.
・ Position of Output
Choose from top-right, middle-right, or bottom-right on the chart.
・ Text Display Size: Large / Normal / Small
Choose the table size that best suits your viewing preferences.
・ Explanation of Displayed Labels
・ Position Size : Units to buy/sell based on risk
・ Stop Price : Price where stop-loss is triggered
・ Risk Amount : Max loss allowed for the trade
How to Use
1、Set your Portfolio Size
2、Choose your Currency (USD or JPY)
3、Input Risk per Trade (%) (e.g., 1%)
4、Select Stop Loss Method
・ Fixed % : Enter a manual stop-loss percent (e.g., 8%)
・ ATR : Then also enter:
・ ATR Length : Number of bars used to calculate ATR (e.g., 14)
・ ATR Multiplier : Factor applied to ATR to determine stop-loss (e.g., 2.0)
5、Adjust decimals, label position, or text size as needed
6、The result is displayed in a table directly on your chart
Notes
・ Uses the current close price (close) as the basis
Real-time bid/ask data isn't available in Pine Script, so the close price is used for consistent results.
・ No buy/sell signals are generated
This tool is for position sizing and risk calculation only, not trade entries.
Recommended For
・Traders who want precise, rule-based position sizing
・Users following IBD or O’Neil’s 1% risk principle
・Those incorporating ATR for stop-loss strategies
・Multi-asset traders (stocks, crypto, CFDs, etc.)
・ Anyone who wants to calculate position size and risk without using a calculator or external tool—fully inside TradingView
Simple Portfolio System | QuantumResearchStatic Allocation Engine for Smarter Crypto Exposure
The Simple Portfolio System (SPS) by QuantumResearch is a lightweight yet powerful asset allocation framework, designed for investors who want a smarter, more disciplined alternative to passive buy-and-hold. SPS allocates capital across four customizable assets — BTC, ETH, SOL, and SUI — using a volatility-adjusted momentum engine powered by the proprietary AVWO indicator.
🔍 Key Features:
✅ Adaptive Allocation Logic
Every day, the system evaluates trend strength using the AVWO oscillator. Each asset showing a bullish signal receives a fixed 25% portfolio allocation.
📉 Dynamic Cash Protection
If no asset is trending, SPS automatically shifts to 100% cash, minimizing exposure during sideways or bearish market phases.
📈 Equity Curve Overlay
Compare the strategy's performance against traditional Buy & Hold — both equity curves are plotted for clear benchmarking.
🧠 Proprietary Signal Engine
Powered by AVWO, a custom volatility-weighted oscillator developed by QuantumResearch, designed to filter noise and highlight adaptive trend signals.
📋 Live Performance Dashboard
Real-time metrics include:
Sharpe Ratio
Sortino Ratio
Omega Ratio
Max Drawdown (%)
Current Asset Allocations & Weights
⚙️ System Logic Overview:
Up to four assets analyzed: BTC, ETH, SOL, SUI
If one or more assets are detected as trending, each receives 25% allocation
If none are trending, capital remains unallocated (cash)
Allocation signals are recalculated daily
Backtest begins: 03 May 2023
📌 Use Case:
This system is ideal for:
-Investors seeking to avoid overexposure during weak or range-bound markets
-Traders who want to capture clear trend opportunities
-Portfolio builders looking to benchmark adaptive exposure vs. passive HODL strategies
Built by QuantumResearch — engineered for simplicity, clarity, and tactical trend participation.
⚠️ Important Disclaimer:
Past performance is not indicative of future results. All trading strategies carry risk.
This tool is provided for educational and research purposes only.
Not financial advice. Always conduct your own analysis and consult with a financial advisor before making investment decisions.
TCP | Money Management indicator | Crypto Version📌 TCP | Money Management Indicator | Crypto Version
A robust, multi-target risk and capital management indicator tailored for crypto traders. Whether you're trading spot, perpetual futures, or leverage tokens, this tool empowers you with precise control over risk, reward, and position sizing—directly on your chart. Eliminate guesswork and trade with confidence.
🔰 Introduction: Master Your Capital, Master Your Trades
Poor money management is the number one reason traders lose their accounts, even with solid strategies. The TCP Money Management Indicator, built by Trade City Pro (TCP), solves this problem by providing a structured, rule-based approach to capital allocation.
Want to dive deeper into the concept of money management? Check out our comprehensive tutorial on TradingView, " TradeCityPro Academy: Money Management ", to understand the principles that power this indicator and transform your trading mindset.
This indicator equips you to:
• Calculate optimal position sizes based on your capital, risk percentage, and leverage
• Set up to 5 customizable take-profit targets with partial close percentages
• Access real-time metrics like Risk-to-Reward (R/R), USD profit, and margin usage
• Trade with discipline, avoiding emotional or inconsistent decisions
💸 Money Management Formula
The indicator uses a professional capital allocation model:
Position Size = (Capital × Risk %) ÷ (Stop Loss % × Leverage)
From this, it calculates:
• Total risk amount in USD
• Optimal position size for your trade
• Margin required for each take-profit target
• Adjusted R/R for each target, accounting for partial position closures
🛠 How to Use
Enter Trade Parameters: Input your capital, risk %, leverage, entry price, and stop-loss price.
Set Take-Profit Targets: Enable 1 to 5 take-profit levels and specify the percentage of the position to close at each.
Real-Time Calculations: The indicator automatically computes:
• R/R ratio for each target
• Profit in USD for each partial close
• Margin used per target (in % and USD)
Visualize Your Trade:
• Price levels for entry, stop-loss, and take-profits are plotted on the chart.
• A dynamic info panel on the left side displays all key metrics.
🔄 Dynamic Adjustments: As each take-profit target is hit and a portion of the position is closed, the indicator recalculates the remaining position size, expected profit, R/R, and margin for subsequent targets. This ensures accuracy and reflects real-world trade behavior.
📊 Table Overview
The left-side panel provides a clear snapshot:
• Trade Setup: Capital, entry price, stop-loss, risk amount, and position size
• Per Target: Percentage closed, R/R, profit in USD, and margin used
• Summary: Total expected profit across all targets
⚙️ Settings Panel
• Total Capital ($): Your account size for the trade
• Risk per Trade (%): The percentage of capital you’re willing to risk
• Leverage: The leverage applied to the trade
• Entry/Stop-Loss Prices: Define your trade’s risk zone
• Take-Profit Targets (1–5): Set price levels and percentage to close at each
🔍 Use Case Example
Imagine you have $1,000 capital, risking 1%, using 10x leverage:
• Entry: $100 | Stop-Loss: $95
• TP1: $110 (close 50%) | TP2: $115 (close 50%)
The indicator calculates the exact position size, profit at each target, and margin allocation in real time, with all metrics displayed on the chart.
✅ Why Traders Love It
• Precision: No more manual calculations or guesswork
• Versatility: Works on all crypto pairs (BTC, ETH, altcoins, etc.)
• Flexibility: Perfect for scalping, swing trading, or futures strategies
• Universal: Compatible with all timeframes
• Transparency: Fully manual, with clear and reliable outputs
🧩 Built by Trade City Pro (TCP)
Developed by TCP, a trusted name in trading tools, used by over 150,000 traders worldwide. This indicator is coded in Pine Script v5, ensuring compatibility with TradingView’s platform.
🧾 Final Notes
• No Auto-Trading: This is a manual tool for disciplined traders
• No Repainting: All calculations are accurate and non-repainting
• Tested: Rigorously validated across major crypto pairs
• Publish-Ready: Built for seamless use on TradingView
🔗 Resources
• Money Management Tutorial: Learn the fundamentals of capital management with our detailed guide: TradeCityPro Academy: Money Management
• TradingView Profile: Explore more tools by TCP on TradingView
LotSize CalculatorLotSize Calculator Documentation
Overview
The LotSize Calculator is a powerful TradingView indicator designed to help traders calculate optimal position sizes based on risk management principles. It provides a visual representation of trade setups, including entry points, stop losses, and take profits, while calculating the appropriate lot size based on your risk preferences.
Key Features
Automatic lot size calculation based on risk amount
Support for multiple asset classes (forex, commodities, indices, etc.)
Visual R-multiple levels (1R to 5R)
Real-time position tracking with drawdown and run-up statistics
Customizable visual elements and display options
Input Parameters
Risk Management Settings
Risk Amount Type: Choose between risking a fixed amount in dollars ($) or a specific lot size.
Risk Amount: The amount you want to risk on the trade (in dollars if Risk Amount Type is set to $, or in lots if set to Lots).
Overwrite TP: Optional setting to automatically set take profit at a specific R-multiple (1R, 2R, 3R, 4R, or 5R).
Table Comments: Optional field to add personal notes to the position table.
Trade Setup Levels
Trigger Price: The price at which your trade will be entered.
Stop Loss: Your predetermined exit price to limit losses.
Take Profit: Your target price to secure profits.
Time Of Setup Start Bar: The starting time for your trade setup window.
Display Settings
Plot Position Labels: Toggle to show/hide position information labels on the chart.
Plot Position Table: Toggle to show/hide the position information table.
Show Money: Toggle to display monetary values ($) in the labels and table.
Show Points: Toggle to display point values in the labels and table.
Show Ticks: Toggle to display tick values in the labels and table.
Visual Appearance
Entry Color: Color for entry level line and labels.
Take Profit Color: Color for take profit level line and labels.
Stop Loss Color: Color for stop loss level line and labels.
Label Text Color: Color for text in the position labels.
Table Background: Background color for the position information table.
Table Text: Text color for the position information table.
R Labels: Color for the R-multiple level labels.
Table Position: Position of the information table on the chart (options: Bottom Right, Bottom Left, Bottom Middle, Top Right, Top Middle).
How to Use
Basic Setup
Set your entry price in the "Trigger Price" field.
Set your stop loss level in the "Stop Loss" field.
Set your take profit level in the "Take Profit" field.
Choose your risk amount type ($ or Lots) and enter the risk amount.
Optionally, select an R-multiple for automatic take profit calculation.
Understanding the Display
The indicator will show:
Horizontal lines for entry, stop loss, and take profit levels
Colored zones between entry and take profit (potential profit zone) and between entry and stop loss (potential loss zone)
R-multiple levels based on your risk (1R, 2R, 3R, 4R, 5R)
A table displaying:
Position type (long/short) and size
Original risk and reward figures
Maximum run-up and drawdown during the trade
Trade Monitoring
Once a trade is triggered (either by price crossing a stop entry or reaching a limit entry), the indicator tracks:
Current position value
Maximum run-up (highest profit seen)
Maximum drawdown (largest loss seen)
Trade outcome when take profit or stop loss is hit
Advanced Features
Asset Type Detection
The LotSize Calculator automatically detects the type of asset being traded (forex, commodity, index, etc.) and adjusts calculations accordingly to ensure accurate position sizing.
R-Multiple Visualization
R-multiples help visualize potential reward relative to risk. For example, 2R means the potential reward is twice the amount risked. The indicator displays these levels directly on your chart for easy reference.
Adaptive Position Labels
Position labels adjust their display based on trade direction (long or short) and include relevant information about risk, reward, and current position status.
Best Practices
Always confirm your risk is appropriate for your account size (typically 1-2% of account per trade).
Use the R-multiple visualization to ensure your trades offer favorable risk-to-reward ratios.
The indicator works best when used alongside your existing strategy for entry and exit signals.
Customize the visual appearance to match your chart theme for better visibility.
Troubleshooting
If position calculations seem incorrect, verify that the indicator is detecting the correct instrument type.
For forex pairs, ensure your broker's lot size conventions match those used by the indicator.
The indicator may need adjustment for certain exotic instruments or markets with unusual tick sizes.
Dynamic Portfolio TrackerDynamic Portfolio Tracker
The Dynamic Portfolio Tracker is a visual tool for actively managing and monitoring a multi-asset portfolio directly on TradingView. It allows users to input up to 15 custom assets (with a default setup for 5), define how much of each asset they hold, and assign a target allocation percentage to each. The script then calculates live market prices, total portfolio value, current vs. target weightings, and provides clear, color-coded instructions on whether to buy, sell, or hold each asset. It displays all this data in an on-chart table, showing both the dollar amount and the quantity to adjust for each asset, helping users keep their portfolio aligned with their strategy in real time.
How to Use the Inputs (What Each Field Means)
1. Portfolio Assets (Tickers)
Fields: Asset 1 Ticker, Asset 2 Ticker, …, Asset 15 Ticker
What it does: Lets you select which assets (crypto, stocks, etc.) you want to track. These are live symbols pulled from TradingView.
2. Asset Quantities
Fields: Asset 1 Amount, Asset 2 Amount, …, Asset 15 Amount
What it means: How much of each asset you currently hold. For example:
• 0.03 BTC
• 2.1 ETH
Why it’s needed: The script multiplies this by the live price to calculate the current dollar value of each asset in your portfolio.
3. Target %
Fields: Asset 1 Implied %, Asset 2 Implied %, …, Asset 15 Implied %
What it means: Your desired allocation for each asset. For example:
• 40% BTC
• 20% ETH
• 10% SOL, etc.
Important: These must total 100% or less across all assets. The script checks this and shows an error if the total exceeds 100%.
The Dynamic Portfolio Tracker displays two powerful on-chart tables:
1. Main Table — Per Asset Breakdown
This table shows detailed, real-time information for each asset in your portfolio. Each row represents a different asset, and each column has a specific meaning:
Column What It Means
Asset = The symbol of the asset (e.g., BTCUSD, ETHUSD), auto-stripped from the exchange name.
Price = The current market price of the asset, pulled live from TradingView.
Quantity = How much of that asset you currently hold, entered manually in the inputs.
Target % = The percentage of your total portfolio you want this asset to represent.
Actual % = What percentage of your portfolio it currently makes up (based on price × quantity).
Target Value = How much (in $) this asset should be worth in your portfolio.
Actual Value = How much (in $) this asset is currently worth.
Instruction = Whether to Buy, Sell, or Hold to match your target allocation.
Value Change = The dollar amount you’d need to buy/sell to rebalance this asset.
Units to Trade = The number of asset units to buy/sell to reach the target value.
2. Portfolio Summary Table — Portfolio Totals
This smaller table appears in the top-right corner and summarizes your entire portfolio at a glance:
Target % = Total of all your assigned target allocations (should equal 100%).
Actual % = Actual portfolio composition (always 100% unless your capital is zero).
Target Value = Total value your portfolio should be based on your target percentages.
Actual Value = Current live total value of your portfolio.
If there’s a discrepancy between Target Value and Actual Value, the difference is shown in each row of the main table, so you can adjust individual assets accordingly.
Privacy First: Hide Sensitive Financial Data
A unique feature of this tool is the ability to hide sensitive financial data, such as:
• Target Value
• Actual Value
• Total Portfolio Value
You can turn these off using toggle settings, and they’ll be replaced with a crossed-out eye icon (👁️🗨️) — just like on modern crypto exchanges. This feature makes the script safe for streaming, screenshots, or sharing publicly while protecting your privacy.
But more importantly:
Feelings are the enemy of good investing.
Seeing the value of your portfolio fluctuate can trigger fear or greed. By hiding your dollar values, you’re not just securing your data — you’re reducing the temptation to react emotionally.
It’s just numbers. Systems over Feelings.
Table Automatically Adapts to Your Asset Count
The Dynamic Portfolio Tracker is designed to scale with your portfolio. Simply choose how many assets you want to track (up to 15), and the table will automatically resize to fit exactly that number — no wasted space or empty rows.
• Select 1 to 15 assets using the “Number of Assets” input
• The table expands or contracts dynamically to show only those rows
• All calculations, summaries, and layout elements adjust accordingly in real time
This keeps the interface clean, focused, and perfectly tailored to your setup — whether you’re tracking 3 coins or managing a full portfolio of 12+ tokens.
Customize Your Table to Match Your Style
The Dynamic Portfolio Tracker offers a full suite of visual customization options, allowing you to tailor the table to your charting style or stream layout. You can:
• Choose text colors for labels, values, and headers
• Set background colors for the full table and header row — or turn them off completely for a clean, transparent look
• Control border and frame settings, including color, thickness, or disabling them entirely
• Pick custom colors for Buy and Sell signals in the rebalance column
• Adjust table font size from tiny to large to match your resolution or preferences
Special Thanks
This tool wouldn’t exist without the knowledge and inspiration gained through The Real World. A sincere thank you to the Investing Master, the Guides, and Professor Adam — your frameworks and lessons brought clarity, discipline, and structure to this build.
And of course, glory to L4 — where real men are made.
Risk ModuleRisk Module
This indicator provides a visual reference to determine position sizing and approximate stop placement. It is designed to support trade planning by calculating equalized risk per trade based on a stop distance derived from volatility. The tool offers supportive reference points that allow for quick evaluation of risk and position size consistency across varying markets.
Equalized Risk Per Trade
The indicator calculates the number of shares that can be traded to maintain consistent monetary risk. The formula is based on the distance between the current price and the visual stop reference, adjusting the position size proportionally.
Position Size = Dollar Risk / (Entry Price – Stop Price)
The risk is calculated as a percentage of account size; both of which can be set in the indicator’s settings tab. This creates a consistent risk exposure across trades regardless of volatility or structural stop distance.
Stop Placement Reference
The visual stop reference is derived from the Average True Range (ATR), providing a volatility-based anchor. The default value is set to 2 × ATR, but this can be customized.
Price Model: Uses the current price ± ATR × multiplier. This model reacts to price movement and is set as the default option.
EMA Model: Uses the 20-period EMA ± ATR × multiplier. This model is less reactive and can be an option when used in combination with an envelope indicator.
Chart Elements
Stop Levels: Plotted above and below either the current price or EMA, depending on the selected model. These serve as visual reference points for stop placement; the lower level a sell stop for long trades, the upper level a buy stop for short trades.
Information Table: Displays the number of shares to trade, stop level and percentage risk. A compact mode is available to reduce the table to essential information (H/L and Shares).
Settings Overview
Stop Model: Choose between “Price” or “EMA” stop calculation logic.
ATR Multiplier: Change the distance between price/EMA and the stop reference.
Account Size / Risk %: These risk parameters are used to calculate dollar risk per trade.
Visible Bars: Number of recent bars to show stop markers on.
Compact Mode: Minimal table view for reduced chart footprint.
Table Position / Size: Controls table placement and scale on the chart.
SBC ProtfoSBC Portfo PNL Indicator
Description
The SBC Portfo PNL Indicator is a user-friendly tool designed for Hebrew-speaking traders to track the Profit and Loss (PNL) of their stock portfolios on TradingView charts. It supports up to 5 distinct portfolios, each capable of holding an unlimited number of stocks with unlimited buy commands, allowing real-time monitoring of portfolio performance.
Key Features
- Multi-Portfolio Support: Track up to 5 separate portfolios for different trading strategies or accounts.
- Unlimited Stock Entries: Add unlimited stocks and buy commands per portfolio.
- Detailed Buy Commands: Input for each stock:
- Stock Ticker (e.g., AAPL, TSLA).
- Buy Price (e.g., 150.25).
- Buy Amount (e.g., 10).
- Hebrew-Friendly Interface: Intuitive settings dialog with clear instructions in Hebrew.
- Customizable PNL Tracking: Visualize PNL on charts with real-time updates based on market data.
How to Use
1. Add the Indicator:
- Go to the Indicators menu in TradingView and add the "SBC Portfo" PNL Indicator.
2. Configure Portfolios:
- Open the indicator’s settings dialog.
- For each portfolio (up to 5), enter data in the provided input fields using this format:
PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
Example:
Portfolio1:AAPL:150.25x10;TSLA:266.72x5
- This represents a portfolio named "Portfolio1" with:
- 10 shares of AAPL bought at $150.25.
- 5 shares of TSLA bought at $266.72.
- Repeat for additional portfolios (e.g., Portfolio2, Portfolio3).
- Add multiple buy commands for the same stock if needed (e.g., AAPL:160.50x20).
3. Apply Settings:
- Save settings to display PNL based on current market prices.
4. Monitor PNL:
- View PNL for each portfolio on the chart via tables, labels, or graphical overlays (based on settings).
Input Format
Enter portfolio data manually in the settings dialog, one input field per portfolio:
PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
- PortfolioName: Unique name (e.g., Portfolio1, Growth).
- StockTicker: Stock symbol (e.g., AAPL).
- BuyPrice: Purchase price per share (e.g., 150.25).
- BuyAmount: Number of shares (e.g., 10).
- Use
: to separate portfolio name, ticker, and buy data
x to separate price and amount
; for multiple stocks in the portfolio
Example:
- Portfolio 1: GrowthPortfolio:AAPL:150.25x10;TSLA:266.72x5
- Portfolio 2: DividendPortfolio:KO:55.20x50;PG:145.30x30
Notes
- Hebrew Support: Settings and labels are optimized for Hebrew users.
- Manual Input: Enter portfolio data manually in the settings dialog using the correct format.
- Compatibility: Works with any stock ticker supported by TradingView.
תיאור אינדיקטור SBC Portfo PNL הוא כלי ידידותי למשתמש שתוכנן במיוחד עבור סוחרים דוברי עברית למעקב אחר רווח והפסד (PNL) של תיקי המניות שלהם ישירות בגרפים של TradingView. הוא תומך בעד 5 תיקים נפרדים, כאשר כל תיק יכול להכיל מספר בלתי מוגבל של מניות עם פקודות קנייה בלתי מוגבלות, ומאפשר מעקב בזמן אמת אחר ביצועי התיק.
תכונות עיקריות
- תמיכה בריבוי תיקים: מעקב אחר עד 5 תיקים נפרדים עבור אסטרטגיות מסחר או חשבונות שונים.
- רישום מניות ללא הגבלה: הוספת מספר בלתי מוגבל של מניות ופקודות קנייה לכל תיק.
- פקודות קנייה מפורטות: הזנת נתונים עבור כל מניה:
- סימול המניה (למשל, AAPL, TSLA).
- מחיר קנייה (למשל, 150.25).
- כמות קנייה (למשל, 10).
- ממשק ידידותי לעברית: חלונית הגדרות אינטואיטיבית עם הוראות ברורות בעברית.
- מעקב PNL הניתן להתאמה: הצגת רווח והפסד בגרפים עם עדכונים בזמן אמת בהתבסס על נתוני השוק.
כיצד להשתמש
1. הוספת האינדיקטור:
- נווט לתפריט האינדיקטורים ב-TradingView והוסף את "SBC Portfo PNL Indicator".
2. הגדרת תיקים:
- פתח את חלונית ההגדרות של האינדיקטור.
- עבור כל תיק (עד 5), הזן נתונים בשדות המסופקים בפורמט הבא:
PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
לדוגמה:
Portfolio1:AAPL:150.25x10;TSLA:266.72x5
שורה זו מייצגת תיק בשם "Portfolio1" עם:
- 10 מניות של AAPL שנקנו ב-$150.25.
- 5 מניות של TSLA שנקנו ב-$266.72.
- חזור על התהליך עבור תיקים נוספים (למשל, Portfolio2, Portfolio3).
- ניתן להוסיף פקודות קנייה מרובות לאותה מניה לפי הצורך (למשל, AAPL:160.50x20).
3. החלת ההגדרות:
- שמור את ההגדרות להצגת ה-PNL בהתבסס על מחירי השוק הנוכחיים.
4. מעקב אחר PNL:
- צפה ב-PNL עבור כל תיק בגרף באמצעות טבלאות, תוויות או שכבות גרפיות (בהתאם להגדרות).
פורמט קלט הזן נתוני תיק ידנית בחלונית ההגדרות, שדה קלט אחד לכל תיק: PortfolioName:StockTicker:BuyPricexBuyAmount;StockTicker:BuyPricexBuyAmount
PortfolioName: שם ייחודי (למשל, Portfolio1, Growth).
StockTicker: סימול המניה (למשל, AAPL).
BuyPrice: מחיר רכישה למניה (למשל, 150.25).
BuyAmount: מספר המניות (למשל, 10).
השתמש ב-
: להפרדה בין שם התיק, סימול ונתוני קנייה
x להפרדה בין מחיר וכמות
; להפרדה בין מניות מרובות
דוגמה:
- תיק 1: GrowthPortfolio:AAPL:150.25x10;TSLA:266.72x5
- תיק 2: DividendPortfolio:KO:55.20x50;PG:145.30x30
Release Notes
Version 1.1 includes:
- Calculations for extended hours (Pre-Market & After-Hours).
- Option to display portfolio summary data for stocks not in the portfolio (enable via settings checkbox).
- Table background for better visibility; click to bring table to the front.
- Updated text strings (names, titles, tooltips).
הערות
תמיכה בעברית: ההגדרות והתוויות מותאמות למשתמשים דוברי עברית.
הזנה ידנית: הזן נתוני תיק ידנית בחלונית ההגדרות תוך שימוש בפורמט הנכון.
תאימות: עובד עם כל סימול מניה הנתמך על ידי TradingView.
גרסה 1.1 מכילה:
1. חישובים כוללים שעות מסחר מורחבות (Pre-Market ו-After-Hours).
2. אפשרות להציג נתוני תיק כוללים עבור מניות שאינן בתיק (הפעל באמצעות תיבת סימון בהגדרות).
3. צבע רקע לטבלה לשיפור הנראות; לחיצה על הטבלה מביאה אותה לחזית.
4. תיקון נוסחים (שמות, כותרות, וטולטיפים).
ItsGuarantee Instrument Speed & Close MomentumItsGuarantee Instrument Speed & Close Momentum
Overview
Exclusively engineered for premier hedge funds, the ItsGuarantee Instrument Speed & Close Momentum indicator is a vital tool that unlocks the speed of an instrument and how fast it’s going since the start of the current year, powered by proprietary physics-based calculations. These calculations preview the guaranteed net profit or loss of an instrument every day since the year’s start, using real-time data to deliver unmatched precision. It forecasts unmanipulated closing prices for today, the month, and the year, displayed on a sleek, customizable dashboard with lines, labels, and a table. With real-time alerts, manipulation detection, and global timezone support, this indicator is indispensable for maximizing returns.
Key Features
Real-Time Speed Analysis: Uses physics-based math to reveal an instrument’s speed and daily profit/loss preview since January 1 with live data.
Accurate Price Forecasts: Predicts unmanipulated daily, monthly, and yearly closing prices with precision.
Manipulation Detection: Spots price irregularities instantly, safeguarding your trades.
Clear Visuals: Features Sea Blue (daily), Purple (monthly), and Red (yearly) lines and labels for quick insights.
Instant Alerts: Sends real-time notifications when prices cross key levels.
Global Compatibility: Works in any market timezone with adjustable open times.
Custom Dashboard: Tailor table position, colors, and sizes to fit your needs.
How It Works
Driven by proprietary physics calculations, the indicator tracks an instrument’s price speed since January 1 using real-time data, previewing the guaranteed net profit or loss every day since the year’s start. It predicts unmanipulated closing prices for daily, monthly, and yearly periods, shown on a clear table, lines, and labels. Real-time alerts signal price crossings, and manipulation detection ensures market integrity, making it a cornerstone for hedge funds worldwide.
Ideal For
Hedge fund managers tracking daily profit/loss and instrument speed with live data.
Funds combating price manipulation to seize market opportunities.
Any Monday-to-Friday market globally.
Customization Options
Set market open time (e.g., 9:30 AM for NYSE).
Adjust table colors, borders, and text sizes (tiny to huge).
Customize Sea Blue (daily), Purple (monthly), and Red (yearly) visuals.
Choose from six table positions (e.g., Top Right, Bottom Left).
Setting Up Alerts
Add the indicator to your chart.
Enable alerts like “Daily Close Crossover” for key price movements.
Use “Once Per Bar Close” on daily charts for accurate alerts.
Note
Adapts to any chart timezone; align with your market’s settings.
Assumes 264 trading days per year and 22 trading days per month.
Includes debugging labels for NA values at the top of the chart.
Secure Your Advantage
Trusted by elite hedge funds, ItsGuarantee Instrument Speed & Close Momentum is your key to mastering market speed and daily profit/loss with real-time precision. Add it to your chart, set your market time, customize the dashboard, and enable alerts to trade with the confidence of the world’s top funds.
Position Size CalculatorPosition Size Calculator - User Guide
A simple tool to calculate optimal position size based on your risk preferences, visualize trade levels, and automatically determine trade direction.
Introduction
The Position Size Calculator is a TradingView indicator designed to help traders calculate the optimal position size for their trades based on account size and risk tolerance. This tool visually represents entry, stop loss, and take profit levels while automatically calculating the appropriate position size to maintain consistent risk management.
Getting Started
Setting Up Your Account Parameters
Setting Price Levels
Understanding the Visual Elements
Adjusting Your Trade on the Chart
Reading the Information Panel
1. Getting Started
After adding the indicator to your chart, you'll see three horizontal lines representing:
Yellow line: Entry price
Green line: Take profit price
Red line: Stop loss price
The indicator automatically detects whether you're planning a Long or Short trade based on the position of your take profit relative to your entry.
2. Setting Up Your Account Parameters
In the "Position Calculator" settings group:
Account Size : Enter your total account balance
Account Currency : Set your account currency (USD, EUR, etc.)
Risk (%) : Enter the percentage of your account you're willing to risk per trade (e.g., 2%)
Instrument Type : Select your trading instrument (Forex, Futures, Stocks, or Crypto)
Value per 0.01 lot per tick : Enter the value of 0.01 lots per tick (for most Forex pairs, this is $1 per pip for 0.01 lot)
Minimum Lot Size : Set the minimum lot size allowed by your broker (usually 0.01 for Forex)
3. Setting Price Levels
In the "Price Levels" section:
Entry Price : The price at which you plan to enter the trade
Stop Loss Price : Where you'll exit if the trade goes against you
Take Profit Price : Your target price where you'll take profits
If you set Entry Price to 0, it will default to the current price. If Stop Loss or Take Profit are set to 0, they'll default to 5% below or above entry price respectively.
4. Understanding the Visual Elements
Yellow line : Your entry price
Green line : Your take profit level
Red line : Your stop loss level
Green zone : The profit zone (between entry and take profit)
Red zone : The loss zone (between entry and stop loss)
Information panel : Shows all calculations and trade details
5. Adjusting Your Trade on the Chart
The beauty of this tool is its interactivity:
You can drag any of the lines directly on the chart to adjust entry, stop loss, or take profit
If you drag the take profit above the entry , the indicator automatically sets up for a Long trade
If you drag the take profit below the entry , it automatically configures for a Short trade
All calculations and visuals update in real-time as you adjust the lines
This means you can quickly test different scenarios and see how they affect your position size and potential profit/loss.
6. Reading the Information Panel
The information panel displays:
Account details : Your account size and currency
Risk information : Your percentage risk and the equivalent monetary amount
Position Size : The optimal lot size calculated based on your risk parameters
Price levels : Entry, Stop Loss, and Take Profit with distances in ticks
Risk/Reward ratio : Shown as 1:X (where X is the reward relative to 1 unit of risk)
Potential outcomes : The exact amount you stand to gain or lose on this trade
Trade direction : Whether this is a Long or Short trade
Visual Settings
You can customize the appearance in the "Visual" settings group:
Adjust colors for profit and loss zones
Change the transparency of colored zones
Toggle the filling of spaces between lines
Adjust how far the lines extend beyond the last candle
Practical Tips
Always double-check your "Value per 0.01 lot per tick" setting for the specific instrument you're trading
For Forex major pairs, the standard is usually $1 per pip for 0.01 lots
For other instruments, consult your broker's specifications
The indicator works best when you place your stop loss at a logical market level (support/resistance, swing high/low) rather than a fixed percentage
Final Thoughts
This Position Size Calculator helps remove emotion from your trading by objectively calculating your position size based on your predefined risk parameters. It ensures that you maintain consistent risk across all your trades, regardless of the stop loss distance, which is a key component of successful risk management.
Remember: The most important goal in trading is capital preservation. This tool helps you ensure that each trade risks only what you've decided is acceptable for your trading strategy.
Position size Margin & Lot Calculator [Algo Star]Position Size Margin & Lot Calculator is a lightweight Pine v5 indicator that helps you scale into a trade with five incremental “steps.”
What it does:
Takes your total capital and leverage settings
Splits your risk into five proportioned entries
Shows both the USD margin required and the corresponding MT4/MT5 lot size for each entry
Why you’ll love it:
No manual calculations—everything is displayed in a neat on-chart table
Fully configurable: set your account size, leverage, contract size and price source
Ideal for pyramiding or averaging in with controlled risk at each step
Just add it to any chart, tweak your inputs, and immediately see exactly how much margin and how many lots to allocate at each of the five pre-defined steps—perfect for systematic position sizing without the headache.
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 𐓷𐓏
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.
Leonid's Bitcoin Macro & Liquidity Regime Tracker🧠 Macro Overlay Score (Bitcoin Liquidity Regime Tracker)
This indicator combines the most important macroeconomic and on-chain inputs into a single unified score to help investors identify Bitcoin’s long-term cycle phases. Each input is normalized into a 0–100 score and blended using configurable weights to generate a dynamic, forward-looking macro regime tracker.
✅ Best used on the **Bitcoin All Time History Index with Weekly resolution** (`INDEX:BTCUSD`) for maximum historical context and signal clarity.
---
📈 Why Macro?
Macro liquidity conditions — interest rates, monetary expansion, dollar strength, credit risk — drive Bitcoin cycles . Risk assets like BTC thrive during periods of:
Monetary easing
Liquidity injections
Expansionary central bank policy
This overlay surfaces those periods *before* price follows. It captures cycle shifts in the business cycle, monetary policy, and investor sentiment — making it ideal for long-term allocators, macro-aligned investors, and cycle-focused BTC holders.
🔔 This is **not** designed for short-term or swing trading. It is optimized for **macro trend confirmation and regime awareness** — not fast entry/exit signals.
---
🔍 What It Tracks
Macro Inputs:
- 🏭 ISM 3M Trend (Business Cycle)
- 💹 CPI YoY (Inverted Inflation)
- 💵 M2 YoY + M2 Acceleration
- 🇨🇳 China M2 (Global Liquidity)
- 💱 DXY 3M Trend (USD Strength)
- 🏦 TGA & RRP YoY (Treasury / MMF Flows)
- 🏛 Fed Balance Sheet (WALCL)
- 💳 High Yield Spread (Credit Conditions)
- 💧 Net Liquidity Composite = WALCL – TGA – RRP
On-Chain Inputs:
- ⚠️ MVRV Ratio (Valuation Cycles)
- 🚀 Mayer Multiple Acceleration (200DMA Momentum)
---
🧩 How It Works
Each input is:
Normalized to a 0–100 score
Weighted by importance (fully configurable)
Combined into a **composite Macro Score**, then normalized across history
The chart will display:
🔷 A 0–100 **Macro Score Line**
🧭 **Cycle Phase classification**: Accumulation, Expansion, Distribution, Capitulation
📊 Optional **debug table** with all sub-scores
---
🧠 Interpreting the Signal
| Signal Type | Meaning |
|-------------------|---------------------------------------------|
| Macro Score ↑ | Liquidity improving → Bullish regime forming |
| Macro Score ↓ | Liquidity deteriorating → Caution warranted |
| Score < 40 & Rising | 🔵 Accumulation cycle likely beginning |
| Score > 70 & Falling | 🟡 Distribution / Macro exhaustion |
| Net Liquidity ↑ | Strong driver of BTC upside historically |
---
❓ FAQ
Q: Why did the Macro Score peak in March 2021, but Bitcoin topped in November?
> The indicator reflects **macro liquidity**, not price momentum. M2 growth slowed, DXY bottomed, and the Fed stopped expanding WALCL by Q1 2021 — all signs of macro exhaustion. BTC continued on **residual momentum**, but the smart money began exiting months earlier.
Q: What does the score range mean?
- 0–25 : Tight liquidity, unfavorable conditions
- 50 : Neutral environment
- 75–100 : Strong easing, liquidity surge
Q: Is this good for short-term signals?
> No. This is a **macro-level overlay**, best used for 3–12 month context shifts, not day trades.
Q: Can I adjust the weights?
> Yes. You can tune the influence of each input to match your thesis (e.g., overweight on-chain, or global liquidity).
Q: Do I need special data access?
> No. All symbols are public TradingView datasets (FRED, CryptoCap, etc.). Just use this on a BTC chart like `BTCUSD`.
---
✅ How to Use
- Load on **`INDEX:BTCUSD`**, set to **Weekly timeframe**
- Confirm long-term bottoms when score is low and rising (Accumulation → Expansion)
- Watch for tops when score is high and falling (Distribution → Capitulation)
- Combine with price structure, realized profit/loss, and market sentiment
---
🚀 If you're serious about understanding Bitcoin's macro regime, this is your alpha map. Share it, clone it, and build on it.
Supply In Profit Z-Score | Vistula LabsOverview
The Supply In Profit Z-Score indicator is a Pine Script™ tool developed by Vistula Labs for technical analysis of cryptocurrencies, specifically Bitcoin (BTC) and Ethereum (ETH). It utilizes on-chain data from IntoTheBlock to calculate the difference between the percentage of addresses in profit and those in loss, transforming this metric into a Z-Score. This indicator helps traders identify market sentiment, trend-following opportunities, and overbought or oversold conditions.
What is Supply In Profit?
Supply In Profit is defined as the net difference between the percentage of addresses in profit and those in loss:
Profit Percentage: The proportion of addresses where the current value of holdings exceeds the acquisition price.
Loss Percentage: The proportion of addresses where the current value is below the acquisition price.
A positive value indicates more addresses are in profit, suggesting bullish sentiment, while a negative value indicates widespread losses, hinting at bearish sentiment.
How It Works
The indicator computes a Z-Score to normalize the Supply In Profit data relative to its historical behavior:
Z-Score = (Current Supply In Profit - Moving Average of Supply In Profit) / Standard Deviation of Supply In Profit
Current Supply In Profit: The latest profit-minus-loss percentage.
Moving Average: A customizable average (e.g., EMA, SMA) over a default 180-bar period.
Standard Deviation: Calculated over a default 200-bar lookback period.
Key Features
Data Source:
Selectable between BTC and ETH, pulling daily profit/loss percentage data from IntoTheBlock.
Customization:
Moving Average Type: Options include SMA, EMA, DEMA, RMA, WMA, or VWMA (default: EMA).
Moving Average Length: Default is 180 bars.
Z-Score Lookback: Default is 200 bars.
Thresholds: Adjustable for long/short signals and overbought/oversold levels.
Signals:
Long Signal: Z-Score crosses above the Long Threshold (default: 1.0).
Short Signal: Z-Score crosses below the Short Threshold (default: -0.64).
Overbought/Oversold Conditions:
Overbought: Z-Score > 3.0.
Oversold: Z-Score < -2.0.
Visualizations:
Z-Score Plot: Teal for long signals, magenta for short signals.
Threshold Lines: Dashed lines for long/short, solid lines for overbought/oversold.
Candlestick Coloring: Matches signal colors (teal/magenta).
Arrows: Green up-triangles for long entries, red down-triangles for short entries.
Background Colors: Magenta for overbought, teal for oversold.
Alerts:
Conditions for Long Opportunity, Short Opportunity, Overbought, and Oversold.
Usage Guide
Trend Following
Long Entry: When Z-Score crosses above 1.0, indicating potential upward momentum.
Short Entry: When Z-Score crosses below -0.64, suggesting potential downward momentum.
Overbought/Oversold Analysis
Overbought (Z-Score > 3.0): Consider profit-taking or preparing for a reversal.
Oversold (Z-Score < -2.0): Look for buying opportunities or exiting shorts.
Timeframe
Uses daily IntoTheBlock data, ideal for medium to long-term analysis.
Interpretation
High Z-Score: Indicates Supply In Profit is significantly above its historical mean, potentially signaling overvaluation.
Low Z-Score: Suggests Supply In Profit is below its mean, indicating possible undervaluation.
Signals and thresholds help traders act on shifts in market sentiment or extreme conditions.
Conclusion
The Supply In Profit Z-Score indicator provides a robust, data-driven approach to analyzing cryptocurrency market trends and sentiment. By combining on-chain metrics with statistical normalization, it empowers traders to make informed decisions based on historical context and current market dynamics.