อินดิเคเตอร์ Pine Script®
อินดิเคเตอร์และกลยุทธ์
กลยุทธ์ Pine Script®
EMA Band Trading System V4 - FIXEDuses fast and slow ema band angle to judge trend and its strength.
อินดิเคเตอร์ Pine Script®
TSM S4 CPR Full + R1 R2 R3 S1 S2 S3 with SignalsTSM S4 CPR Full + R1 R2 R3 S1 S2 S3 with Signals — Description
TSM S4 CPR is a structured price-action trading method built around the Central Pivot Range (CPR) plus full pivot extensions (R1–R3 / S1–S3) and rule-based entry signals.
It’s used for intraday, scalping, and short swing trading to identify day bias, breakout zones, reversal levels, and profit targets.
อินดิเคเตอร์ Pine Script®
Consensus Indicator LiteCONSENSUS INDICATOR LITE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT IS THIS INDICATOR?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Most traders use multiple indicators to confirm trade signals, but doing this manually across 8 different tools is time-consuming and prone to inconsistency. Consensus Indicator Lite solves this by acting as a "judge" — it collects the directional opinion of each of the 8 indicators you enable, tallies the votes, and plots the result as a single, easy-to-read oscillator ranging from -100 to +100.
A reading of +100 means all active indicators agree: bullish.
A reading of -100 means all active indicators agree: bearish.
Anything in between reflects a mixed market with varying degrees of directional bias.
This is NOT a black-box signal generator. Every indicator underneath is transparent, configurable, and individually toggleable. You decide what goes into the consensus. The script simply counts and visualizes the agreement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ HOW THE VOTING SYSTEM WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Each enabled indicator submits one vote per bar:
• +1 → Bullish condition met
• -1 → Bearish condition met
• 0 → Neutral / no clear signal
The script counts how many indicators voted Buy vs Sell, then calculates:
Buy Probability = (Buy Votes / Total Active Indicators) × 100
Sell Probability = (Sell Votes / Total Active Indicators) × 100
Neutral % = 100 − Buy % − Sell %
Net Signal = Buy % − Sell % ← this is what gets plotted
The Net Signal line is colored:
• Bright Green → strongly bullish (above threshold)
• Faded Green → weakly bullish
• Bright Red → strongly bearish (below -threshold)
• Faded Red → weakly bearish
• Gray → perfectly neutral
A configurable threshold (default 70%) marks the zones of strong consensus. When the line crosses above +70, more than 70% of active indicators agree it is bullish. When it drops below -70, 70%+ agree it is bearish.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE 8 INDICATORS — WHAT EACH ONE DOES & HOW IT VOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
── 1. EMA CROSSOVER (Trend) ──────────────────────────────────
Vote +1 (Bullish) → Fast EMA is above Slow EMA
Vote -1 (Bearish) → Fast EMA is below Slow EMA
Vote 0 (Neutral) → Both EMAs are equal
Settings: fast ema = 50 , slow ema= 200 (not standard, custom setting)
── 2. MACD (Trend / Momentum) ────────────────────────────────
Vote +1 (Bullish) → MACD Line is above Signal Line
Vote -1 (Bearish) → MACD Line is below Signal Line
Custom settings: Fast = 21, Slow = 55, Signal = 13 (custom settings). The MACD captures momentum by measuring the spread between two trend-following moving averages.
── 3. ADX — Average Directional Index (Trend Strength) ───────
The ADX measures trend *strength*, not direction. Therefore the vote is only cast when ADX > 25 (meaning the trend is strong enough to be meaningful):
Vote +1 (Bullish) → ADX > 25 AND DI+ > DI-
Vote -1 (Bearish) → ADX > 25 AND DI- > DI+
Vote 0 (Neutral) → ADX ≤ 25 (market is ranging, no trend)
Default length: 14 periods.
── 4. SUPERTREND ─────────────────
Vote +1 (Bullish) → Price is above the Supertrend line (uptrend)
Vote -1 (Bearish) → Price is below the Supertrend line (downtrend)
Custom length: ATR Length = 20, Factor = 4.0
── 5. RSI — Relative Strength Index (Momentum) ───────────────
The directional vote is based on the RSI midpoint (50):
Vote +1 (Bullish) → RSI > 50
Vote -1 (Bearish) → RSI < 50
Vote 0 (Neutral) → RSI = exactly 50
Default length: 14 periods.
── 6. STOCHASTIC OSCILLATOR (Momentum + Mean Reversion) ──────
Vote +1 (Bullish) → %K crosses above %D AND %K is below 80 (not overbought)
Vote -1 (Bearish) → %K crosses below %D AND %K is above 20 (not oversold)
Vote 0 (Neutral) → In overbought or oversold territory (signal unreliable)
Default: K Length = 14, D Smoothing = 3.
── 7. MFI — Money Flow Index (Volume-Weighted Momentum) ──────
Vote +1 (Bullish) → MFI > 50 (positive money flow dominant)
Vote -1 (Bearish) → MFI < 50 (negative money flow dominant)
Default length: 14 periods.
── 8. ATR MOMENTUM (Volatility-Driven Price Action) ──────────
Vote +1 (Bullish) → Price moved up AND ATR is above its EMA (expanding volatility upward)
Vote -1 (Bearish) → Price moved down AND ATR is above its EMA (expanding volatility downward)
Vote 0 (Neutral) → ATR is contracting (low volatility, no conviction)
Default length: 14 periods.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 THE INFORMATION TABLE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A compact table appears in the top-right corner of the pane on the last bar, showing:
Metric | Value
────────────────────|──────────
Buy Probability | X.X% ← % of indicators voting bullish
Sell Probability | X.X% ← % of indicators voting bearish
Neutral | X.X% ← % of indicators with no signal
Active Indicators | N ← how many indicators are currently enabled
This lets you see at a glance not just whether conditions are bullish/bearish, but by exactly how much — and how many tools are contributing to that reading.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 VISUAL ELEMENTS EXPLAINED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢 Net Signal Line (Bright Green) → Strong bullish consensus (above threshold)
🟢 Net Signal Line (Faded Green) → Weak bullish lean
🔴 Net Signal Line (Bright Red) → Strong bearish consensus (below -threshold)
🔴 Net Signal Line (Faded Red) → Weak bearish lean
─── Zero Line (Gray dotted) → Equilibrium, equal buy/sell pressure
─── Upper Threshold (Green dashed) → Strong Buy zone boundary
─── Lower Threshold (Red dashed) → Strong Sell zone boundary
🟩 Green background shading → Net signal exceeds upper threshold
🟥 Red background shading → Net signal exceeds lower (negative) threshold
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Two alert conditions are built in:
✅ Strong Buy Signal → Fires when the Net Signal crosses ABOVE the threshold
✅ Strong Sell Signal → Fires when the Net Signal crosses BELOW -threshold
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛠️ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 General
• Strong Signal Threshold (%) — Default 70. Raise it (e.g. 85) for stricter, rarer signals. Lower it (e.g. 55) for more frequent, less filtered signals.
📌 Trend Indicators
• Use EMA Cross ON/OFF | Fast Length | Slow Length
• Use MACD ON/OFF | Fast | Slow | Signal lengths
• Use ADX ON/OFF | Length
• Use Supertrend ON/OFF | ATR Length | Factor
📌 Momentum Indicators
• Use RSI ON/OFF | Length
• Use Stochastic ON/OFF | K Length | D Smoothing
📌 Volume Indicators
• Use MFI ON/OFF | Length
📌 Volatility Indicators
• Use ATR Momentum ON/OFF | Length
You can run this indicator with as few as 1 or as many as 8 indicators active. The consensus percentage automatically recalibrates to however many are enabled — so disabling indicators does not distort the output.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 TIPS FOR BEST USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Use on higher timeframes (1H, 4H, Daily) for more reliable consensus readings. Lower timeframes produce more noise.
• Combine with a price-action overlay on your main chart. Consensus above +70 combined with a key support hold = high-conviction long setup.
• Watch for divergences: price making new highs while Consensus falls = internal weakness, a possible early warning of reversal.
• The ADX component only votes when trend strength is sufficient (ADX > 25). In ranging markets, ADX becomes neutral and the indicator effectively weighs the remaining momentum/volume tools more heavily — which is intentional.
• If you trade volatile assets like crypto, consider raising the Supertrend Factor slightly (e.g. 3.5–4.0) to reduce noise in its signal.
• Use the Stochastic's overbought/oversold filter to your advantage: when RSI and MFI both vote bullish but Stochastic is silent because it's overbought, that divergence is worth noting.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is published for educational and analytical purposes only. It does not constitute financial or investment advice of any kind. Past signal patterns and historical indicator readings do not guarantee future price performance. Always perform your own analysis and apply proper risk management before making any trading decisions. Trading involves substantial risk of loss.
อินดิเคเตอร์ Pine Script®
Nexus Signal Engine v3.0══════════════════════════════════════════════════
NEXUS SIGNAL ENGINE v3.1 – SCALP EDITION
Multi-Strategy Directional Intelligence System
══════════════════════════════════════════════════
Tired of juggling 10 indicators and still second-guessing your entries? NSE fuses 12 independent analytical strategies into ONE simple output: UP, DOWN, or NEUTRAL. It does the heavy lifting so you can focus on execution.
Built specifically for ultra-fast scalping on 5-second, 10-second, 15-second, and 30-second charts — but fully functional on any timeframe with the "Custom / Standard" preset.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 WHAT MAKES THIS DIFFERENT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Most indicators measure one thing. NSE measures twelve — simultaneously — and only signals when the majority agree. This is called confluence, and it's what separates noise from high-probability setups.
Each bar, 12 modules independently score the market from -100 (max bearish) to +100 (max bullish). These scores are weighted, blended, smoothed, and passed through a confirmation state machine. The result: one clean directional call with zero guesswork.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 THE 12 MODULES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
① Adaptive Trend Matrix — 8-layer Fibonacci EMA stack + slope analysis + price position relative to the 200 SMA. Detects trend health, acceleration, and deceleration.
② Momentum Oscillator Fusion — Weighted blend of RSI, Stochastic, CCI, Money Flow Index, and Rate of Change. Five oscillators filtered into one reading.
③ Volume Profile Intelligence — VWAP deviation, volume force (is volume confirming the move?), On-Balance Volume trend, and the Accumulation/Distribution line.
④ Market Structure Detector — Automatic swing point detection classifying Higher Highs / Higher Lows (bullish) and Lower Highs / Lower Lows (bearish) with gradual decay.
⑤ Order Block / Fair Value Gap Scanner — Detects institutional order block zones and price imbalances (FVGs). Scores proximity to recent OB zones for potential reaction.
⑥ Volatility Regime Classifier — ATR regime analysis, Bollinger Band / Keltner Channel squeeze detection, and expansion direction scoring. Catches breakouts early.
⑦ Divergence Engine — Detects bearish and bullish divergences between price and RSI, and between price and MACD. One of the strongest reversal signals in technical analysis.
⑧ Ichimoku Cloud Layer — Tenkan/Kijun cross, price position vs. cloud, cloud color (future sentiment), and Chikou Span confirmation. A complete framework compressed into one score.
⑨ Elliott Wave Micro-Structure — Simplified impulse wave counting via swing sequences. Detects Wave 3 (strongest momentum) and Wave 5 (exhaustion).
⑩ Fibonacci Dynamic Retracement — Auto-detects recent swing range, projects key fib levels (0.382, 0.500, 0.618), and scores proximity combined with trend direction.
⑪ Candlestick Pattern Recognition — Detects 12 classic patterns: Hammer, Bullish/Bearish Engulfing, Morning/Evening Star, Piercing Line, Dark Cloud Cover, Three White Soldiers, Three Black Crows, Dragonfly/Gravestone Doji, Shooting Star.
⑫ Sentiment Proxy — Consecutive directional bar analysis, gap detection, and bar range positioning as a behavioral proxy for market sentiment.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 THE SCALP PRESET SYSTEM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
One dropdown. Pick your timeframe. Everything auto-adjusts.
🔹 5 Second — Sensitivity: 78 | Confirmation: 1 bar | Smoothing: 2 | Period multiplier: 0.5×
🔹 10 Second — Sensitivity: 74 | Confirmation: 1 bar | Smoothing: 2 | Period multiplier: 0.6×
🔹 15 Second — Sensitivity: 70 | Confirmation: 1 bar | Smoothing: 2 | Period multiplier: 0.7×
🔹 30 Second — Sensitivity: 66 | Confirmation: 1 bar | Smoothing: 3 | Period multiplier: 0.85×
🔹 Custom / Standard — Full manual control over all settings. Works on any timeframe from 1min to Monthly.
When you select a scalp preset, ALL 60+ internal indicator periods (EMA lengths, RSI/CCI/Stochastic periods, Bollinger/Keltner bands, MACD, swing detection, Ichimoku, divergence lookback, Fibonacci range) are compressed through the multiplier. Module weights are also re-tuned automatically:
BOOSTED for scalping: Momentum (1.4), Volume (1.3), Volatility (1.0), Candle Patterns (1.0), Sentiment (0.9) — these produce meaningful signals on every tick.
REDUCED for scalping: Ichimoku (0.3), Wave Structure (0.2), Fibonacci (0.4) — these require more data history to be statistically reliable and are de-emphasized on sub-minute charts.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 THE DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The top-right dashboard gives you everything at a glance:
▲ UP / ▼ DOWN / ◆ NEUTRAL — The switch. The final verdict.
COMPOSITE SCORE — The raw number (-100 to +100) for granularity beyond the switch.
PHASE — Tells you the character of the move:
⚡ REVERSAL — Signal just flipped. Highest-priority moment.
→ CONTINUATION — Trend strengthening. Ideal for adding.
⏸ STALLING — Momentum fading. Tighten stops.
— IDLE — No significant activity. Wait.
STRENGTH — How convicted the system is:
████ STRONG (65+) — High-confidence, multi-module agreement
███░ MEDIUM (40–65) — Solid agreement with some dissent
██░░ WEAK (threshold–40) — Marginal edge
█░░░ LOW (below threshold) — Do not trade
MODULE BREAKDOWN — All 12 individual module scores, color-coded green/red/yellow. See exactly WHY the system is signaling what it is.
ACTIVE SETTINGS — Shows your live sensitivity, confirmation bars, and smoothing values.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 VISUAL FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 Trend Trail Cloud — Colored EMA cloud (fast/mid/slow) that changes color with the signal direction. Acts as a dynamic support/resistance and trailing stop reference.
🔹 Entry Arrows — UP and DN arrows plotted on confirmed signal flips. Strong signals get an additional white marker for emphasis.
🔹 Bar Coloring — Bars are tinted green (bullish), red (bearish), or yellow (neutral) based on the active signal state.
🔹 Order Block Zones — Shaded boxes mark detected institutional order block zones on the chart.
🔹 All visuals are individually toggleable in settings.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 HOW TO USE — ENTRY STRATEGIES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
STRATEGY A — Full Confluence (Highest conviction)
Wait for: Switch flips + STRONG strength + REVERSAL phase + 9+ modules aligned.
Enter on the close of the signal bar.
STRATEGY B — Trend Continuation
Wait for: Switch already UP/DOWN + CONTINUATION phase + price pulling back to the trend trail cloud.
Enter when price touches the cloud and score starts rising again.
STRATEGY C — Squeeze Breakout
Wait for: Module 6 (Volatility) showing squeeze + Switch flips from NEUTRAL.
Enter immediately — squeeze breakouts are explosive and time-sensitive.
STRATEGY D — Divergence Fade (Advanced, counter-trend)
Wait for: Module 7 fires opposite to current switch + Candle reversal pattern + Switch confirms the flip.
Enter only after confirmation. Use reduced position size.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 HOW TO USE — EXIT STRATEGIES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 Switch Flip — When the switch flips against your position, close immediately.
🔹 Stalling Phase — When phase changes to STALLING, take 50% profit and trail the rest.
🔹 Trend Trail Break — If price closes beyond the slow trail line against your direction, exit.
🔹 Score Deterioration — If the composite score drops 40+ points from its peak, reduce size.
🔹 Module Conflict — If fewer than 6 modules agree, the original thesis is damaged.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Five built-in alert conditions:
• Signal Flipped UP
• Signal Flipped DOWN
• Strong Signal Flip (high-conviction only)
• Reversal Detected
• Volatility Squeeze (breakout imminent)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 CUSTOMIZATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Every module weight can be adjusted from 0 (disabled) to 3.0 (triple emphasis). This lets you build your own strategy profile:
• Forex: Boost Trend Matrix, Structure, Divergence. Reduce Volume (tick volume is unreliable).
• Crypto: Boost Momentum, Volume, Volatility. Reduce Ichimoku.
• Stocks: Boost Structure, Divergence, Candle Patterns. Standard Volume.
• Indices: Boost Trend Matrix, Ichimoku. Reduce OB/FVG.
Sensitivity, confirmation bars, and score smoothing are fully adjustable in Custom mode.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔷 IMPORTANT NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ This is a decision-support tool, not a guaranteed profit machine. No indicator predicts the future. Always use proper risk management.
⚠️ The most profitable signal NSE gives you is NEUTRAL — it means "there is no edge right now, stay out." Learning to sit on your hands is what separates profitable traders from everyone else.
⚠️ Sub-minute scalping requires a broker with fast execution and low spreads/commissions. The indicator can only be as good as your execution allows.
⚠️ Always combine with risk management: position sizing based on signal strength, defined stop losses, and minimum 2:1 reward-to-risk targets.
อินดิเคเตอร์ Pine Script®
MadAlpha Macro V2🔷 MadAlpha Macro
Institutional Macro Intelligence. Built for Precision.
MadAlpha Macro is an advanced indicator designed to translate global macroeconomic dynamics into actionable Forex signals.
It integrates:
Interest Rates
Inflation
Economic Growth (GDP)
Labor Market Data
Relative Monetary Pressure between currencies
The objective is not to display numbers.
The objective is to reveal the true macro dominance between two economies.
🎯 What MadAlpha Macro Actually Does
MadAlpha Macro measures:
✔ The fundamental strength of a currency
✔ The dominant economic cycle
✔ Daily macro momentum
✔ Structural imbalances between two countries
✔ Institutional pressure zones
It transforms complex economic data into clear, strategic insight.
🔬 Why It’s Different
Most traders:
Read the news after the move
React to economic releases
Fail to understand capital flows
MadAlpha Macro anticipates structural direction
by aligning with central bank logic
and macro differentials between currencies.
⚡ Designed For
Active Forex traders
Fundamental analysts
Macro swing traders
Macro-focused content creators
Traders who want to understand the “why” behind price action
🧠 Philosophy
Price follows liquidity.
Liquidity follows macroeconomics.
MadAlpha follows liquidity.
🔷 Positioning
This is not a technical indicator.
It is a macro intelligence engine.
กลยุทธ์ Pine Script®
Sri - Option (CE-PE Crossover) PRO Plus📊 Sri – Option (CE-PE Crossover) PRO Plus
Advanced Option Premium Crossover & Strength Monitor for Index and Stock Options
This indicator is designed for option traders who focus on premium flow, momentum, and crossover behaviour between Call (CE) and Put (PE) contracts rather than relying only on price or traditional indicators. It provides a dynamic, real-time comparison of Call and Put premiums, helping traders identify early directional bias in the underlying market.
🔷 Concept & Purpose
The core idea behind this tool is that option premium behaviour often reveals smart money positioning before the underlying price moves clearly. When Call and Put premiums diverge, compress, or cross, they frequently signal changes in volatility, trend strength, or institutional activity.
This script continuously tracks both CE and PE option prices for the selected expiry and strike, and displays their relative behaviour in a structured and visual format. This allows traders to detect:
• Directional dominance between buyers and sellers
• Momentum shifts in option premiums
• Early signs of trend reversal or continuation
• Volatility expansion or contraction
• Strength of bullish vs bearish positioning
🔷 What Makes This Script Unique
Unlike simple option premium charts or open-source premium comparisons, this indicator includes:
✅ Customizable underlying selection (index or stock)
Users can track any NSE derivative instrument.
✅ Fully manual expiry structure
Traders can dynamically change day, month, and year to match weekly or monthly contracts without editing the script.
✅ Strike-based premium monitoring
Both CE and PE strikes can be independently adjusted, allowing ATM, ITM, or OTM strategies.
✅ Real-time premium crossover visualization
The script plots CE and PE premiums together in a separate panel for direct comparison and crossover detection.
✅ Optional premium smoothing
An EMA filter helps reduce noise and highlight momentum shifts in option flow.
✅ Visual premium dominance tracking
Clear color-coded plotting improves decision-making during fast market conditions.
✅ Dynamic premium labels
Live labels display the latest CE and PE values directly on the chart.
✅ Informational option table
A structured dashboard shows:
• Option type
• Strike
• Current premium
This helps maintain quick situational awareness without switching symbols.
🔷 How It Works
The script automatically constructs the correct option symbol based on:
• Underlying
• Expiry
• Strike
• Call or Put type
It then fetches premium data using higher-precision security requests. Optional EMA smoothing is applied to identify:
• Momentum buildup
• Trend sustainability
• Premium compression or expansion
The CE-PE crossover structure acts as a proxy for:
• Bullish bias when Call premium strengthens
• Bearish bias when Put premium dominates
• Consolidation when premiums compress
This methodology is particularly useful during:
• Breakout setups
• Trend reversals
• Intraday option scalping
• Directional swing trades
• Volatility-driven markets
🔷 How to Use
Select your underlying (for example NIFTY or BANKNIFTY).
Enter the correct expiry date.
Choose your strike based on your strategy.
Enable EMA smoothing for cleaner signals.
Watch for:
• CE crossing above PE → Bullish sentiment
• PE crossing above CE → Bearish sentiment
• Divergence → Strong directional momentum
• Compression → Potential breakout
🔷 Best Applications
This indicator is suitable for:
• Intraday option trading
• Momentum strategies
• Scalping and short-term trades
• Volatility breakout setups
• Directional bias confirmation
• Premium flow analysis
It can also be combined with price action, open interest, and volatility indicators for higher probability setups.
อินดิเคเตอร์ Pine Script®
TSM S3 Technique Positional, Intraday & Scalping TSM S3 Technique — Positional, Intraday & Scalping (with Timeframes)
TSM S3 (Structure → Strength → Surge) is a multi-timeframe trading method that adapts the same core logic to positional trades, intraday setups, and fast scalps.
It focuses on trading only when trend structure exists, price shows strength, and volume surges confirm participation.
อินดิเคเตอร์ Pine Script®
ShaPick: EMA 9/21 & VWAPBUY signal generates when lower EMA crosses above higher EMA and price is above VWAP
&
SELL signal generates when lower EMA crosses below higher EMA and price is below VWAP.
กลยุทธ์ Pine Script®
Apex Channel [Lite] | MyViewLabApex Channel Pro is a precision-engineered trend-following system designed to help traders identify high-probability entry points while filtering out market noise.
This script combines advanced statistical regression with volatility-based momentum analysis to provide a clear, objective view of the market state.
🧠How It Works (The Logic)
This indicator is built upon three core mathematical components:
1. The Apex Channel
Unlike standard linear regression, the Apex Channel calculates a logarithmic curve of best fit over a lookback period (default 100 bars). This allows the channel to adapt more naturally to the compounding nature of asset prices.
Green Channel: The curve is sloping upwards (Bullish Trend).
Red Channel: The curve is sloping downwards (Bearish Trend).
2. Momentum Filter
We utilize a proprietary momentum algorithm that measures the distance between price and a quadratic decay function. This separates legitimate bullish volatility from random noise.
Bullish Signal: Bullish volatility exceeds the signal line.
3. Smart RSI Confirmation
To prevent buying into exhausted trends, the system requires the Relative Strength Index (RSI) to be above its moving average and a baseline (50) before validating any signal.
🎯Features in this Lite Version
Visual Trend Channel: Instantly see if the market is in an Uptrend or Downtrend.
High-Precision Buy Signals: Green "BUY" labels appear only when Trend, Momentum, and RSI conditions align.
Smart Cooldown: After a signal is generated, the system enforces a 15-bar cooldown period to prevent signal clutter and focus on the primary move.
Market Status Dashboard: A professional panel in the bottom-right corner displaying the real-time health of the market (Trend, Momentum, and RSI status).
🚀 Limitations & Pro Version
This is the LITE (Educational) version. It is designed to help you master the ENTRY.
However, professional trading requires mastering the EXIT and RISK MANAGEMENT. The full Pro Strategy (available separately) includes:
📊 Automated Backtesting: Verify the strategy's win rate and profit factor on historical data.
💰 Trailing Stops: Dynamic exit lines that move up with price to lock in profits.
⚖️ Auto Risk Calculation: Automatically calculates position size based on your risk tolerance (e.g., 2% per trade).
📉 Sell Signals: Clear "Take Profit" and "Stop Loss" alerts.
(For access to the Pro features, please check the link inside the indicator Settings.)
⚠️ Disclaimer
Educational Use Only: This script is for educational purposes and does not constitute financial advice.
No Repainting: All signals are confirmed at the close of the bar.
Risk Warning: Trading involves significant risk. Always use proper risk management.
อินดิเคเตอร์ Pine Script®
Adit - LONG circlesput a circle when to go long on a chart. helps to find the exact candle of when to go long.
อินดิเคเตอร์ Pine Script®
MTF ZigZag with Customizable RaysMTF ZigZag with Live Tracking (v6) Documentation
This indicator is a sophisticated market structure tool designed for TradingView (Pine Script v6). It combines traditional ZigZag logic with Multi-Timeframe (MTF) analysis, Horizontal Support/Resistance Rays, and a Real-time Tracking Line.
1. Three Core Features
① Multi-Timeframe (MTF) Analysis
Displays ZigZag patterns from higher timeframes (e.g., 1-hour ZigZag on a 5-minute chart).
Advantage: Allows you to see the "Big Picture" without the noise of lower timeframe price action, helping you stay aligned with the primary trend.
② Horizontal Rays (Support & Resistance)
Automatically draws horizontal lines extending to the right from confirmed ZigZag peaks (Highs) and troughs (Lows).
Advantage: Identifies key price levels that act as Support or Resistance. These are excellent for spotting potential breakout zones or reversal areas.
③ Live Tracking Line
Solves the "lag" issue inherent in standard ZigZag indicators. It draws a line from the last confirmed pivot point directly to the current real-time price.
Advantage: Visualizes the current "unconfirmed" wave. You can see exactly how the current momentum compares to previous market structure in real-time.
2. How the Logic Works
Detection Criteria
The script identifies market pivots based on two primary settings:
Depth: The minimum number of bars required where the price is the highest/lowest in that range.
Deviation (%): The minimum percentage price change required to validate a new wave.
Confirmed vs. Temporary
Solid Lines: Confirmed ZigZag waves that have met the Depth and Deviation criteria.
Dashed Lines (Live): The "Live Tracking" line. This moves with the current price and represents a wave that has not yet been locked in.
3. Parameter Settings
Parameter
Description
Timeframe
Specify the timeframe to pull data from (leave empty for current chart).
Deviation (%)
The sensitivity of the wave. Smaller values catch minor swings; larger values catch major trends.
Depth
The lookback period for pivot detection. Larger values result in smoother, larger waves.
Horizontal Rays
Customize colors, width, and styles (Solid, Dotted, Dashed) for High/Low levels.
Live Tracking Style
Adjust the appearance of the real-time line follow the current price.
อินดิเคเตอร์ Pine Script®
Gold Wick Enhanced Gold Wick Enhanced – Indicator Description
Gold Wick Enhanced is a smart price-action indicator designed to detect strong wick formations (candlestick rejections) and highlight potential reversal zones, especially useful for Gold (XAUUSD) and lower timeframes.
The indicator analyzes candle structure by measuring:
Upper and lower wick size
Candle body size
Wick-to-body strength ratio
This helps traders identify areas where liquidity grabs and price rejection may occur.
Key Features
✅ 1) Strong Wick Detection
Automatically detects candles with unusually long upper or lower wicks compared to the candle body, signaling possible market rejection and reversal behavior.
✅ 2) Buy & Sell Wick Signals
Displays clear on-chart signals:
BUY Wick when a strong lower wick appears (possible bullish reversal)
SELL Wick when a strong upper wick appears (possible bearish reversal)
✅ 3) Wick Zone Boxes
The indicator automatically draws price boxes around important wick levels to mark potential support/resistance zones where price may react again.
✅ 4) Confirmation Filter
Includes an optional candle confirmation mode to reduce false signals by only triggering signals after the candle is fully closed.
✅ 5) Optional Volume Filter
A volume confirmation option is available, allowing signals only when volume is above the average, improving signal quality during active market conditions.
✅ 6) Golden Wick Alerts
Special “Golden Wick” conditions are detected when wick behavior becomes extremely strong, helping traders identify high-probability reversal moments.
Best Use
This indicator performs best on:
XAUUSD (Gold)
Lower timeframes (1m, 3m, 5m)
Volatile market sessions (London / New York)
Disclaimer
This indicator is a technical tool and does not guarantee profitable trades. Always combine it with proper risk management and confirmation strategies.
อินดิเคเตอร์ Pine Script®
Triple EMA (7/25/100) Triple EMA (7 / 25 / 100) – Trend Alignment & Bias Tool
This script plots three Exponential Moving Averages (7, 25, and 100) to help identify market bias and trend alignment.
EMA 100 (Blue, thick) → Primary bias / higher timeframe control
EMA 25 (Orange) → Intermediate trend direction
EMA 7 (Yellow) → Short-term momentum
How to use:
Bullish alignment: 7 > 25 > 100 → Strong uptrend structure
Bearish alignment: 7 < 25 < 100 → Strong downtrend structure
Price above 100 EMA → Buyers in control
Price below 100 EMA → Sellers in control
This tool is best used for trend continuation setups and filtering trades in conjunction with structure, displacement, or Fair Value Gaps (FVGs).
Designed for clean, bias-first decision making without indicator clutter.
อินดิเคเตอร์ Pine Script®
Smart Swing Indicator
The Problem with Most Charts
Every trader knows the feeling. You're staring at a chart, candles flickering, and you're not quite sure what you're looking at. Is this a trend? A reversal? Noise?
The problem isn't you. It's that raw price action hides its structure. The market moves in swings—rhythmic expansions and contractions—but standard charts don't show them. You're left guessing where one move ends and another begins.
Swing charting solves this. It's a method that cuts through the noise and reveals the market's actual footprint: where buyers took control, where sellers pushed back, and where the next move might begin.
The challenge? True swing chart tools have been locked behind expensive software—$150/month platforms, $3,000/year institutional packages. Or they've been attempted on TradingView with incomplete logic that breaks in real market conditions.
This indicator exists to change that.
What This Indicator Does
Smart Swing Indicator LITE implements mechanical swing chart rules directly on your TradingView chart. No external software. No subscription. No complexity.
When you add it to any chart, you'll immediately see swing lines connecting significant highs and lows according to objective rules. These aren't arbitrary trendlines you draw yourself—they're calculated automatically based on how each bar relates to the one before it.
The result is clarity. Where you once saw a jumble of candles, you now see structure: upswings and downswings, inside bars that pause the action, outside bars that signal potential shifts.
How Swings Form
The indicator follows strict mechanical rules that remove subjectivity from your analysis:
Up Bars
An up bar forms when both the high AND low exceed the previous qualifying bar. This AND logic—requiring both conditions—filters out the false signals that plague simpler approaches.
Down Bars
A down bar forms when both the high AND low fall below the previous qualifying bar. The same AND logic applies, ensuring only genuine directional moves register.
Inside Bars
Inside bars are ignored entirely. They represent consolidation—the market catching its breath, buyers and sellers in temporary equilibrium. This indecision doesn't define direction, so the swing continues as if they don't exist, preserving the larger structure.
Outside Bars
Outside bars are where most indicators fail. The bar exceeds both the high and low of the previous bar—so which direction wins?
This indicator uses "wait and see" logic: it holds a pending state until the next qualifying bar reveals the answer.
Outside Bar Continuation: If price resumes the prior trend direction, the indicator shows the intraday path—a distinctive zigzag revealing where the market tested the opposite direction but was rejected.
Outside Bar Reversal: If the outside bar marks a genuine trend change, the swing extends to its extreme before reversing, showing the exact level where market direction shifted.
[ Your Preference
Traders disagree on how to handle outside bars. The indicator lets you choose:
- Mark as Continuation — Shows the zigzag path where price tested the opposite direction before resuming the trend (default)
- Mark as Reversal — Treats the outside bar as a pivot point, reversing the swing at its extreme
- Skip Entirely — Ignores outside bars completely, waiting for cleaner signals
There's no "correct" answer—it depends on your charting philosophy and how much detail you want to see.
Visual Styles
You can display swing lines in two styles depending on your visual preference:
Rectangular: Lines move horizontally to the swing point, then vertically to the next level. This style emphasizes the price levels themselves.
Diagonal: Lines connect swing points directly. This style emphasizes the angle and momentum of each move.
Both show the same underlying structure—choose whichever helps you read the chart more naturally.
What You See on Your Chart
Labels appear at each swing point showing the data that matters: the price range of the swing, the absolute price level, and the duration in days. This information appears cleanly at each turning point, giving you immediate context without cluttering your chart.
Inside bars and outside bars can be highlighted with distinct colors, so you always know which bars are actively participating in the swing structure and which are in consolidation or pending states.
Works Everywhere
The indicator functions on any market TradingView supports—stocks, forex, futures, crypto, commodities—and on any timeframe from 1-minute scalping charts to monthly position trading views.
Decimal precision adjusts automatically based on the instrument. A forex pair displays pips correctly; a stock displays dollars and cents; Bitcoin displays appropriate precision for its price range.
Who This Is For
If you've never used swing charting before, this is your introduction. The visual clarity alone will change how you see price action. You'll start noticing structure that was always there but hidden beneath the noise.
If you're familiar with swing concepts but tired of drawing lines manually or paying for external software, this brings the method home to TradingView where it belongs.
And if you're evaluating whether swing charting fits your trading style, this free version gives you everything you need to decide—no commitment, no trial period, no pressure.
The Philosophy Behind the Design
Markets generate endless data. The question isn't how to see more—it's how to see what matters.
This indicator doesn't try to predict anything. It doesn't generate buy or sell signals. It simply reveals the structure that's already present in price action and lets you—the human—decide what to do with that information.
That's intentional. The best tools don't replace your judgment; they clarify the situation so your judgment can work with better information.
Getting Started
Add the indicator to any chart. The default settings work well for most situations. If you want to adjust colors, line styles, or label content, everything is customizable in the settings panel.
Spend time with it. Watch how swings form and complete. Notice how inside bars pause the action and outside bars create moments of decision. The patterns will start to make sense quickly.
Explore the settings panel to customize colors, line styles, and label content to your preference.
For Traders Ready for More
This LITE version covers the essential swing charting foundation. For traders who want deeper analysis—multi-day swing periods, price and time ratios, comprehensive alerts, data export—there's a PRO version that extends these foundations with professional-grade tools.
But start here. Master the basics. The structure is the same; PRO simply adds more ways to measure and act on it.
อินดิเคเตอร์ Pine Script®
Smart Buy/Sell Signal by donutfinoHere is a complete, formatted description ready for you to copy and paste into the TradingView publishing window.
I have structured this to meet TradingView's House Rules, which require a detailed explanation of the logic behind the script to ensure it provides educational value to the community.
---
### **Smart Buy/Sell Signal**
The **Smart Buy/Sell Signal** is a hybrid trend-following system designed to filter market noise and provide clear entry and exit points. By combining Moving Averages, Standard Deviation (Volatility), and Average True Range (ATR), this indicator creates a dynamic trailing trend line that adapts to changing market conditions.
#### **How It Works**
This script operates on a three-stage logic system to determine the trend direction:
**1. The Baseline (Moving Average)**
The core of the calculation begins with a user-selectable Moving Average (MA). You can choose between SMA, EMA, WMA, or the HullMA (for reduced lag). This establishes the mean price of the asset.
**2. Volatility Detection (Bollinger Logic)**
The script calculates a Standard Deviation channel around the chosen MA.
* **Upper Band:**
* **Lower Band:**
Price breaking these bands suggests a potential volatility expansion and trend initiation.
**3. The Trend Line & ATR Filter**
This is the unique "Smart" component. Instead of simply flipping on a moving average cross, the script uses the **Average True Range (ATR)** to calculate a trailing stop-loss line:
* **In an Uptrend:** If the price is above the Upper Band, the trend line tracks `Low - ATR`. It will only move up, never down, acting as a trailing support.
* **In a Downtrend:** If the price is below the Lower Band, the trend line tracks `High + ATR`. It will only move down, acting as trailing resistance.
**The Signals**
* **Smart Buy:** Triggered when the trailing trend line flips from acting as resistance to support (Trend becomes positive).
* **Smart Sell:** Triggered when the trailing trend line flips from acting as support to resistance (Trend becomes negative).
---
#### **Features & Settings**
* **MA Type:** Choose your preferred baseline.
* *SMA:* Simple and standard.
* *EMA:* Weighs recent data more heavily.
* *WMA:* Weighted Moving Average.
* *HullMA:* Very fast and responsive, reduces lag significantly.
* **MA Period:** Adjust the length of the lookback period (Default: 21).
* **BB Deviations:** Controls how strictly the price must break out to influence the trend (Default: 1.0).
* **ATR Filter Period:** Controls the sensitivity of the trailing line (Default: 5).
* **Visuals:** Toggle Buy/Sell labels on or off to keep your chart clean.
#### **How to Use**
This indicator is best used as a **Trend Following** tool.
1. **Entry:** Wait for a "Smart Buy" label and the line to turn green.
2. **Hold:** Stay in the trade as long as the line remains green. The line acts as a dynamic stop-loss level.
3. **Exit:** Close the position when the "Smart Sell" label appears or price closes below the trend line.
*Note: Like all trend indicators, this works best in trending markets. In a flat or chopping market, consider increasing the MA Period or BB Deviations to filter out false signals.*
---
**Alerts Included**
You can set up server-side alerts for:
* `Smart Buy Alert`
* `Smart Sell Alert`
---
อินดิเคเตอร์ Pine Script®
Block-Based Visual Logic Builder FrameworkThis strategy demonstrates a modular, block-based approach to strategy design in Pine Script. While TradingView does not support true drag-and-drop strategy builders, this script is structured to simulate a visual logic builder by separating trading logic into independent, configurable blocks.
Each block represents a conceptual component (trend, momentum, volatility, session, and risk), allowing users to enable, disable, or modify individual modules for testing and experimentation.
Visual Logic Builder Concept
The strategy is organized into distinct logic blocks:
Session Block - controls when trades are allowed
Trend Block - defines directional bias
Momentum Block - confirms directional strength
Volatility Block - filters for sufficient market movement
Risk Block - standardized ATR-based stop and target logic
This structure mirrors how visual trading systems and drag-and-drop interfaces organize logic into reusable components.
How It Works
Market conditions are evaluated through separate logic blocks.
Each block can be enabled or disabled using inputs.
Final entry decisions are based on the combined output of active blocks.
All exits are managed through a centralized risk block using ATR-based stops and fixed risk-reward.
Purpose
This script is intended as a structural template for building and testing modular trading systems. It emphasizes clarity, execution realism, and repeatable logic rather than optimization or signal density.
Usage Notes
Results depend on symbol, timeframe, volatility regime, and selected block settings. Users are encouraged to experiment with different combinations of blocks and validate behavior across multiple markets before relying on any configuration.
กลยุทธ์ Pine Script®
Bit Secure Gama Blast + snipper theeta decay)⚡ Bit Secure – Gamma Blast + Sniper Theta Decay
NIFTY Options | Greeks-Based Smart Signals
Bit Secure – Gamma Blast + Sniper Theta Decay ek advanced options-focused TradingView indicator hai jo Delta, Gamma aur Theta behavior ke through high-probability intraday & expiry trades identify karta hai.
Ye indicator ATM Straddle logic par kaam karta hai aur specially NIFTY weekly options ke liye design kiya gaya hai.
🔍 Core Logic (Behind the Scenes)
Indicator real Greeks nahi, balki price-based smart proxies use karta hai jo live market me reliable behavior dikhate hain:
• Delta → Directional strength
• Gamma → Sudden momentum / expansion
• Theta → Time decay (expiry edge)
• Straddle Change → Volatility & premium expansion / contraction
🟢 STRADDLE BUY – Gamma Blast
BUY signal tab generate hota hai jab:
✔ Delta strong ho (directional intent)
✔ Gamma spike kare (explosive move)
✔ Straddle premium increase ho
✔ Clear momentum confirmation mile
👉 Best for trend days & breakout sessions
🔴 EXPIRY DECAY SELL – Sniper Mode
SELL signal sirf expiry day (Thursday) par aata hai jab:
✔ Delta neutral ho (directionless market)
✔ Gamma weak ho
✔ Straddle premium gir raha ho
✔ Theta positive ho (fast decay)
👉 Best for expiry theta decay scalping
🧠 Smart Features
✅ Auto ATM Strike Detection (NIFTY based)
✅ One-Shot Signal System (No signal spam)
✅ BUY / SELL Mode Toggle
✅ Live Greeks Dashboard
✅ Clean & Minimal Chart Labels
🛠 How to Use
1️⃣ Chart par NIFTY index lagao
2️⃣ Weekly ATM CE & ATM PE symbols manually paste karo
3️⃣ Mode select karo → BUY ya SELL
4️⃣ Signal aaye → trade only in that direction
5️⃣ SL = premium structure / personal RR rules
🎯 Best Suitable For
• NIFTY Weekly Options
• ATM Straddle Traders
• Expiry Day Scalping
• Greeks-Based Strategy Users
⚠️ Disclaimer
Ye indicator educational & analytical purpose ke liye hai.
Options trading high risk hoti hai — proper risk management & capital discipline zaroor follow karein.
อินดิเคเตอร์ Pine Script®
อินดิเคเตอร์ Pine Script®
Modular Trend Pullback StrategyThis strategy focuses on trading pullbacks within established trends. Instead of entering immediately when a trend forms, it waits for a temporary retracement and then looks for confirmation before placing a trade. The goal is to improve entry timing while keeping risk controlled.
Core Idea
Markets often move in waves. During a strong trend, price tends to retrace toward a short-term average before continuing in the dominant direction. This script attempts to participate in those continuation moves.
How It Works
1. Trend Identification
Two exponential moving averages (EMAs) define direction.
Fast EMA above Slow EMA → bullish environment
Fast EMA below Slow EMA → bearish environment
2. Pullback Condition
In an uptrend, price must retrace below the fast EMA.
In a downtrend, price must retrace above the fast EMA.
This avoids chasing extended moves.
3. Break Confirmation
After a pullback, the strategy waits for price to break the previous candle’s high (for longs) or low (for shorts).
This acts as confirmation that momentum is returning in the direction of the trend.
4. Risk Management
Stop-loss and take-profit levels are based on ATR (Average True Range), allowing exits to adapt to current volatility.
A configurable risk-reward ratio defines profit targets.
Key Features
Non-repainting logic
Entries only when flat (no stacking positions)
ATR-based dynamic stop and target levels
Commission and slippage included for more realistic backtests
Structured, modular logic for easier testing and adjustment
Suitable Market Conditions
This type of approach generally performs best in:
Trending environments
Instruments with sustained directional movement
Timeframes where pullbacks are clearly visible
It may underperform in sideways or low-volatility markets.
Notes
This script is intended for research and testing purposes. Results will vary depending on symbol, timeframe, and market regime. Always evaluate performance across multiple market conditions before considering live execution.
กลยุทธ์ Pine Script®
Context Div Board【裁量トレーダーの羅針盤】Context Div Board
~トレンドの「構造」と「勢い」を可視化し、騙しを回避する環境認識ツール~
1. はじめに(コンセプト)
「私が欲しかった機能を、1つの画面に凝縮しました」
トレードで最も重要なのは、サインが出たかどうかではなく「今、戦って良い相場なのか?」という環境認識です。
このインジケーターは、私が普段のトレードで監視している「ダウ理論(構造)」「MACD(転換の予兆)」「RCI(大局の勢い)」をすべて可視化し、プロの相場観をチャート上に再現するために開発しました。
2. 機能解説:なぜこの機能が必要なのか?
① SuperTrend × Zigzag (相場の「構造」を知る)
多くの人がトレンドの判断に迷いますが、このツールでは「SuperTrend」をベースにしたZigzagラインを自動描画します。
役割: 「高値・安値の切り上げ/切り下げ」を一目で把握できます。
メリット: 今が目線(買い・売り)のどちらなのか、迷うことがなくなります。SuperTrendはあくまで補助輪として、まずはZigzagで「相場の波」を捉えてください。
② MACD ダイバージェンスの「予兆」検知 (転換を「先読み」する)
トレンド転換や押し目買いのチャンスを、MACDのダイバージェンス(逆行現象)で捉えます。
特徴: 通常のツールは「確定後」にサインが出ますが、これは 「予兆(仮サイン)」をリアルタイムで表示 します。
メリット: 「あ、ダイバージェンスになりそうだ」と事前に察知できるため、水平線でのプライスアクション待ちや、早めのエントリー準備が可能になります。マルチタイムフレーム(上位足)のダイバージェンスも検知するため、大きな波の転換も見逃しません。
③ 上位足RCIの「推移」表示 (大局の「勢い」を読む)
「上位足が上昇中」といっても、勢いよく上がっているのか、天井に張り付いているのかで意味合いは全く異なります。
新機能: 右上のテーブルに、上位足RCIの 「直近5本の推移」 を表示しました。
使い方:
80 → 82 → 81 → 80 (赤色): 「天井に張り付いている=強いトレンド継続中(押し目買いチャンス)」
-80 → -75 → -60 (緑色): 「底から立ち上がった=トレンド転換の初動」
このように、数値の「変化」を見ることで、プロと同じような環境認識が可能になります。
3. このインジケーターの使い方(実践シナリオ)
このツールは、サインに従うだけの自動売買ツールではありません。以下のように、あなたの裁量判断を強力にサポートします。
【シナリオA:順張り(押し目買い・戻り売り)】
環境: 右上のテーブルで上位足RCIが「天井/底に張り付いている(強いトレンド)」ことを確認。
合図: メインチャートで 「Hidden(ヒドゥン)」 のダイバージェンス予兆が出現。
行動: トレンド継続のサインです。短期的な調整終了と判断し、エントリーを検討します。
【シナリオB:逆張り(天底・転換狙い)】
環境: 上位足RCIが「80以上から下落」または「-80以下から上昇」し始めたことを確認。
合図: メインチャートで 「Regular(レギュラー)」 のダイバージェンス予兆が出現し、Zigzagラインが反転。
行動: トレンドの終焉を示唆します。重要な水平線(サポレジ)と重なれば、優位性の高い逆張りポイントです。
4. 開発者からのメッセージ
このインジケーターには、ダウ理論による目線付け、オシレーターによる過熱感、そしてダイバージェンスによるエントリー根拠と、裁量トレードに必要な要素を程よく詰め込みました。
「なんとなくのエントリー」を卒業し、 「根拠のあるトレード」 を身につけたい方にとって、これ以上ない補助輪となるはずです。ぜひ、あなたのチャート分析の相棒として活用してください。
ーーー
Context Div Board
~ An environmental recognition tool to visualize trend "Structure" and "Momentum" and avoid false signals ~
1. Introduction (Concept)
"I packed all the features I wanted into a single screen."
The most critical aspect of trading isn't just whether a signal appears, but determining "Is this a market worth trading in right now?" (Market Context).
This indicator was developed to visualize "Dow Theory (Structure)," "MACD (Signs of Reversal)," and "RCI (Overall Momentum)"—everything I monitor in my daily trading—to reproduce a professional market perspective directly on your chart.
2. Feature Explanation: Why do you need these features?
① SuperTrend × Zigzag (Understanding Market "Structure")
Many struggle with judging trends. This tool automatically draws Zigzag lines based on the "SuperTrend."
Role: Instantly grasp "Higher Highs/Higher Lows" or "Lower Highs/Lower Lows."
Benefit: Eliminates confusion about the current directional bias (Buy/Sell). Use SuperTrend as a guide, but focus on the Zigzag to catch the "Market Waves."
② MACD Divergence "Early Detection" (Forecasting Reversals)
Catch trend reversals and dip-buying opportunities using MACD Divergence.
Feature: Unlike standard tools that signal after confirmation, this tool displays "Provisional Signals" (Potential Divergences) in real-time .
Benefit: Since you can sense "a divergence is likely forming" beforehand, you can prepare for entries early or wait for price action at horizontal lines. It also detects Multi-Timeframe (MTF) divergences, so you won't miss reversals in the larger waves.
③ HTF RCI "History" Display (Reading Overall "Momentum")
Just saying "HTF is rising" isn't enough. Is it rising with momentum? Or is it stuck at the ceiling? The meaning is totally different.
New Feature: The table in the top right displays the "History of the last 5 RCI values" .
Usage:
80 → 82 → 81 → 80 (Red): "Stuck at ceiling = Strong trend continuing (Dip buying chance)."
-80 → -75 → -60 (Green): "Rising from the bottom = Beginning of a trend reversal."
By watching the "change" in values like this, you can perform environment recognition just like a pro.
3. How to Use (Practical Scenarios)
This is not an auto-trading tool where you simply follow signals. It powerfully supports your discretionary judgment as follows:
Environment: Confirm on the table that HTF RCI is "Stuck at Ceiling/Floor (Strong Trend)."
Signal: A "Hidden" divergence warning appears on the main chart.
Action: This is a sign of trend continuation. Judge that the short-term correction is over and consider an entry.
Environment: Confirm HTF RCI has started "Falling from above 80" or "Rising from below -80."
Signal: A "Regular" divergence warning appears on the main chart, and the Zigzag line flips.
Action: This suggests the end of a trend. If it overlaps with a key Horizontal Line (Support/Resistance), it is a high-probability reversal point.
4. Message from the Developer
I have packed this indicator with the essential elements for discretionary trading: Directional bias via Dow Theory, Overbought/Oversold conditions via Oscillators, and Entry Rationale via Divergence.
For those who want to graduate from "random entries" and acquire "Logic-based Trading," this should serve as the ultimate set of training wheels. Please use it as your partner in chart analysis.
อินดิเคเตอร์ Pine Script®
อินดิเคเตอร์ Pine Script®






















