Advanced VWAP Multi-MA System with Bollinger Bands & Dashboard📊 Key Features:
Core Functionality:
* VWAP Calculation with customizable anchor periods (Session/Week/Month/Quarter/Year)
* Multiple Moving Average Types (EMA, SMA, WMA, HMA, RMA, VWMA)
* Three MA Lengths (Fast: 9, Medium: 21, Slow: 50)
* Standard Deviation Bands with 3 levels (1σ, 2σ, 3σ)
* Dynamic band multipliers (adjustable from 0.5 to 5.0)
🎨 Visual Theme System:
* Theme Types: Dark, Light, Pro
* Visual Styles: Quantum, Holographic, Crystalline, Plasma, Nebula
* Visual Intensity Control (20-100%)
* Multi-layer Harmonic Nodes with gradient effects
* Energy Flow Lines based on momentum
* Minimal signal dots for buy/sell conditions
📈 Holographic Dashboard:
* Real-time VWAP position tracking
* MA trend analysis (Bullish/Bearish/Neutral)
* Band position indicator (±1σ, ±2σ, ±3σ)
* Volatility percentage
* Momentum direction
* Current visual theme display
✨ Visual Effects:
* Quantum Fields: Multi-layer boxes with dynamic transparency
* Energy Flow: Momentum-based directional lines
* Gradient Fills: Between bands and MAs
* Borderless Design: Clean, modern appearance
* Emoji Headers: Enhanced visual appeal (⚡ 🌌 📊 🔮)
🎯 Trading Signals:
* Bullish Signal: Close > VWAP AND Close > Fast MA AND Fast MA > Medium MA
* Bearish Signal: Close < VWAP AND Close < Fast MA AND Fast MA < Medium MA
Scalping
Adaptive Scalping with Take ProfitThis is a comprehensive and adaptive trading system designed specifically for scalping XAUUSD (Gold) on a 3-minute timeframe. Its main feature is that it "adapts" to current market conditions rather than using fixed parameters. It provides clear BUY, SELL, and EXIT signals directly on the chart.
Key Components
1. Adaptive Entry Signal (KAMA)
Instead of using standard moving averages (like EMA or SMA), the entry logic is based on Kaufman's Adaptive Moving Average (KAMA).
How it's adaptive: KAMA automatically adjusts its speed based on market noise. It moves slowly when the market is choppy and sideways, filtering out many false signals. It speeds up when a clear trend emerges, allowing you to enter a move early.
A BUY signal is generated when the faster KAMA crosses above the slower KAMA. A SELL signal is generated on a cross-under.
2. Volatility Filter
The system includes an optional filter that uses the Average True Range (ATR) to measure market volatility.
A trade signal will only appear if the market is volatile enough for scalping. This prevents you from entering trades when the market is flat and there's little opportunity for profit.
3. Dual Exit Strategy (Adaptive)
This is the most advanced part of the system. It gives you two ways to exit a trade to maximize and protect profits:
Dynamic Take Profit: When a trade starts, a profit target (the blue circles) is immediately plotted on the chart. This target is calculated using the ATR, so on a volatile day, the target will be further away. If the price hits this level, it's a signal to take your profits.
ATR Trailing Stop: This is your safety net. It's a stop loss that automatically "trails" behind the price as it moves in your favor (the green/red line). If the market suddenly reverses, the trade is closed when the price hits this trailing stop, locking in any accumulated profit.
An EXIT label appears on the chart as soon as one of these two conditions is met.
4. On-Chart Visuals
BUY/SELL/EXIT Labels: Clear, unmissable labels appear to show you exactly when to enter and exit.
Bar Coloring: The chart candles are colored green when the trend is bullish (fast KAMA > slow KAMA) and red when the trend is bearish, giving you an instant visual confirmation of the market sentiment.
OctaScalp Precision Pro [By TraderMan]What is OctaScalp Precision Pro ? 🚀
OctaScalp Precision is a powerful scalping indicator designed for fast, short-term trades. It combines eight technical indicators to generate 💪 high-accuracy buy 📗 and sell 📕 signals. Optimized for scalpers, this tool targets small price movements in low timeframes (1M, 5M). With visual lines 📈, labels 🎯, and Telegram alerts 📬, it simplifies quick decision-making, enhances risk management, and tracks trade performance.
What Does It Do? 🎯
Fast Signals: Produces reliable buy/sell signals using a consensus of eight indicators.
Risk Management: Offers automated Take Profit (TP) 🟢 and Stop Loss (SL) 🔴 levels with a 2:1 reward/risk ratio.
Trend Confirmation: Validates short-term trends with a 30-period EMA zone.
Performance Tracking: Records trade success rates (%) and the last 5 trades 📊.
User-Friendly: Displays market strength, signal type, and trade details in a top-right table.
Alerts: Sends Telegram-compatible notifications for new positions and trade results 📲.
How Does It Work? 🛠️
OctaScalp Precision integrates eight technical indicators (RSI, MACD, Stochastic, Momentum, 200-period EMA, Supertrend, CCI, OBV) for robust analysis. Each indicator contributes 0 or 1 point to a bullish 📈 or bearish 📉 score (max 8 points). Signals are generated as follows:
Buy Signal 📗: Bullish score ≥6 and higher than bearish score.
Sell Signal 📕: Bearish score ≥6 and higher than bullish score.
EMA Zone 📏: A zone (default 0.1%) around a 30-period EMA confirms trends. Price staying above or below the zone for 4 bars validates the direction:
Up Direction: Price above zone, color green 🟢.
Down Direction: Price below zone, color red 🔴.
Neutral: Price within zone, color gray ⚪.
Entry/Exit: Entries are triggered on new signals, with TP (2% profit) and SL (1% risk) auto-calculated.
Table & Alerts: Displays market strength (% bull/bear), signal type, entry/TP/SL, and success rate in a table. Telegram alerts provide instant notifications.
How to Use It? 📚
Setup 🖥️:
Add the indicator to TradingView and use default settings or customize (EMA length, zone width, etc.).
Best for low timeframes (1M, 5M).
Signal Monitoring 🔍:
Check the table: Bull Strength 📗 and Bear Strength 📕 percentages indicate signal reliability.
Confirm Buy (📗 BUY) or Sell (📕 SELL) signals when trendSignal is 1 or -1.
Entering a Position 🎯:
Buy: trendSignal = 1, bullish score ≥6, and higher than bearish score, enter at the entry price.
Sell: trendSignal = -1, bearish score ≥6, and higher than bullish score, enter at the entry price.
TP and SL: Follow the green (TP) 🟢 and red (SL) 🔴 lines on the chart.
Exiting 🏁:
If price hits TP, trade is marked ✅ successful; if SL, marked ❌ failed.
Results are shown in the “Last 5 Trades” 📜 section of the table.
Setting Alerts 📬:
Enable alerts in TradingView. Receive Telegram notifications for new positions and trade outcomes.
Position Entry Strategy 💡
Entry Conditions:
For Buy: Bullish score ≥6, trendSignal = 1, price above EMA zone 🟢.
For Sell: Bearish score ≥6, trendSignal = -1, price below EMA zone 🔴.
Check bull/bear strength in the table (70%+ is ideal for strong signals).
Additional Confirmation:
Use on high-volume assets (e.g., BTC/USD, EUR/USD).
Validate signals with support/resistance levels.
Be cautious in ranging markets; false signals may increase.
Risk Management:
Stick to the 2:1 reward/risk ratio (TP 2%, SL 1%).
Limit position size to 1-2% of your account.
Tips and Recommendations 🌟
Best Markets: Ideal for volatile markets (crypto, forex) and low timeframes (1M, 5M).
Settings: Adjust EMA length (default 30) or zone width (0.1%) based on the market.
Backtesting: Test on historical data to evaluate success rate 📊.
Discipline: Follow signals strictly and avoid emotional decisions.
OctaScalp Precision makes scalping fast, precise, and reliable! 🚀
Momentum Candle by Sekolah Trading## 🔷 Introduction
**Momentum Candle by Sekolah Trading** is a proprietary price action tool that identifies high-conviction candles with large bodies and minimal wicks, based on dynamically adjusted thresholds tailored to each pair and timeframe. This script helps traders recognize moments of price acceleration that often precede breakouts, trend continuation, or sharp reversals.
---
## 🔷 What Makes This Script Unique (Originality & Utility)
Unlike traditional candle filters that rely on static size comparisons, this indicator uses:
- **Instrument-specific pip sensitivity**: Automatically detects if the pair is XAUUSD, JPY-based, or other Forex instruments.
- **Timeframe-based calibration**: Adjusts body size thresholds dynamically for 5m, 15m, 30m, and 1h.
- **Wick ratio control**: Validates only candles with short wicks (<30%), filtering indecisive moves.
- **Non-repainting logic**: Signals appear after candle close, with no future data lookahead.
This logic has been tested and refined internally by **Sekolah Trading**, designed for scalpers and intraday traders who rely on clean price action structure.
---
## 🔷 How It Works
1. **Pair & Timeframe Detection**
Adjusts `minRange` dynamically based on:
- Gold (XAUUSD), JPY pairs, or other Forex
- Timeframe: 5m to 1h
2. **Candle Structure Analysis**
- Calculates body = `abs(open - close)`
- Wick = `upper + lower shadows`
- Valid only if wick is under 30% of total candle
3. **Conditions for Signal**
- Body ≥ minRange
- Wick ≤ 30%
- Clear bullish or bearish direction
4. **Plots**
- 🔺 Blue triangle = Bullish momentum candle
- 🔻 Red triangle = Bearish momentum candle
---
## 🔷 How to Use
1. **Add to any 5m–1h chart**, ideally on XAUUSD or major Forex pairs
2. **Wait for signal triangle** to appear at the close of a candle
3. Use with:
- Trend indicators (MA, Supertrend, etc.)
- Support/resistance zones
- Breakout levels
4. **Set alerts** using:
`Momentum Candle (Body)`
---
## 🔷 Why This Script is Closed-Source
This indicator includes proprietary logic created by **Sekolah Trading** for professional and community use:
- Original dynamic pip sensitivity calibration
- Custom multi-condition filtering
- Non-reused, non-public logic with adaptive precision
The source is protected to prevent unauthorized duplication. However, all relevant logic and intent have been clearly explained above as required by TradingView’s House Rules.
---
## 🔷 Disclaimer
This indicator does not provide financial advice or guaranteed signals. Always combine with your own analysis and risk management. Historical performance does not guarantee future results.
---
## 🔷 Suggested Tags
`momentum`, `price action`, `breakout`, `forex`, `xauusd`, `jpy`, `scalping`, `candle`, `non-repainting`, `trend confirmation`
AI-Powered ScalpMaster Pro [By TraderMan]🧠 AI-Powered ScalpMaster Pro How It Works
📊 What Is the Indicator and What Does It Do?
🧠 AI-Powered ScalpMaster Pro is a powerful technical analysis tool designed for scalping (short-term, fast-paced trading) in financial markets such as forex, crypto, or stocks. It combines multiple technical indicators (RSI, MACD, Stochastic, Momentum, EMA, SuperTrend, CCI, and OBV) to identify market trends and generate AI-driven buy (🟢) or sell (🔴) signals. The goal is to help traders seize profitable scalping opportunities with quick and precise decisions. 🚀
Key Features:
🧠 AI-Driven Logic: Analyzes signals from multiple indicators to produce reliable trend signals.
📈 Signal Strength: Displays buy (bull) and sell (bear) signal strength as percentages.
✅ Success Rate: Tracks the performance of the last 5 trades and calculates the success rate.
🎯 Entry, TP, and SL Levels: Automatically sets entry points, take profit (TP), and stop loss (SL) levels.
📏 EMA Zone: Analyzes price movement around the EMA 200 to confirm trend direction.
⚙️ How Does It Work?
The indicator uses a scoring system by combining the following technical indicators:
RSI (14): Evaluates whether the price is in overbought or oversold zones.
MACD (12, 26, 9): Analyzes trend direction and momentum.
Stochastic (%K): Measures the speed of price movement.
Momentum: Checks the price change over the last 10 bars.
EMA 200: Determines the long-term trend direction.
SuperTrend: Tracks trends based on volatility.
CCI (20): Measures price deviation from its normal range.
OBV ROC: Analyzes volume changes.
Each indicator generates a buy (bull) or sell (bear) signal. If 6 or more indicators align in the same direction (e.g., bullScore >= 6 for buy), the indicator produces a strong trend signal:
📈 Strong Buy Signal: bullScore >= 6 and bullScore > bearScore.
📉 Strong Sell Signal: bearScore >= 6 and bearScore > bullScore.
🔸 Neutral: No dominant direction.
Additionally, the EMA Zone feature confirms the trend based on the price’s position relative to a zone around the EMA 200:
Price above the zone and sufficiently distant → Uptrend (UP). 🟢
Price below the zone and sufficiently distant → Downtrend (DOWN). 🔴
Price within the zone → Neutral. 🔸
🖥️ Display on the Chart
Table: A table in the top-right corner shows the status of all indicators (✅ Buy / ❌ Sell), signal strength (as %), success rate, and results of the last 5 trades.
Lines and Labels:
🎯 Entry Level: A gray line at the price level when a new signal is generated.
🟢 TP (Take Profit): A green line showing the take-profit level.
🔴 SL (Stop Loss): A red line showing the stop-loss level.
EMA Zone: The EMA 200 and its surrounding colored zone visualize the trend direction (green: uptrend, red: downtrend, gray: neutral).
📝 How to Use It?
Platform Setup:
Add the indicator to the TradingView platform.
Customize settings as needed (e.g., EMA length, risk/reward ratio).
Monitoring Signals:
Check the table: Look for 📈 STRONG BUY or 📉 STRONG SELL signals to prepare for a trade.
AI Text: Trust signals more when it says "🧠 FULL CONFIDENCE" (success rate ≥ 50%). Be cautious if it says "⚠️ LOW CONFIDENCE."
Entering a Position:
🟢 Buy Signal:
Table shows "📈 STRONG BUY" and bullScore >= 6.
Price is above the EMA Zone (green zone).
Entry: Current price (🎯 entry line).
TP: 2% above the entry price (🟢 TP line).
SL: 1% below the entry price (🔴 SL line).
🔴 Sell Signal:
Table shows "📉 STRONG SELL" and bearScore >= 6.
Price is below the EMA Zone (red zone).
Entry: Current price (🎯 entry line).
TP: 2% below the entry price (🟢 TP line).
SL: 1% above the entry price (🔴 SL line).
Position Management:
If the price hits TP, the trade closes profitably (✅ Successful).
If the price hits SL, the trade closes with a loss (❌ Failed).
Results are updated in the "Last 5 Trades" section of the table.
Risk Management:
Default risk/reward ratio is 1:2 (1% risk, 2% reward).
Always adjust position size based on your capital.
Consider smaller lot sizes for "⚠️ LOW CONFIDENCE" signals.
💡 Tips
Timeframe: Use 1-minute, 5-minute, or 15-minute charts for scalping.
Market Selection: Works best in volatile markets (e.g., BTC/USD, EUR/USD).
Confirmation: Ensure the EMA Zone trend aligns with the signal.
Discipline: Stick to TP and SL levels, avoid emotional decisions.
⚠️ Warnings
No indicator is 100% accurate. Always use additional analysis (e.g., support/resistance).
Be cautious during high-volatility periods (e.g., news events).
The success rate is based on past performance and does not guarantee future results.
Kripton BotEnglish
Buy-Sell Indicator of the YouTube Channel Kripton Gezegeni
Generates buy signals based on CCI and RSI. The sell point is manually set within the indicator. After a buy signal, when the price reaches your target level, a sell signal will be generated. Works in all market trends. Stops generating buy signals during downtrends. Increases buy signals during uptrends and sideways markets. Works with Crypto/Stocks/Forex assets. Works on charts with a minimum timeframe of 5 minutes. As you increase the timeframe, the target level can also be increased. For more reliable results, it is recommended to use it on charts with a minimum timeframe of 30 minutes.
Usage Details:
Inputs:
CCI Length: Can be adjusted between 3–30. Higher numbers produce fewer signals.
RSI Length: Can be adjusted between 1–30. Higher numbers produce fewer signals.
Sell Target Type: The point at which sell signals will be generated. If your target is, for example, above 0.50%, select “Percentage.” If your target is, for example, $10 above, select “Dollar.”
Sell Target (%): If “Percentage” is selected, set your target here. Example: 0.50%.
Sell Target ($): If “Dollar” is selected, set your target here. Example: $1.
Stop Loss Type: Select the type of stop loss point. If “Percentage” is selected, the stop loss will be in percentage form. If “Dollar” is selected, the stop loss will be in dollar value.
Stop Loss (%): If “Percentage” is selected, set your stop loss here. Example: 3%.
Stop Loss ($): If “Dollar” is selected, set your stop loss here. Example: $10.
(Usually “Dollar” is used for Forex assets, and “Percentage” is used for Crypto assets.)
Style:
Shapes – Green – Up Label – Below Bar
Shapes – Green – Up Label – Below Bar
Shapes – Red – Down Label – Above Bar
Shapes – White – Down Label – Above Bar
Shapes – Red – Down Label – Above Bar
Shapes – White – Down Label – Above Bar
Sensitivity: Default
Backtest:
Example: CCI Length = 3, RSI Length = 1. Sell target type = “Dollar,” Sell Target ($) = 2$. Stop Loss type = “Dollar,” Stop Loss ($) = 10$. In this case, the chart will be analyzed. Each Buy signal followed by a Sell signal is considered a successful trade. However, if there is a Stop Loss signal after a Buy signal, the trade is considered stopped out. If you want to widen the stop loss, you can set Stop Loss ($) to 20$. If you don’t want to use a stop loss, you can set Stop Loss ($) to 9999999$.
Good profits to you...
E³ ROC (slope): SMAsThis is a very powerful script for helping you understand the speed of moves. It measures the RATE OF CHANGE (ROC in %) of 5 key moving averages from the 10 to the 200. For example, a chart with a 200sma ROC of 0.3% usually corresponds to a faster moving asset (stock, crypto, etc) which likely also has a higher ATR and ADR%.
Additionally, the indicator shows you the maximum the slope has performed within the last 126 bars (6 months on a daily chart) (or period of your preference). This helps you understand what you could potentially expect from the asset.
For example, a 10sma which shows a max ROC of 1.5% on a chart with a 200sma max ROC of 0.3%, has therefore the potential for large bursts comparatively (5x the 200sma in this case) and helps you understand that the stock/asset has the potential for leaps and bounds.
For high-growth stock swing traders, a 200sma slope of 0.25% is a great minimum criteria, and having at least 5x for the max on the faster smas such as the 10 or 20 or even 50.
Interestingly, on a slow stock, such as NYSE:WMT (max 200sma = 0.18%), it can have runs of 0.78% as indicated by the max of the 10sma. This reading tells you that although it's a slower stock, it can act like a monster when it's got the heat.
Typically, a stock's ADR% is about 8x to 12x the max ROC of the 200sma (10x easy rule of thumb). So for traders who only like to trade high ADR% stocks, overlooking a stock like NYSE:WMT with a 1.5% ADR and a 200sma ROC of only 0.18% could be a mistake if you didn't notice that the 10sma and 20sma show MAX ROC runs of almost 0.8% (the equivalent of a 8% ADR& stock). So clearly in that situation, knowing all this would allow you to take a breakout or the likes on NYSE:WMT with the intention of capturing the High ROC shorter term run.
Bottom line: this insight is indispensable for short term swing traders, and this script likely has similarly profound use to day traders, FOREX traders, and crypto traders as well.
Being able to know the rate of change (slope) of price change on a stock across different speeds (MAs) allows you to better assess the potential for hidden or outright opportunity.
PURCHASE NOW:
payhip.com
Smart Trend Signals [QuantAlgo]🟢 Overview
The Smart Trend Signals indicator is created to address a fundamental challenge in technical analysis: generating timely trend signals while adapting to varying market volatility conditions. The indicator distinguishes itself by employing volatility-adjusted calculations that automatically modify signal sensitivity based on current market conditions, rather than using fixed parameters that perform inconsistently across different market environments. By processing Long and Short signals through separate dynamic calculation engines, each optimized for its respective directional bias, the indicator reduces the common issue of delayed or conflicting signals that plague many traditional trend-following tools. Additionally, the integration of linear regression-based trend confirmation adds another layer of signal validation, helping to filter market noise while maintaining responsiveness to genuine price movements. This adaptive approach makes the indicator practical for both traders and investors across different asset classes and timeframes, from short-term forex/crypto scalping to long-term equity position analysis.
🟢 How It Works
The indicator uses a straightforward calculation process that combines volatility measurement with momentum detection to generate directional signals. The system first calculates Average True Range (ATR) over a user-defined period to measure current market volatility. This ATR value is then multiplied by the Smart Trend Multiplier setting to create dynamic reference levels that expand during volatile periods and contract during calmer market conditions.
For signal generation, the indicator maintains separate calculation paths for Long/Buy and Short/Sell opportunities. Long signals are generated when price moves above a dynamically calculated level below the current price, confirmed by an exponential moving average crossover in the same direction. Short signals work in reverse, triggering when price moves below a calculated level above the current price, also requiring EMA confirmation. This dual-path approach allows each signal type to operate with parameters suited to its directional bias.
🟢 How to Use
Long Signals (Green Labels): Appear as "Long" labels below price bars when the indicator detects upward price momentum above the calculated reference level, confirmed by EMA crossover. These signals identify moments when price action demonstrates bullish characteristics based on the volatility-adjusted calculations.
Short Signals (Red Labels): Display as "Short" labels above price bars when downward price momentum below the reference level is detected and confirmed by EMA crossover. These signals highlight instances where price action exhibits bearish characteristics according to the indicator's mathematical framework.
Customizable Bar Coloring: This feature colors individual price bars to match the current signal direction. When enabled, each bar reflects the indicator's current directional bias, creating a continuous visual representation of trend periods across the chart timeline.
Built-in Alert System: Provides automatic notifications for new signals with detailed exchange and ticker information. The alert system monitors the indicator's calculations continuously and triggers notifications when new long or short signals are generated, allowing traders/investors to track multiple instruments simultaneously.
🟢 Pro Tips for Trading and Investing
→ Parameter Adjustment: Higher Smart Trend Multiplier settings generate fewer signals that may be more selective, while lower settings produce more frequent signals that may include more false positives. Test different settings to find what works for your trading style and market conditions.
→ Timeframe Analysis: Using higher timeframes for general trend direction and lower timeframes for entry timing is a common approach.
→ Risk Management: No indicator eliminates the need for proper risk management. Use appropriate position sizing and stop-loss strategies regardless of signal quality or frequency.
→ Market Conditions: The indicator may perform differently in trending versus ranging markets. Frequent signal changes might indicate choppy conditions. Backtest and paper trade before risking real capital.
Mayfair Fx Scalper✅ Mayfair FX Scalper — By EastWave Capital
The Mayfair FX Scalper is a precision-focused, closed-source indicator designed for short-term intraday trading, particularly scalping on lower timeframes such as 1-minute, 3-minute, and 5-minute charts. This tool is developed by EastWave Capital and is based on a combination of Relative Strength Index (RSI) extremes and specific candlestick structure patterns to detect potential exhaustion and reversal points in the market.
🔍 How It Works:
The algorithm operates by evaluating three core elements:
RSI Extremes:
RSI is calculated using default settings.
Buy signals are considered only when the RSI on the previous candle is below 22 (oversold), and the current candle is bullish, while the previous one was bearish.
Sell signals are considered when the RSI on the previous candle is above 78 (overbought), and the current candle is bearish, while the previous one was bullish.
Candle Confirmation Logic:
The system waits for candle confirmation (e.g., shift in bullish/bearish structure) rather than triggering signals based on RSI alone.
This avoids false triggers in strong trends and filters weak entries.
SL/TP Estimation (Visual):
While not automatically placing orders, the indicator can optionally display lines or small labels showing a Stop Loss at the previous swing high/low (±0.5) and TP levels at 1R, 2R, and 3R based on that stop.
These visual aids help traders plan risk/reward and exits manually.
📈 How to Use:
Timeframes: Best suited for 1M, 3M, and 5M charts
Markets: Works well on Gold (XAU/USD), Forex majors, Indices, and Crypto
Session: Performs best during high volatility sessions (London & NY)
Use Case:
Wait for a signal label to appear after a clear momentum move.
Confirm price action and trend context.
Use provided visual SL/TP labels or apply your manual RR planning.
Combine with structure breaks, FVG zones, or liquidity sweeps for confluence.
⚠️ Important Notes:
This indicator does not repaint.
No automatic trades are executed. Signals are visual.
Not intended for use in isolation; best when combined with proper trade management and confirmation tools.
Past performance does not guarantee future results. Always manage risk appropriately
Historical Data: 1H Edge NQ [Herman]Historical Data: 1H Edge NQ
This Pine Script indicator is designed to provide traders with visual tools and historical statistical insights for analyzing hourly price behavior on the Nasdaq-100 futures (NQ) contract.
It focuses on key concepts such as Opening Ranges (OR) and Trading Windows (TW), drawing from established trading principles like session-based ranges and return probabilities.
This unique indicator stands out by incorporating pre-computed statistics derived from over 4 years of 1-minute timeframe data, offering detailed hourly probabilistic insights in an editable sticky note format—making it a distinctive tool for in-depth analysis.
The goal is to help users visualize potential price dynamics and assess historical tendencies, enabling more informed decision-making based on past data patterns.
All calculations are based on historical price action, and the indicator does not make predictions or generate trading signals—it simply displays pre-computed statistics and visual aids for educational and analytical purposes.
Key Features and Visual ElementsVertical Lines for Time Sessions:
Orange Line - Opening Range Midline (50%)
Horizontal Dotted Lines - Opening Range High and Low
Solid Red Line - Midnight Open
Dashed Vertical lines - Opening range and trading window start/close times
Blue Dashed Line - Trading Window Candle Open
The indicator marks the start of the user-selected Opening Range (OR) and Trading Window (TW) with customizable vertical lines.
These represent the time periods where the OR is formed (e.g., 02:00-03:00 NY time) and where trading activity is observed (e.g., 03:00-04:00 NY time).
Users can adjust these sessions via inputs for flexibility across different hours.
-Horizontal Lines for Price Levels:Opening Range High and Low:
-Solid or dashed lines (customizable) show the high and low of the selected OR, extended horizontally to highlight potential support/resistance levels during the TW.
-50% OR Midpoint: An optional dashed line at the midpoint (50%) of the OR, which serves as a reference for mean reversion analysis.
-Trading Window Open Price: A line marking the open price at the start of the TW, useful for tracking returns to this level.
-Midnight Open (Red Line): A dedicated red horizontal line indicating the open price at midnight (00:00 NY time), which acts as a daily reference point for overnight price action.
Statistical Display via Sticky Note and Table:A customizable "Sticky Note" table displays pre-computed backtest results for the selected OR hour, including sections for combined results, above-midnight scenarios, and below-midnight scenarios. Content is user-editable via inputs.
A main info table shows session details, total historical sessions, and probabilities for returns (if enabled).
Customization Options: Users can toggle visuals, adjust colors, styles, widths, positions, and themes (light/dark). The indicator supports up to 500 lines/labels/boxes for historical drawing.
Logic and PrincipleThe indicator operates on a per-hour basis, treating each hour (0-23 NY time) as an independent "session" for analysis:Session Definition:
For any given hour (e.g., 02:00), the OR is the high/low range formed in that hour.
The TW is the subsequent hour where price action is tracked.
Tracking Price Action: During the TW, the script checks if price "sweeps" (crosses) the OR high or low. It then monitors for "returns"—instances where price crosses back to the TW open price or the 50% midpoint of the OR after a sweep.
Statistical Calculation: Probabilities are derived from historical counts:Total sessions: Number of historical days where data was available for that hour.
Return to TW Open: Percentage of sessions where, after sweeping OR high/low, price returned to the TW open (calculated as returns / total sessions with sweeps).
Return to 50% OR: Similar percentage for returning to the OR midpoint.
These are computed cumulatively across all historical bars loaded on the chart, resetting flags daily to ensure independence per session. No real-time predictions are made; stats accumulate from past data.
Midnight Open Integration: The red line resets daily at 00:00 NY, providing context for overnight gaps or continuations.
Breakout Origin: Scans recent bars for conditions where a breakout from OR occurs without opposite direction breach, drawing lines to the origin bar's open for visual reference.
The core principle is rooted in range-based analysis, a common technical approach where traders observe how price interacts with session highs/lows and midpoints.
By quantifying historical return rates after sweeps, the indicator highlights tendencies like mean reversion or continuation, but all insights are retrospective and depend on the loaded data.
Data Source and BacktestingThe statistical data embedded in the sticky notes (e.g., return percentages, sweep rates) was generated using Python in a Jupyter Notebook environment.
It analyzes approximately 1089 days (about 4 years) of 1-minute historical data for NQ futures, sourced BacktestMarket.
The backtests focused on NY time sessions, calculating metrics like:Sweep rates (e.g., first sweep high after above-midpoint open).
Return probabilities post-sweep.
Conditional splits (above/below midnight open).
These pre-computed values are hardcoded into the script via text areas for display, ensuring transparency.
Note: Historical performance is not indicative of future results; this is for analytical reference only.
Purpose and UsageThis indicator aims to assist traders in evaluating price direction potential by combining visual session markers with historical probabilities.
For example:If historical data shows a high probability of returning to the 50% OR after a sweep, it might suggest monitoring for mean reversion.
Time-Price Velocity [QuantAlgo]🟢 Overview
The Time-Price Velocity indicator uses advanced velocity-based analysis to measure the rate of price change normalized against typical market movement, creating a dynamic momentum oscillator that identifies market acceleration patterns and momentum shifts. Unlike traditional momentum indicators that focus solely on price change magnitude, this indicator incorporates time-weighted displacement calculations and ATR normalization to create a sophisticated velocity measurement system that adapts to varying market volatility conditions.
This indicator displays a velocity signal line that oscillates around zero, with positive values indicating upward price velocity and negative values indicating downward price velocity. The signal incorporates acceleration background columns and statistical normalization to help traders identify momentum shifts and potential reversal or continuation opportunities across different timeframes and asset classes.
🟢 How It Works
The indicator's key insight lies in its time-price velocity calculation system, where velocity is measured using the fundamental physics formula:
velocity = priceChange / timeWeight
The system normalizes this raw velocity against typical price movement using Average True Range (ATR) to create market-adjusted readings:
normalizedVelocity = typicalMove > 0 ? velocity / typicalMove : 0
where "typicalMove = ta.atr(lookback)" provides the baseline for normal price movement over the specified lookback period.
The Time-Price Velocity indicator calculation combines multiple sophisticated components. First, it calculates acceleration as the change in velocity over time:
acceleration = normalizedVelocity - normalizedVelocity
Then, the signal generation applies EMA smoothing to reduce noise while preserving responsiveness:
signal = ta.ema(normalizedVelocity, smooth)
This creates a velocity-based momentum indicator that combines price displacement analysis with statistical normalization, providing traders with both directional signals and acceleration insights for enhanced market timing.
🟢 How to Use
1. Signal Interpretation and Threshold Zones
Positive Values (Above Zero): Time-price velocity indicating bullish momentum with upward price displacement relative to normalized baseline
Negative Values (Below Zero): Time-price velocity indicating bearish momentum with downward price displacement relative to normalized baseline
Zero Line Crosses: Velocity transitions between bullish and bearish regimes, indicating potential trend changes or momentum shifts
Upper Threshold Zone: Area above positive threshold (default 1.0) indicating strong bullish velocity and potential reversal point
Lower Threshold Zone: Area below negative threshold (default -1.0) indicating strong bearish velocity and potential reversal point
2. Acceleration Analysis and Visual Features
Acceleration Columns: Background histogram showing velocity acceleration (the rate of change of velocity), with green columns indicating accelerating velocity and red columns indicating decelerating velocity. The interpretation depends on trend context: red columns in downtrends indicate strengthening bearish momentum, while red columns in uptrends indicate weakening bullish momentum
Acceleration Column Height: The height of each column represents the magnitude of acceleration, with taller columns indicating stronger acceleration or deceleration forces
Bar Coloring: Optional price bar coloring matches velocity direction for immediate visual trend confirmation
Info Table: Real-time display of current velocity and acceleration values with trend arrows and change indicators
3. Additional Features:
Confirmed vs Live Data: Toggle between confirmed (closed) bar analysis for stable signals or current bar inclusion for real-time updates
Multi-timeframe Adaptability: Velocity normalization ensures consistent readings across different chart timeframes and asset volatilities
Alert System: Built-in alerts for threshold crossovers and direction changes
🟢 Examples with Preconfigured Settings
Default : Balanced configuration suitable for most timeframes and general trading applications, providing optimal balance between sensitivity and noise filtering for medium-term analysis.
Scalping : High sensitivity setup with shorter lookback period and reduced smoothing for ultra-short-term trades on 1-15 minute charts, optimized for capturing rapid momentum shifts and frequent trading opportunities.
Swing Trading : Extended lookback period with enhanced smoothing and higher threshold for multi-day positions, designed to filter market noise while capturing significant momentum moves on 1-4 hour and daily timeframes.
XRP Scalping with EMA Crossover Anticipation This script is designed to detect scalping opportunities on XRP by anticipating EMA crossovers, reinforced with technical confirmation filters.
Methodology
- The core signal is based on the crossover between a fast EMA (9) and a slow EMA (21).
- RSI (14) conditions are applied to avoid weak setups: RSI must be above 40 for buy signals and below 70 for sell signals.
- Before any crossover is validated, the script requires at least two consecutive “pre-crossover” signals. These indicate favorable momentum and convergence conditions before the crossover occurs.
- Final signals are only displayed if this minimum number of preconditions is met.
Application
This system is optimized for scalping on the 1-minute to 5-minute timeframes but can be adapted for longer-term setups by adjusting parameters. The anticipation logic helps reduce lagging entries and improves signal selectivity during volatile conditions.
Both pre-crossover and confirmed crossover conditions include alert options. The code is fully editable and customizable.
Quality Buy/Sell Indicator with Scalping Mode + SL OnlyQuality Buy/Sell Indicator with Scalping Mode + SL Only is designed for traders who want clean and reliable signals for both swing and scalping strategies.
✅ Features:
Buy & Sell signals based on EMA and MACD logic
Scalping Mode (switch ON for faster, more frequent signals)
SL (Stop Loss) line displayed for every trade for easy risk management
Clean chart – no TP1, TP2, TP3 clutter
Option to show only the latest signal or the entire signal history
✅ How it works:
In normal mode you get fewer, more reliable signals – perfect for intraday or swing trading.
In scalping mode the indicator generates more signals for short-term trades (1–15m charts).
The Show All Signals switch allows you to keep the entire history visible, or only the latest trade setup for maximum clarity.
✅ Best suited for:
Traders who want clean charts without TP lines
Intraday and scalping traders looking for multiple setups per session
Swing traders who prefer clear Buy/Sell with risk control
R Manager PRO++ – Multi-Setup Risk/Reward ToolDescription
The R Manager PRO++ V1.3d is an advanced risk/reward management tool designed for traders who want to visually plan, track, and manage multiple trade setups directly on their charts.
This script allows you to plot up to three independent setups (A, B, and C) simultaneously. For each setup, you can manually input your Entry and Stop Loss levels, and the tool will automatically calculate and display R-multiple levels (1R to 5R), providing a clear overview of your potential profit targets.
Key Features
Multi-Setup Management (A, B, C)
Track up to three separate trades at the same time, each with individual colors and controls.
Manual Entry & Stop Loss Input
Enter your trade levels manually for flexible usage across any market or strategy.
Automatic R-Multiple Calculation (1R to 5R)
The indicator automatically draws lines and labels for 1R to 5R targets based on your risk distance.
Live R Display
Real-time calculation of your current R multiple, updating with every price move.
Custom Symbol Selection
Link each setup to a specific symbol (e.g., EURUSD, XAUUSD, NAS100) to manage multiple markets without clutter.
Reset Function
One-click reset button to quickly clear individual setups.
Alerts for Reached R-Levels
Receive alerts when price reaches each R level (1R to 5R) to monitor trades without constant chart-watching.
How to Use
- Select Entry and Stop Loss levels manually in the input panel.
- Choose the symbol for each setup (supports Forex, Indices, Gold).
- Enable or disable setups individually with the Activate checkbox.
- Optional: Use the Reset button to clear a setup quickly.
- Monitor R-multiples visually and via alerts as price evolves.
Suitable For
- Swing traders
- Day traders
- Risk-based trading strategies (R-multiples)
- Multi-market portfolio management
Price Exhaustion Envelope [BackQuant]Price Exhaustion Envelope
Visual preview of the bands:
What it is
The Price Exhaustion Envelope (PEE) is a multi‑factor overextension detector wrapped inside a dynamic envelope framework. It measures how “tired” a move is by blending price stretch, volume surges, momentum and acceleration, plus optional RSI divergence. The result is a composite exhaustion score that drives both on‑chart signals and the adaptive width of three optional envelope bands around a smoothed baseline. When the score spikes above or below your chosen threshold, the script can flag exhaustion, paint candles, tint the background and fire alerts.
How it works under the hood
Exhaustion score
Price component: distance of close from its mean in standard deviation units.
Volume component: normalized volume pressure that highlights unusual participation.
Momentum component: rate of change and acceleration of price, scaled by their own volatility.
RSI divergence (optional): bullish and bearish divergences gently push the score lower or higher.
Mode control: choose Price, Volume, Momentum or Composite. Composite averages the main pieces for a balanced view.
Energy scale (0 to 100)
The composite score is pushed through a logistic transform to create an “energy” value. High energy (above 70 to 80) signals a move that may be running hot, while very low energy (below 20 to 30) points to exhaustion on the downside.
Envelope engine
Baseline: EMA of price over the main lookback length.
Width: base width is standard deviation times a multiplier.
Type selector:
• Static keeps the width fixed.
• Dynamic expands width in proportion to the absolute exhaustion score.
• Adaptive links width to the energy reading so bands breathe with market “heat.”
Smoothing: a short EMA on the width reduces jitter and keeps bands pleasant to trade around.
Band architecture
You can toggle up to three symmetric bands on each side of the baseline. They default to 1.0, 1.6 and 2.2 multiples of the smoothed width. Soft transparent fills create a layered thermograph of extension. The outermost band often maps to true blow‑off extremes.
On‑chart elements
Baseline line that flips color in real time depending on where price sits.
Up to three upper and lower bands with progressive opacity.
Triangle markers at fresh exhaustion triggers.
Tiny warning glyphs at extreme upper or lower breaches.
Optional bar coloring to visually tag exhausted candles.
Background halo when energy > 80 or < 20 for instant context.
A compact info table showing State, Score, Energy, Momentum score and where price sits inside the envelope (percent).
How to use it in trading
Mean reversion plays
When price pierces the outer band and an exhaustion marker prints, look for reversal candles or lower‑timeframe confirmation to fade the move back toward the baseline.
For conservative entries, wait for the composite score to roll back under the threshold or for energy to drop from extreme to neutral.
Set stops just beyond the extreme levels (use extreme_upper and extreme_lower as natural invalidation points). Targets can be the baseline or the opposite inner band.
Trend continuation with smart pullbacks
In strong trends, the first tag of Band 1 or Band 2 against the dominant direction often offers low‑risk continuation entries. Use energy readings: if energy is low on a pullback during an uptrend, a bounce is more likely.
Combine with RSI divergence: hidden bullish divergence near a lower band in an uptrend can be a powerful confirmation.
Breakout filtering
A breakout that occurs while the composite score is still moderate (not exhausted) has a higher chance of follow‑through. Skip signals when energy is already above 80 and price is punching the outer band, as the move may be late.
Watch env_position (Envelope %) in the table. Breakouts near 40 to 60 percent of the envelope are “healthy,” while those at 95 percent are stretched.
Scaling out and risk control
Use exhaustion alerts to trim positions into strength or weakness.
Trail stops just outside Band 2 or Band 3 to stay in trends while letting the envelope expand in volatile phases.
Multi‑timeframe confluence
Run the script on a higher timeframe to locate exhaustion context, then drill down to a lower timeframe for entries.
Opposite signals across timeframes (daily exhaustion vs. 5‑minute breakout) warn you to reduce size or tighten management.
Key inputs to experiment with
Lookback Period: larger values smooth the score and envelope, ideal for swing trading. Shorter values make it reactive for scalps.
Exhaustion Threshold: raise above 2.0 in choppy assets to cut noise, drop to 1.5 for smooth FX pairs.
Envelope Type: Dynamic is great for crypto spikes, Adaptive shines in stocks where volume and volatility wave together.
RSI Divergence: turn off if you prefer a pure price/volume model or if divergence floods the score in your asset.
Alert set included
Fresh upper exhaustion
Fresh lower exhaustion
Extreme upper breach
Extreme lower breach
RSI bearish divergence
RSI bullish divergence
Hook these to TradingView notifications so you get pinged the moment a move hits exhaustion.
Best practices
Always pair exhaustion signals with structure. Support and resistance, liquidity pools and session opens matter.
Avoid blindly shorting every upper signal in a roaring bull market. Let the envelope type help you filter.
Use the table to sanity‑check: a very high score but mid‑range env_position means the band may still be wide enough to absorb more movement.
Backtest threshold combinations on your instrument. Different tickers carry different volatility fingerprints.
Final note
Price Exhaustion Envelope is a flexible framework, not a turnkey system. It excels as a context layer that tells you when the crowd is pressing too hard or when a move still has fuel. Combine it with sound execution tactics, risk limits and market awareness. Trade safe and let the envelope breathe with the market.
The Scalper System XAUUnlock powerful breakout opportunities with this precision tool designed for professional traders.
This indicator combines breakout logic with a smart VWAP filter anchored to the New York session, ensuring only high-quality, directional trades are highlighted, I suggest to use only on GOLD timeframe 5 min.
📈 Features:
Breakout Signals: Detects price breakouts above/below key range levels based on a customizable lookback period.
Session-Aware VWAP Filter: Filters out low-probability trades by validating signal direction against the anchored VWAP starting from the New York open (9:30 AM EST).
Smart Signal Management: Prevents repeated signals in the same direction until a reversal is detected.
Visual Alerts: Clear BUY and SELL labels on the chart, no repainting, no ambiguity.
Multi-Timeframe Friendly: Optimized for scalping and intraday strategies (ideal on 3m or 5m timeframes).
🎯 Why use it?
This indicator is designed to keep you aligned with the institutional flow by using the VWAP as a dynamic support/resistance filter. It eliminates noise and focuses only on breakout setups that occur in the direction of session momentum, increasing your probability of success.
🛠 Settings:
Lookback Period: Define how many candles to scan for the range breakout.
VWAP Session Start: Fixed to New York session open to track real institutional volume-weighted average price.
💡 Ideal for:
Futures Traders (GC, NQ, ES)
Forex & Metals (XAUUSD)
Scalpers and Day Traders
Breakout and VWAP Strategy Followers
----------------------------------------------------------------------------
Sblocca opportunità di breakout ad alta precisione con questo strumento pensato per trader professionisti.
L’indicatore combina la logica di breakout con un intelligente filtro VWAP ancorato all’apertura della sessione di New York, mostrando solo segnali di trading di alta qualità e direzionali, il mio consiglio è di usarlo solo sul GOLD indicativamente sui 5 minuti.
📈 Caratteristiche principali:
Segnali di Breakout: Rileva rotture al rialzo/ribasso sopra o sotto i livelli chiave, calcolati su un periodo di analisi personalizzabile.
Filtro VWAP basato sulla sessione: Esclude i trade a bassa probabilità, validando i segnali solo se in linea con la direzione del VWAP della sessione di New York (apertura 15:30 ora italiana).
Gestione Intelligente dei Segnali: Evita segnali ripetuti nella stessa direzione finché non si verifica un’inversione.
Avvisi Visivi: Etichette chiare di BUY e SELL sul grafico, senza repaint, zero ambiguità.
Ottimizzato per Multi-Timeframe: Funziona perfettamente per scalping e intraday (ideale su timeframe 3m o 5m).
🎯 Perché usarlo?
Questo indicatore ti mantiene allineato con il flusso istituzionale utilizzando il VWAP come supporto/resistenza dinamico. Elimina il rumore di fondo e si concentra solo su configurazioni di breakout che avvengono nella direzione della forza della sessione, aumentando la probabilità di successo.
🛠 Impostazioni personalizzabili:
Periodo di analisi: Imposta il numero di candele da analizzare per calcolare i livelli di breakout.
Inizio sessione VWAP: Fissato all'apertura della sessione di New York per tracciare il vero prezzo medio ponderato per volume istituzionale.
💡 Ideale per:
Trader su Futures (GC, NQ, ES)
Forex & Metalli (es. XAUUSD)
Scalper e Day Trader
Strategie basate su Breakout e VWAP
Momentum Candle V2 by Sekolah Trading📌 Momentum Candle V2 by Sekolah Trading – Pair-Based Volatility & Wick Ratio Filter
This script provides a structured and adaptive approach to detecting high-probability momentum candles in intraday markets. It dynamically adjusts pip thresholds and wick filtering conditions based on the selected symbol and timeframe, making it highly practical for real-time trading.
🔍 Concept and Originality
Momentum Candle V2 by Sekolah Trading implements a custom-built methodology combining:
Dynamic Pip Calibration
For each supported instrument (e.g., XAUUSD, USDJPY, GBPUSD, AUDUSD, EURUSD, BTCUSD), the user can define a pip threshold that determines the minimum valid body size for momentum candles. These thresholds are tailored for each pair and timeframe (M5, M15, H1), ensuring the logic adjusts to different volatility profiles.
Wick-to-Body Ratio Filtering
The script filters out candles with large wicks by requiring that total wick length (upper + lower) be no more than 30% of the full candle range. This helps identify decisive candles with minimal rejection.
Directional Validation
Bullish momentum is defined as: Close > Open with a shorter upper wick.
Bearish momentum is: Close < Open with a shorter lower wick.
Real-Time Timing Filter
Alerts are only triggered when the current candle is between 20 and 90 seconds from closing, which reduces noise and encourages confirmation-based entry.
Non-Repainting Logic
All calculations run in real-time with confirmed candles only — no lookahead or future leak.
📊 Visual Output – How to Read the Chart
When the conditions above are met, the script displays triangle markers on the chart:
🔺 Red downward triangle above the candle: valid bearish momentum signal
🔻 Blue upward triangle below the candle: valid bullish momentum signal
These shapes appear on live bars during the final moments of the candle to alert traders to potential confirmed momentum.
🔔 Alert Conditions
Two alert types are provided:
Momentum Bullish: Large bullish candle with small upper wick, during last 20–90s of bar
Momentum Bearish: Large bearish candle with small lower wick, same timing window
Alerts are designed for precision entries at candle close.
🧭 How to Use
Apply the script to a 5m, 15m, or 1h chart.
Configure pip thresholds for your preferred pairs from the input settings.
Watch for triangle markers near the close of each candle:
Blue = potential bullish momentum
Red = potential bearish momentum
Set alerts:
Go to Alerts → Select Momentum Bullish or Momentum Bearish
Frequency: Once Per Bar
Customize message: e.g. “Momentum Bullish on XAUUSD M15”
Combine signals with:
EMA, S/R, or trend filters
Volume/Order Flow
Liquidity zone or breakout context
🛡️ Why This Script Is Closed-Source
This script uses proprietary logic developed by Sekolah Trading, including:
Custom pip calibration engine
Adaptive wick filtering
Real-time entry validation with triangle plots
While the code is protected, the methodology has been explained transparently here in accordance with TradingView publishing rules.
⚠️ Disclaimer
This script is provided for educational and technical analysis purposes only.
It does not guarantee results or provide financial advice. Always verify trades with your own strategy and risk controls.
Author: Sekolah Trading
Version: Momentum Candle V2
Built with Pine Script v6
Intraday Trend Pro📈 Intraday Trend Pro — Multi-Timeframe Smart Indicator
Unlock precision in your intraday trading with Intraday Trend Pro, a powerful and versatile indicator built for serious traders. This tool is designed to:
✅ Identify the True Intraday Trend
Quickly and clearly spot bullish or bearish trends using a refined algorithm that filters out noise and false signals.
✅ Smart Entry & Stop Loss Suggestions
The script dynamically suggests optimal entry points and protective stop-loss levels, helping you manage risk and improve trade timing.
✅ Multi-Timeframe Analysis (MTF)
Enable the optional MTF mode to blend higher timeframes with the current chart for a more reliable signal confirmation, enhancing your confidence before entering a trade.
✅ Works Seamlessly Across Assets
Whether you’re trading indices like BankNifty, commodities like XAU/USD, or high-volume stocks, this indicator adjusts to deliver actionable insights.
✅ Customization Made Easy
Input controls allow you to fine-tune the trend settings, select timeframes, and adapt to your unique strategy—whether scalping or holding through the day.
Use Cases:
Confirming trend strength before entering trades
Determining accurate support/resistance for SL placement
Avoiding sideways markets and false breakouts
Aligning trades with higher timeframe momentum
Ideal For:
Intraday traders and scalpers looking for a clean, accurate, and multi-timeframe-aware tool to improve consistency.
Automated Scalping Signals with TP/SL Indicator [QuantAlgo]🟢 Overview
The Automated Scalping Signals with Take Profit & Stop Loss Indicator is a multi-timeframe trading system that combines market structure analysis with directional bias filtering to identify potential scalping opportunities. It detects Points of Interest (POI) including Fair Value Gaps (FVG) and Order Blocks (OB) while cross-referencing entries with higher timeframe exponential moving average positioning to create systematic entry conditions.
The indicator features adaptive timeframe calculations that automatically scale analysis periods based on your chart timeframe, maintaining consistent analytical relationships across different trading sessions. It provides integrated trade management with stop loss calculation methods, configurable risk-reward ratios, and real-time performance tracking through dashboard displays showing trade statistics, bias direction, and active position status.
This advanced system is designed for low timeframe trading, typically performing optimally on 1 to 15-minute charts across popular instruments such as OANDA:XAUUSD , CME_MINI:MES1! , CME_MINI:ES1! , CME_MINI:MNQ1! , CBOT_MINI:YM1! , CBOT_MINI:MYM1! , BYBIT:BTCUSDT.P , BYBIT:ETHUSDT.P , or any asset and timeframe of your preference.
🟢 How It Works
The indicator operates using a dual-timeframe mathematical framework where higher timeframe exponential moving averages establish directional bias through cross-over analysis, while simultaneously scanning for specific market structure patterns on the POI timeframe. The timeframe calculation engine uses multiplication factors to determine analysis periods, ensuring the bias timeframe provides trend context while the POI timeframe captures structural formations.
The structural analysis begins with FVG detection, which systematically scans price action to identify imbalances where gaps exist between consecutive candle ranges with no overlapping wicks. When such gaps are detected, the algorithm measures their size against minimum thresholds to filter out insignificant formations. Concurrently, OB recognition analyzes three-candle sequences, examining specific open/close relationships that indicate potential institutional accumulation zones. Once these structural patterns are identified, the algorithm cross-references them against the higher timeframe bias direction, creating a validation filter that only permits entries aligned with the prevailing EMA cross-over state. When price subsequently intersects these validated POI zones, entry signals generate with the system calculating entry levels at zone midpoints, then applying the selected stop loss methodology combined with the configured risk-reward ratio to determine take profit placement.
To mirror realistic trading conditions, the indicator incorporates configurable slippage calculations that account for execution differences between intended and actual fill prices. When trades reach their take profit or stop loss levels, the algorithm applies slippage adjustments that worsen the exit prices in a conservative manner - reducing take profit fills and increasing stop loss impact. This approach ensures backtesting results reflect more realistic performance expectations by accounting for spread costs, market volatility during execution, and liquidity constraints that occur in live trading environments.
It also has a performance dashboard that continuously tracks and displays comprehensive trading metrics:
1/ Bias TF / POI TF: Displays the calculated timeframes used for bias analysis and POI detection, showing the actual periods (e.g., "15m / 5m") that result from the multiplier settings to confirm proper adaptive timeframe selection
2/ Bias Direction: Shows current market trend assessment (Bullish, Bearish, or Sideways) derived from EMA cross-over analysis to indicate which trade directions align with prevailing momentum
3/ Data Processing: Indicates how many price bars have been analyzed by the system, helping users verify if complete historical data has been processed for comprehensive strategy validation
4/ Total Trades: Displays the cumulative number of completed trades plus any active positions, providing volume assessment for statistical significance of other metrics
5/ Wins/Losses: Shows the raw count of profitable versus unprofitable trades, offering immediate insight into strategy effectiveness frequency
6/ Win Rate: Reveals the percentage of successful trades, where values above 50% generally indicate effective entry timing and values below suggest strategy refinement needs
7/ Total R-Multiple: Displays cumulative risk-reward performance across all trades, with positive values demonstrating profitable system operation and negative values indicating net losses requiring analysis
8/ Average R Win/Loss: Shows average risk-reward ratios for winning and losing trades separately, where winning averages approaching the configured take profit ratio indicate minimal slippage impact while losing averages near -1.0 suggest effective stop loss execution
9/ TP Ratio / Slippage: Displays the configured take profit ratio and slippage settings with calculated performance impact, showing how execution costs affect actual versus theoretical returns
10/ Profit Factor: Calculates the ratio of total winning amounts to total losing amounts, where values above 1.5 suggest robust profitability, values between 1.0-1.5 indicate modest success, and values below 1.0 show net losses
11/ Maximum Drawdown: Tracks the largest peak-to-trough decline in R-multiple terms, with smaller negative values indicating better capital preservation and risk control during losing streaks
🟢 How to Use
Start by applying the indicator to your chart and observe its performance across different market conditions to understand how it identifies bias direction and POI formations. Then navigate to the settings panel to configure the Bias Timeframe Multiplier for trend context sensitivity and POI Timeframe Multiplier for structural analysis frequency according to your trading preference and objectives.
Next, fine-tune the EMA periods in Bias Settings to control trend detection sensitivity and select your preferred POI types based on your analytical preference. Proceed to configure your Risk Management approach by selecting from the available stop loss calculation methods and setting the Take Profit ratio that aligns with your risk tolerance and profit objectives. Complete the setup by customizing Display Settings to control table visibility and trade visualization elements, adjusting UI positioning and colors for optimal chart readability, then activate Alert Conditions for automated notifications on trade entries, exits, and bias direction changes to support systematic trade management.
🟢 Examples
OANDA:XAUUSD
CME_MINI:MES1!
CME_MINI:ES1!
CME_MINI:MNQ1!
CBOT_MINI:YM1!
BYBIT:BTCUSDT.P
BINANCE:SOLUSD
*Disclaimer: Past performance is not indicative of future results. None of our statements, claims, or signals from our indicators are intended to be financial advice. All trading involves substantial risk of loss, not just upside potential. Users are highly recommended to carefully consider their financial situation and risk tolerance before trading.
Logarithmic Moving Average (LMA) [QuantAlgo]🟢 Overview
The Logarithmic Moving Average (LMA) uses advanced logarithmic weighting to create a dynamic trend-following indicator that prioritizes recent price action while maintaining statistical significance. Unlike traditional moving averages that use linear or exponential weights, this indicator employs logarithmic decay functions to create a more sophisticated price averaging system that adapts to market volatility and momentum conditions.
The indicator displays a smoothed signal line that oscillates around zero, with positive values indicating bullish momentum and negative values indicating bearish momentum. The signal incorporates trend quality assessment, momentum confirmation, and multiple filtering mechanisms to help traders and investors identify trend continuation and reversal opportunities across different timeframes and asset classes.
🟢 How It Works
The indicator's core innovation lies in its logarithmic weighting system, where weights are calculated using the formula: w = 1.0 / math.pow(math.log(i + steepness), 2) The steepness parameter controls how aggressively recent data is prioritized over historical data, creating a dynamic weight decay that can be fine-tuned for different trading styles. This logarithmic approach provides more nuanced weight distribution compared to exponential moving averages, offering better responsiveness while maintaining stability.
The LMA calculation combines multiple sophisticated components. First, it calculates the logarithmic weighted average of closing prices. Then it measures the slope of this average over a 10-period lookback: lmaSlope = (lma - lma ) / lma * 100 The system also incorporates trend quality assessment using R-squared correlation analysis of log-transformed prices, measuring how well the price data fits a linear trend model over the specified period.
The final signal generation uses the formula: signal = lmaSlope * (0.5 + rSquared * 0.5) which combines the LMA slope with trend quality weighting. When momentum confirmation is enabled, the indicator calculates annualized log-return momentum and applies a multiplier when the momentum direction aligns with the signal direction, strengthening confirmed signals while filtering out weak or counter-trend movements.
🟢 How to Use
1. Signal Interpretation and Threshold Zones
Positive Values (Above Zero): LMA slope indicating bullish momentum with upward price trajectory relative to logarithmic baseline
Negative Values (Below Zero): LMA slope indicating bearish momentum with downward price trajectory relative to logarithmic baseline
Zero Line Crosses: Signal transitions between bullish and bearish regimes, indicating potential trend changes
Long Entry Threshold Zone: Area above positive threshold (default 0.5) indicating confirmed bullish signals suitable for long positions
Short Entry Threshold Zone: Area below negative threshold (default -0.5) indicating confirmed bearish signals suitable for short positions
Extreme Values: Signals exceeding ±1.0 represent strong momentum conditions with higher probability of continuation
2. Momentum Confirmation and Visual Analysis
Signal Color Intensity: Gradient coloring shows signal strength, with brighter colors indicating stronger momentum
Bar Coloring: Optional price bar coloring matches signal direction for quick visual trend identification
Position Labels: Real-time position classification (Bullish/Bearish/Neutral) displayed on the latest bar
Momentum Weight Factor: When short-term log-return momentum aligns with LMA signal direction, the signal receives additional weight confirmation
Trend Quality Component: R-squared values weight the signal strength, with higher correlation indicating more reliable trend conditions
3. Examples: Preconfigured Settings
Default: Universally applicable configuration balanced for medium-term investing and general trading across multiple timeframes and asset classes.
Scalping: Highly responsive setup with shorter period and higher steepness for ultra-short-term trades on 1-15 minute charts, optimized for quick momentum shifts.
Swing Trading: Extended period with moderate steepness and increased smoothing for multi-day positions, designed to filter noise while capturing larger price swings on 1-4 hour and daily charts.
Trend Following: Maximum smoothing with lower steepness for established trend identification, generating fewer but more reliable signals optimal for daily and weekly timeframes.
Mean Reversion: Shorter period with high steepness for counter-trend strategies, more sensitive to extreme moves and reversal opportunities in ranging market conditions.
Intraday BUY/SELL & AUTO SL (5-min timeframe only) by chaitu50c)Intraday BUY/SELL & AUTO SL (5-min timeframe only) by chaitu50c
This indicator provides intraday traders with BUY/SELL reversal signals and automated SL (Stoploss) tracking, based on a 3-candle reversal block logic — designed to work exclusively on the 5-min timeframe.
Key Features:
• 3-Candle Reversal Logic — Signals are generated when a defined 3-candle reversal pattern is detected (body-close breakout).
• Current Session Only — All signals and SL lines are valid only for the current session and automatically reset at session start.
• BUY/SELL Signal Labels — Visual ▲ and ▼ labels mark valid reversal signals on the chart.
• Dynamic Auto SL Lines — Plots dashed SL lines based on the reversal block's low/high.
• SL HIT Tracking — If SL is broken, the line stops extending and a ‘SL HIT’ label is displayed at the midpoint of the SL line.
• Adjustable Visual Settings — Customize signal label size, SL line width, colors, and more.
• Clean & Lightweight — Optimized for intraday use without cluttering the chart.
How to Use:
You can trade this indicator in two ways:
1. Direct Signal Entry — Take a BUY or SELL trade when a valid ▲/▼ reversal signal forms.
2. SL HIT Re-entry — If an existing SL line is broken and ‘SL HIT’ appears, you can optionally take an opposite side trade in the direction of the SL HIT.
Example:
A BUY signal is generated and an SL line is plotted below.
If price breaks the SL (SL HIT appears), you may consider entering a SELL trade at that point — as it indicates weakness.
Important Notes:
• Works only on 5-min timeframe — Set your chart to 5-min for correct behavior.
• Designed for intraday trading — all signals and SL levels reset at session start.
• Does not carry signals between sessions.
• SL lines and HIT labels provide a clear and simple visual aid for trade management.
---
Pivot Liquidity Sweep [scalpmeister]📌 Pivot Liquidity Sweep
Scalp-oriented, liquidity sweep-based advanced signal and strategy indicator.
This indicator analyzes the price's sweeping of significant pivot levels and the subsequent breakouts to generate long/short signals based on different logics. It is sensitive to both classic sweep logic and strong reversal candles. Additionally, it visually marks liquidity gathering zones, offering excellent opportunities especially for scalp and intraday traders.
⚙️ Features and Strategy Types
🟢 Automatic Pivot Detection:
Pivot high/low levels are detected and stored based on the number of left and right bars.
🔴 Sweep Detection (Stop Hunt):
If the price violates a pivot level with a wick and closes inside, it is considered a sweep (liquidity cleaning). Strategies activate after this sweep.
🧠 5 Different Signal Styles:
SweepBreak:
It is expected that the extreme (high/low) level of the sweeping candle is broken with a close.
PivotBreak:
After the sweep, the first newly formed pivot in the trend direction is expected to break. (It is dynamically determined and drawn on the chart.)
StrongSweep:
It is sufficient if the candle following the sweep surpasses the previous candle with a single candle. No additional breakout is expected.
StrongCandle:
Strong momentum candles measured with a special RSI calculation are taken into account. It considers strong opposite-direction candles formed shortly after a pivot sweep.
ReversalCandleSweep:
Reversal candles that close in the opposite direction after a sweep (e.g., a red close on a sweep candle formed at the top or a green close at the bottom) are directly considered as signals.
📐 Technical Details:
Signals are triggered only once (triggered control).
Sweep lines (green/red), Long and Short lines (Orange)
Strong candles are filtered using an RSI-momentum-based measurement system (StrongCandle).
Sweep and breakout zones are dynamically invalidated. That is, if the zones are violated by the price, the signals and lines are automatically canceled.
🎯 Who Should Use It?
Professional traders working with liquidity zones
Scalp and intraday strategy practitioners
Those focused on stop hunts, sweeps, and reversal zones
🔔 Alert Support:
Sweep High / Low Alert
Long / Short Signal Alert
Trend Gauge [BullByte]Trend Gauge
Summary
A multi-factor trend detection indicator that aggregates EMA alignment, VWMA momentum scaling, volume spikes, ATR breakout strength, higher-timeframe confirmation, ADX-based regime filtering, and RSI pivot-divergence penalty into one normalized trend score. It also provides a confidence meter, a Δ Score momentum histogram, divergence highlights, and a compact, scalable dashboard for at-a-glance status.
________________________________________
## 1. Purpose of the Indicator
Why this was built
Traders often monitor several indicators in parallel - EMAs, volume signals, volatility breakouts, higher-timeframe trends, ADX readings, divergence alerts, etc., which can be cumbersome and sometimes contradictory. The “Trend Gauge” indicator was created to consolidate these complementary checks into a single, normalized score that reflects the prevailing market bias (bullish, bearish, or neutral) and its strength. By combining multiple inputs with an adaptive regime filter, scaling contributions by magnitude, and penalizing weakening signals (divergence), this tool aims to reduce noise, highlight genuine trend opportunities, and warn when momentum fades.
Key Design Goals
Signal Aggregation
Merged trend-following signals (EMA crossover, ATR breakout, higher-timeframe confirmation) and momentum signals (VWMA thrust, volume spikes) into a unified score that reflects directional bias more holistically.
Market Regime Awareness
Implemented an ADX-style filter to distinguish between trending and ranging markets, reducing the influence of trend signals during sideways phases to avoid false breakouts.
Magnitude-Based Scaling
Replaced binary contributions with scaled inputs: VWMA thrust and ATR breakout are weighted relative to recent averages, allowing for more nuanced score adjustments based on signal strength.
Momentum Divergence Penalty
Integrated pivot-based RSI divergence detection to slightly reduce the overall score when early signs of momentum weakening are detected, improving risk-awareness in entries.
Confidence Transparency
Added a live confidence metric that shows what percentage of enabled sub-indicators currently agree with the overall bias, making the scoring system more interpretable.
Momentum Acceleration Visualization
Plotted the change in score (Δ Score) as a histogram bar-to-bar, highlighting whether momentum is increasing, flattening, or reversing, aiding in more timely decision-making.
Compact Informational Dashboard
Presented a clean, scalable dashboard that displays each component’s status, the final score, confidence %, detected regime (Trending/Ranging), and a labeled strength gauge for quick visual assessment.
________________________________________
## 2. Why a Trader Should Use It
Main benefits and use cases
1. Unified View: Rather than juggling multiple windows or panels, this indicator delivers a single score synthesizing diverse signals.
2. Regime Filtering: In ranging markets, trend signals often generate false entries. The ADX-based regime filter automatically down-weights trend-following components, helping you avoid chasing false breakouts.
3. Nuanced Momentum & Volatility: VWMA and ATR breakout contributions are normalized by recent averages, so strong moves register strongly while smaller fluctuations are de-emphasized.
4. Early Warning of Weakening: Pivot-based RSI divergence is detected and used to slightly reduce the score when price/momentum diverges, giving a cautionary signal before a full reversal.
5. Confidence Meter: See at a glance how many sub-indicators align with the aggregated bias (e.g., “80% confidence” means 4 out of 5 components agree ). This transparency avoids black-box decisions.
6. Trend Acceleration/Deceleration View: The Δ Score histogram visualizes whether the aggregated score is rising (accelerating trend) or falling (momentum fading), supplementing the main oscillator.
7. Compact Dashboard: A corner table lists each check’s status (“Bull”, “Bear”, “Flat” or “Disabled”), plus overall Score, Confidence %, Regime, Trend Strength label, and a gauge bar. Users can scale text size (Normal, Small, Tiny) without removing elements, so the full picture remains visible even in compact layouts.
8. Customizable & Transparent: All components can be enabled/disabled and parameterized (lengths, thresholds, weights). The full Pine code is open and well-commented, letting users inspect or adapt the logic.
9. Alert-ready: Built-in alert conditions fire when the score crosses weak thresholds to bullish/bearish or returns to neutral, enabling timely notifications.
________________________________________
## 3. Component Rationale (“Why These Specific Indicators?”)
Each sub-component was chosen because it adds complementary information about trend or momentum:
1. EMA Cross
o Basic trend measure: compares a faster EMA vs. a slower EMA. Quickly reflects trend shifts but by itself can whipsaw in sideways markets.
2. VWMA Momentum
o Volume-weighted moving average change indicates momentum with volume context. By normalizing (dividing by a recent average absolute change), we capture the strength of momentum relative to recent history. This scaling prevents tiny moves from dominating and highlights genuinely strong momentum.
3. Volume Spikes
o Sudden jumps in volume combined with price movement often accompany stronger moves or reversals. A binary detection (+1 for bullish spike, -1 for bearish spike) flags high-conviction bars.
4. ATR Breakout
o Detects price breaking beyond recent highs/lows by a multiple of ATR. Measures breakout strength by how far beyond the threshold price moves relative to ATR, capped to avoid extreme outliers. This gives a volatility-contextual trend signal.
5. Higher-Timeframe EMA Alignment
o Confirms whether the shorter-term trend aligns with a higher timeframe trend. Uses request.security with lookahead_off to avoid future data. When multiple timeframes agree, confidence in direction increases.
6. ADX Regime Filter (Manual Calculation)
o Computes directional movement (+DM/–DM), smoothes via RMA, computes DI+ and DI–, then a DX and ADX-like value. If ADX ≥ threshold, market is “Trending” and trend components carry full weight; if ADX < threshold, “Ranging” mode applies a configurable weight multiplier (e.g., 0.5) to trend-based contributions, reducing false signals in sideways conditions. Volume spikes remain binary (optional behavior; can be adjusted if desired).
7. RSI Pivot-Divergence Penalty
o Uses ta.pivothigh / ta.pivotlow with a lookback to detect pivot highs/lows on price and corresponding RSI values. When price makes a higher high but RSI makes a lower high (bearish divergence), or price makes a lower low but RSI makes a higher low (bullish divergence), a divergence signal is set. Rather than flipping the trend outright, the indicator subtracts (or adds) a small penalty (configurable) from the aggregated score if it would weaken the current bias. This subtle adjustment warns of weakening momentum without overreacting to noise.
8. Confidence Meter
o Counts how many enabled components currently agree in direction with the aggregated score (i.e., component sign × score sign > 0). Displays this as a percentage. A high percentage indicates strong corroboration; a low percentage warns of mixed signals.
9. Δ Score Momentum View
o Plots the bar-to-bar change in the aggregated score (delta_score = score - score ) as a histogram. When positive, bars are drawn in green above zero; when negative, bars are drawn in red below zero. This reveals acceleration (rising Δ) or deceleration (falling Δ), supplementing the main oscillator.
10. Dashboard
• A table in the indicator pane’s top-right with 11 rows:
1. EMA Cross status
2. VWMA Momentum status
3. Volume Spike status
4. ATR Breakout status
5. Higher-Timeframe Trend status
6. Score (numeric)
7. Confidence %
8. Regime (“Trending” or “Ranging”)
9. Trend Strength label (e.g., “Weak Bullish Trend”, “Strong Bearish Trend”)
10. Gauge bar visually representing score magnitude
• All rows always present; size_opt (Normal, Small, Tiny) only changes text size via text_size, not which elements appear. This ensures full transparency.
________________________________________
## 4. What Makes This Indicator Stand Out
• Regime-Weighted Multi-Factor Score: Trend and momentum signals are adaptively weighted by market regime (trending vs. ranging) , reducing false signals.
• Magnitude Scaling: VWMA and ATR breakout contributions are normalized by recent average momentum or ATR, giving finer gradation compared to simple ±1.
• Integrated Divergence Penalty: Divergence directly adjusts the aggregated score rather than appearing as a separate subplot; this influences alerts and trend labeling in real time.
• Confidence Meter: Shows the percentage of sub-signals in agreement, providing transparency and preventing blind trust in a single metric.
• Δ Score Histogram Momentum View: A histogram highlights acceleration or deceleration of the aggregated trend score, helping detect shifts early.
• Flexible Dashboard: Always-visible component statuses and summary metrics in one place; text size scaling keeps the full picture available in cramped layouts.
• Lookahead-Safe HTF Confirmation: Uses lookahead_off so no future data is accessed from higher timeframes, avoiding repaint bias.
• Repaint Transparency: Divergence detection uses pivot functions that inherently confirm only after lookback bars; description documents this lag so users understand how and when divergence labels appear.
• Open-Source & Educational: Full, well-commented Pine v6 code is provided; users can learn from its structure: manual ADX computation, conditional plotting with series = show ? value : na, efficient use of table.new in barstate.islast, and grouped inputs with tooltips.
• Compliance-Conscious: All plots have descriptive titles; inputs use clear names; no unnamed generic “Plot” entries; manual ADX uses RMA; all request.security calls use lookahead_off. Code comments mention repaint behavior and limitations.
________________________________________
## 5. Recommended Timeframes & Tuning
• Any Timeframe: The indicator works on small (e.g., 1m) to large (daily, weekly) timeframes. However:
o On very low timeframes (<1m or tick charts), noise may produce frequent whipsaws. Consider increasing smoothing lengths, disabling certain components (e.g., volume spike if volume data noisy), or using a larger pivot lookback for divergence.
o On higher timeframes (daily, weekly), consider longer lookbacks for ATR breakout or divergence, and set Higher-Timeframe trend appropriately (e.g., 4H HTF when on 5 Min chart).
• Defaults & Experimentation: Default input values are chosen to be balanced for many liquid markets. Users should test with replay or historical analysis on their symbol/timeframe and adjust:
o ADX threshold (e.g., 20–30) based on instrument volatility.
o VWMA and ATR scaling lengths to match average volatility cycles.
o Pivot lookback for divergence: shorter for faster markets, longer for slower ones.
• Combining with Other Analysis: Use in conjunction with price action, support/resistance, candlestick patterns, order flow, or other tools as desired. The aggregated score and alerts can guide attention but should not be the sole decision-factor.
________________________________________
## 6. How Scoring and Logic Works (Step-by-Step)
1. Compute Sub-Scores
o EMA Cross: Evaluate fast EMA > slow EMA ? +1 : fast EMA < slow EMA ? -1 : 0.
o VWMA Momentum: Calculate vwma = ta.vwma(close, length), then vwma_mom = vwma - vwma . Normalize: divide by recent average absolute momentum (e.g., ta.sma(abs(vwma_mom), lookback)), clip to .
o Volume Spike: Compute vol_SMA = ta.sma(volume, len). If volume > vol_SMA * multiplier AND price moved up ≥ threshold%, assign +1; if moved down ≥ threshold%, assign -1; else 0.
o ATR Breakout: Determine recent high/low over lookback. If close > high + ATR*mult, compute distance = close - (high + ATR*mult), normalize by ATR, cap at a configured maximum. Assign positive contribution. Similarly for bearish breakout below low.
o Higher-Timeframe Trend: Use request.security(..., lookahead=barmerge.lookahead_off) to fetch HTF EMAs; assign +1 or -1 based on alignment.
2. ADX Regime Weighting
o Compute manual ADX: directional movements (+DM, –DM), smoothed via RMA, DI+ and DI–, then DX and ADX via RMA. If ADX ≥ threshold, market is considered “Trending”; otherwise “Ranging.”
o If trending, trend-based contributions (EMA, VWMA, ATR, HTF) use full weight = 1.0. If ranging, use weight = ranging_weight (e.g., 0.5) to down-weight them. Volume spike stays binary ±1 (optional to change if desired).
3. Aggregate Raw Score
o Sum weighted contributions of all enabled components. Count the number of enabled components; if zero, default count = 1 to avoid division by zero.
4. Divergence Penalty
o Detect pivot highs/lows on price and corresponding RSI values, using a lookback. When price and RSI diverge (bearish or bullish divergence), check if current raw score is in the opposing direction:
If bearish divergence (price higher high, RSI lower high) and raw score currently positive, subtract a penalty (e.g., 0.5).
If bullish divergence (price lower low, RSI higher low) and raw score currently negative, add a penalty.
o This reduces score magnitude to reflect weakening momentum, without flipping the trend outright.
5. Normalize and Smooth
o Normalized score = (raw_score / number_of_enabled_components) * 100. This yields a roughly range.
o Optional EMA smoothing of this normalized score to reduce noise.
6. Interpretation
o Sign: >0 = net bullish bias; <0 = net bearish bias; near zero = neutral.
o Magnitude Zones: Compare |score| to thresholds (Weak, Medium, Strong) to label trend strength (e.g., “Weak Bullish Trend”, “Medium Bearish Trend”, “Strong Bullish Trend”).
o Δ Score Histogram: The histogram bars from zero show change from previous bar’s score; positive bars indicate acceleration, negative bars indicate deceleration.
o Confidence: Percentage of sub-indicators aligned with the score’s sign.
o Regime: Indicates whether trend-based signals are fully weighted or down-weighted.
________________________________________
## 7. Oscillator Plot & Visualization: How to Read It
Main Score Line & Area
The oscillator plots the aggregated score as a line, with colored fill: green above zero for bullish area, red below zero for bearish area. Horizontal reference lines at ±Weak, ±Medium, and ±Strong thresholds mark zones: crossing above +Weak suggests beginning of bullish bias, above +Medium for moderate strength, above +Strong for strong trend; similarly for bearish below negative thresholds.
Δ Score Histogram
If enabled, a histogram shows score - score . When positive, bars appear in green above zero, indicating accelerating bullish momentum; when negative, bars appear in red below zero, indicating decelerating or reversing momentum. The height of each bar reflects the magnitude of change in the aggregated score from the prior bar.
Divergence Highlight Fill
If enabled, when a pivot-based divergence is confirmed:
• Bullish Divergence : fill the area below zero down to –Weak threshold in green, signaling potential reversal from bearish to bullish.
• Bearish Divergence : fill the area above zero up to +Weak threshold in red, signaling potential reversal from bullish to bearish.
These fills appear with a lag equal to pivot lookback (the number of bars needed to confirm the pivot). They do not repaint after confirmation, but users must understand this lag.
Trend Direction Label
When score crosses above or below the Weak threshold, a small label appears near the score line reading “Bullish” or “Bearish.” If the score returns within ±Weak, the label “Neutral” appears. This helps quickly identify shifts at the moment they occur.
Dashboard Panel
In the indicator pane’s top-right, a table shows:
1. EMA Cross status: “Bull”, “Bear”, “Flat”, or “Disabled”
2. VWMA Momentum status: similarly
3. Volume Spike status: “Bull”, “Bear”, “No”, or “Disabled”
4. ATR Breakout status: “Bull”, “Bear”, “No”, or “Disabled”
5. Higher-Timeframe Trend status: “Bull”, “Bear”, “Flat”, or “Disabled”
6. Score: numeric value (rounded)
7. Confidence: e.g., “80%” (colored: green for high, amber for medium, red for low)
8. Regime: “Trending” or “Ranging” (colored accordingly)
9. Trend Strength: textual label based on magnitude (e.g., “Medium Bullish Trend”)
10. Gauge: a bar of blocks representing |score|/100
All rows remain visible at all times; changing Dashboard Size only scales text size (Normal, Small, Tiny).
________________________________________
## 8. Example Usage (Illustrative Scenario)
Example: BTCUSD 5 Min
1. Setup: Add “Trend Gauge ” to your BTCUSD 5 Min chart. Defaults: EMAs (8/21), VWMA 14 with lookback 3, volume spike settings, ATR breakout 14/5, HTF = 5m (or adjust to 4H if preferred), ADX threshold 25, ranging weight 0.5, divergence RSI length 14 pivot lookback 5, penalty 0.5, smoothing length 3, thresholds Weak=20, Medium=50, Strong=80. Dashboard Size = Small.
2. Trend Onset: At some point, price breaks above recent high by ATR multiple, volume spikes upward, faster EMA crosses above slower EMA, HTF EMA also bullish, and ADX (manual) ≥ threshold → aggregated score rises above +20 (Weak threshold) into +Medium zone. Dashboard shows “Bull” for EMA, VWMA, Vol Spike, ATR, HTF; Score ~+60–+70; Confidence ~100%; Regime “Trending”; Trend Strength “Medium Bullish Trend”; Gauge ~6–7 blocks. Δ Score histogram bars are green and rising, indicating accelerating bullish momentum. Trader notes the alignment.
3. Divergence Warning: Later, price makes a slightly higher high but RSI fails to confirm (lower RSI high). Pivot lookback completes; the indicator highlights a bearish divergence fill above zero and subtracts a small penalty from the score, causing score to stall or retrace slightly. Dashboard still bullish but score dips toward +Weak. This warns the trader to tighten stops or take partial profits.
4. Trend Weakens: Score eventually crosses below +Weak back into neutral; a “Neutral” label appears, and a “Neutral Trend” alert fires if enabled. Trader exits or avoids new long entries. If score subsequently crosses below –Weak, a “Bearish” label and alert occur.
5. Customization: If the trader finds VWMA noise too frequent on this instrument, they may disable VWMA or increase lookback. If ATR breakouts are too rare, adjust ATR length or multiplier. If ADX threshold seems off, tune threshold. All these adjustments are explained in Inputs section.
6. Visualization: The screenshot shows the main score oscillator with colored areas, reference lines at ±20/50/80, Δ Score histogram bars below/above zero, divergence fill highlighting potential reversal, and the dashboard table in the top-right.
________________________________________
## 9. Inputs Explanation
A concise yet clear summary of inputs helps users understand and adjust:
1. General Settings
• Theme (Dark/Light): Choose background-appropriate colors for the indicator pane.
• Dashboard Size (Normal/Small/Tiny): Scales text size only; all dashboard elements remain visible.
2. Indicator Settings
• Enable EMA Cross: Toggle on/off basic EMA alignment check.
o Fast EMA Length and Slow EMA Length: Periods for EMAs.
• Enable VWMA Momentum: Toggle VWMA momentum check.
o VWMA Length: Period for VWMA.
o VWMA Momentum Lookback: Bars to compare VWMA to measure momentum.
• Enable Volume Spike: Toggle volume spike detection.
o Volume SMA Length: Period to compute average volume.
o Volume Spike Multiplier: How many times above average volume qualifies as spike.
o Min Price Move (%): Minimum percent change in price during spike to qualify as bullish or bearish.
• Enable ATR Breakout: Toggle ATR breakout detection.
o ATR Length: Period for ATR.
o Breakout Lookback: Bars to look back for recent highs/lows.
o ATR Multiplier: Multiplier for breakout threshold.
• Enable Higher Timeframe Trend: Toggle HTF EMA alignment.
o Higher Timeframe: E.g., “5” for 5-minute when on 1-minute chart, or “60” for 5 Min when on 15m, etc. Uses lookahead_off.
• Enable ADX Regime Filter: Toggles regime-based weighting.
o ADX Length: Period for manual ADX calculation.
o ADX Threshold: Value above which market considered trending.
o Ranging Weight Multiplier: Weight applied to trend components when ADX < threshold (e.g., 0.5).
• Scale VWMA Momentum: Toggle normalization of VWMA momentum magnitude.
o VWMA Mom Scale Lookback: Period for average absolute VWMA momentum.
• Scale ATR Breakout Strength: Toggle normalization of breakout distance by ATR.
o ATR Scale Cap: Maximum multiple of ATR used for breakout strength.
• Enable Price-RSI Divergence: Toggle divergence detection.
o RSI Length for Divergence: Period for RSI.
o Pivot Lookback for Divergence: Bars on each side to identify pivot high/low.
o Divergence Penalty: Amount to subtract/add to score when divergence detected (e.g., 0.5).
3. Score Settings
• Smooth Score: Toggle EMA smoothing of normalized score.
• Score Smoothing Length: Period for smoothing EMA.
• Weak Threshold: Absolute score value under which trend is considered weak or neutral.
• Medium Threshold: Score above Weak but below Medium is moderate.
• Strong Threshold: Score above this indicates strong trend.
4. Visualization Settings
• Show Δ Score Histogram: Toggle display of the bar-to-bar change in score as a histogram. Default true.
• Show Divergence Fill: Toggle background fill highlighting confirmed divergences. Default true.
Each input has a tooltip in the code.
________________________________________
## 10. Limitations, Repaint Notes, and Disclaimers
10.1. Repaint & Lag Considerations
• Pivot-Based Divergence Lag: The divergence detection uses ta.pivothigh / ta.pivotlow with a specified lookback. By design, a pivot is only confirmed after the lookback number of bars. As a result:
o Divergence labels or fills appear with a delay equal to the pivot lookback.
o Once the pivot is confirmed and the divergence is detected, the fill/label does not repaint thereafter, but you must understand and accept this lag.
o Users should not treat divergence highlights as predictive signals without additional confirmation, because they appear after the pivot has fully formed.
• Higher-Timeframe EMA Alignment: Uses request.security(..., lookahead=barmerge.lookahead_off), so no future data from the higher timeframe is used. This avoids lookahead bias and ensures signals are based only on completed higher-timeframe bars.
• No Future Data: All calculations are designed to avoid using future information. For example, manual ADX uses RMA on past data; security calls use lookahead_off.
10.2. Market & Noise Considerations
• In very choppy or low-liquidity markets, some components (e.g., volume spikes or VWMA momentum) may be noisy. Users can disable or adjust those components’ parameters.
• On extremely low timeframes, noise may dominate; consider smoothing lengths or disabling certain features.
• On very high timeframes, pivots and breakouts occur less frequently; adjust lookbacks accordingly to avoid sparse signals.
10.3. Not a Standalone Trading System
• This is an indicator, not a complete trading strategy. It provides signals and context but does not manage entries, exits, position sizing, or risk management.
• Users must combine it with their own analysis, money management, and confirmations (e.g., price patterns, support/resistance, fundamental context).
• No guarantees: past behavior does not guarantee future performance.
10.4. Disclaimers
• Educational Purposes Only: The script is provided as-is for educational and informational purposes. It does not constitute financial, investment, or trading advice.
• Use at Your Own Risk: Trading involves risk of loss. Users should thoroughly test and use proper risk management.
• No Guarantees: The author is not responsible for trading outcomes based on this indicator.
• License: Published under Mozilla Public License 2.0; code is open for viewing and modification under MPL terms.
________________________________________
## 11. Alerts
• The indicator defines three alert conditions:
1. Bullish Trend: when the aggregated score crosses above the Weak threshold.
2. Bearish Trend: when the score crosses below the negative Weak threshold.
3. Neutral Trend: when the score returns within ±Weak after being outside.
Good luck
– BullByte
SAFE Leverage Pro x50Safe Leverage Pro x50 — Safe leverage based on timeframes
Description:
Safe Leverage Pro x50 is an indicator designed to help traders choose prudent and realistic leverage, tailored to the timeframe being traded and the asset chosen.
Based on rigorous statistical research, this indicator provides a visual recommendation of the maximum typical leverage by timeframe and automatically suggests a more conservative value (by default, half) for trading with greater peace of mind and risk control.
* The goal is not for the indicator to make decisions for you, but rather to support your pre-defined entry strategies, allowing you to clearly understand how much leverage you can use without compromising your account against normal price fluctuations.
*The indicator does not calculate based on real-time volatility or ATR, but rather relies on statistical historical patterns obtained by analyzing price behavior after entry, differentiating between average movements in long and short entries by timeframe.
Important: Before following the recommendations of this indicator, check the maximum leverage your broker or exchange allows for the asset you are trading, as it can vary significantly between platforms.
* Philosophy behind the indicator:
This project arises as a response to the simplistic discourse that condemns leverage without distinguishing nuances.
Leverage is not intrinsically bad. What is dangerous is leveraging without method, without awareness, and without risk management.
Safe Leverage Pro x50 is designed to change that narrative:
** It's not about whether or not to use leverage, but when, how much, and how to use it intelligently.