Pine utilities
Elite Display# 😎 Elite Display - Simple Chart Info with Style
**Never lose track of what you're looking at!**
A clean, fun way to display your asset name, timeframe, and daily performance directly on your chart. Created by ** ** for traders who like their charts both informative and stylish.
## 📊 **What it shows:**
- Asset name (BTCUSDT) or description (Bitcoin/TetherUS)
- Current timeframe (1H, 4H, 1D, etc.)
- Daily % change with green/red colors
**Example:** `BTCUSDT | 1H | +2.45%`
## 🎨 **Make it yours:**
- **60+ separator styles** - From classic `|` to fun emojis 🚀💎⚡
- **Mood mode** - Separators react to your performance (😄 for gains, 😢 for losses)
- **Position anywhere** - 9 spots on your chart
- **Custom styling** - Colors, fonts, sizes, bold/italic
## 🎯 **Perfect for:**
- Multi-timeframe analysis (never forget which TF you're on!)
- Taking clean screenshots for social media
- Avoiding "wait, what symbol is this?" moments
- Adding a bit of personality to your workspace
## ⚙️ **Super simple setup:**
1. Add to chart
2. Pick what to show (asset/timeframe/both)
3. Choose your style (classic, fun, or reactive mood)
4. Position it wherever you want
5. Done!
**It's just chart info... but way more fun!** 😊
*Works on all markets: Stocks, Crypto, Forex, Commodities*# 📊 TradingHUD - Your Smart Chart Companion
**Transform your charts with the ultimate context display!** Never lose track of your symbol, timeframe, and performance again. This highly customizable indicator brings personality and clarity to your trading workspace.
## 🚀 **Key Features:**
✅ **5 Display Modes:**
- Asset Name (ticker only)
- Full Description (complete name)
- Both combined
- Timeframe Only
- Daily Variation Only
✅ **60+ Separator Styles in 3 Categories:**
- 🎨 **Classic** (15): Professional symbols (|, •, →, ★, etc.)
- 🎉 **Fun** (20): Colorful objects (🚀, 💎, ⚡, 🎯, 💰, etc.)
- 🎭 **Mood** (40+): Reactive yellow faces!
- 😄 **Happy** (21): 😀😊🥰😎🥳 (for green gains)
- 😢 **Sad** (23): 😢😭🥺😞😩 (for red losses)
✅ **Intelligent Variation Display:**
- Daily % change with smart color coding
- Green/red performance tracking
- Only appears on relevant timeframes (intraday + daily)
- Automatically hidden on weekly/monthly
✅ **Ultimate Customization:**
- 9 positioning options anywhere on chart
- Font families: Default or Monospace
- Bold/italic text formatting
- Custom colors and sizes
- Flexible element ordering
## 🎭 **Mood Mode Magic:**
Watch your separators celebrate wins with 😄🤑🚀 or empathize with losses using 😢😭💸. Toggle this emotional feature on/off anytime!
## 💡 **Perfect For:**
- Multi-timeframe analysis
- Screenshot documentation with context
- Avoiding symbol confusion
- Real-time performance tracking
- Adding personality to professional charts
- Social media trading posts
## ⚙️ **Quick Setup:**
1. Add TradingHUD to your chart
2. Select display mode (Asset/Description/Both/etc.)
3. Choose separator style (Classic/Fun/Mood)
4. Position anywhere you want
5. Customize colors, fonts, and formatting
6. Trade with confidence and style!
## 🎯 **Live Examples:**
- **Classic**: `BTCUSDT | 1H | +2.45%`
- **Fun**: `AAPL 🚀 4H 🚀 -1.23%`
- **Happy Mood**: `Gold 😄 1D 😄 +3.67%`
- **Sad Mood**: `BTC 😢 15min 😢 -5.12%`
**Professional meets personality. Context meets creativity. This is TradingHUD.** 📈✨
*Compatible with all markets: Stocks, Crypto, Forex, Commodities, Indices*
ICT Concepts Toolkit [TWS]
ICT Concepts Toolkit – by Trade With Stevie
Unlock the full power of Inner Circle Trader (ICT) concepts with this all-in-one indicator built for serious traders.
The ICT Concepts Toolkit combines the most powerful price action tools into one clean, efficient, and highly customizable interface — perfect for mastering market structure and timing precision entries.
✅ Features Included:
🟩 Order Blocks – Automatically detect key institutional levels for potential reversals and entries.
📉 Fair Value Gaps (FVGs) – Visualize imbalances in price action to spot high-probability targets and mitigation zones.
📊 Support & Resistance – Dynamically plotted levels to track market structure and trend shifts in real-time.
📅 Previous Daily Highs/Lows – Key liquidity zones marked for precision scalping and swing setups.
🕒 Session Zones – Clearly defined Asian, London, and New York sessions with customizable times and colors.
📌 Extension Lines – Extends each session’s high and low to the current candle for ongoing bias and liquidity mapping.
🚦ICT Morning Signal – Your personal directional bias assistant: smart signals showing when to Buy or Sell based on ICT’s powerful Morning Model logic.
Whether you're trading Forex, Futures, or Crypto — this toolkit gives you a cleaner chart, clearer bias, and more confidence in your setups.
💡 Created by Trade With Stevie — follow for more smart tools and signal insights.
Position Tool ProThis advanced indicator is a professional upgrade and expansion of the default Position Tool on TradingView. Now you can visualize, calculate, and manage advanced scaling strategies directly on your TradingView chart – all with more features, flexibility, and automation.
Key Features:
Flexible Scaling Modes: Build your entries and exits with multiple levels using Progressive, Exponential, ATR/Volatility-Based, Fibonacci, or Manual Placement modes.
Entry & Exit Trajectories: Choose between Averaging In (scale between entry & stop) or Pyramiding (scale between entry & target) for both entries and exits.
Customizable Level Distribution: Fine-tune how much size you add at each level using fixed %, custom ratio (like 50:30:20), or even per-level percentages.
Real-Time Position Sizing: Enter your account size and risk %, and the tool automatically calculates size per entry/exit level and the full position.
Dynamic Stop Loss Options: Set fixed or ATR-based (volatility-adjusted) stops, including trailing options.
Visual Clarity: Each scale level is labeled with type, level number, price, %, allocation, and the distance mode used for full transparency.
Easy Level Placement: Set your entry, target, stop, and scale levels with simple chart clicks or in the settings panel.
Comprehensive P&L and RR Display: Instantly see your risk/reward ratio, potential profit/loss, and position summary in an overlay box.
Advanced Customization: Adjust label sizes for better readability, pick your own colors for each zone and label, and manage extension behavior.
Ideal For:
Systematic traders who want precise scaling
Turtle-style and trend-following strategies
Volatility-based position builders
Anyone who wants to visualize their full trade logic before execution
RSI with Williams %R Coloringsimple fusion of RSI to seek divergence and williams % R coloring to see overbought/oversold price.
not my own work, just merely took two standard indicators and infused them.
BookYourTradeHappy trade,
This is a semi-automated tool that allows you to define a trade setup in advance, including multiple exit levels. It incorporates a proven method for managing risk and reward. You specify a fixed entry price, an initial stop loss, two take profit levels, and a trailing stop loss for the remaining position—aiming to maximize gains from the trend. Alerts are included so you can step away from the screen and still be notified when any predefined price level is reached. The tool sends trade orders as market orders to your exchange or broker via webhooks. You provide the general webhook format, and the script automatically fills in the correct values.
How to Use
This tool is intended for manual day traders.
Define Entry Conditions:
Set your planned entry price and, optionally, a start and end time for trade activation. The script will not run unless the price reaches your specified level during this time window.
Set Stop Loss:
Define the stop loss as a fixed number of points from the entry price (above or below). This also determines whether the trade is long or short.
Configure Take Profits:
Specify the risk-reward ratio and position size for Take Profit 1.
Do the same for Take Profit 2.
Trailing Stop Loss:
For the remaining position after Take Profit 2, set a trailing stop loss. This is also defined in points, relative to the previous bar's closing price.
Time and Session Filters:
Set the earliest date to begin trading and the latest date by which all positions should be closed.
Optionally, define specific time windows (daily and or weekly) during which trading should be disabled. These off-times will be visually grayed out.
Define Capital and Fees:
Input the dollar amount you want to invest, along with any applicable percentage-based fees or fixed fees per trade. This is useful since different brokers, exchanges, or webhook service providers may charge in different ways (fixed, percentage, or both).
Configure Webhooks:
Enter your broker- or exchange-specific webhook for each trade event: entry, Take Profit 1, Take Profit 2, Stop Loss, and trailing exit. You’ll need to include placeholder strings in the webhook that the script will replace with actual trade values. The script provides a helper table to display these placeholders directly on the chart.
Some values you can deliver to the webhook service provider as an $ value or a deviation in percentage. For example the quantity of a trade or the take profit price. choose the correct replacement accordingly.
The script sends all orders as market orders.
Multiple Instances:
If you want to run multiple instances of this script, you must assign a unique name to each one. This ensures that the webhook service provider can correctly route trade signals to the appropriate bot.
Here is an evolution of one trade in images:
The trade setting are defined but the trade has not started
The trade has started
The price reached the first take profit level and a part of the investment was liquidated.
The trade reached it's end date and the remaining investment was liquidated.
cheers
Apex Edge - RSI Trend LinesThe Apex Edge - RSI Trend Lines indicator is a precision tool that automatically draws real-time trendlines on the RSI oscillator using confirmed pivot highs and lows. These dynamic trendlines track RSI structure in motion, helping you anticipate breakout zones, reversals, and hidden divergences.
Every time a new pivot forms, the indicator automatically re-draws the RSI trendline between the two most recent pivots — giving you an always-current view of momentum structure. You’ll instantly see when RSI begins compressing or expanding, long before price reacts.
Key Features: • Dynamic RSI trendlines drawn from the last 2 pivots
• Auto re-draws in real-time as new pivots form
• Optional "Full Extend" or "Pivot Only" modes
• Slope color-coded: green = support, red = resistance
• Built-in dotted RSI levels (30/70 default)
• Alert conditions for RSI trendline breakout signals
• Ideal for spotting divergence, compression, and early SMC confluence
This is not your average RSI — it’s a fully reactive momentum edge overlay designed to give you clarity, structure, and timing from within the oscillator itself. Perfect for traders using Smart Money Concepts, divergence setups, or algorithmic trend tracking.
⚔️ Built for precision. Built for edge. Built for Apex.
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! 📈💰
Apex Edge - VantageApex Edge – Vantage
Quarter-Wick Reversal System | Price Action Based | Non-Repainting | Visual Confirmation Tool
Overview:
Apex Edge – Vantage is a precision price action indicator built to assist traders in identifying high-probability reversal entries — not based on indicators, but on how candles behave at their extremes.
This tool implements a clean, repeatable framework that reflects how I personally trade:
Spot a candle that closes with strong directional intent,
Then wait for a controlled pullback into the outer quarter,
And strike — only if price respects that line.
There’s no magic here — just raw, tactical logic visualized clearly on your chart. It's not designed to predict the market — it's built to respond when price offers you Vantage.
Core Logic:
Dot Detection – Final Quarter Close Candles
A green dot prints below a bullish candle if it closes within the top 25% of its wick-to-wick range.
A red dot prints above a bearish candle if it closes within the bottom 25% of its range.
These dots signify candles that made a strong, deliberate move in one direction — where price was pushed to an extreme and held that extreme into the close. These candles often signal institutional intent or momentum imbalance.
Entry Confirmation – Controlled Wick Rebalance
On the very next candle only, price must wick into the prior dot candle's outer quarter — but must not pass beyond it.
For buy entries, the wick must enter the bottom 25% of the previous green dot candle, but not dip below it.
For sell entries, the wick must reach into the top 25% of the red dot candle, but not exceed it.
This wick into the quarter is seen as a controlled rebalancing — a tactical reaction back into the origin zone before potential continuation.
Arrow Printing – Visual Entry Signal
Once the entry criteria are confirmed, an arrow is printed after the candle closes.
This arrow continues to print on each new candle as long as price does not violate the original entry zone — giving visual confirmation that the trade thesis is still valid.
If price breaks above/below the quarter range, the arrow disappears.
This ongoing confirmation is useful for staying in trades, managing risk, or spotting failed setups early.
Automatic Stop Loss Level
A horizontal Stop Loss line is drawn from the extreme wick of the original dot candle.
For buy entries, SL is placed below the green dot candle's low.
For sell entries, SL is placed above the red dot candle's high.
This provides immediate risk context — perfect for traders using limit orders or looking to scale in.
Coding Logic:
This script uses plotshape() and plot() functions for all visual elements.
Dot candles are identified using quarter-range logic via:
pinescript
Copy
Edit
close >= high - (high - low) * 0.25 // for bullish
close <= low + (high - low) * 0.25 // for bearish
Entry validation logic triggers only on the next candle, using:
pinescript
Copy
Edit
low >= quarterLine and low <= high // for buy entries
high <= quarterLine and high >= low // for sell entries
Arrows and SL lines are plotted only on closed candles, ensuring non-repainting behavior.
alertcondition() is used for real-time alerts on valid buy/sell triggers.
How I Personally Use It:
I wait for a dot to print — this shows directional conviction.
On the next candle, I watch for a tap into the outer quarter.
If the wick meets the criteria and the candle closes, I’ll execute manually at the close of that candle.
As long as the arrow remains on the chart, I know the setup hasn’t been invalidated.
I combine this with market structure, session timing, and liquidity context to build confluence around each trade.
Alerts Included:
Buy Entry Alert: When a green arrow prints (entry confirmed)
Sell Entry Alert: When a red arrow prints (entry confirmed)
These fire once per confirmed signal, allowing you to react in real-time or automate if desired.
Who This Is For:
Manual traders who want clean price-based entries
Anyone who uses market structure, SMC, or liquidity concepts
Traders looking to replace indicators with pure candle logic
Discretionary or semi-systematic traders who want visual tools to guide their decisions
Final Word
Apex Edge – Vantage doesn’t predict price — it shows you where price is offering you control.
This is a surgical tool designed to help you act only when the market gives you a measurable edge — and to stay in the trade as long as that edge holds.
If you're ready to stop chasing trades and start striking from a position of Vantage, then this tool belongs on your chart.
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.
Profitable Loser Model [MMT]Profitable Loser Model
Overview
The Profitable Loser Model is a powerful PineScript v6 indicator designed to enhance your trading by visualizing key price levels, session open zones, Fibonacci retracements, and premium/discount zones. This overlay indicator provides traders with a customizable toolkit to analyze market structure across any timeframe, making it ideal for intraday and swing trading strategies.
Features
Open Zone Visualization
- Plots a box based on the open and close of the first candle in a user-defined timeframe (default: 5-minute).
- Customizable box color, projection offset, and label size (Tiny, Small, Normal, Large).
- Displays a timeframe label (e.g., "5m Open Zone") for quick reference, toggleable on/off.
Session Open Lines
- Optionally draws horizontal lines at key session opens (8:30 AM, 9:30 AM, 1:30 PM, Midnight, New York time).
- Customize line color, style (Solid, Dashed, Dotted), width, and label size for each session.
- Perfect for identifying critical intraday price levels.
Premium and Discount Zones
- Highlights premium (above midpoint) and discount (below midpoint) zones based on session high/low.
- Toggleable with customizable colors and projection offsets.
- Helps traders spot overbought/oversold areas for potential mean-reversion trades.
Fibonacci Retracement Levels
- Plots user-defined Fibonacci levels (default: 0.23, 0.35, 0.5, 0.62, 0.705, 0.79, 0.886, 1, 1.1).
- Customizable line style, width, color, and labels (showing percentage and/or price).
- Dynamically adjusts based on price movement relative to the open zone.
Take Profit (TP) and Stop Loss (SL) Levels
- Highlights TP (default: 0.23) and SL (default: 1.1) Fibonacci levels with distinct colors.
- Fully customizable to align with your risk-reward strategy.
How It Works
- Session Detection : Resets daily (or per user-defined timeframe) to capture the first candle's open, high, low, and close.
- Open Zone : Draws a box between the open and close, extended forward by the projection offset.
- Session Lines : Plots lines at specified session opens with customizable styles and labels.
- Fibonacci Retracement : Adjusts levels dynamically based on session high/low and price action.
- Premium/Discount Zones : Calculated from the session range midpoint, updated in real-time.
Settings
- Open Zone :
- Timeframe (default: 5m), Calculate Timeframe (default: Daily).
- Toggle label, adjust size, box color, and projection offset.
- Session Open Lines :
- Enable/disable lines for 8:30 AM, 9:30 AM, 1:30 PM, Midnight.
- Customize color, style, width, label size, and vertical offset.
- Premium/Discount Zones :
- Toggle visibility, set colors, and adjust projection offset.
- Fibonacci Retracement :
- Toggle visibility, set custom levels, line style, width, color, and label options.
- Adjust projection offset.
- TP/SL :
- Set TP/SL Fibonacci levels and colors.
Use Cases
- Intraday Trading : Use session open lines and open zones to trade key market hours.
- Swing Trading : Leverage Fibonacci levels for potential reversal or continuation zones.
- Risk Management : Set precise TP/SL levels based on Fibonacci retracements.
- Market Structure : Identify overbought/oversold zones with premium/discount areas.
Notes
- Optimized with `dynamic_requests = true` for efficient real-time data handling.
- Visual elements (boxes, lines, labels) are cleaned up at the start of each new session.
- Session lines use New York time (`America/New_York`) for alignment with major markets.
Normalized Fibonacci Retracement (MTF/LOG)A question: Instead of creating indicators that constantly plot Fibonacci Retracement levels in a visually overwhelming way, why don't we redefine them on a different scale? 🤨
Overview
The Normalized Fibonacci Retracement indicator converts price data to a 0-100 scale based on the selected timeframe's high-low range, displaying normalized candlesticks alongside standard Fibonacci levels (23.6%, 38.2%, 50%, 61.8%, 78.6%). This normalization reveals patterns that may be hidden in absolute price charts and allows consistent analysis across different instruments.
Originality
By normalizing prices to percentages, this indicator enables pattern recognition independent of absolute price levels. The same formation at $10-$20 and $1000-$2000 appears identical on the normalized scale, helping traders identify recurring structures across various assets and timeframes.
Concepts
The indicator uses a simple formula to transform price data into percentages. This creates a bounded scale where patterns become comparable regardless of the underlying asset's price range. The normalized view often reveals symmetries and relationships not visible in traditional price charts.
Mechanics
The system tracks highs and lows within the selected timeframe as anchor points. When a new period begins, fresh boundaries are established and prices recalculated. Trend direction is determined by timing of extremes. Linear scaling uses direct percentage calculation, while logarithmic scaling applies exponential interpolation for assets with large percentage moves.
Functions
Timeframe Selection: Higher timeframe analysis on any chart resolution
Normalized Display: OHLC data converted to 0-100 percentage scale
Fibonacci Levels: Standard retracement levels plotted automatically
Scaling Options: Linear or logarithmic calculation methods
Pattern Recognition: Reveals formations hidden in absolute price charts
Moving Average: Optional 20-period SMA overlay
Notes
Ensure chart data covers the full selected timeframe for accurate calculations. Use logarithmic scaling for volatile assets with large percentage moves. The normalized scale is effective at revealing patterns and structures that remain consistent across different price ranges, making it particularly useful for comparative analysis and pattern-based trading strategies.
I hope it helps everyone. Do not forget to manage your risk. And trade as safely as possible. Best of luck!
Sector SPDR ETFsThis script automatically identifies the SPDR sector ETF that corresponds to the currently viewed US stock ticker. It maps over 500 US-listed stocks to their respective SPDR sector ETFs — such as XLK (Technology), XLF (Financials), XLY (Consumer Discretionary), and others — based on pre-defined symbol lists.
When applied to a chart, the script displays a label below the last candle showing the SPDR sector symbol (e.g., "XLE" for Energy stocks like XOM). This allows traders and investors to quickly understand the sector classification of any stock they analyze.
Key Features:
Maps tickers to SPDR sector ETFs: XLC, XLY, XLP, XLE, XLF, XLV, XLI, XLB, XLRE, XLK, and XLU.
Displays the corresponding sector label on the chart.
Helpful for sector rotation strategies, macro analysis, or thematic investing.
3Commas DCA (asap)3Commas DCA (asap) – Automated DCA Bot Strategy
This strategy replicates the DCA (Dollar Cost Averaging) "asap" logic from 3Commas, supporting both LONG and SHORT operations.
How it works:
Opens the first market order (Base Order) when there is no active deal.
Immediately places a series of Safety Orders (limit orders) at fixed price deviations from the base entry price. The number and size of safety orders can be configured.
When price moves against the position, safety orders are executed, averaging the entry price.
The deal is closed only when the total profit across all open trades reaches or exceeds the configured Target Profit (in %), at which point all positions are closed and all unfilled safety orders are canceled.
The process repeats for the next deals.
Features:
Configurable base order size, safety order size, number of safety orders, safety order volume scale, and price deviation.
Supports both LONG and SHORT modes.
Backtest range selection for strategy evaluation.
Visual labels, position lines, and detailed statistics table for analysis.
Inputs:
Base order size, safety order size, safety order count, safety order scale, price deviation, target profit, trading fee, price range filters, and more.
Best Practice:
Test thoroughly with historical data before using live. Adjust risk, volume, and parameters to suit your exchange and asset.
Risk Warning:
DCA strategies can amplify losses in trending markets. Use with caution and proper risk management.
Zinc Model [Mr Zinc x MMT]The Zinc Model is a TradingView indicator designed to assist traders by plotting key price levels from two defined trading sessions: the previous day's session (4:00 AM to 8:00 PM) and the current day's London session (4:00 AM to 9:15 AM). It overlays horizontal lines for session highs, lows, and midpoints (EQ levels), along with a vertical anchor line to mark session starts. The indicator is highly customizable, allowing traders to tailor its appearance and focus on specific sessions for strategic analysis.
Features
Session-Based Levels : Tracks and displays high, low, and midpoint (50% EQ) levels for two sessions: the previous day's session and the current day's London session.
Customizable Display : Users can toggle visibility of high, low, EQ levels, and session anchor lines, with options to adjust line styles, colors, and widths.
Session Selection : Configurable session show times (default: 8:00 AM to 4:00 PM in New York time) for displaying levels, with a projection offset to extend lines into future bars.
Labels: Optional labels for each level (High, Low, EQ) with customizable sizes (Tiny, Small, Normal, Large) for clear identification.
Time Zone Support : Anchors sessions to a specified time zone (default: America/New_York).
How It Works
The indicator calculates key price levels based on two user-defined sessions:
- Previous Day Session (4:00 AM–8:00 PM) : Tracks the high, low, and midpoint (50% of the range) of the previous day's session.
- London Session (4:00 AM–9:15 AM) : Tracks the high, low, and midpoint of the current day's London session.
- Levels Displayed :
High/Low Levels : Horizontal lines at the highest and lowest prices of each session.
EQ Level : A horizontal line at the 50% midpoint of the session's range.
Anchor Line : A vertical line marking the start of the user-defined display session.
- Levels are plotted during a user-specified "Show Session" time window (default: 8:00 AM–4:00 PM) and extended forward by a configurable number of bars (default: 15).
- The indicator updates dynamically as new highs or lows occur within the active session.
Usage
- Add to Chart : Apply the indicator to any TradingView chart.
- Configure Settings :
Session Settings : Adjust the "Session Show Time" (default: 8:00 AM–4:00 PM) and time zone to align with your trading strategy.
Projection Offset : Set the number of bars to extend level lines into the future.
Anchor Line : Toggle the vertical line at session start and customize its style, color, and width.
High/Low/EQ Levels : Enable or disable lines and labels for each session's high, low, and midpoint, and customize their appearance.
Label Size : Choose from Tiny, Small, Normal, or Large for level labels.
- Interpret Levels :
High/Low Lines : Act as potential resistance (high) or support (low) levels.
EQ Line : Represents the session's midpoint, often a pivot point for price action.
Anchor Line : Marks the start of the display session for context.
- Trading Application : Use levels to identify support/resistance zones, set entry/exit points, or confirm breakouts during the specified session.
Settings
- Session Settings :
Session Show Time : Defines when levels are displayed (default: 8:00 AM–4:00 PM).
Projection Offset : Extends lines forward (default: 15 bars).
Time Zone : Sets the session time zone (default: America/New_York).
- Anchor Line Settings : Toggle visibility, style (Solid, Dashed, Dotted), color, and width.
- High/Low/EQ Settings : Separate controls for previous day and London sessions to toggle visibility, adjust line styles (Solid, Dashed, Dotted), colors, widths, and label visibility.
- Label Size : Options for Tiny, Small, Normal, or Large to adjust label appearance.
Ideal Use Case
The Zinc Model is ideal for day traders and swing traders focusing on session-based price action, particularly those trading forex, indices, or other markets with significant activity during the London session. It helps identify key support, resistance, and pivot levels for intraday strategies, with flexible settings to suit various timeframes and trading styles.
Scalping Candle [Crak x MMT]The Scalping Candle is a TradingView indicator designed for scalping strategies, identifying potential bullish and bearish engulfing patterns on price charts. It overlays directly on the chart and marks specific candle patterns with visual signals, helping traders spot short-term trading opportunities. The indicator includes a customizable bias filter to focus on bullish, bearish, or neutral market conditions.
Features
Overlay Indicator : Displays bullish and bearish signals directly on the price chart.
Bias Filter : Allows users to select a market bias ('Bullish', 'Bearish', or 'Neutral') to filter signals based on their trading preference.
Visual Signals : Plots green upward triangles below bullish candles and red downward triangles above bearish candles.
Alerts : Generates alerts for bullish and bearish engulfing patterns, enabling timely notifications for trade setups.
How It Works
The indicator analyzes the relationship between the current and previous candles to detect engulfing patterns:
Bullish Engulfing : Triggered when the current candle's low is at or below the previous candle's low, and its close is at or above the previous candle's midpoint. This signal is displayed only if the bias filter is set to 'Neutral' or 'Bullish'.
Bearish Engulfing : Triggered when the current candle's high is at or above the previous candle's high, and its close is at or below the previous candle's midpoint. This signal is displayed only if the bias filter is set to 'Neutral' or 'Bearish'.
The previous candle's midpoint is calculated as the average of its high and low prices.
Usage
- Add to Chart : Apply the indicator to any TradingView chart.
- Configure Bias Filter :
Neutral : Displays both bullish and bearish signals.
Bullish : Displays only bullish signals.
Bearish : Displays only bearish signals.
- Interpret Signals :
Green upward triangle below a candle indicates a potential bullish reversal.
Red downward triangle above a candle indicates a potential bearish reversal.
- Set Alerts : Use the built-in alert conditions to receive notifications when bullish or bearish engulfing patterns are detected.
Settings
Bias Filter : Choose between 'Neutral', 'Bullish', or 'Bearish' to control which signals are displayed.
Shape Size : Signals are plotted as small triangles for minimal chart clutter.
Alert Conditions : Enable alerts for 'Bullish Engulfing Detected' or 'Bearish Engulfing Detected' to stay informed of new signals.
Ideal Use Case
This indicator is tailored for scalpers and short-term traders looking to capitalize on quick price movements driven by engulfing candle patterns. It works best on 15-minute chart and can be combined with other technical tools for confirmation.
Daily GEX Zones & Dashboard by JCThis script plots daily options-driven gamma zones alongside a live sentiment dashboard to help traders visualize dealer positioning, support/resistance clusters, and expected price behavior.
Features:
📅 Date-based GEX Zones: Automatically draws GEX Resistance, GEX Support, Max Pain Zone, and Zero Gamma Line for a specific trading day.
📊 Gamma Flow Dashboard: Displays real-time GEX, DEX, Vanna, and Charm flows using intuitive dropdowns (Negative, Neutral, Positive) — no manual number typing.
🔢 Combo ID Calculation: Combines your gamma flow selections into a single Combo ID, quantifying net positioning pressure.
🎯 Automatic Bias Classification: Instantly highlights whether the day’s gamma structure is likely Pinned/Stable, Unpinned/Wild, Choppy, or Trap/Expansion — color-coded for quick reading.
📈 Zero Gamma Lines: Plots two critical levels where gamma flips from long to short, providing valuable confluence for intraday support/resistance.
How to Use:
1️⃣ Pick your target date (e.g., current day) to activate the GEX boxes.
2️⃣ Enter the day’s Resistance Wall, Support Wall, Max Pain, and Zero Gamma levels from your option chain analysis.
3️⃣ Use the radio-style dropdowns to select sentiment for GEX, DEX, Vanna, and Charm based on your interpretation of open interest, hedging, dealer flow, and market structure.
4️⃣ The dashboard will auto-calculate your Combo ID and bias class.
Designed for:
SPX, SPY, QQQ, NVDA, or any high-liquidity underlying with active options flow.
Active day traders, gamma scalpers, and market makers tracking dealer positioning.
Tip:
Combine with price action levels, VWAP, and intraday structure for high probability trade zones.
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
Rolling Log Returns [BackQuant]Rolling Log Returns
The Rolling Log Returns indicator is a versatile tool designed to help traders, quants, and data-driven analysts evaluate the dynamics of price changes using logarithmic return analysis. Widely adopted in quantitative finance, log returns offer several mathematical and statistical advantages over simple returns, making them ideal for backtesting, portfolio optimization, volatility modeling, and risk management.
What Are Log Returns?
In quantitative finance, logarithmic returns are defined as:
ln(Pₜ / Pₜ₋₁)
or for rolling periods:
ln(Pₜ / Pₜ₋ₙ)
where P represents price and n is the rolling lookback window.
Log returns are preferred because:
They are time additive : returns over multiple periods can be summed.
They allow for easier statistical modeling , especially when assuming normally distributed returns.
They behave symmetrically for gains and losses, unlike arithmetic returns.
They normalize percentage changes, making cross-asset or cross-timeframe comparisons more consistent.
Indicator Overview
The Rolling Log Returns indicator computes log returns either on a standard (1-period) basis or using a rolling lookback period , allowing users to adapt it to short-term trading or long-term trend analysis.
It also supports a comparison series , enabling traders to compare the return structure of the main charted asset to another instrument (e.g., SPY, BTC, etc.).
Core Features
✅ Return Modes :
Normal Log Returns : Measures ln(price / price ), ideal for day-to-day return analysis.
Rolling Log Returns : Measures ln(price / price ), highlighting price drift over longer horizons.
✅ Comparison Support :
Compare log returns of the primary instrument to another symbol (like an index or ETF).
Useful for relative performance and market regime analysis .
✅ Moving Averages of Returns :
Smooth noisy return series with customizable MA types: SMA, EMA, WMA, RMA, and Linear Regression.
Applicable to both primary and comparison series.
✅ Conditional Coloring :
Returns > 0 are colored green ; returns < 0 are red .
Comparison series gets its own unique color scheme.
✅ Extreme Return Detection :
Highlight unusually large price moves using upper/lower thresholds.
Visually flags abnormal volatility events such as earnings surprises or macroeconomic shocks.
Quantitative Use Cases
🔍 Return Distribution Analysis :
Gain insight into the statistical properties of asset returns (e.g., skewness, kurtosis, tail behavior).
📉 Risk Management :
Use historical return outliers to define drawdown expectations, stress tests, or VaR simulations.
🔁 Strategy Backtesting :
Apply rolling log returns to momentum or mean-reversion models where compounding and consistent scaling matter.
📊 Market Regime Detection :
Identify periods of consistent overperformance/underperformance relative to a benchmark asset.
📈 Signal Engineering :
Incorporate return deltas, moving average crossover of returns, or threshold-based triggers into machine learning pipelines or rule-based systems.
Recommended Settings
Use Normal mode for high-frequency trading signals.
Use Rolling mode for swing or trend-following strategies.
Compare vs. a broad market index (e.g., SPY or QQQ ) to extract relative strength insights.
Set upper and lower thresholds around ±5% for spotting major volatility days.
Conclusion
The Rolling Log Returns indicator transforms raw price action into a statistically sound return series—equipping traders with a professional-grade lens into market behavior. Whether you're conducting exploratory data analysis, building factor models, or visually scanning for outliers, this indicator integrates seamlessly into a modern quant's toolbox.
ADX & Angle Strength📌 Indicator Overview – ADX Angle Strength
This script merges the power of the traditional ADX with a visual interpretation of the angular slope of a moving average, offering a highly effective tool to identify real impulses in price action. The goal of the indicator is not only to highlight market strength, but to reveal direction and slope —helping traders spot the end of impulses, consolidation zones, and potential reversal points.
This script does not aim to replace or compete with ADX, but instead highlights a lesser-used metric: the true angular slope of a moving average as a functional and interpretable force component. Rather than relying exclusively on traditional strength tools, it introduces an immediate, intuitive, and quantifiable way to observe trend steepness — reinforced by a robust metric like ADX.
The author considers both perspectives valuable. While ADX remains an integral part of their technical analysis, greater attention is often given to the angles formed by price-tracking moving averages, as they offer faster insight into trend acceleration. This dual-approach — with one reactive and one confirmatory signal — makes ADX & AngleStrength a practical, clear, and flexible tool for analyzing market momentum from two synchronized yet distinct vantage points.
Key user-configurable options:
- Display of ADX lines (DI+, DI−, zero line, lines 20, 25, 50, and 75)
- ADX length and smoothing
- Moving average type (SMA, EMA, WMA, HMA, ALMA)
- Length, source, color, and style of the angle calculation
- Minimum angle threshold to define color changes (slope comparison)
This indicator is highly sensitive and allows users to visualize:
- Range zones via flat angles (yellow)
- Bullish or bearish impulses through positive or negative slopes (green and red)
- Convergences or divergences relative to traditional ADX strength
📘 Single Real-World Example: Step-by-Step Interpretation
In this section, we’ll walk through a single real-world example on a 1-hour chart, divided into five key moments marked by vertical lines labeled A, B, C, D, and E. Each line identifies a specific point in the movement of price and indicator behavior. We’ll move through the chart step-by-step, explaining what happens between each line and how each indicator responds.
Before Line A: The setup
The chart shows a slight upward movement in the price, though not particularly strong. This section doesn’t have any lines marked yet but sets the foundation for what’s coming next.
The ADX is falling, dropping below the 20-level threshold, which usually signals weakening market momentum. However, the angle indicator, which is more sensitive, starts pointing upward, detecting an increase in slope as the price begins climbing.
This early upward tilt is what we call a rising angle, suggesting the market is gaining slope.
🅰 Line A: First peak
As the upward move completes, a peak forms right at Line A. The angle at that moment reaches +44.70°, showing a relatively strong upward slope.
After Line A:
- Price stalls, entering a sideways range — a classic consolidation.
- The angle indicator begins to fall, because price action no longer has a strong slope.
- The ADX, however, keeps rising, continuing even after the angle begins to decline. It reaches a peak at 35.6, then gradually drops to 15.13, reflecting that the trend’s strength has faded.
🅱 Line B: Sharp drop
Following the sideways range after Line A, the price breaks downward with a strong bearish candle.
This is where the second peak happens — but this time it's a negative angle, as price drops quickly. The angle reaches -48.45°, clearly marking the end of this quick bearish impulse.
At the same moment:
- The ADX, recovering from its earlier drop, reaches 21.83 and continues rising after the angle has peaked.
- This shows that while the angle detects the end of the move, the ADX is still registering the momentum that just occurred — a bit delayed, but confirming.
🅲 Line C: Key turning point
After the drop at Line B, price moves sideways again. During this range:
- The angle gradually declines and enters a yellow zone, indicating low slope or momentum.
But at Line C, everything changes. Unlike the other lines, Line C does not mark a peak, but rather the beginning of a stronger downward move.
From here:
- Price breaks through the range and continues falling — this marks the start of a stronger trend.
- The angle indicator shows a sequence of five descending peaks, tracking the steepening drop in price:
1. 26.47°
2. 40.64°
3. 35.87°
4. 38.71°
5. 66.3° (the steepest)
- The ADX starts rising in parallel, confirming the growing strength of the trend.
🅳 Line D: Bottom and reversal
At Line D, price reaches a bottom — a point of exhaustion marked by high volume, sometimes known as a volume climax or stopping volume.
- The angle reaches its steepest reading so far: 66.3° negative.
- The ADX keeps rising for two more candles after this angle peak, then begins to fall — revealing that the angle catches the momentum shift earlier.
🅴 Line E: Bullish reversal and final peak
After the low at Line D, price begins to rise steadily. The angle responds immediately, tilting upward again.
At Line E, we get the final peak, this time positive, as the bullish move reaches its climax. The angle here is +71.64° — the highest reading in the entire example.
Meanwhile:
- The ADX is still falling at this point, having peaked two candles after Line D and never recovering in time to catch this bullish push.
- Once again, the angle proves more responsive to changes in price behavior, especially at the end of impulses.
⚠️ Compatibility and Intended Use
This indicator is specifically designed to be used on Binance charts, as it is intended for the analysis of cryptocurrency markets, and Binance exclusively operates with crypto assets. It has been optimized for the following timeframes:
- 1 minute
- 5 minutes
- 15 minutes
- 30 minutes
- 1 hour
- 4 hours
- 1 day
These intervals were selected based on the internal architecture used for angle computation. As such, the indicator will not display any data outside of these supported timeframes or on non-Binance assets. Attempting to apply it beyond those conditions will produce a blank chart by design.
👤 Author
This indicator was developed as part of a visual technical analysis project focused on capturing true momentum through combined signals.
📄 User guide available in both Spanish and English for clarity and learning.
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
[TCV] - Position Tool Position Tool by TheCryptoVizier is a trade-planning widget that lets you drop Entry, Take-Profit and Stop-Loss levels directly on the chart, instantly calculates risk-to-reward and position size, and shows only the numbers you actually need. It’s designed for traders who plan visually and don’t want to juggle spreadsheets or external calculators.
WHAT PROBLEM DOES IT SOLVE?
When you drag price levels on TradingView you still have to:
work out how many contracts / coins you can buy for a fixed $ risk,
check that your R:R is acceptable,
copy the final values somewhere else.
The Position Tool automates all of that inside the chart and keeps the screen clean.
HOW TO USE
Add the indicator to any chart.
Drag the blue (Entry), green (TP) and red (SL) lines to your desired levels.
Set your Risk in USDT and toggle the check-boxes to show / hide extra fields.
Read off the position size, risk and R:R in the corner table or copy the exact numbers from the Data Window.
Place your order with confidence – the maths is already done.
Whether you scalp lower-timeframes or swing trade higher ones, the Position Tool removes friction from trade preparation and lets you focus on execution.
KEY FEATURES
Drag-and-drop Entry / TP / SL lines – plan the trade visually.
Fixed-risk position sizing – enter how much you’re willing to lose in USDT (or account currency) and the script tells you the exact position value and quantity.
Live R-to-R ratio – instantly see whether the reward compensates the risk as you move levels.
Smart info panel – overlay table shows Entry, TP, SL, R:R and – optionally via check-boxes – position in USDT, position in $TICKER and risk in USDT. Hide what you don’t need.
Copy-ready Data Window values – the same numbers appear in TradingView’s Data Window, so you can click any cell to copy it straight to the clipboard.
----------
Disclaimer: This indicator is provided for educational purposes only. Trading involves substantial risk, and nothing here should be construed as financial advice or a recommendation to trade. Always do your own research and consult a qualified professional.
Killzones & OrbsKillzones & ORBs
This indicator plots Opening Range Breakouts (ORBs) and major Killzone sessions (Asia, London, New York) on one chart.
What it does:
Marks the OR with a customizable box and midline, then extends it through the day
Highlights Killzones with colored boxes and labels
Tracks mini-ORBs inside each Killzone for breakout confirmation
How it works:
Uses session inputs and box drawing tools to capture price ranges
Dynamically updates highs/lows during the OR window
Extends killzone boxes as price evolves, with optional midlines and labels
How to use it:
Enable the Opening Range in settings and set your session times
Turn on Killzones and adjust their ORB durations and colors
Select your timezone for correct session tracking
What makes it original:
Combines global Killzones with Opening Range logic
Offers separate mini-ORBs within each Killzone
Fully customizable visuals for clean, professional levels