ATR % Line from Day LowThis places a line at a determined percent distance (within the settings panel) from the high or low of the day to make sure you're not buying extended.
Portfolio management
ATR Stop Loss Non-Decreasing & LineThe script calculates a custom stop-loss level based on the Average True Range (ATR) indicator, ensuring that this stop-loss level never decreases from one bar to the next unless a reset condition is met. It also visually displays the ATR value and the calculated stop-loss level as a line on the chart.
Position Size Calculator with ATR & Tick Risk Management Position Size Calculator with ATR & Tick Risk Management
This script calculates your optimal position size based on your account size, risk per trade, and either a fixed tick-based stop loss or the Average True Range (ATR) for dynamic risk control.
🔹 Flexible Risk Input : Choose between fixed ticks or ATR (Average True Range) as your risk measure
🔹 Precise Position Sizing : Calculates the maximum number of units you can trade while respecting your risk limit
🔹 Clear Table Display : Shows key values like total position size, risk in cents, ATR in ticks, and 40% / 80% partial take-profit levels
🔹 No Chart Clutter : The script runs in the background and does not plot on the chart
Perfect for traders who want to manage risk efficiently and objectively , whether trading stocks, futures, or CFDs.
⚙️ Customizable Inputs:
Account Size
Risk per Trade
Tick Risk (if ATR is disabled)
ATR Length & Multiplier (if ATR is enabled)
Ticker Industry and Competitor LookupThe Ticker Industry and Competitor Lookup is a comprehensive indicator that provides instant access to industry classification data and competitive intelligence for any ticker symbol. Built using the advanced SIC_TICKER_DATA library, this tool delivers professional-grade sector analysis with enterprise-level performance. It's a simple yet great tool for competitor research, sector studies, portfolio diversification, and investment decision-making.
This indicator is a simple tool built on based on our SIC_TICKER_DATA library to demonstrate the use cases of the library. In this case, you enter a ticker and it displays the sector, SIC or Standard Industrial Classification which is a SEC identifier, and more importantly, the competitors that are listed to be in the exact same SIC by SEC.
There isn't much to say about the indicator itself but we strongly recommend checking out the SIC_TICKER_DATA library we just published to learn more about the types of indicators you can build using it.
Checklist Dashboard Table# Checklist Dashboard Table – ICT/SMC Trading Helper
Overview
The “Checklist Dashboard Table” is a TradingView indicator designed to help traders structure, organize, and validate their market analyses following the ICT/SMC (Inner Circle Trader / Smart Money Concepts) methodology. It provides a visual and interactive checklist directly on your chart, ensuring you never miss a crucial step in your decision-making process.
Key Features
- Visual Checklist : All your trading criteria are displayed as color-coded checkboxes (green for validated, red for not validated), making your analysis process both clear and efficient.
- Clear Separation Between Analysis and Confirmations :
- Analysis : Reminders for your routine, such as timeframe selection (M3 to H4), trend analysis via RSI, and identification of key zones (Midnight Open, SSL/BSL, Asian High/Low).
- Confirmations : Six customizable criteria to check off as you validate your setup (clear trend, OB + FVG, OTE zone, Premium/Discount, R/R > 1:2, CBDR/Midnight).
- Personal Notes Section : Keep your trade entries, observations, or comments in a dedicated field in the indicator’s settings. Your notes are displayed right in the checklist for quick reference and journaling.
- Elegant and Compact Display : The table is styled for readability and can be positioned anywhere on your chart.
- Quick Customization : Instantly update any criterion or your personal notes via the script settings.
How to Use
1. Add the indicator to your chart.
2. Review the “Analysis” section as your pre-trade routine reminder.
3. Check off the “Confirmations” criteria as you validate your entry strategy.
4. Write your trade notes or comments in the provided notes section.
5. Use the checklist to reinforce discipline and repeatability in your trading.
Why Use This Checklist?
- Prevents you from skipping important steps in your analysis.
- Reinforces trading discipline and consistency.
- Allows you to document and review your trade decisions for ongoing improvement.
Who Is It For?
Perfect for ICT/SMC traders, but also valuable for anyone looking to organize and systematize their trading process.
Happy trading!
Alpha VIX - with Stop loss built inCapture UVIX spikes with laser-sharp entries, crystal-clear exits, and built-in risk control.
▶️ Entry only when the key SMAs align, Williams %R momentum crosses up from oversold.
🛑 Exit on the very first hint of momentum fading (ROC turning down or %R cross) or a hard 2.3% stop-loss off your exact fill price.
📈 Visual signals: Green ▲ marks your entry price; red ▼ marks your exit price + P&L.
💡 Proven edge in volatile markets—no repainting, no guessing.
Based on 10 year study of the VIX and trends.
This indicator should get your nice alpha +100% p/y, when most ETFs / stocks dip. Got questions or want invite-only access to the pro 10x alpha version? DM me on TradingView and I’ll get you set up!
Dynamic SL/TP Levels (ATR or Fixed %)This indicator, "Dynamic SL/TP Levels (ATR or Fixed %)", is designed to help traders visualize potential stop loss (SL) and take profit (TP) levels for both long and short positions, refreshing dynamically on each new bar. It assumes entry at the current bar's close price and uses a fixed 1:2 risk-reward ratio (TP is twice the distance of SL in the profit direction). Levels are displayed in a compact table in the chart pane for easy reference, without cluttering the main chart with lines.
Key Features:
Calculation Modes:
ATR-Based (Dynamic): SL distance is derived from the Average True Range (ATR) multiplied by a user-defined factor (default 1.5x). This adapts to the asset's volatility, providing breathing room based on recent price movements.
Fixed Percentage: SL is set as a direct percentage of the current close price (default 0.5%), offering consistent gaps regardless of volatility.
Long and Short Support: Calculates and shows SL/TP for longs (SL below close, TP above) and shorts (SL above close, TP below), with toggles to hide/show each.
Real-Time Updates: Levels recalculate every bar, making them readily available for entry decisions in your trading system.
Display: Outputs to a table in the top-right pane, showing precise values formatted to the asset's tick size (e.g., full decimal places for crypto).
How to Use:
Add the indicator to your chart via TradingView's Pine Editor or library.
Adjust settings:
Toggle "Use ATR?" on/off to switch modes.
Set "ATR Length" (default 14) and "ATR Multiplier for SL" for dynamic mode.
Set "Fixed SL %" for percentage mode.
Enable/disable "Show Long Levels" or "Show Short Levels" as needed.
Interpret the table: Use the displayed SL/TP values when your strategy signals an entry. For risk management, combine with position sizing (e.g., risk 1% of account per trade based on SL distance).
Example: On a volatile asset like BTC, ATR mode might set a wider SL for realism; on stable pairs, fixed % ensures predictability.
This tool promotes disciplined trading by tying levels to price action or fixed rules, but it's not financial advice—always backtest and use with your full strategy. Feedback welcome!
TrendZonesTrendZones
This is an indicator which I use, have tested, tweaked and added features to for use in my trend following investing system. I got the idea for it when for some reason I was looking for a dynamic reference to measure the height of a channel or something. In search of this I made MA’s of the high and low borders of a Donchian channel which turned out to be two near parallel and stunningly smooth curves. This visual was so appealing that I immediately tried to turn it into a replacement for the KeltCOG which I previously used in my system. First I created a curve in the middle of the upper and lower curves, which I called COG (Center Of Gravity). Then I decided to enter only one lookback and let the script create a Donchian channel with half the lookback and use this to create the curves with an MA of whole lookback. For this reason the minimum lookback is set to 14, enough room for the Donchian Channel of 7 periods. This Donchian ChanneI has a special way of calculating the borders, involving a 5 period Median value. Thanks to this these borders are really a resistance and support level, which won’t change at a whim, e.g. when a ‘dead cat bounce’ occurs. I prevented the Donchian channel to show itself between the curves and only pop out from behind these. These pop outs now function as “strong trend zones”. I gave it colors (blue:-strong up, green: moderate up, orange: moderate down, red: strong down, near COG: gray, curves horizontal: gray) and it looked very appealing. I tested it in different time frames. In some weekend, when I was bored, I observed for a few hours the minute chart of bitcoin. It turned out that you can reliably tell that an uptrend ends when the candles go under the COG beginning a downtrend. Uptrend starts again once the candles go above COG. As Trends on minute charts only last around half an hour, this entertainment made the potential of this indicator very clear to me in just one afternoon.
Risk Management, Safe Level and Logical Stops.
In the inputs are settings for “Risk Tolerance”, and to activate “Show Logical Stop Level” (activated in example chart) and “Show Safe Level”. As a rule of thump a trade should not expose the invested capital to a risk of losing more than 2 percent. I divided my investment capital in ten equal parts which are allocated to ten different stocks or other instruments or kept liquid. This means that when a position is closed by triggering a Stop with a loss of 20 percent, the invested capital suffers only 2 percent (20% x 10% = 2%). This is why the value for “Risk Tolerance” has a default of 20. Because I put my Stops on the lower curve, a “Safe Level” can be calculated such that when you buy for a price below or at this level, the stop will protect the position sufficiently. Because I only buy when the instrument is in uptrend, the buying price should be between COG and Safe Level. Although I never do that, putting the stop at other curves is feasible and when you want to widen the stop (I never lower my stops btw) in a downtrend situation, even 1 ATR below the “Low Border”. I call these “Logical Stop Levels”, marked with dark green circles on the lower curve when safe buying by placing the Stoploss on this curve is possible, gray circles on the other curves, on the Upper Curve navy when price enters very profitable level. In a downtrend situation maroon circles appear.
Target lines
When I open a position I always set a Stoploss and a Target, for this purpose two types of Target values can be set and corresponding Target lines activated. These lines are drawn above the “High Border” at the set distance. If one expects some price to be used, differences will occur.
Other Features
Support Zone, this is 1 ATR below the “Low Border”, the maroon circles of the “Logal Stops” are placed on this “Support level”.
Stop distance and Channel Width. (activated in example chart) These are reported in a two cell table in the right lower corner of the main panel. I created this because I want to be able to check the volatility, whether the channel shows a situation in which safe buying in most levels of the channel is possible or what risk you take when you buy now and set the Stop at the nearest logical level (which is not always the “Lower curve”). This feature comes in handy for creating a setup I propose in the “Day Trading Fantasy” below.
Some General and User Settings. I never activate this, perhaps you will.
Use Of TrendZones In My System.
Create a list of stocks in uptrend. I define ‘stock in uptrend’ as in uptrend zone in all three monthly, weekly and daily charts, all three should at the same time be in uptrend. The advantage of TrendZones is that you can immediately see in which zone the candle moves.
Opening a position in a stock from the above list. I do this only when in both the daily and weekly the green dot on the lower curve indicates a buying opportunity. This is usually not the case in most of the items of the list, this feature thus provides a good timing for opening a position. Sometimes you need to wait a few weeks for this to happen.
Setting a target over a position. For this I use the Target percent line of the weekly chart with the default value of 10.
Updating the Stoploss and Target values. Every week or two weeks I set these to the new values of the “Lower Curve” and the Target line of the weekly. Attention: never shift down Stops, only up or let them stay the same when the curve moves down. I never use Stop levels on other curves.
I Check the charts whenever I like to do this. Close the position when the uptrend obviously shifts down. Otherwise I let the profits run until the Target triggers which closes the position with some profit.
For selecting stocks an checking charts for volume events, I also use a subpanel indicator called “TZanalyser”, which borrows the visual of my “Fibonacci Zone Oscillator”, is based on TrendZones and includes code from my REVE indicators. I intend to publish that as well.
Day Trading Fantasy.
Day trading is an attempt to earn a dime by opening a position in the morning and close it during the day again with a profit (or a loss). Before the market closes, you close all day trading positions.
In my fantasy the “Logical Stop Level” is repurposed for use as entry point and the ATR-based Target line is used to provide a target setting in an intraday chart, like e.g. 15 minute. To do this the “Safe Level” should be limited to between Channel width and COG. This can be done by showing “Safe Level” and “Channel Width” and then set “Risk Tolerance” to around the shown Channel Width. In this setting you can then wait for the green circle to show up for entering your trade and protect it with the stop.
I don’t know if this works fine or if it’s better than other day trade systems, because I don’t do day trading.
Take care and have fun.
Risk Distribution HistogramStatistical risk visualization and analysis tool for any ticker 📊
The Risk Distribution Histogram visualizes the statistical distribution of different risk metrics for any financial instrument. It converts risk data into histograms with quartile-based color coding, so that traders can understand their risk, tail-risks, exposure patterns and make data-driven decisions based on empirical evidence rather than assumptions.
The indicator supports multiple risk calculation methods, each designed for different aspects of market analysis, from general volatility assessment to tail risk analysis.
Risk Measurement Methods
Standard Deviation
Captures raw daily price volatility by measuring the dispersion of price movements. Ideal for understanding overall market conditions and timing volatility-based strategies.
Use case: Options trading and volatility analysis.
Average True Range (ATR)
Measures true range as a percentage of price, accounting for gaps and limit moves. Valuable for position sizing across different price levels.
Use case: Position sizing and stop-loss placement.
The chart above illustrates how ATR statistical distribution can be used by looking at the ATR % of price distribution. For example, 90% of the movements are below 5%.
Downside Deviation
Only considers negative price movements, making it ideal for checking downside risk and capital protection rather than capturing upside volatility.
Use case: Downside protection strategies and stop losses.
Drawdown Analysis
Tracks peak-to-trough declines, providing insight into maximum loss potential during different market conditions.
Use case: Risk management and capital preservation.
The chart above illustrates tale risk for the asset (TQQQ), showing that it is possible to have drawdowns higher than 20%.
Entropy-Based Risk (EVaR)
Uses information theory to quantify market uncertainty. Higher entropy values indicate more unpredictable price action, valuable for detecting regime changes.
Use case: Advanced risk modeling and tail-risk.
VIX Histogram
Incorporates the market's fear index directly into analysis, showing how current volatility expectations compare to historical patterns. The CAPITALCOM:VIX histogram is independent from the ticker on the chart.
Use case: Volatility trading and market timing.
Visual Features
The histogram uses quartile-based color coding that immediately shows where current risk levels stand relative to historical patterns:
Green (Q1): Low Risk (0-25th percentile)
Yellow (Q2): Medium-Low Risk (25-50th percentile)
Orange (Q3): Medium-High Risk (50-75th percentile)
Red (Q4): High Risk (75-100th percentile)
The data table provides detailed statistics, including:
Count Distribution: Historical observations in each bin
PMF: Percentage probability for each risk level
CDF: Cumulative probability up to each level
Current Risk Marker: Shows your current position in the distribution
Trading Applications
When current risk falls into upper quartiles (Q3 or Q4), it signals conditions are riskier than 50-75% of historical observations. This guides position sizing and portfolio adjustments.
Key applications:
Position sizing based on empirical risk distributions
Monitoring risk regime changes over time
Comparing risk patterns across timeframes
Risk distribution analysis improves trade timing by identifying when market conditions favor specific strategies.
Enter positions during low-risk periods (Q1)
Reduce exposure in high-risk periods (Q4)
Use percentile rankings for dynamic stop-loss placement
Time volatility strategies using distribution patterns
Detect regime shifts through distribution changes
Compare current conditions to historical benchmarks
Identify outlier events in tail regions
Validate quantitative models with empirical data
Configuration Options
Data Collection
Lookback Period: Control amount of historical data analyzed
Date Range Filtering: Focus on specific market periods
Sample Size Validation: Automatic reliability warnings
Histogram Customization
Bin Count: 10-50 bins for different detail levels
Auto/Manual Bin Width: Optimize for your data range
Visual Preferences: Custom colors and font sizes
Implementation Guide
Start with Standard Deviation on daily charts for the most intuitive introduction to distribution-based risk analysis.
Method Selection: Begin with Standard Deviation
Setup: Use daily charts with 20-30 bins
Interpretation: Focus on quartile transitions as signals
Monitoring: Track distribution changes for regime detection
The tool provides comprehensive statistics including mean, standard deviation, quartiles, and current position metrics like Z-score and percentile ranking.
Enjoy, and please let me know your feedback! 😊🥂
Universal ATR Grid from Entry Price with AlertsUniversal ATR Grid from Entry Price with Alerts
This Pine Script v6 indicator creates a dynamic price grid based on a user-defined entry price and ATR for selected instruments (SOLUSDT, XRPUSDT, DOGEUSDT, PEPEUSDT, WIFUSDT).
Users can customize the entry price, ATR, number of levels (up to 5), and step multiplier per instrument.
The grid shows long (green) and short (red) levels around the entry price (gray), with labels offset right.
Lines extend from labels to the current bar, updating dynamically.
Alerts trigger on breakouts of long, short, and entry levels. Instrument names can be modified in the script.
Cobra Hedge Dashboard – V1.0 Final Master🧠 Cobra Hedge Dashboard – V1.0 Final Master
V1.0 | Smart Risk Filter for Open Hedge Positions
📝 (Description):
Cobra Hedge Dashboard is built specifically for traders managing open hedge positions. It provides a real-time view of directional pressure, smart zones, and price behavior to help make informed decisions such as:
When to partially close hedge orders
When to reverse positions based on flow & exhaustion
Which side (Buy or Sell) currently has momentum
Detecting price reaching critical zones (Supply/Demand)
Measuring volume strength to avoid fake exits
🔍 Ideal for traders already in the market — this dashboard is not an entry signal system, but a tool to manage hedge exits and exposure.
Built-in calculations include:
VWAP and EMA cross-pressure
Directional flow meter
Auto Supply & Demand Zones
Volume spikes and breakout strength
Best used on 1m–15m charts.
Open-source for transparency and improvement.
Range Filter Buy & Sell 5min + Multi-TF DashboardElevate your edge with Range Filter Buy & Sell 5min + Multi-TF Dashboard—a precision-engineered trend companion that scans your favorite markets from the 5-minute tick to the higher-timeframe horizon. By harmonizing short-term signals with the broader trend, it delivers crystal-clear buy and sell cues—and the confidence to act on them. Whether you’re scalping, swing trading, or investing for the long haul, this all-in-one dashboard empowers you to ride only the strongest trends and step aside before the noise hits. Trade smarter. Trade with clarity. Trade with conviction.
That Awesome StrategyThis is of course a work in progress. I really would like feedback.
I designed this specifically for the S&P 500, specifically ES1!, and have not tested on any other charts. I am not responsible for any losses you may incur by using this strategy.
This strategy is based in parts on MACD calculations, the momentum indicator i created, and a pair of dual offset identical moving averages, along with other tweaks.
It has a SL/TP function based on ticks.
It has several options for moving average types for the main moving averages, the MACD moving averages, and the momentum indicator moving average. Many combinations.
Since I am using a CME futures product for trading, this strategy automatically closes all trades at 2pm and disallows any trading until 4pm. I will update this with an adjustable time slot for this market closure time soon so that it will fit your timezone.
Pine Script version 6.
PL TrackerIt's a very simple script that returns daily and open PL given entry price and quantity of shares.
You can have a list of stocks owned and keep them as a list in this format:
$Ticker1, EntryPrice1, SharesOwned1, $Ticker2, EntryPrice2, SharesOwned2, etc...
Confluence checklistConfluences by Scalpr
Custom Confluences Checklist - Trading Setup Confirmation Tool
A clean and customizable confluence tracking indicator designed to help traders confirm high-probability setups by monitoring multiple technical factors simultaneously.
Key Features:
10 Fully Customizable Confluences - Name each confluence to match your trading strategy (Premium/Discount zones, Liquidity sweeps, Market structure, etc.)
Dynamic Dashboard - Only appears when confluences are active, keeping your chart clean
Visual Confirmation - Green checkmarks (✅) for each confirmed confluence with custom color coding
Flexible Display Options - Choose dashboard position (4 corners) and size (Small/Normal/Large)
Real-time Counter - Shows active confluence count in header
Professional Layout - Confluence names on left, checkmarks on right for easy scanning
How to Use:
Setup Phase - Enable and rename confluences in settings to match your analysis criteria
Analysis Phase - Check/uncheck confluences as market conditions align with your setup
Confirmation Phase - Use the dashboard as a visual checklist to confirm trade entries
Perfect For:
ICT traders tracking premium/discount, liquidity sweeps, and market structure
Multi-timeframe analysis confirmation
Setup validation before trade execution
Educational purposes for learning confluence-based trading
Crypto Narratives: Relative Strength V2Simple Indicator that displays the relative strength of 8 Key narratives against BTC as "Spaghetti" chart. The chart plots an aggregated RSI value for the 5 highest Market Cap cryopto's within each relevant narrative. The chart plots a 14 period SMA RSI for each narrative.
Functionality:
The indicator calculates the average RSI values for the current leading tokens associated with ten different crypto narratives:
- AI (Artificial Intelligence)
- DeFi (Decentralized Finance)
- Memes
- Gaming
- Level 1 (Layer 1 Protocols)
- AI Agents
- Storage/DePin
- RWA (Real-World Assets)
- BTC
Usage Notes:
The 5 crypto coins should be regularly checked and updated (in the script) by overtyping the current values from Rows 24 - 92 to ensure that you are using the up to date list of highest marketcap coins (or coins of your choosing).
The 14 period SMA can be changed in the indicator settings.
The indicator resets every 24 hours and is set to UTC+10. This can be changed by editing the script line 19 and changing the value of "resetHour = 1" to whatever value works for your timezone.
There is also a Rate of Change table that details the % rate of change of each narrative against BTC
Horizontal lines have been included to provide an indication of overbought and oversold levels.
The upper and lower horizontal line (overbought and oversold) can be adjusted through the settings.
The line width, and label offset can be customised through the input options.
Alerts can be set to triggered when a narrative's RSI crosses above the overbought level or below the oversold level. The alerts include the narrative name, RSI value, and the RSI level.
Capital Risk OptimizerCapital Risk Optimizer 🛡️
The Capital Risk Optimizer is an educational tool designed to help traders study capital efficiency, risk management, and scaling strategies when using leverage.
This script calculates and visualizes essential metrics for managing leveraged positions, including:
Entry Price – The current market price.
Stop Loss Level – Automatically derived using the 30-bar lowest low minus 1 ATR (default: 14-period ATR), an approach designed to create a dynamic, volatility-adjusted stop loss.
Stop Loss Distance (%) – The percentage distance between entry and stop.
Maximum Safe Leverage – The highest leverage allowable without risking liquidation before your stop is reached.
Margin Required – The amount of collateral necessary to support the desired position size at the calculated leverage.
Position Size – The configurable notional value of your trade.
These outputs are presented in a clean, customizable table overlay so you can quickly understand how position sizing, volatility, and leverage interact.
By default, the script uses a 14-period ATR combined with the lowest low of the past 30 bars, providing an optimal balance between sensitivity and noise for defining stop placement. This methodology helps traders account for market volatility in a systematic way.
The Capital Risk Optimizer is particularly useful as a portfolio management tool, supporting traders who want to study how to scale into positions using risk-adjusted sizing and capital efficiency principles. It pairs best with backtested strategies, and does not directly produce signals of any kind.
How to Use:
Set your desired position size.
Adjust the ATR and lookback settings to fine-tune stop loss placement.
Study the resulting leverage and margin requirements in real time.
Use this information to simulate and visualize potential trade scenarios and capital allocation models.
Disclaimer:
This script is provided for educational and informational purposes only. It does not constitute financial advice and should not be relied upon for live trading decisions. Always do your own research and consult with a qualified professional before making any trading or investment decisions.
🦄 Unicorn Entry Checklist🦄 *Unicorn Entry Checklist* is a visual decision-making tool for SMC/ICT traders who want to validate confluence before entering a trade.
It provides a structured approach based on Smart Money Concepts including:
✅ Liquidity Grab
✅ MSS with Displacement
✅ BB + FVG/IFVG
✅ Killzone Timing
✅ SMT / 3Drive / StopHunt
✅ Accumulation / Reaccumulation Zones
🎯 Use it to confirm high-probability entries and avoid weak setups.
Built for discretionary traders who want clarity and consistency on their charts.
Clean visual table with live checklist and auto-scoring.
Developed by *@dragosburdulea*
Crypto Risk-Weighted Allocation SuiteCrypto Risk-Weighted Allocation Suite
This indicator is designed to help users explore dynamic portfolio allocation frameworks for the crypto market. It calculates risk-adjusted allocation weights across major crypto sectors and cash based on multi-factor momentum and volatility signals. Best viewed on INDEX:BTCUSD 1D chart. Other charts and timeframes may give mixed signals and incoherent allocations.
🎯 How It Works
This model systematically evaluates the relative strength of:
BTC Dominance (CRYPTOCAP:BTC.D)
Represents Bitcoin’s share of the total crypto market. Rising dominance typically indicates defensive market phases or BTC-led trends.
ETH/BTC Ratio (BINANCE:ETHBTC)
Gauges Ethereum’s relative performance versus Bitcoin. This provides insight into whether ETH is leading risk appetite.
SOL/BTC Ratio (BINANCE:SOLBTC)
Measures Solana’s performance relative to Bitcoin, capturing mid-cap layer-1 strength.
Total Market Cap excluding BTC and ETH (CRYPTOCAP:TOTAL3ES)
Represents Altcoins as a broad category, reflecting appetite for higher-risk assets.
Each of these series is:
✅ Converted to a momentum slope over a configurable lookback period.
✅ Standardized into Z-scores to normalize changes relative to recent behavior.
✅ Smoothed optionally using a Hull Moving Average for cleaner signals.
✅ Divided by ATR-based volatility to create a risk-weighted score.
✅ Scaled to proportionally allocate exposure, applying user-configured minimum and maximum constraints.
🪙 Dynamic Allocation Logic
All signals are normalized to sum to 100% if fully confident.
An overall confidence factor (based on total signal strength) scales the allocation up or down.
Any residual is allocated to cash (unallocated capital) for conservative exposure.
The script automatically avoids “all-in” bias and prevents negative allocations.
📊 Outputs
The indicator displays:
Market Phase Detection (which asset class is currently leading)
Risk Mode (Risk On, Neutral, Risk Off)
Dynamic Allocations for BTC, ETH, SOL, Alts, and Cash
Optional momentum plots for transparency
🧠 Why This Is Unique
Unlike simple dominance indicators or crossovers, this model:
Integrates multiple cross-asset signals (BTC, ETH, SOL, Alts)
Adjusts exposure proportionally to signal strength
Normalizes by volatility, dynamically scaling risk
Includes configurable constraints to reflect your own risk tolerance
Provides a cash fallback allocation when conviction is low
Is entirely non-repainting and based on daily closing data
⚠️ Disclaimer
This script is provided for educational and informational purposes only.
It is not financial advice and should not be relied upon to make investment decisions.
Past performance does not guarantee future results.
Always consult a qualified financial advisor before acting on any information derived from this tool.
🛠 Recommended Use
As a framework to visualize relative momentum and risk-adjusted allocations
For research and backtesting ideas on portfolio allocation across crypto sectors
To help build your own risk management process
This script is not a turnkey strategy and should be customized to fit your goals.
✅ Enjoy exploring dynamic crypto allocations responsibly!
NQ Position Size CalculatorNQ Position Size Line Calculator is designed specifically for Nasdaq 100 futures (NQ) and micro futures (MNQ) traders who want to maintain disciplined risk management. This visual tool eliminates the guesswork from position sizing by displaying distance lines and contract calculations directly on your chart.
The indicator creates horizontal lines at 10-tick intervals from your stop loss level, showing you exactly how many contracts to trade at each distance to maintain your predetermined risk amount. Whether you're trading regular NQ contracts or micro MNQ contracts, this calculator ensures you never risk more than intended while providing instant visual feedback for optimal position sizing decisions.
How to Use the Indicator
Step 1: Configure Your Settings
Stop Loss Price: Enter your exact stop loss level (e.g., 20000.00)
Risk Amount ($): Set your maximum dollar risk per trade (e.g., $500)
Contract Type: Choose between:
NQ (Regular): $5 per tick - for larger accounts
MNQ (Micro): $0.50 per tick - for smaller accounts or conservative sizing
Display Options:
Max Lines: Number of distance lines to show (default: 30)
Show Labels: Toggle tick distance and contract count labels
Line Color: Customize the color of distance lines
Label Size: Choose tiny, small, or normal label sizes
Step 2: Read the Visual Display
Once configured, the indicator displays:
Stop Loss Line:
Thick yellow line marking your exact stop loss level
Yellow label showing the stop loss price
Distance Lines:
Dashed red lines at 10-tick intervals above and below your stop loss
Lines appear on both sides for long and short position planning
Labels (if enabled):
Green labels (right side): For long positions above your stop loss
Red labels (left side): For short positions below your stop loss
Format: "20T 5x" means 20 ticks distance, 5 contracts maximum
Step 3: Use the Information Tables
The indicator provides two helpful tables:
Position Size Table (top-right):
Shows common tick distances (10, 20, 40, 80, 160 ticks)
Displays risk per contract at each distance
Contract count for your specified risk amount
Total risk with rounded contract numbers
Settings Table (bottom-right):
Confirms your current risk amount
Shows selected contract type
Displays current settings for quick reference
Step 4: Apply to Your Trading
For Long Positions:
Look at the green labels on the right side of your chart
Find your desired entry level
Read the label to see: distance in ticks and maximum contracts
Example: "30T 8x" = 30 ticks from stop, buy 8 contracts maximum
For Short Positions:
Look at the red labels on the left side of your chart
Find your desired entry level
Read the label for tick distance and contract count
Example: "40T 6x" = 40 ticks from stop, sell 6 contracts maximum
Step 5: Trading Execution
Before Entering a Trade:
Identify your stop loss level and input it into the indicator
Choose your entry point by looking at the distance lines
Note the contract count from the corresponding label
Verify the risk amount matches your trading plan
Execute your trade with the calculated position size
Risk Management Features:
Contract rounding: All position sizes are rounded down (never up) to ensure you don't exceed your risk limit
Zero position filtering: Lines only show where position size is at least 1 contract
Dual-sided display: Plan both long and short opportunities simultaneously
Live Price Watermark (Flashing Overlay)Displays the current price as a large, centered watermark directly on your chart. The text color updates dynamically:
- Green when price rises
- Red when price falls
- Translucent black when unchanged