Realtime Position CalculatorRisk management is the single most important factor in trading success. This indicator automates the process of position sizing in real-time based on your account risk and a dynamic technical Stop Loss. It eliminates the need for manual calculations and helps you execute trades faster while adhering to strict risk management rules.
How it Works
The indicator visually places a Stop Loss line based on recent market structure (Highs/Lows) and instantly calculates the required position size (Contracts/Lots) to match your defined monetary risk.
1. Dynamic Stop Loss : It identifies the highest high (for Shorts) or lowest low (for Longs) over a user-defined lookback period.
2. Position Calculation : It calculates the distance between the current price and the Stop Loss level.
3. Formula : Contract Size = Risk Amount / (Distance * Point Value)
4. Actual vs. Target Risk : Because of the rounding, the script calculates and displays the Actual Risk (e.g., $95) alongside your Target Risk (e.g., $100), so you know exactly what is at stake.
Key Features
Real-time Calculation : Updates instantly as price moves.
Copy Trading Support : Includes an "Account Multiplier" setting. If you trade 10 accounts via a copy trader, set the multiplier to 10. The indicator will show the total contract size needed across all accounts.
Point Value Support : Works for Stocks/Crypto (Point Value = 1) and Futures (e.g., ES = 50, NQ = 20).
Customizable UI : Toggle specific data on/off in the label (e.g., hide price, show only contracts). Adjustable label offset to keep the chart clean.
Settings Guide
Trade Direction : Toggle between Long and Short setups. Add the indicator two times and set another for Longs and another for Shorts so you can see both direction at the same time.
Risk Amount : Your max risk in currency (e.g., $100).
Lookback : How many bars back to look for the SL pivot (e.g., 10 bars).
Point Value : Crucial for Futures. Use 1.0 for Crypto/Stocks. Use tick value/point value for futures (e.g., 50 for ES).
Account Multiplier : Multiply the position size for multiple accounts.
Label Offset : Move the information label to the right to avoid overlapping with price action.
Disclaimer
This tool is for informational and educational purposes only. Always verify calculations manually before executing trades. Past performance is not indicative of future results.
Indicatori e strategie
Momentum Gamma StraddleExact definition of what that script does
1) Purpose
The script is a decision aid for intraday expiry-day ATM straddle trades. It detects intraday structure breakouts and signals candidate long straddle entries for Nifty or Sensex using price structure, volume, RSI momentum, and a user-supplied combined ATM premium value (CE + PE). It draws support/resistance, shows an info box, and raises alerts.
2) Inputs the user can change
Trading time window: startHour, startMin, endHour, endMin.
Structure lookback: res_lookback (how many candles to use to compute resistance/support).
Minimum candle body as fraction of candle range: min_body_pct.
Volume multiplier threshold: vol_mult (breakout candle volume must exceed vol_mult * sma5).
RSI length and thresholds: rsi_len, rsi_bull_thresh, rsi_bear_thresh.
Combined premium source: choose Manual or Symbol. If Manual, set manual_combined. If Symbol, provide a TradingView symbol that returns CE+PE combined ATM premium.
Combined premium acceptable band: min_combined_ok and max_combined_ok.
Profit target percent and SL percent (target_pct and sl_pct).
Misc pattern heuristics: min_res_hits (min tests of resistance inside lookback), low_slope_min (used to detect rising lows).
Micro-confirmation toggle, micro timeframe, nonrepaint option, show_entry_label toggle (in the later fixed versions some of these were added, but the earlier fixed script had basic combined_symbol options and a lookahead fallback).
3) Data calculated on each bar
Safety check hasEnough: true when bar_index >= res_lookback.
resistance: the highest high over res_lookback bars.
support: the lowest low over res_lookback bars.
res_hits: count of bars within lookback whose high is within a tolerance of resistance. Tolerance is 10 percent of the range between resistance and support.
low_slope: simple slope of lows over res_lookback bars.
body_pct: the candle body as a fraction of its high-low range. strong_body true when body_pct >= min_body_pct.
bull_breakout: true if hasEnough and current close > resistance and strong_body and res_hits >= min_res_hits.
bear_breakout: true if hasEnough and current close < support and strong_body and res_hits >= min_res_hits.
vol_sma5 and vol_ok: vol_ok true when current volume > vol_mult * vol_sma5.
rsi and rsi checks: rsi_bull_ok true if rsi >= rsi_bull_thresh; rsi_bear_ok true if rsi <= rsi_bear_thresh.
combined_premium: either the manual_combined input or the value read from combined_symbol via request.security. The script attempted a fallback to manual when the symbol was not valid.
combined_ok: true if combined_premium lies between min_combined_ok and max_combined_ok.
final signals: bull_signal when in_time_window and bull_breakout and vol_ok and rsi_bull_ok and combined_ok. bear_signal similar for bearish breakout.
4) Visual output and alerts
Plots resistance and support lines on the chart.
Plots a label shape "STRADDLE BUY" below the bar for bull_signal and above the bar for bear_signal.
Creates an info label (on last bar) that shows TimeOK, VolOK and vol ratio, RSI, Combined premium and whether it is OK, ResHits and LowSlope.
Sets two alertcondition events: "Bull Straddle BUY" and "Bear Straddle BUY" with a short candidate message. The alerts fire when the corresponding signal is true.
5) Execution assumptions you must follow manually
The script does not place any orders or compute option strike-level prices or greeks. It only flags candidate entry bars.
When combined_source is Manual you must type CE+PE yourself. The indicator will only accept the manual number and treat it as the combined premium.
When combined_source is Symbol the script uses request.security to read that symbol. For historical bars the indicator may repaint depending on lookahead settings. The earlier fixed script attempted to use request.security inside a conditional which leads to runtime or compile errors. You experienced that exact error.
6) Known implementation caveats and bugs you encountered
Pine typing issue with low_slope. The earlier version set low_slope = na without explicit type. That triggers the Pine error: "Value with NA type cannot be assigned to a variable that was defined without type keyword". This required changing to float low_slope = na.
The earlier version attempted to call request.security() inside an if block or conditional. Pine prohibits request.security in conditional blocks unless allowed patterns are followed. That produced the error you saw: "Cannot use request.* call within loops or conditional structures" or similar. The correct pattern is to call request.security at top-level and decide later which value to use.
If combined_symbol is invalid or not available on your TradingView subscription, request.security can return na and the script must fall back to manual value. The earlier fixed script attempted fallback but compiled errors prevented reliable behavior.
The earlier script did not include micro-confirmation or advanced nonrepaint controls. Those were added in later versions. Because of that, the earlier script may have given signals that appear to repaint on historical bars or may have thrown errors when using combined_symbol.
7) Decision logic summary (exact)
Only operate if current chart time is inside user set time window.
Only consider trade candidates when enough history exists for res_lookback.
Identify a resistance level as the highest high in the lookback. Count how many times that resistance was tested. Ensure the breakout candle has a strong body and volume spike. Ensure RSI is aligned with breakout direction.
Require combined ATM premium to be inside a user preferred band. If combined_symbol is used the script tries to read that value and use it; otherwise it uses manual_combined input.
If all the above conditions are true on a confirmed bar, the script plots a STRADDLE BUY label and triggers an alertcondition.
8) What the script does not do
It does not calculate CE and PE prices by strike. It only consumes or accepts combined premium number.
It does not compute greeks, IV, or OI. OI and IV checks must be done manually.
It does not manage positions. No SL management or automatic exits are executed by the script.
It does not simulate fills or account for bid/ask spreads or slippage.
It cannot detect off-exchange block trades or read exchange-level auction states beyond raw volume bars.
It may repaint historical labels if the combined_symbol was read with lookahead_on or the script used request.security in a way that repainted. The corrected final version uses nonrepaint options.
9) Manual checks you must always perform even when the script signals BUY
Confirm the live combined ATM premium and the bid/ask for CE and PE.
Check ATM IV and recent IV movement for a potential IV crush risk.
Check option OI distribution and recent OI changes for strike pinning or large player exposure.
Confirm CE and PE liquidity and depth. Wide spreads make fills unrealistic.
Confirm there is no scheduled news or auction within the next few minutes.
Confirm margin and position sizing fits your risk plan.
10) Quick testing checklist you can run now
Add the script to a 5-minute chart with combined_source = Manual.
Enter manual_combined equal to the real CE+PE at the moment you test.
Set startHour and endHour so the in_time_window is true for current time.
Look for STRADDLE BUY label on confirmed bars. Inspect the info box to see why it did or did not signal.
If you set combined_source = Symbol, verify the symbol exists and that TradingView returns values for it. If you previously saw the request.security error, that was caused by placing the request inside a conditional. The correct behavior is to call request.security unconditionally at top-level like in the final fixed version.
SMT Divergence - Time & Calendar CyclesOverview
This indicator is a tool designed to detect SMT Divergences across multiple market structures.
It operates on a Dual-Layer Logic, which filters, ranks, and renders divergences based on specific, adjustable Time Cycles (e.g., 90-minute, or 30-minute rolling windows) and Calendar Cycles (e.g., Daily, or Weekly structure).
1. Core Concept: Automated SMT Detection
SMT Divergences occur when correlated instruments fail to confirm each other's price action at key structural pivots. For example, if the Nasdaq (NQ) makes a higher high while the S&P 500 (ES) fails to do so, that can be considered a SMT Divergence , this discrepancy in correlation could indicate a potential shift in structural momentum and a weakening of the prevailing trend.
This indicator automates this analysis by comparing the Main Chart against up to three user-defined Comparison Symbols. It supports:
Direct Correlation: Identifies standard divergences between positively correlated assets where one fails to confirm the other's new high or low (e.g., NQ vs. ES).
Inverse Correlation: Accounts for negative correlation to detect failures in symmetry, such as when the Main Chart makes a Higher High but the Inverse Symbol fails to make the expected Lower Low (e.g., EURUSD vs. DXY).
Cross Symbol vs. Symbol: Logic that cross-verifies comparison symbols against each other to find internal market weakness, even if the main chart is currently neutral (e.g., Symbol 1 vs. Symbol 2).
2. How It Works: Technical Architecture
To accurately map market structure, the indicator uses a specific technical method to handle data synchronization and structure storage:
A. Data Synchronization
The tool utilizes 'request.security' targeting the current chart's resolution (native timeframe) to retrieve comparison data of the other symbol. This method enforces strict bar-by-bar alignment between the main symbol and the comparison symbol, preventing the access of future data (lookahead bias) and ensuring historical data integrity.
B. Pivot Arrays
The script identifies significant swing points and stores them in custom arrays. It iterates through these arrays to compare the current price structure against historical structures stored in memory.
The array storage and comparison logic operates in two distinct modes depending on the cycle type:
2.1 Time Cycles (Intraday Analysis)
Targeting specific, adjustable time windows like 90-minute or 30-minute cycles.
Session Bound: These cycles are strictly bound to a user-defined trading session (e.g., 09:30 - 16:00).
Continuous Roll: They repeat continuously throughout the window until the session ends.
Session Reset: At the start of every new session, calculation data resets to ensure signals reflect only the current session, while preserving all historical lines on the chart.
2.2 Calendar Cycles (Macro Analysis)
Targeting Higher Timeframe (HTF) structural analysis (Daily, Weekly, Monthly, Quarterly, and Yearly).
Persistent Data: Unlike Time Cycles, Calendar Cycles utilize persistent data arrays that survive session resets.
Calculation Mode: "Exchange Session" prevents ghost lines on Futures, while "Input Timezone" enforces strict midnight resets for Crypto/CFDs.
3. The Unified SMT Visualization
The indicator provides a Composite Visualization , unifying micro (Intraday) and macro (Calendar) analysis by simultaneously projecting divergence signals onto a single chart view.
Live vs. Historical Logic:
The Live Feed (Dynamic State): This is the only component where repainting occurs. Signals within the current active cycle are temporary and self-correcting:
Updates: If the price pushes to a new extreme within the open cycle, the SMT line automatically redraws to the new High/Low.
Invalidation: If the Comparison Symbol eventually breaks its structure ("catches up") before the cycle closes, the divergence is no longer valid, and the signal is removed.
Example: In a 90-minute Time Cycle, a signal might form at minute 30. If the Comparison Symbol confirms the move at minute 45, the signal is invalidated. If the divergence holds until minute 90, it becomes permanent.
The Historian (Permanent Record):
Once a cycle closes, the final state is locked. Validated signals are transferred to the historical array and will never change (non-repainting).
4. Key Features & Capabilities
4.1 Multi-Symbol & Correlation
Triple-Check Logic: Capable of comparing the Main Chart against Symbol 1, Symbol 2, and Symbol 3 simultaneously.
Cross-Symbol Check: The script can optionally validate Symbol 1 against Symbol 2 (e.g., checking ES vs. YM) and plot the result on your main chart, providing a broader market view.
4.2 Structural Range Validation
The script includes strict validation logic to ensure high-quality data. It automatically verifies that the detected highs and lows are the true extremes of the cycle range.
Lookback Cycles: Users define the exact number of preceding historical cycles the current structure must be compared against (e.g., comparing against the last 9 cycles), allowing for customization of structural depth.
4.3 Professional Drawing & Chart Management
Visual Collision Detection: The script uses Coordinate Tracking to store the start and end points of every rendered divergence. If a lower timeframe cycle attempts to draw over an existing higher-priority structure, the logic compares their coordinates and suppresses the lower-priority signal to prevent visual clutter.
Data Integrity: The script automatically validates cycle duration to ensure signals do not span across abnormal time gaps or missing data.
Memory Optimization: The script actively manages internal memory to prevent execution limits, allowing for deep backtesting history even on lower timeframes.
4.4 Structural Parameters
Furthest / Nearest Mode: Determines which specific pivot to target when multiple candidates exist within the same search window.
Furthest: Targets the extreme point furthest back in time within the cycle range (captures the widest possible structure).
Nearest: Targets the most recent valid pivot (captures the tightest, most immediate structure).
Anchor Mode: Controls exactly where the divergence line connects:
Structural: Always connects to the Main Chart's pivot High/Low.
Snap to Aggressor: The precision method. The line "snaps" to the exact candle where the structure was broken first, whether on the Main Chart or the Comparison Symbol.
Cycle Boundary Overlap: Controls how the transition candle is handled between time cycles (Overlap On vs. Clean Start).
4.5 Full Customization
Adaptive & Custom Coloring: Labels automatically adjust to background brightness for optimal readability. Includes a manual override for user-defined color preferences.
Visual Control: Fully customizable line styles, widths, and colors for every individual cycle.
5. How To Use This Tool
Configuration: Set your Timezone and Session Start/End times in the settings. This ensures "Time Cycles" align with your specific market.
Select Symbols: Input your comparison symbols (e.g., ES, YM, or inversely DXY). Crucial: Ensure the "Inverse" toggle is checked for negatively correlated assets.
Cycle Selection: Enable the specific cycles relevant to your strategy (e.g., Daily + 90-minutes).
Render History: Scroll the chart back to the beginning of your available price history after loading the indicator or changing timeframes to process maximum historical data.
Interpretation:
Bearish SMT: Price makes a Higher High, but the correlated asset makes a Lower High. This divergence could indicate a potential shift in structural momentum and a weakening of the prevailing uptrend.
Bullish SMT: Price makes a Lower Low, but the correlated asset makes a Higher Low. This divergence could indicate a potential shift in structural momentum and a weakening of the prevailing downtrend.
Disclaimer
This indicator is designed for educational purposes only. It does not constitute financial advice or a recommendation to trade. Trading involves risk, and past performance does not guarantee future results.
BVWY Stamp WatermarkOverview
This script creates a clean, compact watermark “stamp” for your charts — combining a custom title/subtitle with symbol info (ticker, timeframe, date) in one neat block. It’s designed for traders and educators who want their charts branded and professional without clutter.
Features
• 🖋️ Customizable title and subtitle (default: RICH BVYWY)
• 📊 Symbol info line with independent toggles for ticker, timeframe, and date
• 🎨 Full control over colors, sizes, alignment, and background opacity
• 📍 Position anywhere on the chart (top/middle/bottom, left/center/right)
• 🪶 Lightweight and efficient — no redundant tables or clearing logic
Use Cases
• Branding your shared charts with a signature watermark
• Teaching and documentation — stamp your visuals with context and identity
• Clean overlays for presentations, reports, or social media posts
Notes
This script is built with Pine Script v5 and follows TradingView’s style guide for clarity and efficiency. It’s streamlined to overwrite cells each bar, ensuring smooth performance without flicker or lag
Reaction CandlesThis is a very simple but effective indicator, turn it on and see for yourself.
Can be used on any timeframe, but tested on the 5 and 30 mins.
Developed for use on Gold and Indexes, but works well on any stock. Easy to visually back test.
Smart match finder🔍 Pattern Match Finder
What It Does:
This indicator finds historical price patterns that look similar to your current price action and projects what might happen next based on what happened after those past patterns.
How It Works:
📊 Captures Current Pattern - Takes the last 30 bars (configurable) of price movement as your "current pattern"
🔎 Searches History - Scans up to 2,500 bars back looking for price patterns that moved similarly
📈 Matches by Trend - When "Same Condition" is ON, it only finds patterns that moved in the same direction (bullish matches bullish, bearish matches bearish)
🎯 Quality Filter - Uses correlation (75%+ by default) to ensure matches are high quality, not random
🔮 Projects Future - Takes what happened AFTER those historical matches and draws a prediction (yellow dashed line) showing where price might go next
📊 Shows Best Match - Highlights the best matching pattern with cyan vertical lines and overlays it on your current chart
Key Features:
✅ Trend-aware matching - Finds patterns with same market direction
✅ Quality scoring - Shows correlation % and match quality (Excellent/Good/Fair)
✅ Visual projection - Yellow prediction line showing expected price movement
✅ Smart filtering - Adjustable correlation and distance thresholds
✅ No match alerts - Warns you when no similar patterns exist
Technical Strength:
This indicator employs advanced statistical correlation analysis combined with normalized pattern recognition algorithms, making it highly effective for identifying statistically significant price pattern repetitions with quantifiable confidence metrics.
⚠️ Important Disclaimer:
This tool is for educational and analytical purposes only. Pattern projections are based on historical data and should NOT be used as the sole basis for buy/sell decisions. Always combine with proper risk management, fundamental analysis, and other technical tools before making any trading decisions.
Oscillation filterDescription: This is a customized technical indicator designed to assist traders in analyzing overbought and oversold conditions in volatile or trending markets. It plots overbought and oversold conditions of different colors as distinctions for multiple periods.
Working principle: This indicator calculates the oscillation index value of the given parameter and projects it onto a chart to visualize the fluctuation limit. It helps identify oscillations, trend reversals and manage risks under various market conditions.
Access: This is an invitation-only script. To request access or permission, please refer to X: @Dev0x_AI for communication.
震荡过滤器
True vs False Breakout (Vol + Body Shape) **Indicator Description: True vs. False Breakout Detector**
This indicator helps identify the quality of a breakout by analyzing price action and volume.
**★ Green Arrow: "True Breakout (Strong Candle)"**
This represents a high-confidence breakout signal.
* **Criteria:** Price Breakout + Volume Surge + Strong Candle Close (minimal to no upper wick).
* **Significance:** Indicates strong bullish momentum.
**● Grey Dot: "Weak Breakout"**
Appears when price breaks resistance but shows signs of weakness.
* **Criteria:** Breakout with low volume OR a long upper wick (rejection).
* **Meaning:** "Price made a new high, but the move is untrustworthy."
* **Action:** Do not chase the long position. Be cautious and look for potential reversals.
**▼ Red Label: "False Breakout (Reversal)"**
* **Signal:** Appears when a Weak Breakout (Grey Dot) is followed by bearish price action.
* **Action:** This indicates a confirmed False Breakout and presents a prime shorting opportunity.
-------------------------------------------------------------------------------------------
★指标描述:真假突破辨别。
★绿色箭头 "真突破 (强K线)":
这是你要的完美信号。
它意味着:价格破位 + 成交量放大 + K线收盘坚决(几乎没有上影线)。
对应刚才的行情: 刚才那根1H大阳线应该会触发这个信号。
灰色圆点 "弱势突破" (新增):
如果价格突破了阻力,但是没量,或者留了长上影线(像你之前描述的那几根15分钟线),指标会标记灰色圆点。
含义: “虽然价格破了新高,但我不信任它”。这时候千万不要追多,反而要准备做空。
红色标签 "假突破 (反转)":
当灰色圆点(弱势突破)出现后,紧接着出现红色标签,就是绝佳的做空点。
SwiftEdge APEEXSwiftEdge Apeex – Volume-Weighted VWAP + Live POC + True Footprint-Precise Big Trades
This indicator combines three powerful and complementary tools used by professional traders:
1. Volume-Weighted EWMA VWAP with Dynamic Deviation Bands
A smooth, volume-weighted VWAP using an exponentially weighted moving average of variance. The deviation bands (1σ, 2σ, 3σ) dynamically expand and contract with actual market volatility — giving far more realistic support/resistance levels than fixed-percentage bands.
2. Session-Based Live Point of Control (POC)
The classic intraday POC (highest traded volume price) calculated from session start (default 09:00). Resets cleanly at your chosen session time.
3. True 1-Second Footprint-Precise Big Trade Bubbles
Unlike traditional volume spike indicators that only show "where the candle closed", this version uses real 1-second data to calculate the exact delta-weighted price where aggressive buying or selling actually occurred inside the bar.
- All levels from 1.2× to 8× average volume are shown
- Bubble size scales with significance (1.2× = tiny → 8× = huge)
- White outline on 5× and 8× for instant visual impact
- Yellow background highlights bars with significant volume
Why this combination works so well:
- VWAP + deviations give you the macro institutional reference levels
- POC shows where the market actually accepted the most volume
- The footprint-precise bubbles show you exactly where the smart money entered or absorbed — often many ticks away from the candle close
Best used on 1m to 1h timeframes on liquid futures (ES, NQ, CL) or crypto (BTC, ETH).
No lookahead. No repainting. Pure price + volume truth.
Cup & Handle Finder by Mashrab🚀 New Tool Alert: The "Perfect Cup" Finder
Hey everyone! I’ve built a custom indicator to help us find high-quality Cup & Handle setups before they breakout.
Most scripts just look for random highs and lows, but this one uses a geometric algorithm to ensure the base is actually round (avoiding those messy V-shapes).
How it works:
🔵 Blue Arc: This marks a verified, institutional-quality Cup.
🟠 Orange Box: This is the "Handle Zone." If you see this connecting to the current candle, it means the setup is live and ready for a potential entry!
Best Usage:
Works best on Weekly (1W) charts.
It’s designed to be an "Early Warning" system—alerting you while the handle is still forming so you don't miss the move.
Give it a try and let me know what you find! 📉📈
Global M2 YoY % Change (USD) 10W-12W LEADthe base script is from @dylanleclair I modified it slightly according to the views on liquidity by professionals — average estimated lead time to price of btc, leading 10-12 weeks. liquidity and bitcoin’s price performance track pretty close and so it’s a cool tool for phase recognition, forward guidance and expectation management.
Two individual BB - AxeThis indicator combines two Bollinger Bands into a single script, designed for traders who utilize dual-band strategies but want to keep their chart and indicator list clean.
Instead of adding two separate indicators, this script allows you to manage two Bollinger Bands within one interface. It maintains the full flexibility of the classic Bollinger Bands while adding independent toggles for better visibility control.
Capitulation Finder(Sahebson)The Capitulation Finder detects potential exhaustion points in trend moves by identifying price dislocations combined with surging volume and extreme RSI levels.
A bullish capitulation signal is generated when price drops significantly below a user-defined moving average while RSI is oversold and volume spikes above the average.
A bearish capitulation signal is triggered under the opposite conditions—price extended above the moving average, RSI overbought, and volume elevated.
Additional confirmation signals highlight persistent overbought or oversold conditions with volume strength. This tool helps traders pinpoint possible reversal zones during volatile market conditions.
CVD Candle Divergence IndicatorThis indicator identifies potential reversal points by comparing the direction of price candles with the direction of cumulative volume delta (CVD) candles, while applying additional filters based on RSI behavior, volume strength, and candlestick wick structure.
It aims to highlight situations where price movement and volume delta disagree, which can signal fading momentum or absorption.
Core Concept
The script combines several independent conditions that must occur simultaneously before a signal is displayed on the chart. A signal appears only when all filters agree, reducing the number of low-quality or noise-based setups.
1. CVD Candle Direction
The indicator uses TradingView’s built-in function for volume delta candles. These candles summarize buying and selling aggression derived from lower-timeframe volume.
A CVD green candle indicates more buyer-initiated volume.
A CVD red candle indicates more seller-initiated volume.
The script looks for instances where price and CVD candles disagree:
Bullish signal: price candle is green while CVD candle is red
Bearish signal: price candle is red while CVD candle is green
This creates a form of divergence using volume delta instead of price highs and lows.
2. RSI Context Filter
Momentum is evaluated through RSI. Instead of relying only on standard overbought/oversold levels, the script also includes a recency filter based on the RSI midline (50 level).
RSI Threshold
Users can specify the RSI value required for bullish and bearish conditions.
Recency Filter
The indicator only allows signals if RSI has crossed the 50 level within a user-defined number of bars. This prevents signals during extended one-directional trends where divergence is less meaningful.
3. Volume Strength Filter
Signals are filtered through a volume-based requirement:
Current volume must exceed a moving average of volume multiplied by a user-defined factor.
This ensures that signals appear only during periods with sufficient participation and reduces noise during low-volume consolidation.
4. Wick-to-Body Ratio Filter
To incorporate price-action characteristics, the script evaluates the wick structure of each candle:
Bullish signals require a sufficiently large lower wick relative to the total candle range.
Bearish signals require a sufficiently large upper wick relative to the total candle range.
The wick percentage is fully configurable.
This adds a rejection or absorption component to the logic and prevents signals on weak or indecisive candles.
Signal Conditions
A bullish signal appears when all of the following are true:
Price candle is green
RSI is below the bullish threshold
CVD candle is red
Volume is above its threshold (if enabled)
RSI has interacted with the 50 level recently
Lower wick meets the wick-percentage requirement
A bearish signal requires the opposite conditions:
Price candle is red
RSI is above the bearish threshold
CVD candle is green
Volume is above its threshold (if enabled)
RSI recently interacted with the 50 level
Upper wick meets the wick-percentage requirement
Signals appear as arrows directly on the chart.
Use Cases
This indicator is intended for traders who work with:
Momentum shifts
Volume delta analysis
Candle structure-based confirmation
Reversal or exhaustion setups
Divergence concepts beyond price highs/lows
It does not predict market direction. Instead, it highlights areas where multiple conditions suggest a potential imbalance between price movement and volume delta.
I would strongly suggest to use this indicator only on timeframes 2-15m.
Here are a few examples:
UFC** UFC Multi-Trend Signal Indicator**
This indicator is designed to identify trend directions and generate trading signals. It utilizes multiple logic layers to filter market noise and presents clear visual cues for potential entry and exit points.
**Key Features:**
- **Multi-Timeframe Trend Analysis:** Visualizes market structure through composite logic.
- **Clear Trading Signals:** Generates specific chart markers for potential trade opportunities.
- **Built-in Alerts:** Supports TradingView alerts for timely notifications.
**Access:** This is a private, invitation-only script. Click the "Request Access" button and I will approve it shortly.
---
** UFC 多空趋势信号指标**
本指标专为识别趋势方向与交易信号而设计。它通过多层逻辑过滤市场噪音,并为潜在的交易点提供清晰的视觉提示。
**核心功能:**
* **多重趋势分析**:通过复合逻辑直观展示市场结构。
* **清晰的交易信号**:在图表上生成特定的标记,提示潜在的交易机会。
* **内置警报功能**:支持TradingView警报,便于及时接收通知。
**访问方式(重要):**
1. **点击“请求访问”**:在指标页面点击“请求访问”按钮,提交您的申请。
2. **自动授权**:通常情况下,我会在24小时内批准您的访问请求。
3. **授权后**:您即可在图表上添加并使用本指标。
**使用条款:**
* 本指标为“仅限邀请”的私有脚本,**无法公开搜索**。
* 授权后仅供您个人在TradingView平台内使用。
* 欢迎提供使用反馈,但请勿复制、共享代码或重新发布。
感谢您的关注!
Impulse Day PlanOverview
This script provides a structured intraday trade plan built on three interacting components:
Impulse-based TP/SL system
Detects trend bias shifts and automatically generates Entry, TP1–TP3 and SL based on impulse range projections. Targets update dynamically and wick-touch confirmation is used for accurate ✓ tracking.
ATR day zones
A blended ATR model (Daily + selected base timeframe) produces support, balance and resistance zones derived from the previous session close. These zones provide directional context and realistic intraday expansion boundaries.
VWAP/EMA trend filter
Trend confirmation is applied using VWAP and EMA 50/200 structure. Signals are only considered aligned when price, VWAP and EMA trend agree.
The script displays a compact dashboard with the active trade plan, including:
Entry
TP1, TP2, TP3
Stop Loss
Checkmarks showing completed targets
This makes the indicator a planning framework, not a simple overlay.
How it differs from my previous publications
I previously released:
Smart Money OB + Limit Orders + Priority
SM OB Intraday Bot Assistant
Impulse TP/SL Zones
Those scripts focus on isolated concepts such as Smart Money structure, intraday automation or basic impulse mapping.
This script introduces a new integrated workflow: impulse TP/SL logic, ATR day zones and VWAP/EMA trend confirmation operating together as a single system. It does not reproduce the functionality of my previous tools and is designed as a standalone intraday planning method.
How to use
Select a base timeframe for the ATR zone model (15m, 1H, 4H).
Follow the dashboard for entry, targets and SL.
Use ATR zones to understand where targets sit within the day’s expected range.
Execute trades only when impulse signal and VWAP/EMA trend align.
Jurik Angle Flow [Kodexius]Jurik Angle Flow is a Jurik based momentum and trend strength oscillator that converts Jurik Moving Average behavior into an intuitive angle based flow gauge. Instead of showing a simple moving average line, this tool measures the angular slope of a smoothed Jurik curve, normalizes it and presents it as a bounded oscillator between plus ninety and minus ninety degrees.
The script uses two Jurik engines with different responsiveness, then blends their information into a single power score that drives both the oscillator display and the on chart gauge. This makes it suitable for identifying trend direction, trend strength, exhaustion conditions and early shifts in market structure. Built in divergence detection between price and the Jurik angle slope helps highlight potential reversal zones while bar coloring and a configurable no trade zone assist with visual filtering of choppy conditions.
🔹 Features
🔸 Dual Jurik slope engine
The indicator internally runs two Jurik Moving Average calculations on the selected source price. A slower Jurik stream models the primary trend while a faster Jurik stream reacts more quickly to recent changes. Their slopes are measured as angles in degrees, scaled by Average True Range so that the slope is comparable across different instruments and timeframes.
🔸 Angle based oscillator output
Both Jurik streams are converted into angle values by comparing the current value to a lookback value and normalizing by ATR. The result is passed through the arctangent function and expressed in degrees. This creates a smooth oscillator that directly represents steepness and direction of the Jurik curve instead of raw price distance.
🔸 Normalized power score
The angle values are transformed into a normalized score between zero and one hundred based on their absolute magnitude, then the sign of the angle is reapplied. This yields a symmetric score where extreme positive values represent strong bullish pressure and extreme negative values represent strong bearish pressure. The final power score is a weighted blend of the slow and fast Jurik scores.
🔸 Adaptive color gradients
The main oscillator area and the fast slope line use gradient colors that react to the angle strength and direction. Rising green tones reflect bullish angular momentum while red tones reflect bearish pressure. Neutral or shallow slopes remain visually softer to indicate indecision or consolidation.
🔸 Trend flip markers
Whenever the primary Jurik slope crosses through zero from negative to positive, an up marker is printed at the bottom of the oscillator panel. Whenever it crosses from positive to negative, a down marker is drawn at the top. These flips act as clean visual signals of potential trend initiation or termination.
🔸 Divergence detection on Jurik slope
The script optionally scans the fast Jurik slope for pivot highs and lows. It then compares those oscillator pivots against corresponding price pivots.
Regular bullish divergence is detected when the oscillator prints a higher low while price prints a lower low.
Regular bearish divergence is detected when the oscillator prints a lower high while price prints a higher high.
When detected, the tool draws matching divergence lines both on the oscillator and on the chart itself, making divergence zones easy to notice at a glance.
🔸 Bar coloring and no trade filter
Bars can be colored according to the primary Jurik slope gradient so that price bars reflect the same directional information as the oscillator. Additionally a configurable no trade threshold can visually mute bars when the absolute angle is small. This highlights trending sequences and visually suppresses noisy sideways stretches.
🔸 On chart power gauge
A creative on chart gauge displays the composite power score beside the current price action. It shows a vertical range from plus ninety to minus ninety with a filled block that grows proportionally to the normalized score. Color and label updates occur in real time and provide a quick visual summary of current Jurik flow strength without needing to read exact oscillator levels.
🔹 Calculations
Below are the main calculation blocks that drive the core logic of Jurik Angle Flow.
Jurik core update
method update(JMA self, float _src) =>
self.src := _src
float phaseRatio = self.phase < -100 ? 0.5 : self.phase > 100 ? 2.5 : self.phase / 100.0 + 1.5
float beta = 0.45 * (self.length - 1) / (0.45 * (self.length - 1) + 2)
float alpha = math.pow(beta, self.power)
if na(self.e0)
self.e0 := _src
self.e1 := 0.0
self.e2 := 0.0
self.jma := 0.0
self.e0 := (1 - alpha) * _src + alpha * self.e0
self.e1 := (_src - self.e0) * (1 - beta) + beta * self.e1
float prevJma = self.jma
self.e2 := (self.e0 + phaseRatio * self.e1 - prevJma) * math.pow(1 - alpha, 2) + math.pow(alpha, 2) * self.e2
self.jma := self.e2 + prevJma
self.jma
This method implements the Jurik Moving Average engine with internal state and phase control, producing a smooth adaptive value stored in self.jma.
Angle calculation in degrees
method getAngle(float src, int lookback=1) =>
float rad2degree = 180 / math.pi
float slope = (src - src ) / ta.atr(14)
float ang = rad2degree * math.atan(slope)
ang
The slope between the current value and a lookback value is divided by ATR, then converted from radians to degrees through the arctangent. This creates a volatility normalized angle oscillator.
Normalized score from angle
method normScore(float ang) =>
float s = math.abs(ang)
float p = s / 60.0 * 100.0
if p > 100
p := 100
p
The absolute angle is scaled so that sixty degrees corresponds to a score of one hundred. Values above that are capped, which keeps the final score within a fixed range. The sign is later reapplied to restore direction.
Slow and fast Jurik streams and power score
var JMA jmaSlow = JMA.new(jmaLen, jmaPhase, jmaPower, na, na, na, na, na)
var JMA jmaFast = JMA.new(jmaLen, jmaPhase, 2.0, na, na, na, na, na)
float jmaValue = jmaSlow.update(src)
float jmaFastValue = jmaFast.update(src)
float jmaSlope = jmaValue.getAngle()
float jmaFastSlope = jmaFastValue.getAngle()
float scoreJma = normScore(jmaSlope) * math.sign(jmaSlope)
float scoreJmaFast = normScore(jmaFastSlope) * math.sign(jmaFastSlope)
float totalScore = (scoreJma * 0.6 + scoreJmaFast * 0.4)
A slower Jurik and a faster Jurik are updated on each bar, each converted to an angle and then to a signed normalized score. The final composite power score is a weighted blend of the slow and fast scores, where the slow score has slightly more influence. This composite drives the on chart gauge and summarizes the overall Jurik flow.
SMA Cross PreventionTraditional MA crossover indicators are reactive — they tell you a cross happened after the fact.
This indicator is prescriptive — it tells you exactly what price action is required to prevent a cross from happening.
The Core Insight
When a fast MA is above a slow MA but they're converging, traders ask: "Will we get a death cross?"
This indicator answers a more useful question:
"What is the minimum price path required to prevent the cross?"
By treating the MA structure as a constraint and solving for the required input (future prices), we transform a lagging indicator into a forward-looking risk assessment tool.
PivotX# PivotX - TradingView Description
## Title
PivotX - Exhaustion & Pivot Detection
## Description
**PivotX** is a powerful visual indicator that helps traders identify when major buying or selling pressure has exhausted and when significant market reversals are likely to occur. Think of it as your market "exhaustion detector" that spots the exact moments when one side of the market runs out of steam.
### What Does PivotX Do?
PivotX watches for three critical market conditions:
1. **Selling Exhaustion** - When sellers have pushed price down aggressively but can't push it lower anymore. This is when buyers step in and price often reverses upward.
2. **Buying Exhaustion** - When buyers have pushed price up aggressively but can't push it higher anymore. This is when sellers step in and price often reverses downward.
3. **Major Pivot Points** - Key price levels where the market has made significant turns, marking important support (bottoms) and resistance (tops).
### How It Works (Simple Explanation)
Imagine a tug-of-war between buyers and sellers:
- When sellers are winning (price dropping), PivotX watches for when they get tired
- When buyers are winning (price rising), PivotX watches for when they get tired
- When one side gets exhausted, the other side usually takes over - that's when reversals happen!
PivotX uses multiple signals to confirm exhaustion:
- Volume patterns (when trading activity slows down after a big move)
- Price stabilization (when price stops moving in one direction)
- Absorption patterns (when high volume doesn't move price much - someone is absorbing the pressure)
- Support/Resistance levels (when price bounces off key levels)
### Visual Signals
**Green X Markers** (Below Price)
- Appears when selling has exhausted
- Buyers are stepping in
- Potential upward reversal signal
**Red X Markers** (Above Price)
- Appears when buying has exhausted
- Sellers are stepping in
- Potential downward reversal signal
**Yellow Diamonds**
- Marks major pivot points (support/resistance)
- Shows where significant price turns occurred
- Helps identify key levels for future trades
**Neon Green/Red Lines**
- Support lines (green) - where price found a bottom
- Resistance lines (red) - where price found a top
- These levels often act as future support/resistance
### Best Use Cases
✅ **Swing Trading** - Catch reversals at major pivot points
✅ **Scalping** - Enter trades when exhaustion is confirmed
✅ **Trend Following** - Identify when trends are losing steam
✅ **Support/Resistance Trading** - Use pivot lines as key levels
✅ **Reversal Trading** - Enter counter-trend trades at exhaustion points
### Settings Explained
**Detection Settings:**
- **Lookback Period** - How many bars to analyze (default: 20)
- **Volume Threshold** - Minimum volume spike to consider (default: 1.5x average)
- **Exhaustion Periods** - Bars to check for exhaustion signals (default: 3)
- **Min Price Move %** - Minimum price movement to trigger analysis (default: 2%)
**Pivot Detection:**
- **Pivot Strength** - Bars on each side for pivot confirmation (default: 3)
- Higher = fewer but stronger pivots
- Lower = more but weaker pivots
**Visual Settings:**
- Toggle exhaustion markers, pivot points, and support/resistance lines
- Customize colors to match your chart theme
### Pro Tips
1. **Wait for Confirmation** - PivotX requires multiple signals before showing exhaustion. This reduces false signals but means you might miss some early entries.
2. **Combine with Price Action** - Use PivotX signals with candlestick patterns for stronger confirmation.
3. **Watch the Pivot Lines** - The support/resistance lines often act as key levels. Price bouncing off these lines can be strong reversal signals.
4. **Volume Matters** - The indicator is more reliable when volume patterns confirm the exhaustion signals.
5. **Timeframe Flexibility** - Works on all timeframes, but signals on higher timeframes (4H, Daily) tend to be more reliable.
### What Makes PivotX Unique?
Unlike simple pivot indicators, PivotX combines:
- Volume exhaustion analysis
- Price action confirmation
- Multi-signal validation
- Clean, non-intrusive visualization
- Automatic support/resistance line drawing
This multi-layered approach helps filter out noise and focus on high-probability reversal setups.
### Important Notes
⚠️ **Not Financial Advice** - This indicator is a tool, not a guarantee. Always use proper risk management.
⚠️ **No Indicator is Perfect** - PivotX helps identify potential reversals, but markets can be unpredictable. Always use stop losses.
⚠️ **Combine with Other Analysis** - For best results, use PivotX alongside other technical analysis tools and your trading strategy.
### Support
If you find PivotX helpful, please consider leaving a like and sharing your feedback. Your support helps improve the indicator for everyone!
---
**Happy Trading! 🚀**
*Remember: The best traders don't just follow signals - they understand what the signals mean and how to use them in their overall trading strategy.*
CT ALLrounder PROthis is the pro indicator for almost any symbol ... just change the time period in which you want to trade...
UFC** UFC Multi-Trend Signal Indicator**
This indicator is designed to identify trend directions and generate trading signals. It utilizes multiple logic layers to filter market noise and presents clear visual cues for potential entry and exit points.
**Key Features:**
- **Multi-Timeframe Trend Analysis:** Visualizes market structure through composite logic.
- **Clear Trading Signals:** Generates specific chart markers for potential trade opportunities.
- **Built-in Alerts:** Supports TradingView alerts for timely notifications.
**Access:** This is a private, invitation-only script. Click the "Request Access" button and I will approve it shortly.
---
** UFC 多空趋势信号指标**
本指标专为识别趋势方向与交易信号而设计。它通过多层逻辑过滤市场噪音,并为潜在的交易点提供清晰的视觉提示。
**核心功能:**
* **多重趋势分析**:通过复合逻辑直观展示市场结构。
* **清晰的交易信号**:在图表上生成特定的标记,提示潜在的交易机会。
* **内置警报功能**:支持TradingView警报,便于及时接收通知。
**访问方式(重要):**
1. **点击“请求访问”**:在指标页面点击“请求访问”按钮,提交您的申请。
2. **自动授权**:通常情况下,我会在24小时内批准您的访问请求。
3. **授权后**:您即可在图表上添加并使用本指标。
**使用条款:**
* 本指标为“仅限邀请”的私有脚本,**无法公开搜索**。
* 授权后仅供您个人在TradingView平台内使用。
* 欢迎提供使用反馈,但请勿复制、共享代码或重新发布。
感谢您的关注!
Pink Trend Candle Title:
AA1 Light Green Breakout Candle — Momentum-Based Buy Signal
Short Title:
AA1GreenCandle
Tags:
breakout, momentum, volatility, atr, volume, trend, signal, entry, candle-pattern
Short Description:
A momentum-based breakout candle indicator with volatility and volume confirmation.
Full Description:
The AA1 Light Green Breakout Candle indicator is designed to identify strong bullish breakout moments by combining volatility expansion, price structure, and volume confirmation.
It highlights situations where price transitions from consolidation into momentum-driven upward movement.
The indicator visually marks qualifying candles with a light green color and plots a small confirmation dot below the bar to clearly signal potential buy opportunities.
How It Works
The script analyzes price behavior using volatility-adjusted levels and recent market structure to detect breakout conditions.
A signal is generated when price decisively moves above a dynamic reference level while confirming momentum strength and participation.
Additional filters ensure signal quality by validating:
Directional price expansion
Relative volume increase
Active candle behavior
When all conditions align, the breakout candle is highlighted and marked on the chart.
Key Features
Momentum-based bullish breakout detection
Volatility-adjusted reference levels
Optional volume filter to enhance signal reliability
Clean visual cues: light green candle + dot below the bar
Built-in alert for real-time notifications
Compatible with all markets and timeframes
Non-repainting logic (signals confirm after candle close)
Use Cases
Identifying early breakout entries
Capturing momentum continuation moves
Filtering buy setups in trending markets
Supporting intraday and swing trading strategies
Confluence tool with trend or structure indicators
Notes
Signals represent potential breakout opportunities, not guaranteed outcomes.
Best used alongside risk management and trend confirmation tools.
Volume filter can be disabled for markets with unreliable volume data.
Disclaimer
This script is for educational and analytical purposes only and does not constitute financial advice.
Trading involves risk; always confirm signals before executing trades.
Developer
Developed by Abdulrahman Alotaibi — Scripts






















