cd_bias_profile_Cxcd_bias_profile Cx
Overview:
cd_bias_profile_Cx is an all-in-one professional analysis terminal designed to determine market direction (Bias) based on institutional trading strategies (SMC & ICT). This tool integrates multi-timeframe (MTF) data, institutional liquidity sweeps, SMT divergences, and candle closure confirmations into a single cohesive structure, providing traders with a comprehensive map of institutional Order Flow.
🚀 Advanced Hierarchical Profile Architecture
The indicator visualizes the market through a three-layered hierarchy (Major, Middle, Plot), allowing you to see exactly which higher-tier structure the current price action is serving.
• Smart Timeframe (Auto-TF) Logic: In "Auto" mode, the system automatically selects the most logical hierarchy based on your chart interval using the following sequence:
.
o Example Scenario: If your chart is set to 5-Minute (5m):
Major (Macro Structure): H4 (The outermost container candle)
Middle (Intermediate Structure): H1 (Mid-scale candle)
Plot (Local Structure): 15m (The smallest nested high-timeframe candle)
• Nested Candle Design: Each high-timeframe candle is rendered as transparent boxes with specific body colors, encapsulating the lower-tier price action (OHLC) within it.
• Cyclical Refresh: Profile drawings reset automatically at the opening of every new Major timeframe candle. This ensures the analysis remains focused on the freshest institutional cycle.
🧠 Bias Algorithm & Decision Mechanism
To eliminate subjective interpretation, the algorithm operates on a purely mathematical logic based solely on Candle Closures (Close). It generates three distinct outcomes:
1. Reversal:
o Condition 1: A liquidity Sweep must occur at the HTF level.
o Condition 2 (SMT Confirmation): If no sweep is detected on the primary pair, the algorithm automatically scans correlated assets (e.g., checking GBPUSD or DXY for an EURUSD trade). An SMT Divergence in a correlated asset is accepted as institutional manipulation confirmation.
o Final Trigger: Once a CISD (Change in State of Delivery) occurs on the Lower Timeframe (LTF), the "Reversal" bias is confirmed.
2. Continuation: When a high-timeframe candle closes convincingly above/below the previous candle's High or Low, the algorithm reports that the current trend maintains its strength.
3. Indeterminate: In "non-delivery" zones where the market neither sweeps liquidity nor creates a structural break, the algorithm remains neutral to prevent overtrading.
🚨 Alert Center
The alert system is designed for high-confluence setups, ensuring you never miss a structural shift:
• Flexible TF Selection: You can manually toggle which of the 5 tracked timeframes (1M, 1W, 1D, etc.) should trigger notifications based on your strategy.
• "Any of Them" Function: When enabled, an instant notification is sent the moment a "Reversal" or "Continuation" signal forms on any of your selected timeframes.
• Directional Filtering: You can filter alerts to receive only "Bullish" or only "Bearish" setups, allowing you to align with your primary macro bias.
⚙️ Pro Tips for Usage
• Invalidation Lines: The dashed lines on the chart indicate the exact price level where the institutional bias is "invalidated." These serve as professional-grade stop-loss levels.
• B-ADJ Support: For Futures traders, back-adjustment settings are optimized within the code for seamless data transition.
• Manual Mode: If you wish to use custom timeframes not found in the standard sequence (e.g., 2-hour or 3-day charts), you can define them via the "Manuel" settings toggle.
• High-probability trade setups can be expected when there is multi-timeframe alignment in the same direction.
• Strategic Use Cases: The indicator is optimized for trading Distribution Phases within advanced frameworks. Whether you are looking for the C3 candle in the Universal Model or the Distribution (D) phase in an AMD (Power of 3) setup, this tool provides the necessary structural confirmation.
• User Discretion: Please note that this is a directional bias tool. While it identifies which direction is supported by multi-timeframe alignment, the final execution and entry management on lower timeframes are the user's responsibility.
• Always remember to seek additional confluence before executing a trade.
Chart Visual
Profile Visual
Example (SMT Usage) : On the chart, while the 10:00 H1 candle on GBPUSD sweeps its previous candle's liquidity, its correlated pair EURUSD does not show a sweep. If the "Use SMT for Bias" option is enabled, this SMT divergence with the correlated pair is accepted as a valid HTF Sweep. Upon the new candle open, once a 5m CISD confirmation occurs on EURUSD, the Bias Table will display "Bearish" for the H1/5m row.
Entry examples:
Please feel free to share your feedback and suggestions in the comments below.
Happy trading!
Analisis Tren
Uptrick: Price Memory TrendIntroduction
Uptrick: Price Memory Trend is a custom indicator designed to detect directional shifts and volatility changes using a non-traditional price memory approach. Unlike moving average systems, it builds a dynamic memory of price that adapts gradually over time, allowing it to detect significant deviations and trend transitions with reduced noise.
Overview
This script identifies trend changes by comparing the current price to a memory-based baseline. When price deviates significantly from this memory base, it triggers a trend regime shift—either bullish or bearish. Adaptive deviation bands are calculated using absolute deviation from the memory base, not ATR or standard deviation, which allows the indicator to capture volatility uniquely. Visual components include color-coded candles, labeled signals, optional bands, and a live status table summarizing current trend metrics.
Originality
The indicator’s core innovation lies in its use of a decaying memory function to track trend direction, replacing moving averages with a price memory that responds only to significant deviations. This method avoids lag typically associated with smoothing techniques, enabling timely trend detection. Furthermore, deviation is measured directly in price terms, rather than through volatility surrogates like ATR or Bollinger Bands, resulting in a more raw and responsive depiction of price behavior.
Inputs
Core Engine
Memory Strength: Sets how strongly the memory responds to price changes. Higher values make the memory base more reactive.
Memory Decay: Controls how much past memory is retained. Lower values weight new prices more heavily.
Deviation Length: Length of the EMA used to smooth absolute price deviation. A longer setting results in smoother bands.
Band Multiplier: Expands or contracts the dynamic bands. Higher values widen the bands, reducing sensitivity.
Customization
Color Palette: Selects one of six predefined color schemes for bull and bear visuals.
Show Bands: Enables or disables the display of deviation bands.
Look: Chooses between 'Bands', 'Trail', or 'Intense' styles, affecting how bands and fills are drawn.
Bands
Trail
Intense
Show Info Table: Toggles display of the real-time trend and volatility status panel.
Table Position: Determines which corner of the chart the info panel appears in.
Text Size: Adjusts font size used within the info table.
Features
Trend Detection
Bullish Shift: Triggered when price crosses above the upper band, entering a new bullish regime.
Bearish Shift: Triggered when price crosses below the lower band, entering a new bearish regime.
Trend state is persistent and updated only on confirmed transitions, avoiding repeated entries in the same direction.
Candle Coloring
Candles are dynamically recolored based on current trend direction: bull, bear, or neutral.
Signal Labels
Visual labels marked "Up" or "Down" are placed on the chart when a regime shift occurs, helping to mark turning points.
Deviation Bands
Dynamic upper and lower bands are drawn based on smoothed absolute deviation from the memory base.
Additional outer bands based on ATR may be drawn to highlight zone intensity when the 'Intense' or 'Trail' styles are selected.
Bands visually indicate overextension and help frame price context relative to memory.
Alerts
Built-in alert conditions trigger on bullish or bearish trend shifts, useful for automation or notifications.
Info Table
The optional info table displays:
Current trend direction
Band state (calm, hot, or cool)
Price stretch from base
Trend age in bars
Confidence level based on deviation
Memory slope and acceleration
Band width and compression state
Reversion risk based on stretch level
Info Table:
Trade Example:
Logic
Price Memory
A recursive formula updates a memory variable based on the current price.
The memory adjusts only when the price deviates meaningfully from its previous value.
The formula uses a combination of delta-weighting and exponential decay:
> memory := previous_memory + delta × memory_strength
> memory := memory × memory_decay + price × (1 - memory_decay)
This produces a smooth, adaptive base that responds gradually to directional price moves.
Deviation and Bands
Absolute deviation between price and the memory base is calculated and smoothed using an EMA.
The upper and lower bands are then calculated as:
> Upper Band = memory base + (smoothed deviation × band multiplier)
> Lower Band = memory base - (smoothed deviation × band multiplier)
ATR-based extensions can optionally be drawn around these bands for added visual structure.
Trend Logic
Bullish and bearish states are tracked using crossovers and crossunders of price against the upper and lower bands.
The indicator maintains a persistent trend state variable that updates only when a confirmed regime change occurs.
This prevents multiple signals within the same trend direction (non-pyramiding behavior).
Stretch and Band Analysis
Stretch is measured as the deviation of price from memory, normalized by smoothed deviation.
Band width is tracked over time and used to detect compression or expansion.
Band position is calculated to identify where price sits between the upper and lower bands.
Info Table Metrics
Memory Slope and Acceleration: Show first and second derivative of the memory base to capture trend speed and change.
Confidence Level: Based on stretch intensity, indicating trend strength.
Reversion Risk: Inferred from how extended price is beyond the band.
Compression: Evaluated by comparing current band width to its recent average.
Summary
Uptrick: Price Memory Trend provides an alternative framework for trend identification by replacing traditional smoothing with adaptive memory logic. It measures price deviation without reliance on ATR or standard deviation, instead focusing on distance from a reactive baseline. With regime-based trend tracking, customizable visuals, and a detailed status table, it supports both discretionary and system-driven trading styles.
Disclaimer
This script is for informational and educational purposes only. It does not provide financial advice or guarantees. Trading involves risk, and past performance is not indicative of future results. Always perform your own research before making trading decisions.
Dimensional Support ResistanceDimensional Support Resistance
Overview
Dimensional Support Resistance is an open-source overlay indicator that automatically detects and displays clean, non-overlapping support and resistance levels using pivot-based analysis with intelligent filtering. It identifies significant swing highs and lows, filters them by minimum distance to prevent visual clutter, and provides volume-confirmed bounce signals.
What This Indicator Does
The indicator calculates and displays:
Dynamic Pivot Levels - Automatically detected swing highs and lows based on configurable pivot strength
Distance Filtering - Ensures levels are spaced apart by a minimum percentage to prevent overlap
S/R Zones - Visual zones around each level showing the price area of significance
Bounce Detection - Identifies when price reverses at support or resistance levels
Volume Confirmation - Strong signals require above-average volume for confirmation
How It Works
Pivot detection scans for swing highs and lows using a configurable strength parameter. A pivot low requires the low to be lower than all surrounding bars within the strength period.
Signal Generation
The indicator generates bounce signals using TradingView's built-in pivot detection combined with candle reversal confirmation:
Support Bounce: Pivot low forms with bullish close (close > open)
Resistance Bounce: Pivot high forms with bearish close (close < open)
Strong Bounce: Bounce occurs with volume 1.5x above 20-period average
A cooldown period of 15 bars prevents signal spam.
Dashboard Panel
A compact dashboard displays:
Support - Count of active support levels
Resistance - Count of active resistance levels
Dashboard position is configurable (Top Left, Top Right, Bottom Left, Bottom Right).
Visual Elements
Support Lines - Green horizontal lines at support levels
Resistance Lines - Red horizontal lines at resistance levels
S/R Zones - Semi-transparent boxes around levels showing zone width
Price Labels - S: and R: labels showing exact price of nearest levels
BOUNCE Markers - Triangle shapes with text when price bounces at a level
STRONG Markers - Label shapes when bounce occurs with high volume
Input Parameters
Lookback Period (default: 100) - Historical bars to scan for pivots
Pivot Strength (default: 8) - Bars on each side required for valid pivot (higher = fewer but stronger levels)
Max Levels Each Side (default: 2) - Maximum support and resistance levels displayed
Zone Width % (default: 0.15) - Width of zones around each level as percentage of price
Min Distance Between Levels % (default: 1.0) - Minimum spacing between levels to prevent overlap
Show S/R Zones (default: true) - Toggle zone visualization
Show Bounce Signals (default: true) - Toggle signal markers
Support Color (default: #00ff88) - Color for support elements
Resistance Color (default: #ff3366) - Color for resistance elements
Suggested Use Cases
Identify key support and resistance levels for entry and exit planning
Use bounce signals as potential reversal confirmation
Combine with other indicators for confluence-based trading decisions
Monitor strong signals for high-probability setups with volume confirmation
Timeframe Recommendations
Works on all timeframes. Higher timeframes (4H, Daily) provide more significant levels with fewer signals. Lower timeframes show more granular structure but may produce more noise.
Limitations
Pivot detection requires lookback bars, so very recent pivots may not be immediately visible
Bounce signals are based on pivot formation and may lag by the pivot strength period
Levels are recalculated on each bar, so they may shift as new pivots form
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always use proper risk management and conduct your own analysis before trading.
- Made with passion by officialjackofalltrades
EMA and Dow Theory Strategies V2 DOGE Current Optimum Value
📘 Overview
These are the current optimal values for DOGE.
They are intended for use on the 2‑hour timeframe.
This script requires complex configuration, but there is an optimal set of values somewhere.
Here, I’m sharing the settings that I personally use at the moment.
Turning Take Profit off can lead to higher profits, but it also increases risks such as a lower win rate.
With Take Profit on, you can adjust the settings by increasing the values.
I have been trading using Dow Theory for many years.
Trading with Dow Theory and EMA has been my main strategy.
Although it has been profitable, I have long struggled with its low win rate.
The issue lies in the immaturity of the exit strategy, and I’m currently experimenting to see if I can solve that.
In V2, I added three take‑profit lines, securing 30% of the profit at each level to ensure a minimum level of gain.
Additionally, when the trend weakens, half of the position is closed.
In all scenarios, the remaining position is held until the trend reverses.
The system provides precise entries, adaptive exits, and highly visual guidance that helps traders understand trend structure at a glance.
🧠 Key Features
🔹 1. Dual‑EMA Trend Logic (Symbol + External Index)
Both the chart symbol and an external index (OTHERS.D) are evaluated using fast/slow EMAs to determine correlation‑based trend bias.
🔹 2. Dow Theory Swing Detection (Real‑time)
The script identifies swing highs/lows and updates trend direction when price breaks them. This creates a structural trend model that reacts faster than EMAs alone.
🔹 3. Gradient Trend Zones (Visual Trend Strength)
When trend is up or down, the area between price and the latest swing level is filled with a multi‑step gradient. This makes trend strength and distance-to-structure visually intuitive.
🔹 4. Higher‑Timeframe Swing Trend (htfTrend)
Swing highs/lows from a higher timeframe (e.g., 4H) are plotted to show macro structure. Used only for visual context, not for filtering entries.
🔹 5. RSI‑Based Entry Protection
RSI prevents entries during extreme overbought/oversold conditions.
🔹 6. Dynamic Exit System
Includes:
Custom stop‑loss (%)
Partial take‑profit (TP1/TP2/TP3)
Automatic scale‑out when trend color weakens
“Color‑change lockout” to prevent immediate re‑entry
Real‑time PnL tracking and labels
🔹 7. Alerts for All Key Events
Entry, stop‑loss, partial exits, and trend‑change exits all generate structured JSON alerts.
🔹 8. Visual PnL Labels & Equity Tracking
PnL for the latest trade is displayed directly on the chart, including scale‑out adjustments.
⚙️ Input Parameters
Parameter Description
Fast EMA / Slow EMA EMAs used for symbol trend detection
Index Fast / Slow EMA EMAs applied to external index
StopLoss (%) Custom stop‑loss threshold
Scale‑Out % Portion to exit when trend color weakens
RSI Period / Levels Overbought/oversold filters
Swing Detection Length Bars used to detect swing highs/lows
Stats Display Position of statistics table
🧭 About htfTrend (Higher Timeframe Trend)
The higher‑timeframe swing trend is displayed visually but not used for entry logic.
Why? Strict HTF filtering reduces trade frequency and often removes profitable setups. By keeping it visual‑only, traders retain flexibility while still benefiting from macro structure awareness.
Use it as a contextual guide, not a constraint.
📘 概要
DOGEの現在の最適値です。
2時間足での使用を想定しています。
このスクリプトは複雑な設定が必要ですが、どこかに最適値が存在します。
今回は現在私が個人的に使っている設定値の公開です。
Take ProfitをOFFにするとさらなる利益が望めますが、勝率が下がるなどのリスクが上がります。
ONにした状態で数値を上げることによって調整することが可能です。
私はダウ理論を使ったトレードを長年続けてきました。
ダウ理論とEMAを使ったトレードが私の主力です。
しかし利益は出るものの、長年その勝率の低さに悩んでいました。
問題は出口戦略が未熟なためで、現在はそれらの解決ができないかと試行錯誤を続けています。
V2では3本の利益確定ラインを引き、それぞれ30%ずつ利益を確定し、最低限の利益がでるようにしました。
それ以外にはトレンドが弱まったタイミングで半分の利益確定をし、どのパターンでも残ったポジションはトレンド転換まで持ち続けます。
🧠 主な機能
🔹 1. 銘柄+外部インデックスの EMA クロス判定
対象銘柄と OTHERS.D の EMA を比較し、相関を考慮したトレンド方向を判定します。
🔹 2. ダウ理論に基づくスイング高値・安値の自動検出
スイング更新によりトレンド方向を切り替える、構造ベースのトレンド判定を採用。
🔹 3. グラデーション背景によるトレンド強度の可視化
スイングラインから現在価格までを段階的に塗り分け、 「どれだけトレンドが伸びているか」を直感的に把握できます。
🔹 4. 上位足スイングトレンド(htfTrend)の表示
4H などの上位足でのスイング高値・安値を表示し、 大局的なトレンド構造を視覚的に把握できます(ロジックには未使用)。
🔹 5. RSI による過熱・売られすぎフィルター
極端な RSI 状態でのエントリーを防止。
🔹 6. 動的イグジットシステム
カスタム損切り(%)
TP1/TP2/TP3 の段階的利確
トレンド色の弱まりによる自動スケールアウト
色変化後の再エントリー制限(waitForColorChange)
リアルタイム PnL の追跡とラベル表示
🔹 7. アラート完備(JSON 形式)
エントリー、損切り、部分利確、トレンド反転などすべてに対応。
🔹 8. 損益ラベル・統計表示
直近トレードの損益をチャート上に表示し、視覚的に把握できます。
⚙️ 設定項目
設定項目名 説明
Fast / Slow EMA 銘柄の EMA 設定
Index Fast / Slow EMA 外部インデックスの EMA 設定
損切り(%) カスタム損切りライン
部分利確割合 トレンド弱化時のスケールアウト割合
RSI 期間・水準 過熱/売られすぎフィルター
スイング検出期間 スイング高値・安値の検出に使用
統計表示位置 テーブルの表示位置
🧭 上位足トレンド(htfTrend)について
上位足スイングの更新に基づくトレンド判定を表示しますが、 エントリー条件には使用していません。
理由: 上位足を厳密にロジックへ組み込むと、トレード機会が大幅に減るためです。
本ストラテジーでは、 「大局の把握は視覚で、エントリーは柔軟に」 という設計思想を採用しています。
→ 裁量で利確判断や逆張り回避に活用できます。
Photon Price Action Scanner [JOAT]
Photon Price Action Scanner - Light Speed Edition
Overview
Photon Price Action Scanner is an open-source overlay indicator that detects and displays over 15 candlestick patterns with strength filtering, trend confirmation, and velocity analysis. It combines classic pattern recognition (engulfing, hammer, doji, morning/evening star) with advanced patterns (three soldiers/crows, tweezer tops/bottoms, island reversals) and gap analysis to provide comprehensive price action insights.
What This Indicator Does
The indicator detects and displays:
Classic Patterns - Bullish/Bearish Engulfing, Hammer, Shooting Star, Doji, Morning Star, Evening Star, Piercing Line, Dark Cloud Cover, Bullish/Bearish Harami
Advanced Patterns - Three White Soldiers, Three Black Crows, Tweezer Top/Bottom, Island Reversals
Gap Analysis - Detects gap up and gap down conditions
Velocity Confirmation - Filters signals by price velocity (rate of change)
Neural Bias Filter - Adaptive EMA-based trend filter with momentum adjustment
Pattern Strength - Volume and body size weighted strength calculation
How It Works
Each pattern has specific detection logic. For example, Bullish Engulfing:
isBullishEngulfing() =>
bool pattern = close < open and close > open and
open <= close and close >= open and
close - open > open - close
pattern
Three White Soldiers detection:
isThreeWhiteSoldiers() =>
bool pattern = close > open and close > open and close > open and
close < close and close < close and
open > open and open < close and
open > open and open < close
pattern
Pattern strength is calculated using volume and body size:
calculatePatternStrength(bool pattern, series float volume, simple int period) =>
float strength = 0.0
if pattern
float avgVol = ta.sma(volume, period)
float volRatio = avgVol > 0 ? volume / avgVol : 1.0
float bodySize = math.abs(close - open) / close
strength := (volRatio + bodySize * 100) / 2
strength
Neural bias filter uses adaptive EMA with momentum adjustment:
neuralEMA(series float src, simple int period, simple float lr) =>
var float neuralValue = na
var float momentum = 0.0
float error = src - neuralValue
float adjustment = error * lr
momentum := momentum * 0.9 + adjustment * 0.1
neuralValue := neuralValue + adjustment + momentum
neuralValue
Signal Generation
Signals are filtered by multiple criteria:
Strong Pattern: Pattern detected + strength exceeds threshold + trend alignment + neural bias confirmation + velocity confirmation (if enabled)
Ultra Pattern: Strong pattern + gap in same direction + velocity confirmation
Dashboard Panel (Bottom-Right)
Current Pattern - Name of detected pattern or NONE
Bull Strength - Bullish pattern strength score
Bear Strength - Bearish pattern strength score
Trend - Current trend direction (UPTREND/DOWNTREND/SIDEWAYS)
Signal Quality - STRONG BULL/STRONG BEAR/BULL/BEAR/NONE
Velocity - FAST BULL/FAST BEAR/NORMAL
Gap Status - GAP UP/GAP DOWN/NO GAP
Light Beam - Scanning intensity percentage
Action - Recommended action (ULTRA BUY/BUY/WATCH BUY/WAIT etc.)
Visual Elements
Pattern Labels - Abbreviated labels at pattern locations (BE, H, MS, SS, ES, etc.)
Neural Bias Line - Adaptive trend line
Gap Boxes - Cyan boxes highlighting gap zones
Action Zones - Dashed boxes around strong pattern areas
Light Beam - Oscillating area plot for visual scanning effect
Velocity Markers - Small circles indicating velocity confirmation
Ultra Signals - Large labels for highest conviction signals
Input Parameters
Scan Sensitivity (default: 1.0) - Overall detection sensitivity
Pattern Strength Filter (default: 3) - Minimum strength for strong signals
Trend Period (default: 20) - Period for trend determination
Show All Patterns (default: false) - Show all patterns regardless of strength
Advanced Patterns (default: true) - Enable soldiers/crows/tweezer detection
Gap Analysis (default: true) - Enable gap detection
Velocity Confirmation (default: true) - Require velocity confirmation
Neural Bias Filter (default: true) - Enable adaptive trend filter
Neural Period (default: 50) - Period for neural bias calculation
Neural Learning Rate (default: 0.12) - Adaptation speed for neural filter
Suggested Use Cases
Identify reversal patterns at key support/resistance levels
Use pattern strength to filter high-quality setups
Combine with trend direction for higher probability trades
Watch for ultra signals as highest conviction opportunities
Use gap analysis for momentum continuation or reversal setups
Timeframe Recommendations
Effective on 1H to Daily charts. Lower timeframes produce more patterns but with potentially lower reliability.
Limitations
Pattern detection is mechanical and does not consider broader context
Strength calculation is based on volume and body size, not pattern quality
Neural bias filter may lag during rapid trend changes
Gap detection requires clean price data
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes. It does not constitute financial advice. Pattern detection does not guarantee trade outcomes. Always use proper risk management.
- Made with passion by officialjackofalltrades
Fractal Market Geometry [JOAT]
Fractal Market Geometry
Overview
Fractal Market Geometry is an open-source overlay indicator that combines fractal analysis with harmonic pattern detection, Fibonacci retracements and extensions, Elliott Wave concepts, and Wyckoff phase identification. It provides traders with a geometric framework for understanding market structure and identifying potential reversal patterns with multi-factor signal confirmation.
What This Indicator Does
The indicator calculates and displays:
Fractal Detection - Identifies fractal highs and lows using Williams-style pivot analysis with configurable period
Fractal Dimension - Calculates market complexity using range-based dimension estimation
Harmonic Patterns - Detects Gartley, Butterfly, Bat, Crab, Shark, Cypher, and ABCD patterns using Fibonacci ratios
Fibonacci Retracements - Key levels at 38.2%, 50%, and 61.8%
Fibonacci Extensions - Projection level at 161.8%
Elliott Wave Count - Simplified wave counting based on pivot detection (1-5)
Wyckoff Phase - Volume-based phase identification (Accumulation, Markup, Distribution, Neutral)
Golden Spiral Levels - ATR-based support and resistance levels using phi (1.618) ratio
Trend Detection - EMA crossover trend identification (20/50 EMA)
How It Works
Fractal detection uses a configurable period to identify swing points:
detectFractalHigh(simple int period) =>
bool result = true
float centerVal = high
for i = 0 to period - 1
if high >= centerVal or high >= centerVal
result := false
break
Harmonic pattern detection uses Fibonacci ratio analysis between swing points. Each pattern has specific ratio requirements:
Gartley: AB 0.382-0.618, BC 0.382-0.886, CD 1.27-1.618
Butterfly: AB 0.382-0.5, BC 0.382-0.886, CD 1.618-2.24
Bat: AB 0.5-0.618, BC 1.13-1.618, CD 1.618-2.24
Crab: AB 0.382-0.618, BC 0.382-0.886, CD 2.24-3.618
Shark: AB 0.382-0.618, BC 1.13-1.618, CD 1.618-2.24
Cypher: AB 0.382-0.618, BC 1.13-1.414, CD 0.786-0.886
Wyckoff phase detection analyzes volume relative to price movement:
wyckoffPhase(simple int period) =>
float avgVol = ta.sma(volume, period)
float priceChg = ta.change(close, period)
string phase = "NEUTRAL"
if volume > avgVol * 1.5 and math.abs(priceChg) < close * 0.02
phase := "ACCUMULATION"
else if volume > avgVol * 1.5 and math.abs(priceChg) > close * 0.05
phase := "MARKUP"
else if volume < avgVol * 0.7
phase := "DISTRIBUTION"
phase
Signal Generation
Signals use multi-factor confirmation for accuracy:
BUY Signal: Fractal low + Uptrend (EMA20 > EMA50) + RSI 30-55 + Bullish candle + Volume confirmation
SELL Signal: Fractal high + Downtrend (EMA20 < EMA50) + RSI 45-70 + Bearish candle + Volume confirmation
Pattern Detection: Label appears when harmonic pattern completes at current bar
Dashboard Panel (Top-Right)
Dimension - Fractal dimension value (market complexity measure)
Last High - Most recent fractal high price
Last Low - Most recent fractal low price
Pattern - Current harmonic pattern name or NONE
Elliott Wave - Current wave count (Wave 1-5) or OFF
Wyckoff - Current market phase or OFF
Trend - BULLISH, BEARISH, or NEUTRAL based on EMA crossover
Signal - BUY, SELL, or WAIT status
Visual Elements
Fractal Markers - Small triangles at fractal highs (down arrow) and lows (up arrow)
Geometry Lines - Dashed lines connecting the most recent fractal high and low
Fibonacci Levels - Clean horizontal lines at 38.2%, 50%, and 61.8% retracement levels
Fibonacci Extension - Horizontal line at 161.8% extension level
Golden Spiral Levels - Support and resistance lines based on ATR x 1.618
3D Fractal Field - Optional depth layers around swing levels (OFF by default)
Harmonic Pattern Markers - Small diamond shapes when Crab, Shark, or Cypher patterns detected
Pattern Labels - Text label showing pattern name when detected
Signal Labels - BUY/SELL labels on confirmed multi-factor signals
Input Parameters
Fractal Period (default: 5) - Bars on each side for fractal detection
Geometry Depth (default: 3) - Complexity of geometric calculations
Pattern Sensitivity (default: 0.8) - Tolerance for pattern ratio matching
Show Fibonacci Levels (default: true) - Display retracement levels
Show Fibonacci Extensions (default: true) - Display extension level
Elliott Wave Detection (default: true) - Enable wave counting
Wyckoff Analysis (default: true) - Enable phase detection
Golden Spiral Levels (default: true) - Display spiral support/resistance
Show Fractal Points (default: true) - Display fractal markers
Show Geometry Lines (default: true) - Display connecting lines
Show Pattern Labels (default: true) - Display pattern name labels
Show 3D Fractal Field (default: false) - Display depth layers
Show Harmonic Patterns (default: true) - Display pattern markers
Show Buy/Sell Signals (default: true) - Display signal labels
Suggested Use Cases
Identify potential reversal zones using harmonic pattern completion
Use Fibonacci levels for entry, stop-loss, and target planning
Monitor Wyckoff phases for accumulation/distribution awareness
Track Elliott Wave counts for trend structure analysis
Use fractal dimension to gauge market complexity
Wait for multi-factor signal confirmation before entering trades
Timeframe Recommendations
Best on 1H to Daily charts. Lower timeframes produce more fractals but with less significance. Higher timeframes provide stronger levels and more reliable signals.
Limitations
Harmonic pattern detection uses simplified ratio ranges and may not match all textbook definitions
Elliott Wave counting is basic and does not include all wave rules
Wyckoff phase detection is volume-based approximation
Fractal dimension calculation is simplified
Signals require fractal confirmation which has inherent lag equal to the fractal period
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always use proper risk management.
- Made with passion by officialjackofalltrades
Gridbot Ping Pong🏓 Gridbot Ping Pong is a dynamic grid bot indicator that generates buy and sell signals as price oscillates between automatically calculated support and resistance levels. The grid adapts to trending markets through adjustable tilt and anchor parameters, which control the grid slope and shift resistance respectively. Entry signals trigger when price touches grid levels, while take profit and stop signals manage position exits. Unlike traditional grid bots that require horizontal ranges, this indicator maintains its oscillation zone as price trends by tilting and shifting the grid structure to follow momentum. The grid bot approach aims to accumulate gains through frequent touches across multiple grid levels rather than seeking large directional moves. Like a ping pong ball in motion, price oscillates between grid levels — each touch generates a signal.
⚡ THEORY & CONCEPTS ⚡
Grid trading is a systematic approach that places buy and sell orders at predetermined price intervals, creating a grid of orders above and below a set price level. In ranging markets, this method capitalizes on natural price oscillations by buying at lower grid levels and selling at higher ones. Each completed round trip between levels represents a captured opportunity, and the frequency of these oscillations determines the grid's effectiveness. Traditional grid bots excel when price remains within the defined range, methodically accumulating gains as price bounces between levels.
However, traditional grid structures face significant challenges when markets begin to trend. Fixed horizontal levels that performed well during consolidation become liabilities during directional moves. An uptrend leaves buy orders unfilled while sell orders trigger prematurely, and a downtrend creates the opposite problem. Extended trends can result in accumulated positions at increasingly unfavorable prices, with no mechanism to adapt to the new market reality. The static nature of traditional grids assumes markets will return to the mean, yet sustained breakouts regularly invalidate this assumption.
Gridbot Ping Pong addresses these limitations through dynamic grid adaptation. The tilt parameter angles the grid in the direction of the prevailing trend, aligning support and resistance levels with market momentum rather than fighting against it. The anchor parameter creates buffer zones beyond the outer grid boundaries, requiring price to demonstrate conviction before triggering a grid shift. When price breaks through these buffers, the entire grid recenters to the new price level. This combination of tilting grids and controlled shifting allows the indicator to maintain grid trading mechanics while acknowledging that markets trend.
The grid adapts through a downtrend and early reversal. Entry signals (▲▼), take profit signals (△▽), and grid shifts demonstrate the ping pong sequence as price oscillates between levels.
The grid structure consists of five levels: two potential support levels below, a center base price, and two potential resistance levels above. These levels are calculated as percentage intervals from a dynamic base price, with the spacing parameter determining the distance between each level. Trend direction is derived from consecutive grid shifts, where multiple shifts in the same direction confirm momentum. The grid restricts entries to the trend direction — buy signals in uptrends, sell signals in downtrends — while counter-trend signals convert to exits when appropriate.
Full market cycle demonstrating grid adaptation through rally, reversal, decline, and recovery. Buy signals dominate during uptrends, sell signals during downtrends, with take profits at boundaries throughout. Two stop signals mark the trend reversals.
Tilt
The tilt mechanic introduces slope to the grid structure based on trend direction and momentum. When consecutive shifts occur in the same direction, the tilt increases, creating a steeper grid that tracks with the trend. As the trend progresses, support levels rise with it — buy signals trigger on pullbacks to these rising levels rather than static levels abandoned by price. Similarly, resistance levels fall during downtrends, keeping sell signals relevant to current price action. If the trend reverses and shifts occur in the opposite direction, the tilt resets and begins building in the new direction. The tilt strength parameter controls how aggressively the grid slopes, with higher values producing steeper angles. Negative tilt values invert this relationship, angling the grid against the prevailing momentum rather than with it. This counter-trend configuration positions support levels lower during uptrends and resistance levels higher during downtrends, favoring mean reversion entries that anticipate pullbacks rather than continuation.
Negative tilt applied during an uptrend. Despite the bullish price action from late November through December, the grids slope downward, positioning buy signals at deeper support levels. Take profit signals appear at resistance as price reaches the upper grid boundaries before pulling back. The counter-trend configuration captures oscillations within the rising market rather than chasing momentum.
Anchor
The anchor mechanic provides resistance to grid shifting. Buffer zones extend beyond the outer grid boundaries, requiring price to demonstrate conviction before triggering a shift. Higher anchor values create larger buffers, requiring more significant price movement. As consecutive shifts confirm a trend, the pro-trend buffer shrinks, allowing the grid to follow momentum with increasing ease. This lets the indicator commit to established trends while resisting premature shifts during consolidations. Tilt and anchor work in complementary tension: tilt rewards momentum by angling the grid, while anchor resists excessive shifting by requiring price conviction to recenter. When price breaks through these buffers, the entire grid recenters to the new price level and play continues on a fresh table.
Steady uptrend with minimal tilt. The flat grid segments demonstrate that shifting alone keeps the grid aligned with price action. Buy signals (▲) and take profit signals (▽) alternate as price bounces between levels, accumulating gains through repetition across the entire move.
Sustained uptrend from June through September. The grid follows the trend with increasing ease as consecutive shifts reduce the pro-trend buffer. The October consolidation eventually triggers a downward shift and stop signal, but the system adapts to the renewed uptrend in November with fresh entry signals.
Signal Generation
The indicator generates three signal types. Entry signals (▲▼) trigger when price reaches a grid level in the direction of the trend, initiating a new position. Take profit signals (△▽) trigger when price reaches a grid level against the trend direction while a position is held, capturing gains as the rally continues. Stop signals (⦿) trigger when a grid shift occurs while holding a position adverse to the new shift direction. The ball goes off the table.
Trend reversal from bearish to bullish. The grid follows the downtrend through November with consecutive sell signals. A stop signal (⦿) triggers at the bottom as the grid shifts adversely against the held position. The system resets and adapts to the emerging uptrend in December, generating fresh buy signals as the new direction establishes.
Trigger Options
The signal trigger determines what price data the indicator uses to detect grid touches, balancing responsiveness against confirmation.
Auto : The default setting, using wick-based detection for pro-trend signals and close-based detection for counter-trend signals. This balances responsiveness when entering with the trend against confirmation when signaling against it.
Wick Touch : Generates signals in real-time when the high or low touches a grid level, providing the fastest response to price interaction.
Wick Reverse : Requires the wick to cross through the grid level from the previous bar, confirming the touch before signaling.
SWMA : Uses a Symmetrically Weighted Moving Average as the trigger source, generating signals only when the smoothed price crosses grid levels.
Close : Uses the bar's closing price as the trigger source, providing confirmed signals after each bar completes.
Symmetrically Weighted Moving Average (SWMA) trigger during a trend reversal. The smoothed price line filters intrabar noise, generating signals only when the SWMA crosses grid levels rather than reacting to wick touches. The grid follows the downtrend through November, resets at the bottom, and adapts to the emerging uptrend in December.
Signal Safeguards
The indicator includes built-in protections to reduce overtrading and mitigate risk, keeping the ball in play longer:
Boundary Protection : New entries are blocked at the outermost grid levels where breakout risk is highest. Exits remain permitted at these boundaries.
Signal Spacing : Signals maintain one-level separation from the most recent signal, preventing clusters of entries at similar prices.
Trend Alignment : When conflicting conditions arise, signals align with the prevailing trend direction rather than fighting momentum.
Automatic Profit Taking : Counter-trend interactions convert to take profit signals when a position is held, capturing gains rather than reversing exposure.
Adverse Shift Stops : When the grid shifts against a held position, a stop signal triggers to exit before further adverse movement.
Cautious Breakout Entries : On the first shift in a new direction, entries are restricted to favorable grid levels until the trend confirms through consecutive shifts.
Shift Resistance : Counter-trend shifts always require full buffer conviction, while pro-trend shifts become easier only after the trend is confirmed.
🛠️ CONFIGURATION & SETTINGS 🛠️
Core Parameters
SPACING (%) : Sets the percentage distance between grid levels. Higher values create wider grids with more room between signals, lower values create tighter grids with more frequent signal opportunities.
TRIGGER : Selects the price source for signal detection. See Trigger Options above.
TILT : Controls the grid slope factor in the trend direction.
ANCHOR : Controls resistance to grid shifting.
Visual Settings
GRIDS : Sets the colors for support (lower) and resistance (upper) grid levels.
FILL : Sets the gradient fill colors between the price line and outer grid boundaries.
SWMA : Sets the color of the Symmetrically Weighted Moving Average line.
🏓 PLAYING GRIDBOT PING PONG 🏓
⚪The objective is not to predict where price will go, but to be present at each level when it arrives.
⚪Each touch at a boundary counts. Gains accumulate through repetition, not single swings.
⚪The rally continues until it doesn't. When the ball goes off the table, the game resets.
⚪The grid creates boundaries where price bounces back and forth. The table is set — the ball does the work.
⚪Price oscillates between defined levels. The grid is the table. Everything else is just ping pong.
Tennis is a form of ping pong. In fact, tennis is ping pong played while standing on the table. In fact, all racquet games are nothing but derivatives of ping pong. — George Carlin
⚠️ DISCLAIMER ⚠️
The Gridbot Ping Pong indicator is a visual analysis tool designed to illustrate grid trading concepts and serve as a framework for understanding grid bot mechanics. While the indicator generates entry, exit, and stop signals, no guarantee is made regarding the profitability of these signals. Like all technical indicators, the grid levels and signals generated by this tool may appear to align with favorable trading opportunities in hindsight. However, these signals are not intended as standalone recommendations for trading decisions. This indicator is intended for educational and analytical purposes, complementing other tools and methods of market analysis.
🧠 BEYOND THE CODE 🧠
Gridbot Ping Pong is part of the Grid Bot Series, building on the concepts introduced in the Grid Bot Simulator , Grid Bot Auto , and Grid Bot Parabolic indicators. While those tools established the foundation for grid-based analysis, this indicator introduces dynamic tilt and anchor mechanics that adapt to trending market conditions.
This indicator shares the same educational philosophy as the Fibonacci Time-Price Zones and the Fibonacci Geometry Series - providing frameworks for understanding market concepts through visualization and experimentation rather than black-box signals.
The Gridbot Ping Pong indicator, like other xxattaxx indicators , is designed to encourage both education and community engagement. Feedback and insights are invaluable to refining and enhancing this tool. We look forward to the creative applications, observations, and discussions this indicator inspires within the trading community.
MoBo Bands - Momentum Breakout IndicatorDESCRIPTION
MoBo Bands (Momentum Breakout Bands) is a volatility-based breakout detection indicator that helps traders identify potential momentum shifts in the market. The indicator uses dynamic bands calculated from standard deviation to signal when price breaks above or below established ranges, indicating potential bullish or bearish momentum changes.
═════════════════════════════════════════════════════════════
KEY FEATURES
═════════════════════════════════════════════════════════════
- Dynamic upper and lower bands based on standard deviation
- Color-coded bands that change based on breakout direction (green for bullish, red for bearish)
- Visual breakout arrows marking entry points above/below bands
- Optional colored fill zones between bands showing current momentum state
- Customizable displacement for band projection
- Built-in alert system for breakout and breakdown signals
═════════════════════════════════════════════════════════════
HOW IT WORKS
═════════════════════════════════════════════════════════════
The indicator calculates a middle line using a Simple Moving Average (SMA) with upper and lower bands positioned using standard deviation multipliers. When price closes above the upper band, a bullish breakout (green) is signaled. When price closes below the lower band, a bearish breakdown (red) is signaled. The bands and fill zones remain colored until the opposite signal occurs, providing clear visual confirmation of the current momentum state.
═════════════════════════════════════════════════════════════
CUSTOMIZABLE INPUTS
═════════════════════════════════════════════════════════════
CALCULATION PARAMETERS:
- Price Source - Select which price data to use (default: close)
- Length - Period for SMA and standard deviation calculation (default: 10)
- Num Dev Up - Standard deviation multiplier for upper band (default: 0.8)
- Num Dev Down - Standard deviation multiplier for lower band (default: -0.8)
- Displace - Shift bands forward for projection analysis (default: 0)
DISPLAY OPTIONS:
- Colored Mobo - Enable/disable color-coded bands
- Colored Fill - Enable/disable fill zones between bands
- Break Arrows - Show/hide breakout and breakdown arrows
ALERT OPTIONS:
- Show Alerts - Enable/disable alert conditions
═════════════════════════════════════════════════════════════
USAGE GUIDE
═════════════════════════════════════════════════════════════
Watch for price to close outside the bands as potential breakout signals:
BULLISH BREAKOUT: Green arrow appears below the lower band when price closes above the upper band, indicating upward momentum shift.
BEARISH BREAKDOWN: Red arrow appears above the upper band when price closes below the lower band, indicating downward momentum shift.
The bands also serve as dynamic support and resistance levels. When bands are green, momentum is bullish. When bands are red, momentum is bearish.
═════════════════════════════════════════════════════════════
BEST PRACTICES
═════════════════════════════════════════════════════════════
- This indicator works well on liquid futures contracts (MNQ, MES, MYM, MGC, MCL) and major
currency pairs across multiple timeframes
- Lower deviation values (0.5-1.0) produce more frequent signals suitable for scalping
- Higher deviation values (1.5-2.5) filter for stronger breakouts ideal for swing trading
- Combine with volume indicators for additional confirmation
- Use with momentum oscillators to validate breakout strength
- Best results in trending market conditions
- Consider the overall market context and trend direction
════════════════════════════════════════════════════════════
ALERT CONFIGURATION
═════════════════════════════════════════════════════════════
Configure custom alerts for automated notifications:
- "MoBo BreakOUT" - Triggers on bullish breakout signals
- "MoBo BreakDOWN" - Triggers on bearish breakdown signals
Set alerts to "Once Per Bar Close" for confirmed signals and avoid false triggers during bar development.
═════════════════════════════════════════════════════════════
IDEAL FOR
═════════════════════════════════════════════════════════════
- Day traders and scalpers on futures markets
- Swing traders looking for momentum shifts
- Breakout trading strategies
- Trend following systems
- Works on stocks, forex, crypto, and commodities
- Effective across multiple timeframes (1min to daily)
═════════════════════════════════════════════════════════════
Perfect for traders seeking clear visual breakout signals with minimal lag. The color-coded system and arrow markers make it easy to identify momentum changes at a glance.
© 2024 NPR21 | Mozilla Public License 2.0
Open-source script
NPR21
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by
SMAcross-mvrOverview
SMAcross-mvrNew is a flexible, non-repainting moving-average strategy designed for clarity, configurability, and reliable backtesting.
It supports multiple entry styles, optional layered exits, and full-capital position sizing, while remaining stable during chart zooming and dragging.
🚀 What’s New in v2
✅ Multiple Entry Modes
You can now choose how trades are entered:
Entry Mode A: Short SMA crosses Long SMA
Entry Mode B: Price crosses Long SMA
This allows both classic MA-crossover trading and trend-continuation pullback entries using the same strategy.
✅ Modular Exit System (Checkbox-Based)
Exit logic is now fully modular using independent checkboxes:
☑ Exit on opposite signal
☑ Exit when price closes beyond Short SMA
You may enable one, both, or neither.
If both are enabled, the strategy exits on whichever condition occurs first.
✅ Terminology Clarity
All labels, inputs, and alerts now use semantic naming:
Short SMA (formerly 13 SMA)
Long SMA (formerly 30 SMA)
This makes the strategy easier to understand and future-proof if SMA lengths are changed.
✅ Full-Capital Position Sizing
Each trade uses 100% of available equity, allowing performance to naturally compound over time during backtests.
✅ Optional Visual Enhancements
Optional cross price labels (can be toggled on/off)
Color-filled zone between Short and Long SMAs for quick trend recognition
Optional 200 SMA (off by default) for higher-timeframe context
✅ Alert-Ready (TV-Safe)
All alerts use static messages compatible with TradingView’s alert system, making the strategy suitable for:
Manual trade notifications
Webhook-based automation
Broker integrations
🔒 Design Principles
No repainting
No line continuations (TradingView-safe formatting)
Stable behavior when zooming or scrolling
Clear separation of entry logic, exit logic, and visuals
⚠️ Notes
This script is intended for educational and research purposes.
Always forward-test and apply proper risk management before live trading.
BK AK-King Quazi🦁👑 BK AK–KING QUAZI — MEASURED HAND, CLEAN BLADE. 👑🦁
This is Quasimodo turned into a permissioned process: PROTO → BOS proof → RETEST → CONFIRM → resolve or invalidate — with mapped levels so you execute clean or you stand down.
All glory to the Almighty — the true source of wisdom, restraint, and endurance.
AK is honor — my mentor’s standard: clarity, patience, no shortcuts, no gambling.
🧠 What It Does
King Quazi detects and manages Quasimodo (QM) structures and outputs an execution-ready battlefield:
PROTO detection: identifies developing QM structure early (awareness, not a trade)
BOS validation: requires a displacement break (ATR-based) so you don’t trade fake breaks
RETEST logic: watches the key QM level for the “return to the scene”
CONFIRM stage: only triggers when structure + proof + timing align
INVALIDATION + cleanup: marks failure clearly and manages drawings to keep charts readable
Projections + targets: maps QM / BOS / INV, plus optional T1/T2 so planning is standardized
MTF War Room: reads multiple timeframes and shows who’s in PROTO / CONFIRM / NOW so you stop trading against the higher court
This is not a pattern sticker. It’s a workflow.
What You See On Chart (so it’s usable)
QM level + BOS level + invalidation line
Optional forward projections / extension
Optional target mapping (T1/T2)
Stage-aware labels (PROTO / CONFIRM / invalidation handling)
MTF table showing which timeframe is active and which stage is “live”
🔍 How It Works (So You Know It’s Not Random)
1) Swing Structure → QM Candidate
The script builds swing structure and recognizes valid QM geometry — no guesswork labels without structure.
2) BOS Displacement Filter (Proof of Intent)
Most QM tools fire when the shape appears. King Quazi demands body displacement vs ATR so a “break” has force behind it — not wick theater.
3) Retest + Confirm (Permissioned Entry)
After BOS, it expects retest behavior and confirms only when the market acts right at the level — not in the middle of nowhere.
4) Object Lifecycle (Clean Chart, Honest Outcome)
The script manages lines/labels so your chart stays readable and outcomes are tracked — not hidden.
🧩 Why This Script Is Original (Not Another QM Clone)
The Quasimodo concept is public. The edge here is the integration:
staged event sequencing (PROTO → BOS → RETEST → CONFIRM)
ATR displacement proof to cut false positives
standardized execution mapping (QM/BOS/INV + optional targets)
multi-timeframe stage awareness (so you stop fighting higher structure)
alert routing by event stage (signal control, not spam)
It’s not “more signals.” It’s better permission.
🧭 How To Use It (Execution Rules)
1) Campaign Mode (Trend-Aligned)
Trade only when the MTF posture supports it. PROTO is awareness — BOS/RETEST is proof.
2) Verdict Mode (Turns)
A reversal is not a feeling. It’s testimony failing at the boundary and pressure flipping. Confirm at the level or don’t touch it.
3) Stand-Down Mode (The Feature Tourists Hate)
When the tool goes quiet, it’s telling you the truth:
no permission = no trade.
That’s how capital survives.
⚙️ What You Actually Tune
Zigzag sensitivity (tight vs clean structure)
BOS displacement strictness (how hard price must prove intent)
Retest window + expiration (how strict confirmation is)
Projection visibility (QM/BOS/INV, forward extension)
Targets & entry zone behavior (T1/T2 + buffers)
MTF table + alerts (what you want surfaced)
🧑🏫 BK / AK / Faith
BK is the mark I’m building.
AK is honor — discipline, patience, clean execution.
All glory to the Almighty — the true source of wisdom and endurance.
🗡️ King David Lens (Deep — Discipline Under Fire)
David’s power wasn’t impulse. It was governed force — strength that answers to law.
He learned early that the most dangerous trap is moving before you’re sent.
That’s why his life is full of the same pattern traders ignore:
He was anointed long before he was crowned.
Meaning: truth can be real before it’s allowed to manifest.
He fought Goliath with a weapon people mocked — not because it was flashy, but because it was mastered.
Meaning: edge isn’t what looks impressive — it’s what’s trained and repeatable.
He had Saul in his hands and still refused the shortcut.
Meaning: opportunity is not permission; proximity is not assignment.
He waited through wilderness seasons where nothing “looked like progress.”
Meaning: silence isn’t rejection — sometimes it’s preparation.
That is the trader’s war.
Price will always offer motion.
But motion without permission is bait.
David didn’t survive by chasing what was available.
He survived by waiting until the moment was proved, the ground was chosen, and the strike was clean.
That’s what King Quazi enforces:
PROTO is the rumor.
BOS displacement is the proof.
Retest is the test of legitimacy.
Confirm is permission to strike.
Invalidation is humility — stand down immediately.
A lion doesn’t chase every shadow.
A lion waits until the prey is committed — then ends it.
🦁👑 BK AK–KING QUAZI — execute with proof. 👑🦁
Gd bless. 🙏
MTG v2MTG v2 is a complete trend-following trading system that combines:
PSAR (Parabolic SAR) - Trend direction
200 EMA - Trend direction
EMAs (5, 13, 50) - Momentum confirmation
AMA (Adaptive Moving Average) - Intelligent exits
Smart Filters - Volume, ATR, choppy market detection
Purpose: Catch strong trends early and ride them for maximum profit.
Supply and Demand Zones [Clean v6]Overview
The Supply and Demand Zones indicator is an automated market structure tool designed to identify high-probability Points of Interest (POI) on any asset or timeframe. Built using Pine Script v6, this script focuses on clarity and performance, providing traders with a clutter-free view of where institutional buying and selling pressure has previously occurred.
Unlike crowded indicators that overwhelm the chart, this script dynamically manages zones—drawing new ones as structure forms and automatically removing invalid zones as price breaks through them.
Key Features
Automated Zone Detection: Automatically identifies Supply (Resistance) and Demand (Support) zones based on Swing Highs and Swing Lows.
Dynamic Zone Management: Active zones extend to the right until price interacts with them.
Break of Structure (BOS) Logic: When price violates a zone (closes beyond the invalidation level), the zone is automatically removed and marked as "Broken" to keep the chart clean.
Zig Zag Structure: Includes an optional Zig Zag overlay to visualize market flow, Higher Highs, and Lower Lows.
ATR-Based Sizing: Zone width is calculated using the Average True Range (ATR), ensuring zones adapt to the asset's current volatility.
Pine Script v6: Optimized using the latest array and method functions for speed and stability.
How It Works
Zone Creation: The script looks for Pivot Highs and Lows based on your defined Swing Length.
Supply Zones: Created at Swing Highs.
Demand Zones: Created at Swing Lows.
Zone Width: The height of the box is determined by the ATR multiplied by your Zone Width setting. This ensures the zone covers the "wick" area or the volatility range of the pivot.
Invalidation: If the price closes past the outer edge of a zone (the top of a Supply zone or bottom of a Demand zone), the script detects a break, removes the filled box, and leaves a subtle trace of the broken structure.
How to Use
Trend Following: Use the Zig Zag lines to identify the trend direction. Look for Long entries in Demand zones during an uptrend, and Short entries in Supply zones during a downtrend.
Reversals: Watch for price to react at older, unfilled zones (POIs) that align with major support/resistance levels.
Stop Loss Placement: The outer edge of the zone acts as a natural invalidation point. If price closes beyond it, the setup is typically invalidated.
Settings Guide
Swing Length: Determines the sensitivity of the pivot detection. Lower numbers find more local zones (scalping); higher numbers find major structural zones (swing trading).
Max Zones to Keep: Limits the number of historic zones displayed to prevent chart clutter.
Zone Width (ATR): Adjusts how thick the zones are. Increase this value if you want to capture wider wicks.
Visual Settings: Fully customizable colors for Supply, Demand, Borders, and Zig Zag lines.
Disclaimer
This tool is for informational and educational purposes only. It visualizes past price action and does not guarantee future performance. Always manage your risk appropriately.
Gann VooDoo LinesGann VooDoo Lines Indicator
Description
- Gann VooDoo Lines is a precise overlay indicator that applies W.D. Gann's Square of 9 mathematics to generate static horizontal support and resistance levels from a single manual anchor price. It calculates 8 key vibrational degrees (45°, 90°, 135°, 180°, 225°, 270°, 315°, 360°) both upward (resistance) and downward (support), delivering clean, timeframe-independent price zones.
Key Features
- Manual anchor price input for complete control
- Individual toggles for each of the 8 degrees
- "Both (Support + Resistance)" mode to display levels in both directions simultaneously
- Extend lines left/right or both
- Dynamic right-side labels that follow the latest bar
- Price values automatically displayed on the right price scale for all visible lines (including anchor)
- Customizable resistance, support, and anchor colors
What Makes It Unique (Compared to Other Gann Scripts)
- Unlike most Gann indicators on TradingView (which typically focus on sloping angles/fans, auto-detected swings, or limited degrees), Gann VooDoo Lines uses pure static Square of 9 horizontal levels with full individual toggles for all 8 degrees and a dedicated "Both" mode — allowing you to view support and resistance simultaneously without overlap or clutter. The combination of per-degree toggles, dynamic right-side labels, and clean price scale integration (no duplicates or repainting) sets it apart from generic Gann tools that often lack this granular control and visual clarity.
How to Use and Trade With It
- Set the anchor properly — this is the most critical step:
- Choose a major significant price extreme (all-time high/low, major swing high/low, or key psychological level).
- For higher timeframes (daily/weekly): use long-term extremes (e.g., all-time low/high) for "master" levels that influence price over months/years.
- For lower timeframes/intraday: use recent session extremes (today's open, previous close, or recent swing high/low) and update the anchor as needed for fresh levels.
- Experiment: test different anchors and observe which produces the most reactions.
Trading approach:
- Watch for price reactions (reversals, bounces, accelerations) at the lines — especially confluence with multiple degrees or right-side labels.
- Use in "Both" mode for full support/resistance picture.
- Combine with price action (candlestick patterns, volume) for entries/exits.
- Toggle off unused degrees to declutter the chart.
Golden Vector Trend Orchestrator (GVTO)Golden Vector Trend Orchestrator (GVTO) is a composite trend-following strategy specifically engineered for XAUUSD (Gold) and volatile assets on H4 (4-Hour) and Daily timeframes.
This script aims to solve a common problem in trend trading: "Whipsaws in Sideways Markets." Instead of relying on a single indicator, GVTO employs a Multi-Factor Confluence System that filters out low-probability trades by requiring alignment across Trend Structure, Momentum, and Volatility.
🛠 Methodology & Logic
The strategy executes trades only when four distinct technical conditions overlap (Confluence). If any single condition is not met, the trade is filtered out to preserve capital.
1. Market Structure Filter (200 EMA)
Indicator: Exponential Moving Average (Length 200).
Logic: The 200 EMA acts as the baseline for the long-term trend regime.
Bullish Regime: Price must close above the 200 EMA.
Bearish Regime: Price must close below the 200 EMA.
Purpose: Prevents counter-trend trading against the macro direction.
2. Signal Trigger & Trailing Stop (Supertrend)
Indicator: Supertrend (ATR Length 14, Factor 3.5).
Logic: Uses Average True Range (ATR) to detect trend reversals while accounting for volatility.
Purpose: Provides the specific entry signal and acts as a dynamic trailing stop-loss to let profits run while cutting losses when the trend invalidates.
3. Volatility Gatekeeper (ADX Filter)
Indicator: Average Directional Index (Length 14).
Threshold: > 25.
Logic: A high ADX value indicates a strong trend presence, regardless of direction.
Purpose: This is the most critical filter. It prevents the strategy from entering trades during "choppy" or ranging markets (consolidation zones) where trend-following systems typically fail.
4. Momentum Confirmation (DMI)
Indicator: Directional Movement Index (DI+ and DI-).
Logic: Checks if the buying pressure (DI+) is physically stronger than selling pressure (DI-), or vice versa.
Purpose: Ensures that the price movement is backed by genuine momentum, not just a momentary price spike.
📋 How to Use This Strategy
🟢 LONG (BUY) Setup
A Buy signal is generated only when ALL of the following occur simultaneously:
Price Action: Price closes ABOVE the 200 EMA (Orange Line).
Trigger: Supertrend flips to GREEN (Bullish).
Strength: ADX is greater than 25 (Strong Trend).
Momentum: DI+ (Plus Directional Indicator) is greater than DI- (Minus).
🔴 SHORT (SELL) Setup
A Sell signal is generated only when ALL of the following occur simultaneously:
Price Action: Price closes BELOW the 200 EMA (Orange Line).
Trigger: Supertrend flips to RED (Bearish).
Strength: ADX is greater than 25 (Strong Trend).
Momentum: DI- (Minus Directional Indicator) is greater than DI+ (Plus).
🛡 Exit Strategy
Stop Loss / Take Profit: The strategy utilizes the Supertrend Line as a dynamic Trailing Stop.
Exit Long: When Supertrend turns Red.
Exit Short: When Supertrend turns Green.
Note: Traders can also use the real-time P/L Dashboard included in the script to manually secure profits based on their personal Risk:Reward ratio.
📊 Included Features
Real-Time P/L Dashboard: A table in the top-right corner displays the current trend status, ADX strength, and the Unrealized Profit/Loss % of the current active position.
Smart Labeling: Buy/Sell labels are coded to appear only on the initial entry trigger. They do not repaint and do not spam the chart if the trend continues (no pyramiding visualization).
Visual Aids: Background color changes (Green/Red) to visually represent the active trend based on the Supertrend status.
⚠️ Risk Warning & Best Practices
Asset Class: Optimized for XAUUSD (Gold) due to its high volatility nature. It also works well on Crypto (BTC, ETH) and Major Forex Pairs.
Timeframe: Highly recommended for H4 (4 Hours) or D1 (Daily). Using this on lower timeframes (M5, M15) may result in false signals due to market noise.
News Events: Automated strategies cannot predict economic news (CPI, NFP). Exercise caution or pause trading during high-impact economic releases.
Opening Path Selector (EMA200 Context Tool)📝 Description
Opening Path Selector is a context-based indicator designed to help traders quickly identify which asset may offer the cleanest directional path at the market open.
This tool does not generate entry or exit signals.
Its purpose is to reduce decision fatigue during the first minutes of the session by ranking a small set of high-liquidity assets based on higher-timeframe EMA200 structure.
🔍 What this indicator evaluates
The dashboard compares a predefined group of major symbols and ranks them according to:
• Proximity to the nearest EMA200
• Relative position versus higher-timeframe EMA200 levels
• Directional context inferred from EMA structure
The result is a priority-based list that highlights which asset may present:
• Less immediate EMA resistance
• Clearer directional context
• Lower probability of early-session chop
📊 How to read the dashboard
• Priority – Ranking based on opening context
• Symbol – Evaluated instrument
• Nearest EMA200 – Distance and side relative to price
• Possible Path – Direction with less immediate EMA resistance
• Bias – Strength of the higher-timeframe context
Colored markers are used to provide fast visual identification of the highest-priority assets.
⚠️ Important notes
• This is a context and selection tool, NOT a trading system
• No buy/sell signals, alerts, TP, or SL logic are included
• Designed to be used alongside your own execution methodology
🔧 Compatibility
Due to Pine Script multi-symbol and multi-timeframe constraints, this public version is intentionally limited to a small set of symbols.
TradingView Pro / Premium or higher is recommended for consistent performance.
🔗 Complementary tools
This indicator can be complemented with Multi-Tool VWAP + EMAs (Multi-Timeframe) + Key Levels , which provides detailed visibility of multiple EMA levels, VWAP structure, and higher-timeframe reference zones directly on the chart.
While Opening Path Selector helps decide which asset to focus on at the open, the complementary tool can assist with in-chart context and confirmation once an asset has been selected.
Both tools are designed to serve different stages of the decision process and can be used independently.
PA Signal Pro + S/R Boxes & Alerts tomgoodcar 888 For BUY Positions:
Primary Signal: BUY Crossover (Green arrow) appears.
Confirmation: The signal occurs near or immediately after breaking out of a Light Green Support Box.
Exit Point: Consider taking profit at the next Light Red Resistance Box.
For SELL Positions:
Primary Signal: SELL Crossover (Red arrow) appears.
Confirmation: The signal occurs near or immediately after breaking down from a Light Red Resistance Box.
Exit Point: Consider taking profit at the next Light Green Support Box.
Box Color Definition Trading Strategy
Light Red Resistance Zone Consider Taking Profit (TP) for Longs, or use as a Short Entry point if price touches and fails to break above.
Light Green Support Zone Consider Taking Profit (TP) for Shorts, or use as a Long Entry point if price touches and shows reversal signals.
Signal Entry Condition (Sub-window) Chart Action Meaning
BUY A/D Line (Blue) crosses above A/D MA (Red) Green arrow and "✅ BUY Accumulation" label Major players are significantly Accumulating (Buying), indicating a buying opportunity.
SELL A/D Line (Blue) crosses below A/D MA (Red) Red arrow and "❌ SELL Distribution" label Major players are significantly Distributing (Selling), indicating a shorting opportunity.
💡 Pro Tip: Signals are more reliable when the A/D Line Crossover occurs simultaneously with a price breakout above or below recently formed support/resistance levels.
ขอบคุณทุกท่านที่สนับสนุน FACEBOOK ธนกร โคตรมิตร
Auto Liquidity Sweep Trendlines Flexible By VJhaThis auto liquidity sweep trendline is more flexible in that it offers you choice to make different pivot bars for Green and Red lines. Points to draw these trendlines are not ordinary and arbitrary wicks, rather they are most impactful liquidity sweeps, making them worthy of reliablility.
This is helpful to choose bigger bar numbers for longer trend and smaller bar number even 1 for pullback trend giving you sniper entry: in case you have missed the larger trend.
Say goodbye to manual trendline drawing with this tool in place, once and for all.
Happy trading.
Liquidity Trap Detector Pro [PyraTime]The Problem: Why You Get Stopped Out
90% of retail traders place their stop-losses at obvious swing highs and lows. Institutional algorithms ("Smart Money") are programmed to push price through these levels to trigger liquidity, fill their heavy orders, and then immediately reverse the market.
If you have ever had your stop hit right before the market moves exactly where you predicted—you were the victim of a Liquidity Trap.
The Solution: Visualizing the "Stop Hunt"
Liquidity Trap Detector Pro is not just a support/resistance indicator. It is a comprehensive Reversal Scoring Engine.
Unlike standard indicators that spam signals on every wick, this tool uses a proprietary 5-Star Scoring System to analyze the quality of the trap. It validates every signal using Wick Symmetry, RSI Divergence, and Volume Analysis to separate a true reversal from a trend continuation.
Key Features (USP)
- 5-Star Scoring Engine: Every signal is rated from 1 to 5 stars. Stop guessing if a signal is valid; let the algorithm check the confluence for you.
- Glassmorphism Visuals: Gone are the messy lines. We use modern, semi-transparent "Liquidity Zones" that keep your chart clean and professional.
- Smart Terminology: Automatically identifies Bull Traps (Buyers trapped at highs) and Bear Traps (Sellers trapped at lows).
- Heads-Up Display (HUD): A professional dashboard monitors the market state, active filters, and recent trap statistics in real-time.
- Strict Non-Repainting: (Technical Note) This script uses strict non-repainting logic. All Higher Timeframe (HTF) data is confirmed and closed before a signal is generated, ensuring historical accuracy.
---
Tutorial: How to Trade This Indicator
1. Understanding the Signals
We use correct institutional terminology to describe the market mechanics:
GREEN Signal (BEAR TRAP):
- What happened: Price swept a Swing Low, enticing sellers (Bears) to enter. The candle then reversed and closed back inside the range, trapping those sellers.
- The Trade: This is a Bullish Reversal setup (Long).
RED Signal (BULL TRAP):
- What happened: Price swept a Swing High, enticing buyers (Bulls) to breakout. The candle reversed and closed lower, trapping the buyers.
- The Trade: This is a Bearish Reversal setup (Short).
2. The 5-Star Scoring System
Not all traps are created equal. The stars tell you how much "Confluence" exists:
- 1 Star: A basic structure sweep. Risky.
- 3 Stars: A solid setup backed by either Volume or Divergence.
- 5 Stars: The "Perfect" Trap. Structure Sweep + RSI Divergence + Volume Spike + Wick Symmetry. High Probability.
3. The Strategy
- Wait for the Zone: Watch price approach a coloured Liquidity Zone.
- Observe the Reaction: Do not trade blindly. Wait for the candle to close.
- Check the Stars: Look for at least 3 Stars before considering an entry.
- Confirm with HUD: Glance at the Dashboard to ensure the "RSI Filter" and "Vol Filter" agree with your analysis.
---
Settings Guide
Structure Settings:
- Pivot Lookback: Adjusts how sensitive the zones are (Default: 10/5).
- HTF Confirmation: Optional filter to only show traps that align with Higher Timeframe structure (e.g., 1H or 4H).
Quality Filters:
- RSI Divergence: Requires momentum to disagree with price (classic reversal sign).
- Volume Spike: Requires volume to be higher than average (Smart Money footprint).
Visuals:
- Clean Mode: A presenter-favorite feature. Hides all historical zones and leaves only the active setup—perfect for taking screenshots or sharing analysis.
Disclaimer
This tool is designed to assist with technical analysis and identifying potential areas of interest. It does not guarantee profits. Trading involves significant risk; always use proper risk management.
As Good As It Gets Pivot ArrowsAs Good As It Gets Pivot Arrows
Description
- As Good As It Gets Pivot Arrows is a clean, high-precision pivot detection indicator that plots bright green upward triangles for confirmed pivot lows (buy signals) and red downward triangles for confirmed pivot highs (sell signals), and comes with customizable pivot length. Additionally, it optionally displays white dots for double-top/double-bottom pivots within a user-defined percentage tolerance.
Key Features
- Exact replication of TOS pivot high/low triangles (12-arrow style)
- Customizable pivot length (default 7)
- Option to ignore the last unconfirmed bar
- Toggle triangles and/or pivot dots independently
- Double-top/bottom detection with adjustable % tolerance (0.1% default)
- Clean visual signals with no repainting on confirmed pivots
What Makes It Unique
- This script delivers the pivot arrow behavior (including brighter lime-green buy triangles) that many traders love, with added flexibility: individual toggles for triangles/dots, double-top/bottom detection, and full customization. Unlike generic pivot indicators, it has precise confirmation logic while remaining fast and non-repainting on closed bars.
How to Use and Trade With It
- Adjust "Pivot Length" to suit your timeframe (7–14 common)
- Enable/disable triangles or dots as preferred
- Fine-tune "% Tolerance" for double-top/bottom sensitivity
Trading Signals
- Green upward triangle below bar: Confirmed pivot low → potential LONG entry or support
- Red downward triangle above bar: Confirmed pivot high → potential SHORT entry or - resistance
- White dots: Double-top (above) or double-bottom (below) within tolerance → higher-probability reversal zones
Best Practice
- Use triangles for primary swing entries/exits
- Combine with volume, trend filters, or support/resistance for confirmation
- Works on any timeframe; shorter lengths for intraday scalping, longer for positional trading
RSI Bull bear thresholds region highlight on priceBullish & bearish relative strength thresholds
Default 61 & 39 RSI
Nifty Banknifty Option Buying Algo Compatible by VJhaSpecially meant for Indian market Option buying capitalising on morning momentum through algo trading. Works best on 1 min timeframe. Key highlights are:
(1) In setting set timing of your session preferably 09:15 to 11:30, entry only during this duration, running trade forced closed at end of set session.
(2) Choose fresh or continuation: if continuation is chosen, if yesterday's condition prevails during open entry will be made. If fresh is chosen, entry will be made only if fresh set up is formed
(3) You can set this indicator either on index or directly on call or put. If set on Index then buy means buy for call, sell means exit of call. Sell means buy entry for Put and buy means exit for put. However, if directly on call or put, it is straight.
(4) Choice of pivot bar number as 1 gives more trades with smaller profit. Choice of 2 lesser trades with running profit.
In fact you can use on any instrument Cash, Future, Option , Gold etc with intelligence. In Indian Option Buying deploy this from 9:15 to 11;15 am, on ordinary day, and whole day on trending
PA Signal Levels: ENTRY SL TP1-2-3 (Cross Marker)Click the Alert Button: Click the "Alert" button (bell icon) on the top toolbar of TradingView.
Configure Alert Conditions:
Condition: Select the name of this indicator (e.g., PA Signal Levels: ENTRY SL TP1-2-3 (Cross Marker)).
Option: Select "Any alert() function calls".
Frequency: It is recommended to select "Once Per Bar".
Configure Notification Settings:
Action: Choose your preferred notification channel (e.g., Notify on App, Webhook URL, Email, etc.).
Message: Use {{strategy.order.alert_message}} (or the predefined message in the code) to ensure the alert displays full SL/TP details.
Once configured, the system will notify you immediately whenever a new Buy/Sell signal is generated.
คำศัพท์ที่น่าสนใจ:
Toolbar: แถบเครื่องมือ
Condition: เงื่อนไข
Once Per Bar: หนึ่งครั้งต่อแท่งเทียน (ป้องกันสัญญาณหลอกขณะแท่งยังไม่จบ)
Predefined message: ข้อความที่ตั้งค่าไว้ล่วงหน้า
This indicator operates using Price Action (candlestick closes opposite to the previous bar) combined with signal confirmation from the Linear Regression Channel:
Signal Logic Chart Display
BUY: Close price is higher than the previous Open, and Low touches or drops below the Signal Support (Lower 1) line. BUY label (Green) below the candle.
SELL: Close price is lower than the previous Open, and High touches or rises above the Signal Resistance (Upper 1) line. SELL label (Red) above the candle.






















