Prop Firm Guard: Risk & Sizing Tracker by TFTProp Firm Guard: Risk & Sizing Tracker by TFT
Overview:
This script is designed to help prop firm traders stay within risk rules and avoid emotional overtrading. It tracks your max loss limits, daily loss rules, and gives real-time position sizing suggestions based on your account status.
This tool is especially helpful for newer traders navigating prop firm challenges and rules like trailing drawdowns and daily stopouts.
Key Features:
✅ Real-time tracking of max loss and daily loss limits
✅ Supports both Intraday and End-of-Day (EOD) drawdown styles
✅ Calculates remaining “distance” to max/daily loss levels
✅ Automatically locks max loss once it trails up to starting balance
✅ Provides smart, tier-based position sizing suggestions (5%–50%)
✅ Shows profit target progress and live daily P&L
Use Case Example:
Let’s say you’re trading a $50,000 prop account with a $2,000 max drawdown limit.
If you're using Intraday Drawdown:
• You start the day at $50,000.
• During the day, your balance grows to $51,000 (including unrealized profits).
• The drawdown logic will trail this intraday high — so your new max loss limit becomes $49,000 (51K - 2K).
• If your balance drops to $49,400, this tool will show you’re $400 away from breaching the limit.
• Sizing suggestions will adjust accordingly to keep you in a safe range.
If you're using End-of-Day (EOD) Drawdown:
• The same scenario (account grows to $51,000 intraday) won’t affect your max loss limit immediately.
• EOD drawdown is only updated based on your end-of-day closing balance.
• So even if you hit $51K intraday, your max loss limit still remains at $48,000 (50K - 2K) until the trading day closes and updates your best equity.
• This mode offers more flexibility during the day — and the tool reflects this in how it calculates distances and sizing.
📌 It will then suggest a conservative sizing range — maybe 5–10% of your allowed contract size — until you're safer again.
📌 Make sure you update your current balance after each trade and follow your risk settings.
Inputs Explained (with Tips):
• Overall Account Starting Balance: Your full prop account size (e.g., 50000 or 100000, 150000, 300000, so on)
• Day Start Balance: What your balance was when the trading day started
• Daily Max Loss: How much you’re allowed to lose in one day (used only for EOD drawdown)
• Daily Profit Target: Your goal for the day (e.g., 500 or 1000 or so on)
• Allowed Overall Drawdown: Usually 4% for prop firms — like 2000 on 50K, or 6000 on 300K
• Drawdown Mode:
→ Intraday: Includes floating/unrealized profits in drawdown logic
→ EOD: Uses only end-of-day equity for drawdown logic
• Best Day High: Your highest balance to date. If not above your starting balance, this is ignored
• Intraday High (Manual): Optional override if your peak balance isn’t same as equity (used only for intraday drawdown mode)
• Current Equity: Update this during the session to reflect your live balance — everything else updates automatically
What You’ll See on the Chart:
🟩 Equity Section: Start balance, current balance, intraday high, best day high
🟥 Risk Section:
• Max loss limit (based on trailing logic)
• Distance from current balance to that limit
• Daily loss limit and distance (EOD mode only)
🟦 Performance Metrics:
• Daily P&L in $ and %
• Progress to profit target (shows ✅ Accomplished when goal is hit)
📦 Sizing Suggestion:
Based on how close you are to a drawdown breach, and your total drawdown tier.
Ranges from ⚠️ 5–10% to ✅ 40–50% of your max allowed contract size.
Who It's Best For:
• Built and optimized for 50K prop firm accounts
• Works well with 100K, 150K, or even 300K — but the sizing logic is most precise at 50K
• Best suited for futures or forex prop firm traders using account challenge-style rules
Manual Input Required:
Due to TradingView limitations, we cannot read your actual trades or live balance.
You'll need to update the Current Equity field yourself — but the rest is auto-calculated from there.
Most inputs (like overall balance and drawdown) are set once and rarely changed.
Beta Notice:
This tool is currently in beta and under testing. It's free for now and designed to help the trading community — but accuracy may vary.
Please send feedback if you'd like to suggest improvements or report bugs.
Disclaimer:
This tool is for educational purposes only and does not provide trading advice or signal any trades.
Always trade according to your firm’s rules. The author is not responsible for losses resulting from use of this script.
Educational
Relative Strength MatrixThe Relative Strength Matrix (RSPS M) is a powerful comparison tool that analyzes and ranks up to 10 selected assets based on their relative performance. It does this by calculating price ratios between all asset pairs and applying a consistent strength criterion across each comparison. The results are displayed in a live-updating matrix, showing how each asset performs relative to the rest of the group.
By default, the indicator uses a momentum-based approach (via RSI) to evaluate strength, but it’s fully customizable. Users can modify the valuation logic by replacing the built-in ta.rsi function under the “Inputs your criterion below” section in the code. This makes the tool highly flexible—allowing for different styles of comparison such as trend-following, volatility-adjusted, or custom factor-based ranking methods.
Each asset’s total dominance score is color-coded and ranked, making it easy to spot outperformers and underperformers within any chosen basket. Whether you're tracking crypto pairs, sectors, or other groups, RSPS M provides a clear, objective framework for relative strength monitoring and rotation strategies—perfect for spotting leaders, laggards, and shifts in momentum across markets.
Weekly Levels Prep (Smart Weekly Candle)This script draws key weekly levels based on the most recent completed weekly candle (Monday–Friday). It automatically calculates and plots:
✅ Weekly High & Low
✅ Midpoint (50% level)
✅ Extension levels above and below
All levels are dynamically updated every new week and are visually marked with clean color-coded horizontal lines. Price values are shown near the price axis for clear visibility across all timeframes.
Great for:
Weekly preparation
Swing trading setups
Mean reversion and range breakouts
🔄 Works on all timeframes
🔍 Lightweight and non-intrusive
Built by a trader, for traders. 💼📈
Multi Candle Body MapperMulti Candle Body Mapper
Visualize higher-timeframe candle structure within lower timeframes — without switching charts.
This tool maps grouped candle bodies and wicks (e.g., 15min candles on a 5min chart) using precise boxes and lines. Ideal for intraday traders who want to analyze market intent, body bias, and wick rejection in a compressed, organized view.
Features:
Visualize 3, 6, or 12 candle groups (e.g., 15min / 30min / 1H views)
Body box shows bullish/bearish color with adjustable transparency
Wick box shows high-low range with adjustable thickness and color
Dashed line at group close level for market direction hint
Full color customization
Toggle individual elements ON/OFF
Clean overlay – doesn’t interfere with price candles
Great for spotting:
Hidden support/resistance
Momentum buildup
Reversal traps and continuation setups
Keep your chart simple but smarter — all without changing your timeframe.
Percent from And To All Time High,Indicator: Percent from All Time High - Raised Label
Overview:
This indicator shows the percentage difference between the current price of an asset and its all-time high (ATH). It displays these percentages in a raised label at the top of the chart. Additionally, the last price and the percentage difference to ATH are displayed in a table.
Features:
Displays the percentage difference from ATH (From ATH) and the percentage difference to ATH (To ATH) in a table.
The Last Price is shown along with the percentage difference.
The data is dynamically updated with the current price, and it will always show the latest information.
Visualizes price movements with colored bars to indicate price direction.
Vwap Vision #WhiteRabbitVWAP Vision #WhiteRabbit
This Pine Script (version 5) script implements a comprehensive trading indicator called "VWAP Vision #WhiteRabbit," designed for analyzing price movements using the Volume-Weighted Average Price (VWAP) along with multiple customizable features, including adjustable color themes for better visual appeal.
Features:
Customizable Color Themes:
Choose from four distinct themes: Classic, Dark Mode, Fluo, and Phil, enhancing the visual layout to match user preferences.
VWAP Calculation:
Uses standard VWAP calculations based on selected anchor periods (Session, Week, Month, etc.) to help identify price trends.
Band Settings:
Multiple bands are calculated based on standard deviations or percentages, with customization options to configure buy/sell zones and liquidity levels.
Buy/Sell Signals:
Generates clear buy and sell signals based on price interactions with the calculated bands and the exponential moving average (EMA).
Real-time Data Display:
Displays real-time signals and VWAP values for selected trading instruments, including XAUUSD, NAS100, and BTCUSDT, along with related alerts for trading opportunities.
Volatility Analysis:
Incorporates volatility metrics using the Average True Range (ATR) to assess market conditions and inform trading decisions.
Enhanced Table Displays:
Provides tables for clear visualization of trading signals, real-time data, and performance metrics.
This script is perfect for traders looking to enhance their analysis and gain insights for making informed trading decisions across various market conditions.
Super Wick Volumized Rejection/Reversal @MaxMaserati**Super Wick Volumized Rejection/Reversal @MaxMaserati** 🚀
**Overview**: The "MMM Super Wick Volumized Rejection/Reversal" indicator spots key candlestick wicks with high volume to catch potential reversals or continuations. It overlays charts with lines, labels, and an info panel, with customizable timeframe analysis, signal confirmation, and bar coloring. 📊
**Key Features**:
- **Wick Analysis** 🕯️: Detects big upper/lower wicks using a wick-to-body ratio (default 1.2x) and volume thresholds (high: 1.5x, medium: 1.0x, low: 0.7x avg volume).
- **Signals** 🚦: Creates Buy, Sell, Exit Long, Exit Short, and Weak signals, with optional confirmation via follow-up candle.
- **Timeframe Flexibility** ⏰: Analyzes user-selected or chart timeframe (default: chart).
- **Visuals** 🎨: Draws lines at high/low, open/close, midpoints, and significant wicks, with custom colors, widths, and labels.
- **Bar Coloring**🎨 : Colors bars by wick type (bullish/bearish) and volume strength.
- **Info Panel** ℹ️: Shows market bias, signal status, volume, and wick details (position, size adjustable).
- **Line Management** 🧹: Caps displayed candles (default: 3) and lines (max: 500), with a one-time clear option.
- **Alerts** 🔔: Triggers on confirmed signals (Buy, Sell, Exit Long, Exit Short).
**Inputs** ⚙️:
- **Timeframe** ⏳: Pick analysis timeframe or use chart default.
- **Analysis** 🔍: Lookback period (default: 20), volume thresholds, wick-to-body ratio, confirmation toggle.
- **Display** 🖼️: Toggle lines (high/low, open/close, midpoints, significant wicks), bar coloring (wick/volume-based).
- **Labels** 🏷️: Show/hide labels, set text color/size.
- **Info Panel** 📋: Enable/disable, set position (top_right default), text size, wick details.
- **Line Management** 📏: Line extension (50 bars), candles analyzed (21), visible lines (3), clear all toggle.
- **Colors/Widths** 🎨: Customize lines and wicks (high/low, body, midpoints, significant wicks).
**How It Works** 🛠️:
1. Finds significant wicks (upper/lower) by size vs. body and avg wick length. 🔎
2. Checks volume to rate strength (high, medium, low). 📈
3. Generates signals: Buy (bullish, lower wick, high volume) 📈, Sell (bearish, upper wick, high volume) 📉, Exit (trend weakness) ⚠️, Weak (low volume wicks) ❓.
4. Draws lines at key levels (high/low, open/close, midpoints) and significant wicks, with labels. ✏️
5. Colors bars to show wick type and volume. 🖌️
6. Displays live data in an info panel: trend, signal, volume, wick stats. 📑
7. Keeps line count low, clearing old ones to stay within limits. 🗑️
**Usage** 🎯:
- Apply to any chart for reversal/continuation signals. 📅
- Adjust timeframe for wide/granular views. 🔧
- Use confirmation for safer trades. ✅
- Customize visuals for clarity (lines, colors, panel). 🖥️
- Set alerts for signal notifications. 📢
**Notes** 💡:
- Shines in volatile markets with clear wicks. ⚡
- Confirmation cuts false signals but slows entries. ⏲️
- Tune inputs for specific assets/timeframes. 🛠️
- Clear lines occasionally for smooth performance. 🧼
- Test and retest beofre incorporate it in your strategy
Rotation Phase TriggerHow to Use the Full Rotation Phase Trigger Tool (non-floating version)
This version is ideal for macro-level market context, helping you decide when to rotate between growth, income, and defensive positions using visual cues directly on the chart.
🧱 Components Recap (Non-Floating Version)
ROC Histograms:
SPY:TLT ROC (green bars): Measures equity strength vs. bonds
QQQ:XLU ROC (blue bars): Measures growth vs. defensive rotation
EMA Trend Filter:
Uses a fast/slow EMA crossover on both ratios to confirm the trend
When both are rising → confirms GROWTH phase
Phase Background Colors:
🟩 Green = GROWTH
🟧 Orange = INCOME
🟥 Red = DEFENSIVE
No color = NEUTRAL
Instruction Labels:
Show what sectors to add and what to sell (with ETF tickers)
Alert Conditions:
Can be linked to email, SMS, or app notifications
Triggered when phase changes
✅ Weekly Workflow
Every Monday (or Weekend Prep)
1. Open SPY on a Weekly Chart
This tool is designed around the U.S. equity vs bond regime
Always keep SPY as the main chart for best alignment
2. Check the Background Color
Instantly tells you what regime you're in:
Green → rotate into growth ETFs
Orange → stick to or buy income-generating ETFs
Red → get defensive, raise cash, or buy bond/hedge ETFs
3. Read the Labels
Top label = phase status (e.g., GROWTH)
Bottom label = action instructions:
What ETFs to accumulate (MTUM, VUN, HYLD, etc.)
What sectors or funds to rotate out of
4. Look at Momentum Histograms
Confirms whether the regime shift is gaining strength
Larger bars = stronger conviction
Diverging directions? Wait for confirmation
🔁 Tactical Rotation Plan
Phase Add Trim/Sell
GROWTH MTUM, VUN, XMTM, HXS, VTI HYLD, HHIS, HPYT
INCOME HYLD, HHIS, QQQY, DFN, DGS MTUM, VUN
DEFENSIVE HPYT, HPYT.U, ZGLD, GDE All equities
NEUTRAL Nothing new, rebalance if needed Excess risk positions
🔔 Alert Setup (Optional)
You can create alerts in TradingView using:
Right-click chart → "Add Alert"
Use condition: "Rotation Phase Trigger" → "GROWTH" / "INCOME" / "DEFENSIVE"
Choose notification method (popup, app, email, etc.)
💡 Pro Tips
Use this version on SPY weekly only — for best signal clarity
Hamid Double RSIRSI with Moving Average and Another RSI
This script combines two Relative Strength Index (RSI) indicators with configurable moving averages. It allows traders to track momentum and market strength with adjustable periods for both the RSI and moving averages. The script also allows you to choose different data sources for each RSI, offering flexibility in analysis.
Features:
Two RSIs: One with a shorter period and another with a longer period .
Moving Averages: Each RSI has its own configurable moving average . The moving averages help smooth out the RSI and provide clearer trends.
Customizable Inputs: Adjust the RSI period and the length of the moving averages. You can also choose different sources for each RSI (e.g., close, open, high, low).
Mid Line: A horizontal line at 50, which is commonly used as the neutral level for the RSI. It helps identify whether the RSI is above or below neutral, indicating bullish or bearish conditions.
Overbought and Oversold Levels: Horizontal lines at 70 (overbought) and 30 (oversold) to highlight when the asset might be overbought or oversold according to the RSI.
How it works:
RSI Calculation: The script calculates two RSIs using different lengths
Moving Averages: A Simple Moving Average (SMA) is applied to both RSIs to smooth their values and help identify trends.
Overbought/Oversold Indicators: The script includes horizontal lines at 70 and 30 to show overbought and oversold conditions. The mid line is plotted at 50 to highlight neutral levels.
This indicator is useful for traders who want to compare the behavior of two RSIs over different time periods and use the moving averages to filter out noise. The ability to customize the source data for each RSI makes this script adaptable to different trading strategies.
Intraday LevelsWhat it shows:
This indicator is useful for day trading, where it will track and display you important price levels which includes:
Premarket Low (PML)
Premarket High (PMH)
Previous Day Low (PDL)
Previous Day High (PDH)
Previous Day Close (PDC)
After Hours Low (AHL)
After Hours High (AHH)
Day Low (DL)
Day High (DH)
The price level lines and labels will automatically adjust itself as the price moves, eliminating the need of manually having to adjusting these levels.
How to use it:
At these levels it can act as important support resistance points during the day and can often serve as a important pivot point for any ticker. You can expect price rejection or bounce when the price approaches these levels.
Key settings:
For each of the levels, user can adjust in the settings menu:
Line Colour
Line Thickness
Line Style
Label Text
Price Labelling on Label
Label Location (Offset from current bar)
Ability to turn on/off the price level and label
Display levels for either all days or on the day
Mercury Venus Conjunction Sextiles 2019-2026How to Use It and What It Means Astrologically
How to Use the Script in TradingView
This Pine Script, called "Mercury Venus Aspects 2019–2026," is made to highlight the dates of Mercury-Venus conjunctions (0°) and sextiles (60°) from 2019 to 2026 on TradingView charts. Here's how to use it:
click “Add to Chart.” It will apply to any chart you have open—stocks, forex, crypto, etc.
Customize the Display
You can turn on/off the visibility of conjunctions and sextiles using checkboxes under "Inputs" in the settings.
You can also adjust the label size (small, normal, large, or huge) for better readability on your chart.
What You’ll See on the Chart
Conjunctions appear as blue shaded zones with labels like “C1,” “C2,” etc. These mark dates when Mercury and Venus are at the same degree.
Sextiles show up in orange with labels like “S1,” “S2,” marking when they’re about 60° apart.
Each event spans a 2-day window (one day before and after the exact aspect).
How to Use It Practically
You can overlay the script on market charts to look for any patterns between these planetary aspects and price movements.
You can also use it to plan personal or financial activities, since these aspects often affect communication, money, and relationships.
What to Keep in Mind
Dates are approximate and based on average planetary cycles (Mercury: ~88 days, Venus: ~225 days). For exact timing, use an ephemeris.
Only conjunctions and sextiles are shown. Oppositions, squares, and trines aren’t included because Mercury and Venus never get far enough apart (more than 75°).
This script is great for astrologers, traders, and enthusiasts who want to see Mercury-Venus aspects directly on their charts and explore their possible effects.
Astrological Meaning of Mercury-Venus Aspects
What Mercury and Venus Represent
Mercury rules communication, thinking, technology, travel, and trade. In global events (mundane astrology), it affects media, markets, and movement of information.
Venus is about love, beauty, money, and pleasure. It influences relationships, aesthetics, and finance. In the world stage, it’s linked to luxury, art, fashion, and economic balance.
When Mercury and Venus form aspects (like conjunctions or sextiles), their energies mix in helpful ways that can affect people and events.
Conjunction (0°) – Mercury and Venus Together
These two planets are in the same sign and degree, so their qualities merge.
For people:
Positive: Smooth communication, charm, creativity, and better relationships. Great for romance, art, and social interaction.
Negative: Too much focus on appearances, sweet talk, or pleasure can cloud judgment. Decisions may lack depth.
For the economy:
Positive: Boosts in media, entertainment, fashion, and tech. Good for trade, deals, and optimism in financial markets.
Negative: Risk of overspending or unrealistic expectations. May cause small market bubbles or misleading hype.
Sextile (60°) – Mercury and Venus in Harmony
These two planets are two signs apart, creating a smooth, supportive energy.
For people:
Positive: Easy conversations, creative teamwork, small financial wins, and pleasant social experiences.
Negative: Energy is mild, so opportunities might be missed if not acted on. People may avoid hard decisions.
For the economy:
Positive: Gradual improvements in areas like marketing, social media, hospitality, and design. Good for diplomacy.
Negative: Lack of strong initiative could limit bigger gains. Minor missteps are possible due to a laid-back attitude.
General Effects
These aspects are mostly beneficial. They support creativity, financial thinking, and social harmony.
Downsides: Conjunctions may lead to overindulgence or shallow choices, while sextiles may cause missed chances due to low energy.
These aspects rarely cause major economic shifts on their own but can amplify trends depending on other planetary influences (like Saturn or Uranus).
Zodiac Sign Influence
Fire signs (Aries, Leo, Sagittarius): Bold communication, energetic spending, gains in media or entertainment.
Earth signs (Taurus, Virgo, Capricorn): Practical results, stable finances, growth in real-world assets like property or food.
Air signs (Gemini, Libra, Aquarius): Intellectual growth, tech innovation, and social ideas flourish.
Water signs (Cancer, Scorpio, Pisces): Emotional depth in conversations, artistic growth, and financial sensitivity.
Mercury-Venus aspects are gentle but helpful. They combine logic (Mercury) with emotion and value (Venus). They’re good times for love, communication, and money—but their benefits depend on how we use the energy. This script lets you easily track these moments on a chart and explore how they might align with real-life trends or decisions.
Disclaimer: This script and its interpretations are for informational and educational purposes only. They do not constitute financial, trading, or professional astrological advice. Always conduct your own research and consult qualified professionals before making any financial or personal decisions. Use at your own discretion.
SMT Divergence ICT 02 [TradingFinder] Smart Money Technique SMC🔵 Introduction
SMT Divergence (Smart Money Technique Divergence) is a price action-based trading concept that detects discrepancies in market behavior between two assets that are generally expected to move in the same direction. Rooted in ICT (Inner Circle Trader) methodology, this approach helps traders recognize subtle signs of market manipulation or imbalance, often ahead of traditional indicators.
The core idea behind SMT divergence is simple: when two correlated instruments—such as currency pairs, indices, or assets from the same sector—start forming different swing points (highs or lows), this can reveal a lack of confirmation in the trend. Such divergence is often a precursor to a price reversal or pause in momentum.
This technique works effectively across various markets including Forex, stocks, and cryptocurrencies. It’s particularly valuable when used alongside concepts like liquidity sweeps, market structure breaks (MSBs), or order block identification.
In advanced use cases, Sequential SMT helps uncover patterns of alternating divergences across sessions, often signaling engineered liquidity traps before price reacts.
When combined with the Quarterly Theory—which segments market behavior into Accumulation, Manipulation, Distribution, and Continuation/Reversal phases—traders gain insight not only into where divergence happens, but when it's most likely to be significant within the market cycle.
Bullish SMT :
Bullish SMT Divergence occurs when one asset prints a higher low while the correlated asset forms a lower low. This asymmetry often suggests that the downside move is losing strength, hinting at a potential bullish shift.
Bearish SMT :
Bearish SMT Divergence is formed when one asset creates a higher high, while the second asset fails to confirm by printing a lower high. This typically signals weakening bullish pressure and the possibility of a reversal to the downside.
🔵 How to Use
The SMT Divergence indicator is designed to detect imbalances between two positively correlated assets—such as major currency pairs, indices, or commodities. These divergences often indicate early signs of market inefficiency or smart money manipulation and can help traders anticipate trend shifts with higher precision.
Unlike traditional divergence indicators or earlier versions of this script, this upgraded version does not rely solely on consecutive pivot comparisons. Instead, it dynamically scans all available pivots within the chart to identify divergences at any structural level—major or minor—across the price action. This broader detection method increases the reliability and frequency of meaningful SMT signals.
Moreover, when integrated with Sequential SMT logic, the indicator is capable of identifying multiple divergence sequences across sessions. These sequences often signal engineered liquidity traps and can be mapped within the Quarterly Theory framework, allowing traders to pinpoint not just the presence of divergence but also the phase of the market cycle it appears in (Accumulation, Manipulation, Distribution, or Continuation).
🟣 Bullish SMT Divergence
This signal occurs when the primary asset forms a higher low, while the correlated asset forms a lower low. This pattern implies weakening bearish momentum and a potential shift to the upside.
If the correlated asset breaks its previous low but the primary asset does not, this divergence suggests absorption of selling pressure and possible accumulation by smart money—making it a strong bullish signal, especially when aligned with a favorable market phase (e.g., the end of a manipulation phase in Q2).
🟣 Bearish SMT Divergence
This signal occurs when the primary asset creates a higher high, while the correlated asset forms a lower high. This mismatch indicates fading bullish momentum and a potential reversal to the downside.
If the correlated asset fails to confirm a breakout made by the main asset, the divergence may point to distribution or exhaustion. When seen within Q3 or Q4 phases of the Quarterly Theory, this pattern often precedes sharp declines or fake-outs engineered by smart money
🔵 Settings
⚙️ Logical Settings
Symbol : Choose the secondary asset to compare with the main chart asset (e.g., XAUUSD, US100, GBPUSD).
Pivot Period : Sets the sensitivity of the pivot detection algorithm. A smaller value increases responsiveness to price swings.
Activate Max Pivot Back : When enabled, limits the maximum number of past pivots to be considered for divergence detection.
Max Pivot Back Length : Defines how many past pivots can be used (if the above toggle is active).
Pivot Sync Threshold : The maximum allowed difference (in bars) between pivots of the two assets for them to be compared.
Validity Pivot Length : Defines the time window (in bars) during which a divergence remains valid before it's considered outdated.
🎨 Display Settings
Show Bullish SMT Line : Draws a line connecting the bullish divergence points.
Show Bullish SMT Label : Displays a label on the chart when a bullish divergence is detected.
Bullish Color : Sets the color for bullish SMT markers (label, shape, and line).
Show Bearish SMT Line : Draws a line for bearish divergence.
Show Bearish SMT Label : Displays a label when a bearish SMT divergence is found.
Bearish Color : Sets the color for bearish SMT visual elements.
🔔 Alert Settings
Alert Name : Custom name for the alert messages (used in TradingView’s alert system).
Message Frequency :
All : Every signal triggers an alert.
Once Per Bar : Alerts once per bar regardless of how many signals occur.
Per Bar Close : Only triggers when the bar closes and the signal still exists.
Time Zone Display : Choose the time zone in which alert timestamps are displayed (e.g., UTC).
Bullish SMT Divergence Alert : Enable/disable alerts specifically for bullish signals.
Bearish SMT Divergence Alert : Enable/disable alerts specifically for bearish signals
🔵Conclusion
The SMT Plus indicator offers a refined and powerful approach to detecting smart money behavior through divergence analysis between correlated assets. By removing the limitations of consecutive pivot comparisons and allowing for broader structural detection, it captures more accurate and timely signals that often precede major market moves.
When paired with frameworks like Sequential SMT and the Quarterly Theory, the indicator not only highlights where divergence occurs, but also when in the market cycle it's most likely to matter. Its flexible settings, customizable visuals, and integrated alert system make it suitable for intraday scalpers, swing traders, and even long-term macro analysts.
Whether you're using it as a standalone decision-making tool or combining it with other ICT concepts, SMT Plus gives you an edge in recognizing manipulation, timing reversals, and staying in sync with the real market narrative—not just the chart.
Ross Cameron-Inspired Day Trading StrategyExplanation for Community Members:
Title: Ross Cameron-Inspired Day Trading Strategy
Description:
This script is designed to help you identify potential buy and sell opportunities during the trading day. It combines several popular trading strategies to provide clear signals.
Key Features:
Gap and Go: Identifies stocks that have gapped up or down at the open.
Momentum Trading: Uses RSI and EMA to identify momentum-based entry points.
Mean Reversion: Uses RSI and SMA to identify potential reversals.
How to Use:
Apply to Chart: Add this script to your TradingView chart.
Set Timeframe: Works best on 5-minute and 10-minute timeframes.
Watch for Signals: Look for green "BUY" labels for entry points and red "SELL" labels for exit points.
Parameters:
Gap Percentage: Adjust to identify larger or smaller gaps.
RSI Settings: Customize the RSI length and overbought/oversold levels.
EMA and SMA Lengths: Adjust the lengths of the moving averages.
Confirmation Period: Set how many bars to wait for confirmation.
Visual Elements:
BUY Signals: Green labels below the price bars.
SELL Signals: Red labels above the price bars.
Indicators: Displays EMA (blue) and SMA (orange) for additional context.
This script is a powerful tool for day trading on NSE and BSE indices, combining multiple strategies to provide robust trading signals. Adjust the parameters to suit your trading style and always combine with your own analysis for best results.
Gann Percentage of High & Low Prices for Options - Keanu_RiTzThis Indicator is based on the text from Chapter 4 "Percentage of High & Low Prices" page number "30" from the book "WD Gann 45 years in Wall Street".
This Indicator is to be used on Intraday Timeframes and only on Options Charts (CALL & PUT) and not on any other chart.
The following is the text from that page :-
One of the greatest discoveries I ever made was how to figure the percentage of high and low prices on the averages and individual stocks.
The percentages of extreme high and low levels indicate future resistance levels.
There is a relation between every low price to some future high price and a percentage of the low price indicates what levels to expect the next high price.
At this price you can sell out long stocks and sell short with a limited risk.
The extreme high price or any minor tops are related to future bottoms er low levels.
The percentage of the high price tells where to expect low prices in the future and gives you resistance levels where you can buy with a limited risk.
The most important resistance level is 50% of any high or low price.
Second in importance is 100% on the lowest selling price on the averages or individual stocks.
You must also use 200%, 300%, 400%, 500%, 600% or more, depending upon the price and the Time Periods from High and Low.
Third in importance is 25% of the Lowest price or the Highest price.
Fourth in importance is 121/2% of the extreme Low or extreme High price.
Fifth in importance is 61/4% of the Highest price, but this is only to be used when the averages or individual stocks are selling at very high levels.
Sixth in importance is 33 1/3 and 66 2/3%. These percentages should be calculated and watched for resistance next after 25% and after 50%.
You should always have percentage tables made up on the Industrial Averages and on the individual stocks you trade in in order to know where these important resistance levels are located.
Description :
It plots the Intraday % levels from the highest high and lowest low of that day.
The calculation of these levels is based on the text from Chapter 4 "Percentage of High & Low Prices" page number "30" from the book "WD Gann 45 years in Wall Street".
I developed this indicator to see if those percentages work on Options prices or not,
and from my observation I found that it works wonderfully in Options as well.
These % levels work like magic and act as great Dynamic Support and Resistance levels.
Don't trust my words blindly and see for yourself.
This indicator is for educational and research purpose only.
It does not provide any BUY/SELL signals.
Intrinsic Event (Multi DC OS)Overview
This indicator implements an event-based approach to analyze price movements in the foreign exchange market, inspired by the intrinsic time framework introduced in Fractals and Intrinsic Time - A Challenge to Econometricians by U. A. Müller et al. (1995). It identifies significant price events using an intrinsic time perspective and supports multi-agent analysis to reflect the heterogeneous nature of financial markets. The script plots these events as lines and labels on the chart, offering a visual tool for traders to understand market dynamics at different scales.
Key Features
Intrinsic Events : The indicator detects directional change (DC) and overshoot (OS) events based on user-defined thresholds (delta), aligning with the paper’s concept of intrinsic time (Section 6). Intrinsic time redefines time based on market activity, expanding during volatile periods and contracting during inactive ones, rather than relying on a physical clock.
Multi-Agent Analysis : Supports up to five agents, each with its own threshold and color settings, reflecting the heterogeneous market hypothesis (Section 5). This allows the indicator to capture the perspectives of market participants with different time horizons, such as short-term FX dealers and long-term central banks.
How It Works
Intrinsic Events Detection : The script identifies two types of events using intrinsic time principles:
Directional Change (DC) : Triggered when the price reverses by the threshold (delta) against the current trend (e.g., a drop by delta in an uptrend signals a "Down DC").
Overshoot (OS) : Occurs when the price continues in the trend direction by the threshold (e.g., a rise by delta in an uptrend signals an "Up OS").
DC events are plotted as solid lines, and OS events as dashed lines, with labels like "Up DC" or "OS Down" for clarity. The label style adjusts based on the trend to ensure visibility.
Multi-Agent Setup : Each agent operates independently with its own threshold, mimicking market participants with varying time horizons (Section 5). Smaller thresholds detect frequent, short-term events, while larger thresholds capture broader, long-term movements.
Settings
Each agent can be configured with:
Enable Agent : Toggle the agent on or off.
Threshold (%) : The percentage threshold (delta) for detecting DC and OS events (default values: 0.1%, 0.2%, 0.5%, 1%, 2% for agents 1–5).
Up Mode Color : Color for lines and labels in up mode (DC events).
Down Mode Color : Color for lines and labels in down mode (OS events).
Usage Notes
This indicator is designed for the foreign exchange market, leveraging its high liquidity, as noted in the paper (Section 1). Adjust the threshold values based on the instrument’s volatility—higher volatility leads to more intrinsic events (Section 4). It can be adapted to other markets where event-based analysis applies.
Reference
The methodology is based on:
Fractals and Intrinsic Time - A Challenge to Econometricians by U. A. Müller, M. M. Dacorogna, R. D. Davé, O. V. Pictet, R. B. Olsen, and J. R. Ward (June 28, 1995). Olsen & Associates Preprint.
YY Price LimitsThis Pine Script indicator is designed to visualize potential price limits (e.g., daily price limits used in some markets like commodities) on a TradingView chart. It calculates and plots lines representing percentage-based price limits above and below a reference price (typically the previous day's close). The indicator allows you to customize the displayed price limits, their appearance, and how they extend across the chart. It's particularly useful for intraday traders who need to be aware of potential price ceilings and floors.
Key Features:
Percentage-Based Limits:
Calculates price limits based on percentages (3%, 5%, and 7%) of a reference price.
Customizable Display:
Toggle visibility of reference price and each percentage limit (3%, 5%, 7%).
Customize the color, style (solid, dashed, dotted), and width of the price limit lines.
Extends Lines: Allows you to extend the price limit lines to the left, right, both directions, or not at all.
CME Reference Price: It is designed to plot price limits based on the CME (Chicago Mercantile Exchange) methodology, which uses the last close as the reference price. The tooltip reminds users to verify the actual reference price on the CME Group website.
Intraday Focus: The indicator is specifically designed for intraday timeframes, as it uses the previous day's close as the reference point.
Clear Visuals: Plots horizontal lines with labels indicating the price level and percentage.
US Recessions with SPX reversals v3 [FornaxTV]In addition to highlighting periods of official US recessions (as defined by the NBER) this script also displays vertical lines for the SPX market top and bottom associated with each recession .
This facilitates more detailed analysis of potential leading and coincident indicators for market tops and bottoms. This is particularly relevant for market tops, which typically precede the start of a recession by several months.
In addition to recessions with SPX market tops and market bottoms:
- A horizontal line can optionally be displayed for the last market top . (NOTE: this line will only be displayed for SPX tickers.)
- Labels can optionally be displayed for market tops & bottoms, plus the start and end of recessions. If the statistics are enabled (see below) these labels will also indicate the number of weeks between key market events, e.g. a market top and the start of a recession.
- A statistics table can optionally be displayed, contained statistics such as the number of weeks wince the last recession & market bottom, as well as averages for all recessions included in the analysis set.
For the recession statistics:
- "Outlier" recessions such as 1945 (WWII, where the market top occurred well after the recession itself) and 2020 (COVID pandemic, which was arguably not a "true" economic recession) can optionally be excluded.
- You can choose to exclude recessions occurring before a specific year.
Deadzone Pro @DaviddTechDeadzone Pro by @DaviddTech – Adaptive Multi-Strategy NNFX Trading System
Deadzone Pro by @DaviddTech is a meticulously engineered trading indicator that strictly adheres to the No-Nonsense Forex (NNFX) methodology. It integrates adaptive trend detection, dual confirmation indicators, advanced volatility filtering, and dynamic risk management into one powerful, visually intuitive system. Ideal for traders seeking precision and clarity, this indicator consistently delivers high-probability trade setups across all market conditions.
🔥 Key Features:
The Setup:
Adaptive Hull Moving Average Baseline: Clearly identifies trend direction using an advanced, gradient-colored Hull MA that intensifies based on trend strength, providing immediate visual clarity.
Dual Confirmation Indicators: Combines Waddah Attar Explosion (momentum detector) and Bull/Bear Power (strength gauge) for robust validation, significantly reducing false entries.
Volatility Filter (ADX): Ensures entries are only made during strong trending markets, filtering out weak, range-bound scenarios for enhanced trade accuracy.
Dynamic Trailing Stop Loss: Implements a SuperTrend-based trailing stop using adaptive ATR calculations, managing risk effectively while optimizing exits.
Dashboard:
💎 Gradient Visualization & User Interface:
Dynamic gradient colors enhance readability, clearly indicating bullish/bearish strength.
Comprehensive dashboard summarizes component statuses, real-time market sentiment, and entry conditions at a glance.
Distinct and clear buy/sell entry and exit signals, with adaptive stop-loss levels visually plotted.
Candlestick coloring based on momentum signals (Waddah Attar) for intuitive market reading.
📈 How to Interpret Signals:
Bullish Signal: Enter when Hull MA baseline trends upward, both confirmation indicators align bullish, ADX indicates strong trend (>25), and price breaks above the previous trailing stop.
Bearish Signal: Enter short or exit long when Hull MA baseline trends downward, confirmations indicate bearish momentum, ADX confirms trend strength, and price breaks below previous trailing stop.
📊 Recommended Usage:
Timeframes: Ideal on 1H, 4H, and Daily charts for swing trading; effective on shorter (5M, 15M) charts for day trading.
Markets: Compatible with Forex, Crypto, Indices, Stocks, and Commodities.
The Entry & Exit:
🎯 Trading Styles:
Choose from three distinct trading modes:
Conservative: Requires full alignment of all indicators for maximum accuracy.
Balanced (Default): Optimized balance between signal frequency and reliability.
Aggressive: Fewer confirmations needed for more frequent trading signals.
📝 Credits & Originality:
Deadzone Pro incorporates advanced concepts inspired by:
Hull Moving Average by @Julien_Eche
Waddah Attar Explosion by @LazyBear
Bull Bear Power by @Pinecoders
ADX methodology by @BeikabuOyaji
This system has been significantly refactored and enhanced by @DaviddTech to maximize synergy, clarity, and usability, standing apart distinctly from its original components.
Deadzone Pro exemplifies precision and discipline, aligning fully with NNFX principles to provide traders with a comprehensive yet intuitive trading advantage.
HinduTime Choghadiya(Dynamic Day & Night)🕉️ HinduTime Choghadiya (Dynamic Day & Night) — Visualize real-time Choghadiya Muhurat across global timezones with dynamic sunrise/sunset-based day & night cycles. Perfect for astrology-based or Vedic timing strategies.
How to Use:
Add to Chart: Click "Add to chart" from the TradingView script panel.
Select Your Timezone: Use the dropdown to choose your local timezone (e.g., Asia/Kolkata).
Customize Sunrise/Sunset:
Set "Day Start Hour" (typically 6 AM).
Set "Night Start Hour" (typically 6 PM).
Visual Choghadiya Overlay:
Background color represents the current Choghadiya (e.g., Amrit, Shubh, Rog).
Adjusts dynamically by weekday and day/night period.
Use for Timing Entries:
Favorable: Amrit, Shubh, Labh
Neutral: Chal
Avoid: Rog, Kal, Udveg
Circuit Breaker - MFFUThis Indicator Is Used To Protect User From Over Trading After Market Hit The Circuit Breakers.
The CME Exchange Usually Halts Trading If Market Hit + or - 7%.
To Protect Users From Extreme Volatile Condition MFFU, Halts Trading If Market Hits + or - 5%.
This Indicator helps us to plot the circuit breaking lines helping us to when to stop trading.
ORB - Futures and Stocks (Breakouts + Alerts + ORB Selector)This indicator shows the Opening Range Breakout (ORB) based on the time range you choose.
Important:
It only works for intraday trading on time frames less than 1 day (like 1-minute, 5-minute, or hourly charts).
You can use it with any stock or futures, such as US500, NAS100, or GER40.
Inputs:
ORB Range - Your preference.
Session Start
Time Zone Offset
Examples:
for EU Frankfurt, DAX (GER40):
Set your ORB range
Session Start 0900
Time Zone Offset +1
For US Stock Market and US500, NAS100:
Set your ORB range
Session Start 0930
Time Zone Offset -5
Created using ChatGPT
NQ/MNQ Futures Delta+ with Price Action EntriesNQ/MNQ Futures Delta+ with Price Action Entries
Description: This TradingView indicator combines Futures Delta analysis with advanced price action techniques to provide an enhanced trading strategy for the NQ/MNQ futures market. The script analyzes the market using a variety of methods including Delta, volume analysis, and candlestick patterns, while also incorporating price action factors like support/resistance levels and breakouts to offer more refined buy and sell signals.
Key Features:
Delta Analysis:
The Delta calculation tracks the difference between buying and selling pressure within each market bar. The indicator calculates delta based on different modes (Classic, Volume Based, Tick Based), and then applies cumulative delta for trend analysis.
The Cumulative Delta is calculated using one of the three available modes:
Total: Tracks the cumulative delta over time.
Periodic: Measures delta over a defined period (user-configurable).
EMA: Applies an Exponential Moving Average to smooth the delta values.
Volume Confirmation:
The script includes volume analysis to confirm price movements. A volume spike is used to validate buy/sell signals, ensuring that price movements are supported by significant trading volume.
Price Action-Based Entries:
Support and Resistance: Dynamic support and resistance levels are calculated based on the lowest low and highest high of the last 20 bars. These levels are used to identify breakout points, providing context for potential buy/sell entries.
Candlestick Patterns: The script recognizes Bullish Engulfing and Bearish Engulfing candlestick patterns. These patterns signal potential reversals in price direction and are used to confirm trade entries.
Breakout Logic: Buy signals are triggered when the price breaks above resistance, and sell signals are triggered when the price breaks below support, providing high-probability entry points during trend reversals or continuations.
Moving Average Trend Confirmation:
The script uses two moving averages:
9-period Exponential Moving Average (EMA): Short-term trend indicator.
21-period Exponential Moving Average (EMA): Longer-term trend indicator.
Trades are only considered in the direction of the prevailing trend:
A bullish signal is confirmed if the price is above both EMAs.
A bearish signal is confirmed if the price is below both EMAs.
Buy/Sell Signal Triggers:
Buy Signal: A buy signal is triggered when:
A bullish divergence is confirmed with volume support.
A bullish engulfing candlestick pattern forms.
The price breaks above resistance.
The price is above both the 9 EMA and 21 EMA, indicating an uptrend.
Sell Signal: A sell signal is triggered when:
A bearish divergence is confirmed with volume support.
A bearish engulfing candlestick pattern forms.
The price breaks below support.
The price is below both the 9 EMA and 21 EMA, indicating a downtrend.
Visualization:
Delta Candles: The cumulative delta is plotted as a candlestick on the chart, with green and red coloring to show buying or selling dominance.
Support and Resistance Levels: Support and resistance zones are plotted to show key levels where price action may react.
Moving Averages: The 9 EMA and 21 EMA are plotted to show short-term and long-term trend direction.
Signal Markers: Buy and sell signals are marked on the chart with green triangles (buy) and red triangles (sell) for easy visualization of trade opportunities.
Alerts:
Alerts can be set up for buy and sell signals, enabling you to be notified when the script identifies potential trade opportunities based on Delta analysis, volume confirmation, and price action.
How to Use This Script:
Market: This script is optimized for NQ and MNQ futures contracts but can be adapted for other markets as well.
Signal Interpretation: Use the buy and sell signals for trend-following or counter-trend trades. These signals are particularly useful for 1-minute or 5-minute charts but can be adjusted to fit other timeframes.
Support/Resistance: Pay close attention to the dynamic support and resistance levels, as these are key price action points where significant price movements can occur.
Trend Confirmation: Ensure that trades are aligned with the overall trend confirmed by the 9 EMA and 21 EMA. The script prioritizes signals that align with the broader market trend.
Breakouts: Use the breakout logic to catch price moves when the market breaks key support or resistance levels. These can often lead to strong moves in the direction of the breakout.
Days Live CounterThis quite simply tracks how many days an asset has been on Trading View for.
The indicator calculates the day count based on the timestamp of the first visible bar in your current chart view. Since monthly charts generally load data from further back in time than daily or intraday charts, they'll show a larger day count.
This isn't a bug in the indicator - it's correctly counting the days from the first bar it can see in each timeframe.
Tetris with Auto-PlayThis indicator is implemented in Pine Script™ v6 and serves as a demonstration of TradingView's capabilities. The core concept is to simulate a classic Tetris game by creating a grid-based environment and managing game state entirely within Pine Script.
Key Technical Aspects:
Grid Representation:
The script defines a custom grid structure using a user-defined type that holds the grid’s dimensions and a one-dimensional array to simulate a two-dimensional board. This structure is used to track occupied cells, clear full rows, and determine stack height.
Piece Management:
A second custom type is used to represent the state of a tetromino piece, including its type, rotation, and position. The code includes functions to calculate the block offsets for each tetromino based on its rotation state.
Collision Detection and Piece Locking:
Dedicated functions check for collisions against the grid borders and existing blocks. When a collision is detected during a downward move, the piece is locked into the grid, and any complete lines are cleared.
AIgo-Driven Placement:
The script incorporates a simple heuristic to determine the best placement for the next tetromino. It simulates different rotations and horizontal positions, evaluating each based on aggregated column height, cleared lines, holes, and bumpiness. This decision-making process is encapsulated in an AI-like function that returns the optimal rotation and placement.
Rendering Using Tables:
The visual representation is managed via TradingView’s table objects. The game board is rendered with a bordered layout, while a separate preview table displays the next piece and the current score. Each cell is updated with text and background colors that correspond to the state of the game.
Execution Flow and Timing:
The main execution loop handles real-time updates by dropping pieces at set intervals and checking for game-over conditions. The code leverages persistent variables and time comparisons to control game speed and manage transitions between piece drops.
Executing:
Add the indicator to the chart
It starts playing itself till game over
There are no parameters to change in this version but the grid in the code directly
p.s. Sadly we have no interactive buttons in the current pinescript versions to play ourself, but its about the possibilitys what we could do ;-)
Maybe in a future version there is more possible, if i find time to enhance and expand the idea
Have fun :-)