Indikator dan strategi
SMC Ultra-Fast: ALL-IN & Auto-Signal [Fixed]How to Use the SMC Pro Indicator: ALL-IN & Dynamic S/R is designed to help you trade following the "Smart Money" quickly and accurately. The usage steps are as follows:
1. Reading Entry Signals
🔥 ALL-IN BUY/SELL: This is the most accurate signal, generated by a breakout of a key support level (Pivot) combined with unusually high trading volume (1.5 times higher) and confirmation from the EMA trend.
Fast Buy/Sell (Small Triangle): This is a supplementary signal when the EMA Fast line crosses the EMA Slow line. It's suitable for finding opportunities to "Follow the Trend" or add to positions when the trend strengthens.
2. Managing Targets (TP/SL/Entry)
When the ALL-IN signal appears, the system will immediately draw three lines to the right of the graph:
Gray line (ENTRY): The price point where you should open an order.
Blue line (TP): Profit target. Calculated using a Risk:Reward Ratio of 2.0 (adjustable).
Red line (SL): Stop-loss point calculated from the ATR value for safety.
3. Using Support and Resistance Boxes (Dynamic Zones)
Green box (Support): Zone with strong buying pressure. If the price tests this level and doesn't break below, there's a high chance of a rebound.
Red box (Resistance): Zone with accumulated selling pressure. If the price tests this level and fails to break through, there's a chance of a pullback.
Disappearance of boxes: When the price "breaks through" the bar, these boxes automatically disappear to indicate that the zone has been broken, and the system will immediately start looking for a new, stronger zone.
4. Auto-Reset System (Completion of Trade)
When the price hits the TP or SL line, the system will mark an "X" on the screen.
The old target line will be immediately deleted to clear the position, making the chart look clean and ready for a new ALL-IN signal.
💡 Additional Tip:
Candlestick color: Trade Buy when the candlestick is green, and trade Sell when the candlestick is red.
If the candlestick is orange, it means the market is sideways. It is recommended to wait for a clear ALL-IN signal before entering a trade.
วิธีใช้งานอินดิเคเตอร์ SMC Pro: ALL-IN & Dynamic S/R นี้ออกแบบมาเพื่อให้คุณเทรดตามรอย "เจ้ามือ" (Smart Money) ได้อย่างรวดเร็วและแม่นยำที่สุด โดยมีขั้นตอนการใช้งานดังนี้ครับ:
1. การอ่านสัญญาณจุดเข้า (Entry Signals)
🔥 ALL-IN BUY/SELL: เป็นสัญญาณที่มีความแม่นยำสูงสุด เกิดจากการเบรคเอาท์แนวสำคัญ (Pivot) ร่วมกับมีแรงซื้อขาย (Volume) สูงกว่าปกติ 1.5 เท่า และเทรนด์ของ EMA ยืนยัน
Fast Buy/Sell (สามเหลี่ยมเล็ก): เป็นสัญญาณเสริมเมื่อเส้น EMA Fast ตัดกับ EMA Slow เหมาะสำหรับใช้หาจังหวะ "Follow Trend" หรือเข้าเพิ่มไม้เมื่อเทรนด์เริ่มแข็งแกร่ง
2. การจัดการเป้าหมาย (TP/SL/Entry)
เมื่อสัญญาณ ALL-IN ปรากฏ ระบบจะวาดเส้น 3 เส้นไปทางด้านขวาของกราฟทันที:
เส้นสีเทา (ENTRY): จุดราคาที่คุณควรเปิดออเดอร์
เส้นสีน้ำเงิน (TP): เป้าหมายทำกำไร ซึ่งคำนวณจากค่า Risk:Reward Ratio ที่ 2.0 เท่า (ตั้งค่าได้)
เส้นสีแดง (SL): จุดตัดขาดทุนที่คำนวณจากค่า ATR เพื่อความปลอดภัย
3. การใช้งานกล่องแนวรับ-แนวต้าน (Dynamic Zones)
กล่องสีเขียว (Support): โซนที่มีแรงซื้อหนาแน่น หากราคาลงมาทดสอบแล้วไม่หลุด มีโอกาสเด้งกลับสูง
กล่องสีแดง (Resistance): โซนที่มีแรงขายสะสม หากราคาวิ่งขึ้นไปทดสอบแล้วไม่ผ่าน มีโอกาสย่อตัวลง
การหายไปของกล่อง: เมื่อราคา "ปิดแท่งทะลุ" กล่องเหล่านี้จะหายไปโดยอัตโนมัติ เพื่อบอกว่าโซนนั้นถูกทำลายแล้ว และระบบจะเริ่มหาโซนใหม่ที่แข็งแกร่งกว่าให้ทันที
4. ระบบ Auto-Reset (จบงาน)
เมื่อราคาเคลื่อนที่ไปชนเส้น TP หรือ SL ระบบจะทำเครื่องหมาย "X" บนหน้าจอ
เส้นเป้าหมายเก่าจะถูกลบออกทันที เพื่อล้างสถานะให้กราฟดูสะอาดและพร้อมสำหรับสัญญาณ ALL-IN รอบใหม่ครับ
💡 เคล็ดลับเพิ่มเติม:
สีแท่งเทียน: เทรดหน้า Buy เมื่อแท่งเทียนสีเขียว และเทรดหน้า Sell เมื่อแท่งเทียนสีแดง
หากแท่งเทียนเป็น สีส้ม หมายถึงตลาดกำลังเลือกทาง (Sideway) แนะนำให้รอสัญญาณ ALL-IN ที่ชัดเจนก่อนเข้าเทรดครับ
JST Clock + 4H Countdown (Flexible Broker Offset)【Samurai's Time Management Tool】
JST Clock + 4H Candle Countdown (Flexible Broker Offset) Displays current Japan Standard Time (JST) and countdown to the next 4-hour candle close (broker server time). Adjustable for your broker's UTC offset (default UTC+3 for OANDA)
Essential for timing entries in 4H strategies — I use it every day to stay in rhythm with the market. This indicator is Protected (source code not public). Detailed usage in my note reports.
Note: Educational/reference purposes only. Not investment advice. Possible bugs. Use at your own risk.
【侍の時間管理ツール】
日本時間時計+4H足カウントダウン(ブローカーオフセット対応) 日本時間(JST)とブローカー基準の次4H足確定までのカウントダウンを表示。 ブローカーUTCオフセット調整可能(OANDAデフォルトUTC+3)
4H足トレードのリズムを刻む必須ツール——私が毎日愛用しています。 このインジケーターはProtected(コード非公開)です。実戦ツールをそのままお届けするためです。
活用法はnoteレポートで深掘り予定です。
注意:教育・参考目的です。投資助言ではなく、誤動作の可能性があります。使用は自己責任でお願いします。
Multi-TF EMA OverlayThis indicator allows to view EMA from multiple Time Frames on the same chart, regardless of the tife frame you are in.
Dynamic MA Signal SuiteDynamic MA Signal Suite is a powerful trend analysis tool designed for traders who rely on moving averages and visual clarity.
Features:
✔ Plots 21, 50, and 200 SMA/EMA with customizable colors
✔ Detects trend conditions: Bullish, Bearish, or Neutral
✔ Candle coloring based on trend for quick visual cues
✔ Background highlights for trend confirmation
✔ Manual alerts for:
• Trend changes
• MA crossovers (21/50, 50/200)
• Price crossing above/below MAs
✔ Trend label pinned to the last candle for guaranteed visibility
✔ Adjustable vertical offset for label positioning
SMC Ultra-Fast: ALL-IN & Auto-Signal [Fixed]Designed to help traders who know absolutely nothing about the market.
And for those whose signals don't disappear, once it goes up, it stays up. 90 percent chance of beating the market.
Master Analytics Dashboard Pro V6Works in any market including Crypto and Stocks
1. Navigating the Settings (Inputs)
Click the "Gear" icon next to the indicator name on your chart to open the settings. You will see several sections with (i) icons—hover over these for helpful tips.
Dashboard Aesthetics: Use this to move the dashboard (e.g., to "Bottom Left") or change the background transparency.
Dashboard Data Toggles: What to display on dashboard.
Technical Settings: This is where you adjust the UT Bot Key and RSI lengths/MACD. For beginners, the default settings are usually best.
SMA/EMA and VWAP Lines: Can add up to 5 SMA and 3 EMA lines and fully customizable. By default SMA 610 ( for lowest bottom) and classical EMA 9, 20, 200 and VWAP will display.
MTF Timeframes: You can choose which timeframes the dashboard monitors. By default, it tracks from 5m up to 1D to show you the "Big Picture" trend.
2. Understanding the Dashboard & Ribbon
The dashboard acts as your "Control Center," aggregating data so you don't have to switch charts.
Trend Ribbon (Cloud): When the cloud is Green, the immediate trend is bullish. When it is Red, the trend is bearish.
Ribbon Trend (MTF): This row shows if the ribbon is bullish or bearish across other timeframes.
Confluence %: This is your most important number. A score of 80% or higher means almost all indicators (MACD, RSI, Trends) are aligned in one direction.
3. Setting Up Individual Alerts
One of the most powerful features of this script is the ability to trigger alerts individually.
Select Your Triggers: In the indicator settings under "7. Alert Thresholds," check only the boxes you want (e.g., Bullish Ribbon Flip). By default, all other alerts are unchecked to prevent spam.
Create the Alert: Click the "Alert" icon (Alarm Clock) on the TradingView sidebar.
Condition: Select "Analytics" and then select "Any alert() function call".
Frequency: Choose "Once Per Bar Close" to ensure the signal is confirmed before you get a notification.
How to Trade:
🟢 The Bullish "Perfect Trade" Checklist
To confirm a high-probability Long entry, aim for as many of these "Green" signals as possible:
Trend Ribbon Flip: The primary ribbon cloud on your chart has turned Green, and price is trading above it.
Confluence Score ≥ 80%: The dashboard shows a bullish confluence of 80% or higher, indicating that RSI, MACD, and Trends are aligned.
MTF Alignment: At least 4 out of the 5 timeframes (e.g., 15m, 1h, 4h, 1D) show a BULL status.
Trend Status: The "Trend Source" row (EMA 200 or SMA 200) reads BULLISH, confirming the long-term trend is in your favor.
UT Bot Confirmation: A tiny BUY label has appeared on the chart (confirmed on bar close).
RSI Momentum: The RSI is above its Moving Average (TRUE) but has not yet crossed the Overbought (80) threshold. Look out for Yellow caution to indicate RSI is OB/OS (Above the candle is OB, below the candle is OS.
🔴 The Bearish "Perfect Trade" Checklist
To confirm a high-probability Short entry, look for these "Red" signals:
Trend Ribbon Flip: The ribbon cloud has turned Red, and price is trading below the basis line.
Confluence Score ≤ 20% (80% Bearish): The aggregate signal shows strong bearish pressure.
MTF Alignment: The higher timeframes (TF 4 and TF 5) specifically show a BEAR status, ensuring you aren't "fighting the trend".
Trend Status: Price is trading below the 200 EMA/SMA, showing the dashboard Trend Status as BEARISH.
UT Bot Confirmation: A tiny SELL label has appeared on the chart.
MACD State: The MACD Fast line is below the Signal line (FALSE on the "MACD > Sig" row).
Kapish trend catcher indicator 2This Pine Script v5 indicator is a straightforward, high-conviction multi-timeframe trend-following tool designed exclusively around Weekly and Daily alignment. It helps traders (especially swing or intraday) stay strictly in the direction of the stronger medium-term trend while timing entries on lower timeframes.
Kapish trend catcher indicatorThis Pine Script v5 indicator is a clean, fully fixed (no user settings) multi-timeframe trend-following system designed to help traders catch strong trends only when the highest timeframes agree. It focuses exclusively on Monthly and Weekly timeframes for trend direction and filtering, while using the current chart's timeframe for precise entry timing.
EMA Cross ToolThis indicator is designed to visually plan structured, rule-based trades using a 15-minute 21 EMA cross during the overnight session (8:00 PM – 4:00 AM EST).
It automatically draws entry, stop-loss, and take-profit levels based on the candle that confirms the EMA cross, allowing traders to execute consistently without emotional decision-making.
Feel free to make changes in the settings if needed. Enjoy!
EMA Cross Tool
This indicator is designed to visually plan structured, rule-based trades using a 15-minute timeframe & 21 EMA cross during the overnight session (8:00 PM – 4:00 AM EST).
It automatically draws entry, stop-loss, and take-profit levels based on the candle that confirms the EMA cross, allowing traders to execute consistently without emotional decision-making.
Hidden Liquidity Breaker & BossDescription: This all-in-one Smart Money Concepts (SMC) suite is designed to identify high-probability institutional interest zones and project future price targets during price discovery. By combining Multi-Timeframe (MTF) market structure with Fibonacci verification, this indicator filters out noise to show only the most significant "Hidden Liquidity" levels where large players are likely to step in.
Key Features:
🔎 Hidden Liquidity Zones (The "Boss" Logic):
Automatically detects high-volume "Ignition Candles" on 4H, Daily, Weekly, and Monthly timeframes.
Smart Filtering: Only displays zones that align with institutional intent—Buy Zones in deep discount (below 50% equilibrium) and Sell Zones in premium (above 50% equilibrium).
Auto-Cleaning: To keep your chart pristine, zones are automatically removed the moment price tests or breaks through them. You only see fresh, untested levels.
🚀 Price Discovery Engine:
When an asset breaks All-Time Highs (like Bitcoin or Silver), historical resistance disappears.
This script automatically projects Fibonacci Extension Targets (1.618 & 2.618) above the current price action, giving you scientific profit-taking levels in unchartered territory.
💎 Institutional Color Coding:
Royal Blue Zones: Represents institutional demand (Buy Side).
Gold Zones: Represents institutional supply (Sell Side).
Hierarchy Icons: Uses clear visual tags (👑 Monthly, ⭐️ Weekly, ⚡️ Daily) so you instantly know the strength of the level without guessing.
📌 Smart Layout:
All labels are pinned to the Right Side of your chart with a "Sticky" logic. No matter how far back a level originates, its label will always be visible next to the current price candle. No more scrolling back to 2022 to find what a line means.
How to Use:
Entry: Wait for price to dip into a Blue Buy Zone (preferably Weekly or Daily). Look for a lower-timeframe confirmation.
Exit/Target: Use the Gold Sell Zones or the dashed Price Discovery Lines (1.618/2.618) as high-probability take-profit levels.
Confluence: The strongest setups occur when a Daily zone sits inside a Weekly zone (Nested Zones).
Settings:
Lookback: Adjusts how far back the script looks for All-Time Highs.
Boss Strength: customizable filter to define how "explosive" a move must be to create a zone.
Label Offset: Controls how close the text labels sit to your current price action.
Up/Dn Volume Ratio + Historical Low MarkerUp/Dn Volume Ratio + Historical Low Marker
📈 Overview
The Up/Dn Volume Ratio is a powerful volume-based sentiment indicator designed to gauge the strength of buying pressure versus selling pressure. It calculates the ratio between the Moving Average of "Up Volume" (volume on bars where price closed higher) and "Down Volume" (volume on bars where price closed lower).
This enhanced version includes a unique Lowest Bottom feature to track historical sentiment lows.
🛠 Key Features
1. Volume Pressure Ratio (Green Line)
This acts as the core oscillator:
Above 1.0: Buying volume is dominating selling volume.
Below 1.0: Selling volume is dominating.
Above 2.0: Indicates strong bullish conviction (High Up/Dn).
2. Smart Background Highlighting
The indicator background automatically highlights (default: Green) when the ratio crosses a specific threshold (Default: 1.0).
This provides an instant visual cue for bullish regimes.
Customization: You can adjust the threshold "X" and the transparency in settings.
3. 🆕 Lowest Bottom Tracker (Red Line)
A custom addition for macro-analysis:
Function: Draws a straight Red Line at the absolute lowest value the ratio has reached within the loaded data history.
Utility: Helps identify extreme oversold volume conditions. When the current ratio touches this red line, it indicates that volume sentiment is testing historical lows.
Timeframe Smart: To keep the chart clean, this line only appears on Daily, Weekly, and Monthly timeframes.
Task Bar Info: The exact value of this low is displayed in the indicator status line (task bar).
⚙️ Settings & Inputs
Up/Dn Vol Length: Length of the Moving Average used for calculation (Default: 50).
Background highlight minimum value: The level required to trigger the background color.
Show Lowest Bottom Line: Checkbox to toggle the red historical low line on or off.
💡 How to Use
Trend Confirmation: If price is rising but the Ratio is flat or falling below 1.0, the trend may lack volume support.
Breakouts: A Ratio spike above 2.0 often confirms a strong breakout.
Support Finding: Watch the Red Lowest Bottom Line on Daily/Weekly charts. If the ratio bounces off this line, it may indicate a floor in selling pressure.
Hero Zero+ Gamma (False Breakout Filter)Hero Zero – EMA + VWAP + Gamma (Strong Candle)
Purpose:
This script is designed to capture high-momentum intraday moves (Gamma Blasts / Hero Zero trades) by combining:
Trend strength (EMA stack)
Institutional reference (VWAP)
Momentum candle quality (Full Body / Marubozu)
Participation confirmation (Volume burst – OI proxy)
It avoids weak breakouts and focuses only on decisive price expansion candles.
1️⃣ EMA STRUCTURE – TREND FILTER
emaFast = ta.ema(close, 9)
emaMid = ta.ema(close, 20)
emaSlow = ta.ema(close, 50)
📈 Why EMAs?
EMAs react faster to price → ideal for intraday momentum
The script uses EMA stacking, not just crossovers
Bullish EMA Stack
emaFast > emaMid > emaSlow
✔ Indicates strong uptrend
✔ Buyers are in control across short, medium & intraday timeframes
Bearish EMA Stack
emaFast < emaMid < emaSlow
✔ Indicates strong downtrend
✔ Sellers dominate
🔒 No EMA stack = no trade
This removes sideways and choppy markets.
2️⃣ VWAP – INSTITUTIONAL BIAS
vwapVal = ta.vwap(hlc3)
Why VWAP?
Used by institutions, algos, prop desks
Acts as a fair value line
Conditions
Bullish trade: close > VWAP
Bearish trade: close < VWAP
📌 This ensures:
You trade with smart money
You avoid mean-reversion traps
3️⃣ VOLUME BURST – GAMMA / OI PROXY
avgVol = ta.sma(volume, 20)
volBurst = volume > avgVol * 1.5
What this represents
Sudden increase in participation
Acts as a proxy for OI build-up / Gamma activity
✔ No volume = no follow-through
✔ Volume burst confirms real interest, not fake moves
4️⃣ STRONG CANDLE LOGIC – CORE EDGE 🔥
Candle Anatomy
bodySize = abs(close - open)
upperWick = high - max(close, open)
lowerWick = min(close, open) - low
A) FULL BODY CANDLE
Meaning:
Price moves strongly in one direction with minimal rejection.
Bullish Full Body
bodySize > upperWick
✔ Buyers pushed price up and held it
Bearish Full Body
bodySize > lowerWick
✔ Sellers dominated without pullback
B) MARUBOZU CANDLE (Institutional Candle)
upperWick <= mintick*2
lowerWick <= mintick*2
✔ Almost no wicks
✔ Pure aggression
✔ Typically seen during:
Option Gamma expansion
Index hero moves
Breakout candles
C) STRONG CANDLE (Final Filter)
Strong Candle = Full Body OR Marubozu
📌 This is powerful because:
Full Body → strong but normal momentum
Marubozu → explosive institutional move
Weak candles are fully filtered out.
5️⃣ HERO ZERO (GAMMA BLAST) CONDITIONS
Bullish Gamma Blast
EMA Stack + Price above VWAP +
Strong Bull Candle + Volume Burst
Bearish Gamma Blast
EMA Stack + Price below VWAP +
Strong Bear Candle + Volume Burst
💥 When all align → probability spike
💥 Designed for fast 1–3 candle expansion
6️⃣ SIGNAL VISUALS
Green “GAMMA BUY” → below candle
Red “GAMMA SELL” → above candle
EMAs + VWAP plotted for context
Signals are rare but high-quality.
7️⃣ ALERT SYSTEM
alertcondition(bullGamma)
alertcondition(bearGamma)
✔ Use for:
Bank Nifty / Nifty
Option buying
Scalping during power hours
8️⃣ BEST USAGE (IMPORTANT)
✅ Recommended Timeframes
3-min → Best balance
5-min → Safer
1-min → Aggressive scalping only
✅ Best Time Window (IST)
9:20 – 11:00 AM
2:30 – 3:15 PM (Hero Zero zone)
9️⃣ WHAT THIS SCRIPT AVOIDS ❌
Sideways chop
Low volume traps
Wicky fake breakouts
EMA crossover noise
🧠 TRADER MINDSET
This is not a signal-spamming indicator.
It is a confirmation engine for:
Index options
Momentum scalps
Gamma expansion trades
Decoy Long / Decoy ShortThis indicator plots a decoy bar. A Decoy bar can be a 'decoy long' or a 'decoy short' bar. A 'decoy long' is a bar that creates a higher high and higher low but ends up as a red bar. A 'decoy short' is a bar that creates a lower high and lower low but still ends up as a green bar.
BT State, Structure & EnergyBT State, Structure & Energy
BT State, Structure & Energy is a market context framework — not a signal generator.
It helps traders understand when meaningful outcomes are possible, before interpreting absorption, aggression, or entries.
This tool enforces the correct analytical hierarchy used by professional traders.
---
Core Concept
Markets resolve in layers, not signals.
This indicator separates volatility behavior into three distinct components:
State (BBWP) → Can something happen?
Structure (Keltner Width %) → Is the market opening or compressing?
Energy (ATR %) → Is there enough participation to traverse structure?
Most traders invert this sequence and fail.
This framework does not.
---
Indicator Mapping
BBWP → State
Defines volatility regime and expansion permission.
Keltner Width % → Structure
Tracks the opening and closing of the market’s price envelope.
ATR % → Energy
Measures the arrival and decay of kinetic participation.
These are non-directional metrics. They describe environment, not bias.
---
Visual Design
BBWP Columns (Heatmap)
Low opacity columns show volatility state without overpowering price.
Compression Background
Subtle shading highlights regimes where expansion is statistically unlikely.
Structure Line (KWP)
User-defined base color with light/dark slope variants.
Energy Line (ATR %)
User-defined base color with light/dark slope variants.
Brightness reflects slope (rising or falling), not direction.
---
How to Use
Start with State
If volatility permission is closed, most signals will fail.
Then read Structure
Structure often opens before state transitions.
Then read Energy
Energy confirms whether structure can be traversed.
Only then interpret Absorption
Absorption matters when expansion is allowed.
Finally read Aggression
Aggression answers who is winning right now .
Correct hierarchy:
Market State → Absorption → Aggression
---
Best Practices
Do not use this as an entry signal
Use it to filter false breakouts and chop
Pair with absorption and order-flow tools
Use higher opacity on HTF, lower on LTF
Adjust slope length per timeframe (longer on HTF)
---
Who This Is For
This tool is designed for traders who want to:
Understand market condition before acting
Avoid chasing activity in compressed regimes
Trade with context instead of indicators in isolation
If you are looking for buy/sell arrows, this is not the tool.
If you want to know where you are , this is exactly the tool.
---
BT State, Structure & Energy
Understand the environment before interpreting the tape.
Advanced RS Ranking & Peer ComparisonAdvanced RS Rating & Sector Comparison
Original Concept & Logic by Dr. Chintan Joshi
Overview
This indicator is designed to help traders identify Market Leaders by quantifying Relative Strength (RS) on a standardized 1-99 scale. Unlike standard RSI (which looks at internal momentum), this RS Rating measures a stock's performance relative to a Benchmark (default: NIFTY 50) over a specific lookback period.
The tool goes a step further by comparing the stock's RS Rating against its Market Cap Index (e.g., Smallcap) and its Sector Index (e.g., CNX Metal, CNX IT) to determine if the stock is a "Leader" or a "Laggard" within its own category.
Key Features
RS Rating (0-99 Scale):
Calculates the ratio of the Stock Price vs. Benchmark (Nifty).
Normalizes this ratio over a lookback period (Default: 90 bars) to produce a score between 1 and 99.
A score of 90+ indicates the stock is in the top tier of relative performance against the benchmark.
Sector & Cap Comparison:
Auto-Sector Detection: The script automatically attempts to detect the sector of the current symbol (e.g., "Tata Motors" -> "CNXAUTO") and compares the stock's RS against the Sector Index's RS.
Market Cap Context: Compares the stock against a broader Market Cap index (Default: CNXSMALLCAP) to see if it is outperforming its capitalization peers.
Leader vs. Laggard Status:
The dashboard calculates the "Lead/Lag" spread.
Green (Leader): The stock's RS Rating is higher than the comparison index.
Red (Laggard): The stock's RS Rating is lower than the comparison index.
How to Use
Add to Chart: The indicator displays a compact table (movable and resizable).
Settings:
RS Lookback Length: Default is 90 (approx 1 quarter for daily charts). Adjust based on your trading style (e.g., 21 for short term, 250 for long term).
Benchmark: Set your base market index (Default: NSE:NIFTY).
Market Cap Index: Set the index relevant to your stock (e.g., NSE:CNXSMALLCAP or NSE:CNX500).
Sector Logic: Keep "Auto-Detect" on for NSE stocks. If the sector is not detected, you can manually define a sector ticker (e.g., NSE:CNXREALTY).
Visuals:
You can change the table size (Tiny to Huge) and position (e.g., Bottom Right) in the settings to fit your screen layout.
Interpreting the Dashboard
RS Rating: The raw strength score of the current symbol.
Lead/Lag: The points difference between the Stock's score and the Index's score.
Example: If Stock RS is 95 and Sector RS is 80, the Lead is +15.0.
Status: Text indication of "Leader" or "Laggard".
Credits:
This script and the underlying Relative Strength ranking logic are based on the concepts developed by Dr. Chintan Joshi.
Esmeralda.AiHow to read the new visuals:
Labels: When a signal appears, the label now calculates the exact price for your Stop Loss (SL) and Take Profit (TP).
Lines: You will see short horizontal lines appear at the signal bar.
Green Line: This is your target.
Red Line: This is where you exit if the trade goes against you.
The 90% Rule: To keep the win rate as high as possible, you can manually move your TP to the Yellow Mean Line if the market looks like it is losing steam.
Enhanced Divergence Scanner═══════════════════════════════════════════════════════════════════
TRADINGVIEW COMPLIANT POST - FOLLOWS ALL HOUSE RULES
═══════════════════════════════════════════════════════════════════
📌 TITLE:
Multi-Oscillator Divergence Detector with Pivot Validation
───────────────────────────────────────────────────────────────────
📝 COMPLIANT DESCRIPTION (addresses all moderator requirements):
───────────────────────────────────────────────────────────────────
**Multi-Oscillator Divergence Detector with Pivot Validation**
This indicator identifies regular divergences by comparing price pivot points against oscillator pivot points across three momentum indicators simultaneously.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
**HOW THE SCRIPT WORKS (Technical Methodology):**
The script uses a multi-step validation process:
1. **Pivot Detection**: The script identifies swing highs and lows on both price and oscillators using the `ta.pivothigh()` and `ta.pivotlow()` functions with configurable left/right lookback periods.
2. **Divergence Validation**: When a new pivot is detected, the script scans historical pivots to find potential divergence pairs where:
- For Bullish: Price makes a lower low while the oscillator makes a higher low
- For Bearish: Price makes a higher high while the oscillator makes a lower high
3. **Line Integrity Check**: Before confirming a divergence, the script draws a temporary test line between the two pivot points and checks if any intermediate price/oscillator values pierce through this line. Only non-pierced divergences are displayed.
4. **Multi-Oscillator Confirmation**: The divergence is checked against RSI, CCI, and MFI independently. The label shows how many oscillators confirmed the same divergence (1, 2, or 3).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
**WHY COMBINE THESE THREE OSCILLATORS:**
Each oscillator measures momentum differently, providing complementary confirmation:
- **RSI (Relative Strength Index)**: Measures the speed and magnitude of recent price changes. Calculated as: RSI = 100 - (100 / (1 + RS)), where RS = Average Gain / Average Loss over the period.
- **CCI (Commodity Channel Index)**: Measures price deviation from the statistical mean. Calculated as: CCI = (Typical Price - SMA) / (0.015 × Mean Deviation). Effective for identifying cyclical turning points.
- **MFI (Money Flow Index)**: A volume-weighted RSI that incorporates buying/selling pressure. Calculated using typical price × volume to create money flow, then applying RSI formula. Adds volume confirmation to momentum analysis.
When multiple oscillators show divergence simultaneously, it suggests stronger conviction in the potential reversal signal.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
**WHAT MAKES THIS SCRIPT UNIQUE:**
1. **Pivot-Based Validation**: Unlike simple divergence indicators that compare consecutive values, this script validates divergences between actual swing points, reducing false signals.
2. **Line Piercing Filter**: The script ensures no intermediate price action invalidates the divergence by checking if prices cross the divergence line.
3. **Triple Confirmation System**: Shows signal strength (1-3) based on how many oscillators agree on the divergence.
4. **Visual Confirmation Status**: Dotted lines indicate unconfirmed (recent) divergences; solid lines indicate confirmed divergences after the lookback period passes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
**HOW TO USE THIS INDICATOR:**
1. **Signal Identification**:
- Green lines with up arrow (▲) = Bullish divergence (potential buy zone)
- Red lines with down arrow (▼) = Bearish divergence (potential sell zone)
2. **Signal Strength**: The number next to the arrow (1, 2, or 3) indicates how many oscillators confirmed the divergence. Higher numbers suggest stronger signals.
3. **Confirmation Status**:
- Dotted line = Divergence is still forming (may be invalidated)
- Solid line = Divergence is confirmed
4. **Best Practices**:
- Use on higher timeframes (4H, Daily) for more reliable signals
- Combine with support/resistance levels for entry timing
- Wait for price action confirmation before entering trades
- Signals with 2-3 oscillator confirmations are generally more reliable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
**SETTINGS EXPLAINED:**
| Setting | Default | Purpose |
|---------|---------|---------|
| Pivot Lookback Left | 3 | Bars to the left required to confirm a pivot |
| Pivot Lookback Right | 1 | Bars to the right required to confirm a pivot |
| Max Historical Bars | 750 | How far back to search for divergence pairs |
| RSI/CCI/MFI Length | 14 | Period for each oscillator calculation |
| Line Width | 2 | Visual thickness of divergence lines |
| Show Labels | On | Toggle signal labels on/off |
**Adjusting for Trading Style:**
- Shorter pivot lookback = More signals, faster detection, more noise
- Longer pivot lookback = Fewer signals, slower detection, higher quality
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
**LIMITATIONS AND RISK DISCLAIMER:**
- Divergences are NOT direct buy/sell signals - they indicate potential reversals
- In strong trends, divergences may fail multiple times before working
- Past divergence patterns do not guarantee future price movement
- Always use proper position sizing and stop-loss orders
- This indicator should be used as part of a complete trading strategy
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
**OPEN SOURCE:**
This script is published open-source. You can view the complete code logic and modify it for your own use according to TradingView's guidelines.
───────────────────────────────────────────────────────────────────
🏷️ TAGS (safe tags without trademark issues):
divergence, oscillator, pivot, momentum, reversal, swing-trading, technical-analysis, multi-timeframe, price-action, trend-reversal
───────────────────────────────────────────────────────────────────
✅ COMPLIANCE CHECKLIST (based on moderator feedback):
Originality & Usefulness:
- Explained WHY these oscillators work together
- Described the unique pivot validation method
- Not just a simple mashup
Description Quality:
- Detailed explanation of underlying logic
- Step-by-step methodology explained
- How to use the indicator
- Settings explained with purpose
Vendor Requirements:
- Publishing as OPEN SOURCE (not invite-only)
- No trademark symbols (™, ®) used
- Clear value proposition explained
No House Rule Violations:
- Original description text
- Educational content included
- Proper risk disclaimer
- No misleading claims
═══════════════════════════════════════════════════════════════════
Malama's DivergenceMalama's Universal Anchored M.A. (UMA+) is a comprehensive moving average utility that unifies over 28 different calculation methods into a single, adaptive framework.
Justification for this Combination (The Mashup): Traders often need to compare different smoothing algorithms (e.g., EMA vs. Hull vs. KAMA) to find the best fit for current market conditions. Standard platforms require swapping individual indicators, which is inefficient. Furthermore, most "Anchored" tools are limited to VWAP. This script solves these issues by housing a vast library of MA calculations in one engine and applying a custom "Universal Anchor" logic to all of them. This allows unique analysis, such as anchoring a Hull Moving Average to an earnings date.
How the Components Work Together:
Calculation Layer: The user selects an MA type (Simple, Adaptive, or Ehlers). The script computes this raw value based on the chosen length.
Anchor Layer: If "Anchored Mode" is enabled, the script monitors for the specific start condition (Date, Bar Index, or Start of Data). Upon detection, it resets the calculation array, forcing the MA to calculate only from that specific point forward.
Visualization Layer: The final output is color-coded based on the price's position relative to the MA (Green for Bullish, Red for Bearish) and displayed with an optional fill for trend clarity.
Dashboard Layer: Real-time values, deviation percentages, and trend status are fed into an on-chart table for quick reference.
Included MA Types:
Standard: SMA, EMA, WMA, TMA, VWMA, SMMA.
Low Lag: HMA (Hull), ZLEMA (Zero-Lag), DEMA, TEMA, T3.
Adaptive: KAMA (Kaufman), VIDYA (Chande), FRAMA (Fractal), McGinley Dynamic, Kalman Filter.
Ehlers: MAMA/FAMA, Cyber Cycle, Super Smoother, Laguerre, Reflex.
Strategy Idea: Stacking for Crossovers Because this script is a "Universal Framework," you can use it to build custom crossover strategies by adding it to your chart twice:
Add Instance 1: Set it to a fast, responsive type like Hull MA (Length 14).
Add Instance 2: Set it to a smooth, stable type like KAMA (Length 50).
Trade the Cross: Use the intersection of these two distinct mathematical models as a high-quality trend entry trigger.
Disclaimer: This tool is for educational analysis only. Trading involves risk.
Malama's Universal anchored M.A.Malama's Universal Anchored M.A. (UMA+) consolidates over 28 different moving average calculation methods into a single, unified framework. It introduces a unique "Anchored Mode" that allows traders to apply advanced smoothing algorithms—normally reserved for rolling windows—to specific fixed starting points in time.
Justification for this Combination (The Mashup): Standard platforms force traders to switch between dozens of separate indicators to compare different moving averages (e.g., swapping an EMA script for a Hull MA script). Furthermore, most "Anchored" tools are limited to VWAP. This script solves these limitations by:
Unifying Calculations: It houses the math for 28+ MA types (Simple, Exponential, Adaptive, and Ehlers filters) in one engine.
Universal Anchoring: It applies a custom anchoring logic to all these types, allowing you to anchor a Hull MA or a Kalman Filter to a specific news event—something impossible with standard tools.
How the Components Work Together:
Selection Layer: The user selects a calculation method (e.g., "KAMA") and a length.
Calculation Layer: The script computes the raw moving average value for the current bar based on the selected formula.
Anchor Layer: If "Anchored Mode" is enabled, the script detects the start condition (Time, Bar Index, or First Bar). It resets the calculation arrays at that specific point, treating it as the "zero" bar for the moving average math.
Visualization Layer: The final output is dynamically colored based on price position (Price > MA = Bullish) and displayed with an optional trend fill.
Included MA Types:
Standard: SMA, EMA, WMA, TMA, VWMA, SMMA.
Low Lag: HMA (Hull), ZLEMA (Zero-Lag), DEMA, TEMA, T3.
Adaptive: KAMA (Kaufman), VIDYA (Chande), FRAMA (Fractal), McGinley Dynamic, Kalman Filter.
Ehlers: MAMA/FAMA, Cyber Cycle, Super Smoother, Laguerre, Reflex.
Strategy Idea: Stacking for Crossovers Because this script is a "Universal Framework," you can add it to your chart twice to build custom strategies:
Add UMA+ Twice.
Set Instance 1 (Fast): Select a responsive type like Hull MA (Length 14).
Set Instance 2 (Slow): Select a smooth type like KAMA (Length 50).
Trade the Cross: Use the intersection of these two distinct mathematical models as a trend entry trigger.
Disclaimer: This tool is for educational analysis only. Trading involves risk.
Half Closing CandleHalf Closing Candle
This indicator identifies candles whose closing price falls within the upper or lower half of the candle range, measured from the midpoint relative to the candle’s open. It helps traders quickly spot candles that close toward the open or high/low extremes, providing insight into momentum, indecision, or potential reversal areas.
The script highlights these candles with a subtle, non-intrusive overlay directly on the chart, without altering candle wicks or overall price representation, ensuring visual clarity and professional presentation.






















