Crypto Position Size CalculatorThis tool calculates optimal position size, leverage, and risk metrics based on your entry, stop loss, and take profit. It accounts for trading fees—critical in crypto, where fee slippage can heavily distort real PnL. The script shows position value, coin quantity, required margin, liquidation buffer, risk/reward ratio, and worst-case loss. It also warns if your stop is too close to liquidation or exceeds your margin cap. Designed for accurate, fee-inclusive planning on leveraged crypto trades.
Pengurusan portfolio
HA 21-EMA Crossover • compute Heikin-Ashi values in the background,
• overlay the 21-EMA (orange line) on those HA closes,
• mark bar-close crossovers with green BUY / red SELL arrows, and
MOV MVRV BTC FREE [на графіку]Description
MOV MVRV BTC FREE is a simple and user-friendly indicator for analyzing the relative overvaluation or undervaluation of Bitcoin (BTC) price, utilizing a modified MVRV (Market Value to Realized Value) logic with dynamic thresholds for different market regimes.
The indicator allows you to quickly assess whether BTC is currently undervalued, balanced, or overvalued compared to historical prices. This helps to identify optimal zones for mid-term decisions:
• when the price is too low (potential accumulation zone),
• or, on the contrary, too high (potential risk/profit-taking zone).
⸻
What does the indicator show?
• MVRV Line: The ratio of the current price to the moving average price over the selected period (adapts to the market).
• Realized Price: The average price at which coins were last moved (based on VWAP).
• Cost Basis: The volume-weighted “cost basis” of positions for the period.
• Colored background: Automatically highlights areas of strong imbalance (overvaluation/undervaluation).
⸻
Modes
The indicator allows you to choose between two modes:
• BTC 1D Active: For active markets and short- to mid-term signals.
• BTC 1D Global: For broader market state assessment and long-term cycles.
⸻
Settings
• Mode: Switch between “BTC 1D Active” and “BTC 1D Global”.
• Show MVRV Line: Enable/disable the main indicator line.
• Show Realized Price: Enable/disable the Realized Price line.
• Show Cost Basis: Enable/disable the cost basis line.
Most of the indicator’s advanced features are hidden. In the simplified version, only the basic BTC analysis parameters are available.
⸻
How to interpret:
• Green background: BTC is undervalued (historically a favorable zone for accumulation).
• Red background: BTC is overvalued (risk zone for new purchases).
• Blue and purple lines: Help compare the current price with actual averages.
⸻
MOV MVRV BTC FREE is simple, informative, and ideal for portfolio decision-making, without unnecessary and confusing settings.
⸻
P.S.
The indicator can be displayed directly on the price chart, or in a separate window. Available on TradingView.
MOV MVRV BTC FREE — це простий і зручний індикатор для аналізу відносної переоцінки або недооцінки ціни Bitcoin (BTC) через логіку модифікованого MVRV (Market Value to Realized Value) із динамічними порогами для різних ринкових режимів.
Індикатор дозволяє швидко оцінити, чи знаходиться BTC у стані недооцінки, балансу чи переоцінки відносно історичних цін. Це допомагає знаходити оптимальні зони для середньострокових рішень:
• коли ціна є надто низькою (потенційна зона для накопичення),
• або навпаки — надто високою (потенційна зона ризику/фіксації прибутку).
⸻
Що показує індикатор?
• Лінія MVRV: співвідношення поточної ціни до скользячої середньої ціни за вибраний період (адаптується до ринку).
• Realized Price: середня ціна, за якою монети переміщались востаннє (на основі VWAP).
• Cost Basis: середньозважена “собівартість” позицій за період (з урахуванням обсягу).
• Кольоровий фон: автоматично підсвічує зони сильного дисбалансу (переоцінка/недооцінка).
⸻
Режими роботи
В індикаторі можна вибрати один із двох режимів:
• BTC 1D Активний: Для активного ринку, коротко- і середньострокових сигналів.
• BTC 1D Глобальний: Для більш глобальних оцінок стану ринку та довгострокових циклів.
⸻
Налаштування
• Режим налаштувань: Вибір між “BTC 1D Активний” і “BTC 1D Глобальний”.
• Показати MVRV лінію: Вмикати/вимикати основну лінію індикатора.
• Показати Realized Price: Вмикати/вимикати лінію Realized Price.
• Показати Cost Basis: Вмикати/вимикати лінію середньої собівартості.
Більшість функцій які дає індикатор скриті. В спрощеній версії доступні тількі базові параметри для роботи з BTC
⸻
Як інтерпретувати?
• Зелений фон: BTC перебуває у недооцінці (історично вигідна зона для накопичення).
• Червоний фон: BTC у переоцінці (зона ризику для нових покупок).
• Сині та фіолетові лінії: допомагають порівняти поточну ціну з реальними середніми.
⸻
MOV MVRV BTC FREE — простий, інформативний, ідеально підходить для портфельних рішень, без зайвого “перекручування” налаштувань.
⸻
P.S.
Відображення на графіку. Є окремий для відображення в окремому вікні. Також доданий в ТВ.
Daily Gain/Loss Statistics by Day of WeekDaily Gain/Loss Statistics by Day of Week
Overview
This Pine Script indicator analyzes historical price data to provide comprehensive day-of-week performance statistics, helping traders identify patterns and optimize their trading strategies based on which days historically perform better or worse.
Key Features
📊 Day-of-Week Analysis
7-day breakdown showing Monday through Sunday statistics
Average Gain % - Average percentage gains on winning days for each day of the week
Average Loss % - Average percentage losses on losing days (displayed with minus sign)
Median High % - Typical percentage move from open to daily high
Median Low % - Typical percentage move from open to daily low
🎯 Visual Performance Indicators
🚀 Rocket symbol - Marks the best performing day (highest average gains)
🔻 Red triangle down - Marks the worst performing day (lowest average gains)
Current day highlighting - Today's row highlighted in yellow (#ffdd444b)
⚡ Real-Time Session Tracking
Current Session row - Shows today's performance percentage in real-time
Color-coded gains/losses - Green for positive, red for negative
🎨 Professional Themes
⚙️ Customization Options
Date range selection - Choose specific time periods for analysis
Table positioning - 9 different screen positions
Table sizing - 6 size options from tiny to huge
Timeframe protection - Works only on 1D timeframe with user-friendly warnings
How It Works
Data Collection - Analyzes daily OHLC data within your selected date range
Day Classification - Categorizes each trading day by day of the week
Statistical Calculation - Computes averages and medians for each day type
Performance Ranking - Identifies best and worst performing days
Real-Time Display - Shows current session performance vs historical patterns
Trading Applications
Entry/Exit Timing - Identify optimal days for opening/closing positions
Risk Management - Avoid trading on historically poor-performing days
Strategy Optimization - Align trading strategies with day-of-week patterns
Market Timing - Understand weekly market cycles and seasonality
This indicator transforms raw price data into actionable intelligence, helping traders make more informed decisions based on proven historical day-of-week performance patterns.
UniversalPositionCalculatorV5🚀 Universal Position Calculator v5 (with Margin-Check) 🚀
Stop using calculators and complicated Excel sheets! 🤯 With the Universal Position Calculator v5, you have the ultimate tool right on your TradingView chart to manage your position size perfectly. Whether it's Forex, Gold, or Indices – this indicator does all the work for you!
✨ What does this indicator do? ✨
This indicator is your personal risk manager. It calculates the exact lot size for your next trade based on your capital, your desired risk, and your leverage. The best part? It immediately checks if your trade is even possible with your margin and warns you if you're about to over-leverage your account! 🚦
🌟 Key Features at a Glance 🌟
Automatic Lot Calculation: Just enter your risk in percent, and the indicator calculates the perfect lot size.
Margin Check: Instantly detects if your desired position size is limited by your margin and adjusts it. No more margin calls due to oversized positions!
For All Asset Classes: Works perfectly for Forex pairs (e.g., EURUSD) and other assets like commodities (XAUUSD) or indices (GER30). 💹
Currency Conversion: Automatically converts between your account currency and the asset's currency. It doesn't matter if you trade in EUR, USD, CHF, or JPY. 💱
Interactive Lines: Simply drag and drop the Entry and Stop Loss lines directly on the chart to plan your trade. 🎯
Clear Info Panel: All important information (lot size, required margin, risk in €/$/...) is displayed cleanly and clearly on your chart.
🛠️ How to Use: It's This Easy! 🛠️
The setup is a piece of cake and done in two simple steps.
Step 1: Configure Your Setup
Go to the indicator settings and fill out the "1. Setup" section:
Asset Type: Choose Forex for currency pairs or Other for everything else (e.g., Gold, Oil, Indices).
Account Currency: Enter the currency of your trading account (e.g., USD).
Account Capital: Enter your current account capital.
Risk in % per Trade: How much of your capital do you want to risk per trade? (e.g., 1.0 for 1%).
Leverage: Enter your account's leverage (e.g., 30 for 30:1).
Contract Size for 'Other': IMPORTANT! Only for the Other type. For Gold (XAUUSD), this is often 100; for the DAX (GER30), it's often 1 or 25. Check your broker's specifications for this!
Step 2: Plan Your Trade
Now for the fun part in the "2. Trade Control" section:
Entry Line (Blue Line): Click on the blue line and drag it to your desired entry level. You can also enter the value manually in the settings.
Stop Loss Line (Red Line): Click on the red line and drag it to your stop-loss level.
Step 3: Read the Results
As soon as you've set your Entry and Stop Loss, the Info Panel in the top-right corner will instantly show you the results:
Correct Lot Size: This is the lot size you need to enter with your broker for this trade.
⚠️ Heads up: If it says "Lot Size (Margin Limited!)" in orange, it means your desired risk was too high for your leverage. The indicator has automatically reduced the lot size to the maximum possible to avoid a margin call.
Required Margin: This is how much capital will be blocked on your account as a security deposit (margin) for this trade.
Risk in : The exact amount of money you will lose if your stop loss is triggered.
With this tool, you can make disciplined and mathematically sound trading decisions. Good luck and Happy Trading! 📈💰
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)
BTC Bullrider by Traddy🟦 How to Use BTC Bullrider
🔄 Works on 4H timeframe, best outcome with Bybit or Binance Chart
✅ Enter a Long when a blue triangle appears on the chart — this is your buy signal.
🟣 Exit the trade immediately when a purple triangle appears — this is your exit signal.
🛡️ Always use a fixed stop-loss of 4% from your entry price.
⚙️ You can test different leverage values and equity allocations in the strategy settings to simulate your risk appetite.
📈 BTC Bullrider — Easy & Profitable Bitcoin-Only Strategy
BTC Bullrider is a powerful, Bitcoin-exclusive trading strategy created for traders who want to ride bullish momentum with precision — without the noise and guesswork. Whether you're a beginner or a pro, this strategy gives you clear long-only signals and robust exit logic to stay on the profitable side of Bitcoin trends.
🧠 How It Works – Behind the Scenes
BTC Bullrider is powered by two core engines that work in parallel:
🔁 1. Mean Reversion Engine
Designed to buy strong dips in uptrends using volume and RSI signals.
✅ Dynamic VWAP thresholds identify undervalued zones.
✅ Smoothed RSI (2) spots short-term oversold opportunities.
✅ ADX Filter confirms if the market is trending.
✅ Trailing ATR Stop + Fixed 4% SL for smart risk protection.
When all conditions align, a long position is opened.
🚀 2. Trend Hunter Engine
Built to catch powerful breakouts based on trend slope and volume.
✅ Custom Ichimoku-style lead lines detect trend acceleration.
✅ TSV Volume Spike and BB expansion confirm momentum bursts.
✅ VIDYA + ADX ensure entries only occur during strong uptrends.
Entries are triggered when momentum is aligned and price breaks resistance.
⚙️ Features
🎯 Visual Buy/Sell Alerts with blue and purple triangles.
📅 Date range filtering for accurate backtests.
📊 Adjustable leverage & equity % inputs.
🔄 Works on 4H timeframe
📈 Long-only for trend-following Bitcoin strategies.
BTC Bullrider simplifies Bitcoin trading into clear, rules-based decisions — built to reduce emotional trading and help you stay aligned with the market’s true trend.
Enter strong. Exit smart. Ride the bull. 🐂
Roboquant No-Wick Strategy V1.3This strategy is built specifically for the MNQ1! futures contract on the 15-minute timeframe. It identifies and trades a specific price action setup where candles have little to no wick (either top or bottom), indicating potential momentum continuation. The system places pending limit orders with defined stop-loss and take-profit levels based on ATR volatility.
In theory the strategy should also work on other assets & timeframes if the settings are adjusted.
🔍 Key Features:
Only runs on MNQ1! and the 15-minute chart (errors otherwise to prevent misuse).
Detects "no-wick" candles based on configurable wick and body size filters.
Supports session-based trading (default: 02:00–16:00 NY time).
Executes limit-style entries placed a set number of points away from candle levels.
Uses ATR-based stop-loss and take-profit calculations for adaptive risk control.
Cancels orders automatically after a configurable number of bars if not filled.
Built-in performance statistics table shows live metrics on strategy results.
Trade signals and SL/TP levels are plotted directly on the chart for easy visualization.
⚙️ User Inputs Include:
Candle Settings: Wick percentage, min/max body size
Risk Settings: ATR multiplier, risk/reward (TP), contract size
Strategy Settings: Session time, entry offset distance, cancel-after bars
Performance Table: Toggle visibility, starting balance for display calculations
📈 Performance Table Metrics:
Total trades
Starting and ending balance
Net return in $ and %
Win rate
Maximum drawdown (in $ and %)
⚠️ Notes:
This strategy does not repaint.
Meant for educational and research purposes only — it is not financial advice.
Results may vary based on market conditions, latency, and broker execution. Always forward-test before using in live trading.
In order to unlock the use on all assets and timeframes a password is required which is included in our premium community.
Risk Guardian Pro📊 Risk Guardian Pro - Complete Script Summary
🎯 Overview
Risk Guardian Pro is a comprehensive Pine Script indicator for advanced trading risk management. It provides real-time position sizing, risk calculation, fee tracking, and profit/loss analysis with intelligent profit stop detection.
⚙️ Settings Sections
1. Account Settings
2. Risk Management
3. Stop Loss Settings
4. Trading Fees Settings
5. Display Settings
6. Table Row Toggles
7. Position Settings
🧮 Core Calculations
Risk Analysis
Position Risk
Risk Percentage
Risk:Reward Ratio
Fee Calculations
Trading Fee: Position Size × Leverage × Trading Fee %
Funding Rate: Full Margin × Funding Rate % × 8-Hour Periods
Total Fees: Trading Fee + Accumulated Funding Fees
P&L Calculations
Gross P&L: Position Size × Leverage × Price Movement / Entry Price
Net P&L: Gross P&L - Total Fees
Adjusted Risk/Reward: All targets include fee impact
🎨 Visual Display System
Risk Management Table
Header: "RISK GUARDIAN PRO" with version info
Status Bar: Position direction + Risk heat level with color coding
Main Metrics (11 configurable rows):
Account Balance: Total trading capital
Position Size: Trade allocation with size warnings
Risk %: Percentage at risk with progress bars
Risk:Reward: Current ratio with quality indicators
Stop Loss: Exit price with profit stop intelligence
Take Profit: Target price for profits
Trading Fee: One-time entry cost
Funding Rate: 8-hour accumulation with auto-timer
Total Fees: Complete cost breakdown
Potential Loss: Maximum risk including fees
Potential Win: Profit target minus fees
Chart Elements
Entry Line: Blue horizontal line at entry price
Stop Loss Line: Red line (turns green for profit stops)
Take Profit Line: Green horizontal line
Live P&L Plot: Real-time profit/loss line
Price Labels
Entry Label: "ENTRY" - Blue box
Stop Label: "STOP or "PROFIT STOP"
"PROFITSTOP" - Red/Green
Target Label: "TARGET" - Green box
Live P&L Label: "NET P&L" - Dynamic colour
🧠 Intelligent Features
Profit Stop Detection
Automatically detects when stop loss moves into profit territory:
Long Position: Stop above entry price
Short Position: Stop below entry price
Smart Transformations:
Status → "PROFIT SECURED" 🔒
Stop Loss → "Profit Stop" (green)
Risk % → "Secured Profit %"
Risk:Reward → "Secured:Additional"
Chart elements turn green
Risk Heat Levels
LOW: <2% risk (Green indicators)
MODERATE: 2-3% risk (Yellow indicators)
HIGH: >3% risk (Red indicators)
PROFIT SECURED: Stop in profit (Dark green)
Dynamic Color Coding
Table borders change based on risk level
Position size warnings for oversized trades
Progress bars show risk proximity to limits
All elements adapt to profit stop status
⏰ Time & Fee Management
Automatic Fee Accumulation
Set trade entry time using calendar picker
Funding fees automatically increase every 8 hours
Real-time progression as chart time advances
Visual feedback shows elapsed time and periods
Fee Impact Integration
All P&L calculations include fee deductions
Risk calculations add fee costs to potential loss
Take profit targets account for fee impact
Breakeven point automatically adjusts for fees
🚨 Alert System
Risk Alerts
High Risk: When risk exceeds 3% of capital
High Fees: When fees exceed 10% of position risk
Long Hold: Position held over 10 days
Extended Trade: Trade duration review reminder
Profit Alerts
Profit Secured: Stop loss moved to profit territory
🎛️ Customization Options
Visual Customization
2 Currency options with proper symbols
9 Table positions around chart
4 Size options for table and labels
200-bar range for label positioning
Progress bar toggles for risk visualization
Data Display Control
11 Individual row toggles for table content
Percentage displays in chart labels
Emoji options for visual enhancement
Tooltip information on hover
💡 Key Benefits
Professional Risk Management
✅ Comprehensive fee tracking with real-time accumulation
✅ Intelligent profit stop detection with visual adaptation
✅ Multi-method stop loss (ATR, percentage, manual)
✅ Advanced R:R calculations with fee impact
User Experience
✅ Date/time picker for precise entry timing
✅ Real-time updates as market moves
✅ Visual risk indicators with progress bars
✅ Extensive customization for personal preferences
Trading Integration
✅ Works with any timeframe and instrument
✅ Suitable for long-term use on charts
✅ Accurate fee modeling for realistic P&L
✅ Professional alert system for risk management
🎯 Perfect For
Active traders needing precise risk management
Position traders with long-term holds
Leveraged trading with fee-conscious strategies
Professional risk assessment and portfolio management
Risk Guardian Pro V2.5 represents a complete, professional-grade risk management solution that adapts intelligently to your trading style while providing comprehensive oversight of costs, risks, and profit potential.
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!
FXG Go with The TrendThis Strategy Includes Entry With Volume, porbably where banks buys
Enter When its aligned with trend, Specifically for GOLD, not tested for other
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.
Hedging SimulatorHedging Simulator
The Hedging Simulator is a straightforward hedging tool designed to simulate potential profit and loss outcomes from combined Spot and Futures positions in the cryptocurrency market.
Users can define their equity allocation separately for both spot and futures, allowing for flexible and realistic scenario modelling.
The tool also incorporates MNV (Minimum Notional Value) and MTA (Minimum Trade Amount) parameters to estimate order sizes based on symbol-specific trading rules set by exchanges. While the results may differ slightly from actual exchange calculations, the simulator aims to provide a close approximation for general understanding.
📌Note: Crypto-Only - This tool is designed specifically for cryptocurrency trading and is not intended for use with traditional financial instruments.
Entry Price: Users can input custom entry prices for both spot and futures trades to simulate from specific market positions.
Live Price: The entry price fields for both spot and futures support Live Price based on the currently viewed symbol on your chart.
📌Note: In the real market, spot and futures prices are not always identical—there can be a price gap between them. While the difference is typically small, it's important to understand that the live price shown is only for rough estimation purposes and may not reflect the exact trading price on your chosen exchange.
Expecting Market Price: This represents the projected or target price to simulate potential profit and loss across the hedged position based on market movement.
📌Note: Profit and loss calculations exclude all trading fees. Actual results in live markets may vary due to fees, slippage, and exchange rules.
Feedback: If you notice any bugs, errors on calculation, or have suggestions for better calculations or new features, feel free to share your thoughts. Your feedback helps improve the tool and will be considered for future updates.
⚠️ Disclaimer: This simulator is intended for educational and illustrative purposes only. It does not constitute financial advice or guarantee trading results. Market conditions may vary, and all trading carries inherent risks. Users are solely responsible for any decisions made based on this tool and bear full responsibility for their own trading outcomes.
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.