Candlestick Analysis
Find explosive candlesDefault values
Candles that are at least (2) times larger than the average of the previous (20) candles.
Candles where the body represents (80)% or more of the total candle size.
Visualization
Bullish and bearish candles that meet or exceed the default values are displayed in a different color.
The percentage of the body relative to the entire candle is displayed.
The number of times the candle is larger than the average of the previous (20) candles is displayed.
Note
The values in parentheses can be adjusted by the user and are therefore subject to change.
TLM HTF CandlesTLM HTF Candles
Higher timeframe candles displayed on your current chart, optimized for The Lab Model (TLM) trading methodology.
What It Does
Plots up to 6 HTF candles side-by-side on the right of your chart with automatic swing detection, expansion bias coloring, and a quick-reference info table. Watch multiple timeframes at once without switching charts.
Swing Detection - Solid lines for confirmed swings, dashed for potential swings. Detects when HTF levels get swept and rejected.
Expansion Bias - Candles colored green (bullish), red (bearish), or orange (conflicted) based on 3-candle patterns showing expected price expansion.
HTF Info Table - Compact dashboard showing time to close, active swings, and expansion direction for all timeframes. Toggle dark/light mode.
Equilibrium Lines - 50% midpoint from previous candle to current, great for mean reversion targets.
Based on "ICT HTF Candles" by @fadizeidan -
Heavily customized with swing analysis, expansion patterns, and info table for TLM trading concepts.
Trend CandlesThis shows candlesticks that only follow the trend. So it will make it easier to know where the trend is going.
Candle Color [AY¹]Visually highlight specific time periods with custom colors on intraday charts.
Ideal for session-based traders who want to emphasize New York, London or any custom trading hours. Developed by AY¹
Candle Color Highlighter
A simple yet powerful intraday visualization tool that colors candles or chart background during your chosen trading sessions.
Perfect for traders who rely on time-based confluences — such as ICT, SMC, or session scalping frameworks.
🔧 Key Features
✅ Highlight up to four custom time periods (e.g. London Open, NY Open, Lunch Hour, etc.)
✅ Supports multiple highlight styles:
• Bar Color only
• Background only
• Both
✅ Full timezone control (Exchange, UTC, New York, London, Tokyo, or custom UTC+3)
✅ Works on all intraday timeframes or only those you select (1m–4h).
✅ Optional labels marking session starts.
✅ Integrated alerts when any period becomes active.
✅ Informative status table showing timezone, timeframe, and active period.
🕒 Use Cases
Highlight New York Killzone (07:30–09:30) or London Open (02:00–03:00)
Separate different liquidity windows
Emphasize your backtest periods
Combine with volume, displacement, or structure indicators for time-based confluence setups
🎨 Customization
Each of the four configurable periods allows you to choose:
Start/End time
Custom color and transparency
Session label visibility
Highlight style preference
💡 Example Setup
Period Session Time Color Notes
Period 1 02:00–03:00 Magenta London Killzone
Period 2 07:30–08:30 Yellow NY Pre-market
Period 3 08:30–09:30 Blue NY Open
Period 4 09:30–10:00 Green Initial Balance
Candlestick Patterns v1.0🔍 Overview
Candlestick Patterns v1.0 automatically identifies popular bullish and bearish candlestick formations directly on your chart.
It highlights potential reversal and continuation signals using color-coded visual markers — so traders can quickly spot opportunities without manually scanning candles.
This tool is designed for traders who rely on price action, pattern confirmation, or trend reversal analysis.
⚙️ Features
Detects major patterns:
Doji, Dragonfly Doji, Gravestone Doji
Morning Star and Evening Star
Hammer and Inverted Hammer
Bullish & Bearish Engulfing
Shooting Star and Hanging Man
Customizable bullish/bearish colors
Toggle each pattern on or off
Lightweight and compatible with all timeframes and instruments
🧠 How to Use
1. Add to chart — open the indicator and click Add to chart.
2. Choose patterns — open Settings → Inputs and select which patterns to display.
3. Interpret signals:
🟢 Bullish patterns appear below candles (possible buy/reversal areas).
🔴 Bearish patterns appear above candles (possible sell/reversal areas).
4.Use alongside other tools like RSI, Moving Averages, or Volume for confirmation.
💡 Tips
Look for Hammers or Bullish Engulfing at support in a downtrend → strong buy signals.
Look for Shooting Stars or Bearish Engulfing at resistance in an uptrend → potential short setups.
Avoid using on extremely low timeframes unless combined with filters (trend/RSI/volume).
👨💻 Author
Created by @hjvasoya
© 2025 — Published under the Mozilla Public License 2.0
Candle Open-Close DifferenceThis script gives you the different price/points for each candle open and close.
Syed Shams - PSX Dashboard v2.0A compact dashboard that summarizes trend/strength context for Pakistan stocks and indices. It normalizes signals from widely-used tools into a single table so you can triage symbols quickly—no alerts, no buy/sell calls.
What’s inside (columns):
------------------------------
- Scrip / Price / Δ%: Symbol, last price, and percent change vs the previous bar close on the active timeframe (e.g., on 1D it’s vs prior daily close).
- LMH / LML / LWH / LWL: Last Month/Week High & Low. Optional setting to use closed prior M/W bars.
- EMAs 5/9/21/44/100/200: Six mini-squares. Green = price ≥ that EMA, Red = below.
- RS5 / RS21 (vs KSE100): Arrows show out/under-performance over two user-set return windows.
- RSI: Text = RSI value with slope arrow; Blue fill when RSI > its EMA (bullish bias), Red fill when below.
- OBV: Blue/Red fill for OBV vs its EMA; slope arrow uses the global Slope Lookback.
- MACD (M A C D): 4 tiny histogram bars colored by quadrant/acceleration for quick trend read.
- ADX / DMI: ADX value (color-coded: >50 red, 25–50 green, 20–25 orange, <20 red) + slope arrow. +DI / −DI arrows with neutral/green/red fill when +DI dominates/equals/−DI dominates.
- ST 5,1 / ST 8,2: Green/Red dots for SuperTrend state.
- Ichimoku: Cell fill for price vs cloud (above/inside/below). “Laser” dash appears on fresh HH/LL checks.
- BB Zone: Uses BB(20,1/2/3).
• price ≥ U2 → “BB3” (Dark Blue text, Light Blue fill)
• U1 < price < U2 → “BB2” (Dark Blue / Light Blue)
• L1 ≤ price ≤ U1 → “BB1” (Dark Green / Light Green)
• L2 < price < L1 → “BB2” (Dark Red / Light Red)
• price ≤ L2 → “BB3” (Dark Red / Light Red)
Also shows BB3 upper-band slope using the global lookback: “+” widening, “−” contracting, “=” flat.
- Grade (A/B/C/D): Optional composite score; rows sort by score when enabled.
Grade scoring:
------------------
Price ≥ each EMA +1 (max +6) · RS5>idx +2, RS21>idx +1 · OBV>EMA +2, OBV-EMA↑ +1 · RSI>50 +2, RSI>EMA +1, RSI slope↑ +2 / ↓ −2 · MACD hist: ≥0&rising +2, ≥0&falling +1, <0&falling −2, <0&rising −1 · +DI>−DI +1, +DI slope↑ +1 · ADX: >50 −2, 25–50 +2, 20–25 +1, ADX slope↑ +1 · ST(5,1) +1, ST(8,2) +1 · Ichimoku: above cloud +1, below −1, HH “laser” +2 / LL −2 · BB zone: inside BB1 +1; above BB1 +2; BB3 widening +2; shrinking −2; flat 0.
Controls & workflow:
-------------------------
- Universe selector (incl. sector lists and Custom Watchlist).
- Show KSE index rows (off by default).
- Slope Lookback (arrows): one control for RSI/ADX/DMI/OBV/BB3 slope checks.
- Closed bars for LM/LW H/L (off by default).
- Dark Mode (off by default): optimized table contrast for black charts.
- Show Grades toggle.
How to use:
---------------
1) Pick your universe and timeframe.
2) Adjust Slope Lookback (default 1) if you want a stricter/looser slope test.
3) Sort by Grade (on) to find leaders/laggards, then open charts for entries/exits using your own process.
Notes:
--------
- Timeframe-aware: all calculations—including Δ% and RS windows—use the active chart TF.
- Educational research tool. Not investment advice. No alerts.
Brain ScalpThis indicator is designed for price action study.
It automatically marks order blocks (OBs) and highlights candlestick formations that may indicate potential market behavior.
The purpose of this tool is to assist with chart analysis and market structure observation.
This script is created for educational and research purposes only.
It does not provide buy or sell signals, and it is not financial advice.
Bhushan's Early Breakout DetectorThis is a test script , use it only after validation and tracking , Publisher not responsible for any gain or loss
Actually Engulfing CandlesticksThis thing attempts to find price reversals with actually engulfing candlesticks with volume spikes and RSI values as confirmation. It works well on mean reverting assets I guess.
Green dots below bars = bullish reversal
Fuchsia dots above bars = bearish reversal
Have fun!
Candle Opens by HAZED🎯 Candle Opens by HAZED - Multi-Timeframe Open Levels Indicator
📊 Overview
This powerful indicator displays multiple timeframe opening prices on your chart, providing crucial reference levels that institutional traders and algorithms frequently monitor. Track up to 7 different timeframe opens simultaneously, from 1-hour to yearly, with advanced visualization features including dynamic coloring, heatmap analysis, and real-time status tracking.
✨ Key Features
📈 Multi-Timeframe Support:
- 1H, 4H, Daily, Weekly, Monthly, Quarterly, and Yearly opens
- Each timeframe can be individually enabled/disabled
- Automatic visibility adjustment based on chart timeframe
🎨 Dynamic Visual System:
- Smart Color Coding: Lines automatically change color based on price position (green above, red below)
- Customizable Styling: Adjust line thickness, transparency, and colors
- Intelligent Line Positioning: Choose between equal-length or staggered lines for better visibility
- Enhanced Labels: Display timeframe only or include price with colored background
🌈 Advanced Heatmap:
- Background coloring shows overall market sentiment across all timeframes
- Gradient or solid color modes
- Instantly see when multiple timeframes align bullish or bearish
📊 Status Table Dashboard:
- Real-time overview of all active opens
- Shows current price position relative to each open
- Simplified view when all timeframes align
- Customizable position and font style
⚙️ Professional Tools:
- Alert system for new open levels
- Extended hours session support
- Price discovery mode for EOD/intraday discrepancies
- Left/right line extensions for enhanced visibility
💡 Trading Applications
Support & Resistance:
Opening prices act as natural support/resistance levels. Price often reacts at these levels, providing entry/exit opportunities.
Trend Confirmation:
When price is above multiple opens (especially higher timeframes), it confirms bullish momentum. The opposite indicates bearish pressure.
Mean Reversion:
Price tends to revert to significant opens, particularly daily and weekly levels. Use these as targets for counter-trend trades.
Breakout Trading:
Monitor when price breaks above/below clustered opens for potential continuation moves.
Risk Management:
Use opens as logical stop-loss levels or position sizing references based on distance from key opens.
🔧 Indicator Settings
Timeframes Section:
- Toggle each timeframe on/off
- Customize individual colors
Visual Style Section:
- Dynamic Colors: Auto-color based on price position
- Line Thickness: 1-4 pixels
- Transparency: 0-80%
- Extension Length: How far lines extend right
- Label Style: Plain or enhanced with price
Heatmap Section:
- Enable/disable background coloring
- Adjust transparency
- Choose gradient or solid zones
Status Table Section:
- Position on chart
- Font selection
Advanced Section:
- Enable alerts for new opens
- Price discovery mode
- Extended hours inclusion
]📈 Best Practices
1. Timeframe Selection:
- For intraday: Focus on 1H, 4H, and Daily
- For swing trading: Daily, Weekly, Monthly
- For position trading: Monthly, Quarterly, Yearly
2. Color Coding:
- Enable dynamic colors for instant sentiment reading
- Use heatmap for overall market bias
3. Confluence Zones:
- Pay special attention when multiple opens cluster
- These zones often produce stronger reactions
4. Alignment Signals:
- When all timeframes show same color = strong trend
- Mixed colors = potential consolidation or reversal zone
🎯 Pro Tips
- Volume Confirmation: Combine with volume indicators to confirm reactions at open levels
- Multiple Instruments: Compare opens across correlated assets for divergences
- News Events: Opens often act as magnets after major news releases
- Options Trading: Weekly and monthly opens align with options expiry levels
- Algorithmic Levels: Many algorithms use these opens for entries/exits
🔄 Updates in Version 8.3
- Added 1H and 4H timeframe support
- Enhanced dynamic color system
- Implemented heatmap visualization
- Added real-time status table
- Optimized performance for smoother operation
- Improved label styling options
- Better yearly timeframe detection
⚡ Performance Optimizations
This indicator uses advanced Pine Script v6 features for optimal performance:
- Efficient object reuse instead of recreation
- Smart calculation loops
- Minimal repainting
- Optimized for real-time updates
📝 Notes
- Works on all markets (stocks, forex, crypto, futures)
- Best on timeframes lower than the opens you're tracking
- Lines automatically hide when their timeframe is lower than chart timeframe
- Past opens are not displayed (indicator shows current opens only)
🙏 Credits & Support
Created by HAZED | Version 8.3
Optimized for TradingView Pine Script v6
For questions, suggestions, or bug reports, please comment below.
If you find this indicator useful, please consider leaving a like and a follow!
Remember: No indicator is perfect. Always use proper risk management and combine multiple confirmation signals in your trading decisions.
Trade PullBack - EMA Pullback System with Auto Risk-Reward# Trade Pull Back - Professional Pullback Trading System
## 📊 Overview
**Trade Pull Back** is a comprehensive pullback trading system that combines trend-following principles with precise entry timing using candlestick pattern confirmation. This indicator is designed for traders who want to enter trending markets at optimal retracement levels with pre-calculated risk-reward ratios.
---
## 🎯 Core Methodology
### Why This System Works
Most traders struggle with two key challenges:
1. **Entering too early** - jumping into trades before the pullback completes
2. **Entering too late** - missing the momentum after the pullback reverses
This system solves both problems by using a **3-Phase Confirmation Process**:
**Phase 1: Trend Identification** → **Phase 2: Pullback Detection** → **Phase 3: Reversal Confirmation**
---
## 🔧 How It Works
### 1. Triple EMA Framework (The Foundation)
Unlike traditional single EMA systems, this indicator uses **3 separate EMAs** with different purposes:
- **EMA Trend (default: 50)** - Determines the overall market direction
- Source: HL/2 for balanced trend reading
- Acts as the primary filter - we only trade in its direction
- **EMA High (default: 20)** - Dynamic resistance in uptrends
- Source: High prices for accurate resistance mapping
- Entry trigger for bullish setups when price closes above it
- **EMA Low (default: 20)** - Dynamic support in downtrends
- Source: Low prices for accurate support mapping
- Entry trigger for bearish setups when price closes below it
**Why 3 EMAs?**
- Single EMA can't distinguish between trend and pullback zones
- Two EMAs (like MACD) don't provide clear entry/exit levels
- Three EMAs create a **channel system** that identifies both trend direction AND optimal entry zones
### 2. Pattern Recognition Engine
The system detects two high-probability reversal patterns:
#### Engulfing Patterns
- **Bullish Engulfing**: Previous bearish candle completely engulfed by bullish candle
- **Bearish Engulfing**: Previous bullish candle completely engulfed by bearish candle
- Validates: Strong momentum reversal with volume confirmation
#### Pin Bar Patterns
- **Bullish Pin Bar (Hammer)**: Long lower wick (60%+ of total range) rejecting lower prices
- **Bearish Pin Bar (Inverted Hammer)**: Long upper wick (60%+ of total range) rejecting higher prices
- Validates: Institutional rejection at support/resistance levels
**Pattern Quality Filter:**
- Body-to-wick ratio must meet minimum standards
- Checks previous candle momentum
- Requires trend alignment before signaling
### 3. Pullback Confirmation System
The system includes **5 mandatory conditions** before generating a signal:
#### For Bullish Signals (BUY):
1. ✅ Close > EMA Trend (uptrend confirmed)
2. ✅ EMA High > EMA Trend AND EMA Low > EMA Trend (healthy trend structure)
3. ✅ Bullish Engulfing OR Bullish Pin Bar (pattern detected)
4. ✅ Close > EMA High (breakout confirmation)
5. ✅ Optional: Low < EMA High (pullback occurred)
#### For Bearish Signals (SELL):
1. ✅ Close < EMA Trend (downtrend confirmed)
2. ✅ EMA High < EMA Trend AND EMA Low < EMA Trend (healthy trend structure)
3. ✅ Bearish Engulfing OR Bearish Pin Bar (pattern detected)
4. ✅ Close < EMA Low (breakdown confirmation)
5. ✅ Optional: High > EMA Low (pullback occurred)
**Additional Filters:**
- **Consecutive Bars Check**: Ensures pullback had momentum (1-5 bearish/bullish bars)
- **Signal Spacing**: Minimum 4 bars between signals to avoid noise
- **Confirmation Delay**: Signal appears only AFTER bar closes (no repainting)
---
## 💰 Automatic Risk-Reward Calculator
### Smart Position Sizing
When a signal triggers, the system automatically calculates:
**For Long Positions:**
- **Entry**: High of signal candle
- **Stop Loss**: Lower of last 2 candle lows (protects against false breakouts)
- **Target 1 (1R)**: Entry + 1x Risk
- **Target 2 (2R)**: Entry + 2x Risk
- **Target 3 (3R)**: Entry + 3x Risk
**For Short Positions:**
- **Entry**: Low of signal candle
- **Stop Loss**: Higher of last 2 candle highs
- **Targets**: Calculated based on risk multiple
### Auto-Remove Feature
Lines and labels automatically disappear when:
- Price hits Stop Loss (trade invalidated)
- Price reaches 3R target (trade complete)
This keeps your chart clean and focuses only on active trades.
---
## 📈 Multi-Timeframe Trend Analysis
### Confluence Trading
The built-in MTF trend box shows trend status across 7 timeframes simultaneously:
- M1, M5, M15, M30, H1, H4, D1
**Color Coding:**
- 🟢 **Green**: Uptrend (Price > EMA Trend AND EMAs aligned bullish)
- 🔴 **Red**: Downtrend (Price < EMA Trend AND EMAs aligned bearish)
- ⚪ **Gray**: No clear trend
**Why This Matters:**
- Trade with higher timeframe trends for better win rate
- Avoid counter-trend trades when all timeframes show same direction
- Identify divergences between timeframes for reversal opportunities
---
## 🎨 Customization Options
### EMA Settings
- Adjust periods for different trading styles (scalping vs swing trading)
- Choose price sources (HL/2, Close, HLC/3) for sensitivity tuning
### Pattern Selection
- Enable/disable Engulfing patterns
- Enable/disable Pin Bar patterns
- Trade only your preferred pattern type
### Signal Filters
- **Require Pullback**: Force pullback condition (stricter entries)
- **Consecutive Bars**: Set momentum requirement (1-5 bars)
### Display Options
- Show/hide EMA lines
- Show/hide signals
- Enable/disable alerts
- Customize Risk-Reward line styles and extensions
---
## 📋 How to Use This Indicator
### Step 1: Identify the Trend
- Wait for price to establish clear direction relative to EMA Trend (50)
- Check MTF box to confirm higher timeframe alignment
### Step 2: Wait for Pullback
- In uptrend: Watch for price to pull back toward EMA High
- In downtrend: Watch for price to pull back toward EMA Low
### Step 3: Pattern Confirmation
- Look for Engulfing or Pin Bar pattern (triangle/diamond markers)
- Ensure pattern forms at or near the EMA High/Low zone
### Step 4: Entry & Risk Management
- Enter when signal appears (after bar closes)
- Use displayed Stop Loss and Take Profit levels
- Consider partial profits at 1R and 2R, let remainder run to 3R
### Step 5: Trade Management
- If price hits SL, lines disappear automatically (trade invalidated)
- If price reaches 3R, lines disappear (trade complete)
- Consider trailing stop after 1R is reached
---
## ⚙️ Recommended Settings
### For Scalping (M1-M5)
- EMA Trend: 20-30
- EMA High/Low: 10-15
- Require Pullback: OFF
- Consecutive Bars: 1
### For Day Trading (M15-H1)
- EMA Trend: 50 (default)
- EMA High/Low: 20 (default)
- Require Pullback: ON
- Consecutive Bars: 2-3
### For Swing Trading (H4-D1)
- EMA Trend: 100-200
- EMA High/Low: 50
- Require Pullback: ON
- Consecutive Bars: 3-5
---
## ✅ What Makes This Script Original
### 1. Systematic Approach
This isn't just a collection of indicators. It's a **complete trading system** with:
- Defined entry rules (5-point confirmation checklist)
- Automatic risk management (SL/TP calculation)
- Trade validation (consecutive bars, signal spacing)
### 2. Smart EMA Framework
The 3-EMA system creates a **dynamic channel** that adapts to market conditions:
- Trend EMA = Direction filter
- High/Low EMAs = Entry/Exit zones
- Together they form a "trade zone" that standard EMAs can't provide
### 3. Pattern Quality Control
Not all Engulfing or Pin Bar patterns are equal. This system:
- Validates body-to-wick ratios
- Checks previous candle momentum
- Requires trend alignment before signaling
### 4. Auto Risk-Reward Management
Most indicators just show signals. This one:
- Calculates exact entry prices
- Places stop loss at optimal location (lower of 2 lows)
- Projects 3 profit targets based on risk
- Auto-removes when trade is complete/invalidated
### 5. No Repainting
- All signals appear AFTER bar closes
- No future data leaking
- What you see in backtest = what you get in real-time
---
## 🚨 Alerts
Built-in alerts notify you when:
- Bullish signal confirmed
- Bearish signal confirmed
Alerts fire once per bar (no spam) and only after bar closes (no false alerts).
---
## 📊 Best Practices
### ✅ DO:
- Trade in direction of higher timeframe trends
- Wait for full confirmation (all 5 conditions met)
- Use proper position sizing (1-2% risk per trade)
- Let winners run to at least 2R
### ❌ DON'T:
- Trade against major trend on MTF box
- Enter before signal bar closes
- Ignore the Stop Loss level
- Overtrade - respect the 4-bar minimum spacing
---
## 🔍 Limitations
This indicator is a **tool**, not a crystal ball:
- No indicator wins 100% of the time
- False signals occur in choppy/ranging markets
- Best results in trending conditions
- Requires proper risk management
- Should be combined with fundamental analysis and market context
---
## 📚 Educational Value
This script teaches:
- How to combine trend following with mean reversion
- Pattern recognition and validation
- Risk-reward ratio calculation
- Multi-timeframe analysis
- Proper trade entry timing
---
## 🎓 Credits & Disclaimer
**Original Work**: All code written from scratch
**Methodology**: Based on classical technical analysis principles (EMA crossovers, candlestick patterns, support/resistance)
**Disclaimer**: This indicator is for educational purposes. Past performance does not guarantee future results. Always practice proper risk management.
---
## 📞 Support
If you find this indicator helpful:
- Leave a review
- Share with fellow traders
- Provide feedback for improvements
**Note**: This is a closed-source script to protect the proprietary signal logic and filtering algorithms. The description above provides comprehensive understanding of the methodology without revealing exact implementation details.
---
**Version**: 1.0
**Pine Script Version**: 5
**Type**: Indicator (Overlay)
**Category**: Trend Following + Pattern Recognition
---
*Happy Trading! 🚀*
# 🇹🇭 คู่มือภาษาไทย / Thai Guide
# Trade Pull Back - คู่มือภาษาไทย
## 📊 ภาพรวม
**Trade Pull Back** เป็นระบบเทรด Pullback ที่ผสมผสานการเทรดตามเทรนด์กับการจับจังหวะเข้าออเดอร์ด้วย Candlestick Pattern พร้อมคำนวณ Risk-Reward อัตโนมัติ
---
## 🎯 หลักการทำงาน
### ทำไมระบบนี้ได้ผล?
แก้ปัญหา 2 ข้อหลักของเทรดเดอร์:
1. **เข้าเร็วเกินไป** - เข้าก่อน Pullback เสร็จ
2. **เข้าช้าเกินไป** - พลาดโมเมนตัมหลังกลับตัว
**วิธีแก้**: ใช้กระบวนการยืนยัน 3 ขั้นตอน
- **ขั้น 1**: ระบุเทรนด์ → **ขั้น 2**: ตรวจจับ Pullback → **ขั้น 3**: ยืนยันการกลับตัว
---
## 🔧 ส่วนประกอบหลัก
### 1. ระบบ EMA 3 เส้น
ต่างจาก EMA ทั่วไป ระบบนี้ใช้ 3 เส้นที่มีหน้าที่แยกกัน:
- **EMA Trend (50)** - กำหนดทิศทางเทรนด์หลัก
- **EMA High (20)** - แนวต้านไดนามิก (สำหรับ Buy)
- **EMA Low (20)** - แนวรับไดนามิก (สำหรับ Sell)
**ทำไมต้อง 3 เส้น?**
- 1 เส้น = แยกเทรนด์กับ Pullback ไม่ได้
- 2 เส้น = ไม่มีจุด Entry/Exit ชัดเจน
- 3 เส้น = สร้าง Channel ที่บอกทั้งเทรนด์และโซนเข้าออเดอร์
### 2. ตรวจจับ Pattern
ระบบตรวจจับ 2 Pattern หลัก:
**Engulfing (แท่งกลืน)**
- Bullish: แท่งเขียวกลืนแท่งแดงทั้งหมด
- Bearish: แท่งแดงกลืนแท่งเขียวทั้งหมด
**Pin Bar (แท่งหาง)**
- Bullish: หางล่างยาว 60%+ ของช่วงทั้งหมด
- Bearish: หางบนยาว 60%+ ของช่วงทั้งหมด
### 3. เงื่อนไขยืนยันสัญญาณ (5 ข้อ)
**สัญญาณ Buy:**
1. ✅ ราคาปิด > EMA Trend (เทรนด์ขาขึ้น)
2. ✅ EMA High และ Low เหนือ EMA Trend (โครงสร้างดี)
3. ✅ เกิด Bullish Engulfing หรือ Pin Bar
4. ✅ ราคาปิด > EMA High (ยืนยัน Breakout)
5. ✅ ตัวเลือก: มี Pullback มาแตะ EMA High
**สัญญาณ Sell:**
1. ✅ ราคาปิด < EMA Trend (เทรนด์ขาลง)
2. ✅ EMA High และ Low ใต้ EMA Trend (โครงสร้างดี)
3. ✅ เกิด Bearish Engulfing หรือ Pin Bar
4. ✅ ราคาปิด < EMA Low (ยืนยัน Breakdown)
5. ✅ ตัวเลือก: มี Pullback มาแตะ EMA Low
**ตัวกรองเพิ่มเติม:**
- ต้องมีแท่งติดกัน 1-5 แท่ง (กำหนดได้)
- ห่างสัญญาณก่อนหน้าอย่างน้อย 4 แท่ง
- สัญญาณปรากฏหลังแท่งปิดเท่านั้น (ไม่ Repaint)
---
## 💰 คำนวณ Risk-Reward อัตโนมัติ
เมื่อสัญญาณเกิด ระบบคำนวณให้อัตโนมัติ:
**Long Position:**
- Entry = High ของแท่งสัญญาณ
- Stop Loss = Low ที่ต่ำกว่าของ 2 แท่งล่าสุด
- Target = 1R, 2R, 3R
**Short Position:**
- Entry = Low ของแท่งสัญญาณ
- Stop Loss = High ที่สูงกว่าของ 2 แท่งล่าสุด
- Target = 1R, 2R, 3R
**ลบอัตโนมัติ:** เส้นหายเมื่อราคาชน SL หรือถึง 3R
---
## 📈 กล่องเทรนด์หลาย Timeframe
แสดงเทรนด์พร้อมกัน 7 Timeframe:
- M1, M5, M15, M30, H1, H4, D1
**สีแสดงผล:**
- 🟢 เขียว = Uptrend
- 🔴 แดง = Downtrend
- ⚪ เทา = ไม่มีเทรนด์
**ประโยชน์:** เทรดตาม Timeframe ใหญ่เพื่อเพิ่ม Win Rate
---
## 📋 วิธีใช้งาน (5 ขั้นตอน)
1. **ระบุเทรนด์** - เช็คราคาเทียบกับ EMA Trend และกล่อง MTF
2. **รอ Pullback** - เฝ้าราคา Pullback มาที่ EMA High/Low
3. **เช็ค Pattern** - มองหาลูกศรสามเหลี่ยม (Engulfing) หรือเพชร (Pin Bar)
4. **เข้าออเดอร์** - เข้าเมื่อสัญญาณปรากฏ ใช้ SL/TP ที่แสดง
5. **จัดการเทรด** - เส้นจะหายเองเมื่อชน SL หรือถึง 3R
---
## ⚙️ การตั้งค่าแนะนำ
**Scalping (M1-M5)**
- EMA Trend: 20-30
- EMA High/Low: 10-15
- Require Pullback: ปิด
**Day Trading (M15-H1)**
- EMA Trend: 50 (ค่าเริ่มต้น)
- EMA High/Low: 20 (ค่าเริ่มต้น)
- Require Pullback: เปิด
**Swing Trading (H4-D1)**
- EMA Trend: 100-200
- EMA High/Low: 50
- Require Pullback: เปิด
---
## ✅ จุดเด่นที่แตกต่าง
1. **เป็นระบบสมบูรณ์** - ไม่ใช่แค่รวม Indicator
2. **EMA 3 เส้นสร้าง Channel** - บอกทั้งเทรนด์และโซนเข้า
3. **ตรวจสอบคุณภาพ Pattern** - ไม่ใช่ทุก Pattern ที่ให้สัญญาณ
4. **คำนวณ RR อัตโนมัติ** - วาง SL/TP ให้เลย
5. **ไม่ Repaint** - สัญญาณปรากฏหลังแท่งปิดเท่านั้น
---
## 📊 ควรทำ / ไม่ควรทำ
### ✅ ควรทำ:
- เทรดตามเทรนด์ Timeframe ใหญ่
- รอยืนยันครบ 5 เงื่อนไข
- เสี่ยง 1-2% ต่อเทรด
- ปล่อยกำไรไปอย่างน้อย 2R
### ❌ ไม่ควรทำ:
- เทรดทวนเทรนด์ในกล่อง MTF
- เข้าก่อนแท่งปิด
- ละเลย Stop Loss
- เทรดบ่อยเกินไป
---
## 🔍 ข้อจำกัด
- ไม่มี Indicator ไหนชนะ 100%
- สัญญาณผิดพลาดเกิดในตลาด Sideways
- ผลดีสุดในตลาดที่มีเทรนด์ชัด
- ต้องใช้ Money Management
- ควรดูปัจจัยพื้นฐานประกอบ
---
## 🎓 คำเตือน
**Disclaimer**: อินดิเคเตอร์นี้สำหรับการศึกษา ผลในอดีตไม่รับประกันอนาคต ใช้ Risk Management ที่เหมาะสมเสมอ
---
**เวอร์ชั่น**: 1.0
**Pine Script**: v5
**ประเภท**: Indicator (Overlay)
*Happy Trading! 🚀*
## Screenshots
**Bearish Signals with Risk-Reward:**
! (drive.google.com)
**Bullish Signal with Risk-Reward:**
! (drive.google.com)
**Multi-Timeframe Trend Box:**
! (drive.google.com)
**Settings Panel:**
! (drive.google.com)
CNagda-MomentumX - Institutional FlowMomentumX is designed to empower traders with a deeper understanding of market movements by focusing on Institutional Flow and advanced market structure analytics. The core goal is to identify and visualize where major market participants are operating, and to translate these complex footprints into clear, actionable trading signals — all in real time.
Real-time institutional activity mapping
Actionable entry and exit signals based on live market structure
Intuitive dashboard and dynamic chart visuals
Fully customizable modules for trend, liquidity, and order blocks
Core Logic Design
At the heart of MomentumX lies a robust algorithmic engine built to capture and surface institutional trading behavior. By leveraging advanced mathematical models, the indicator calculates institutional volume ratios and price momentum to pinpoint aggressive moves from large participants.
Institutional Volume & Price Momentum:
Utilizes custom volume indicators and price change analysis to detect strong buying or selling pressure, filtering out retail noise.
Liquidity Grab Detection & Activity Zones:
The script identifies liquidity grabs by monitoring abrupt price sweeps at major support/resistance levels—often where institutions trigger stop hunts or reversals. All critical activity zones are automatically color-coded on the chart for instant recognition.
Dashboard Visualization:
A fully dynamic dashboard table overlays live scores for accumulation, distribution, strength, and weakness—giving traders a real-time scan of market health.
Trendline & Order Block Architecture:
The logic auto-detects pivot highs/lows to draw smart trendlines, while the order block system highlights key reversal areas and breaker zones—making market structure clear and actionable.
MomentumX is packed with high-performance modules, each engineered to simplify complex market behavior and enhance decision-making for traders:
Institutional Flow Signals:
Instantly identifies spots where institutional players drive momentum, using unique volume and price activity analytics.
Bullish/Bearish Liquidity Grab Detection:
Marks abrupt price moves that signal stop hunts or reversals, letting traders anticipate snap-backs or trend shifts.
Trendline Auto-Detection:
Smartly draws trendlines based on significant swing highs and lows, automatically adjusting as price evolves.
Order Block System (Rejection/Breaker):
Spots and highlights key reversal zones with order block rectangles, confirming rejections or breakouts at strategic levels.
Dashboard and Bar Coloring:
A clean dashboard overlay presents live market scores, while dynamic bar coloring makes trend, strength, and high-activity periods instantly visible.
User Input Toggles for Each Module:
Every major feature is fully customizable—enable or disable modules to match individual trading setups or preferences.
Scripting/Development
MomentumX’s scripting process is modular, enabling clarity, scalability, and fast optimization throughout development:
Initialization & Inputs:
Start by defining all user input options, module toggles, color settings, and calculation parameters—ensuring maximum flexibility early on.
Core Calculation Functions:
Script advanced institutional volume and price momentum algorithms. Build out swing length logic, market state filters, and activity scoring methods.
Detection Engines:
Develop and integrate engines for liquidity grabs, automated trendline detection, and order block identification—each with dedicated functions for speed and precision.
Visual Overlays & Plotting:
Implement powerful plotting logic for colored bars, score dashboards, trendlines, reversal zones, and liquidity markers—making every data point clear and actionable on the chart.
Testing Handlers:
Add diagnostic panels and debug outputs to refine calculations and assure accuracy in every market environment.
Sample Trade Setups (Usage)
Cnagda MomentumX delivers clarity for multiple trading styles by providing timely, actionable setups grounded in institutional behavior and market structure. Here’s how traders can leverage the indicator for confident decision-making:
Liquidity Grab Reversal
Enter trades around detected liquidity grabs when price sweeps major support/resistance and the dashboard signals a momentum shift.
Example: Wait for a bullish/Bearish grab near market lows/high, with institutional flow turning positive/negative—enter long/short for potential mean reversion.
Order Block Breakout
Trade breakouts when price cleanly rejects or flips key order block zones highlighted on the chart.
Example: Short at a marked breaker block after a rejection signal, confirmed by a downward institutional activity spike.
Trendline Continuation
Ride established market moves by entering on trendline confirmations plotted by the auto-detect system.
Example: Go long after a trendline retest, confirmed by a green bar color and dashboard strength score.
Dashboard Confirmation
Combine dashboard metrics (strength, accumulation, distribution) with bar color overlays for multi-factor entries.
Example: Enter trades only when all market signals align in real time for maximum probability.
For Short Entry check -- Weakness : For Long Entry Check - Strength With Other Indications
MomentumX is not just another indicator – it’s your edge for reading the market like an insider. By transparently mapping institutional flow, uncovering hidden liquidity zones, and color-coding every major structure shift, MomentumX transforms complexity into actionable clarity. Whether you’re scalping, swing trading, or investing, you’ll gain a decisive, real-time advantage on every chart.
Embrace smarter decisions, adapt to changing market conditions instantly, and join a new generation of technically empowered traders.
Customize, observe, and let the market reveal opportunities in a way you’ve never experienced before.
Happy Trading
[FRK] Dual Timeline - Separate Pane
The Dual Timeline - Separate Pane indicator is a sophisticated multi-timeframe analysis tool that tracks and displays up to 4 different timeline counts simultaneously in a dedicated pane below your chart. This indicator is designed for traders who use Time-Based Trading (TDT) strategies and need precise tracking of candle/bar counts across multiple timeframes.
Key Features
🔢 Multi-Timeline Tracking:
• Timeline 1: Current chart timeframe counting
• Timeline 2: Customizable higher timeframe (HTF) with proper boundary alignment
• Timeline 3: Specialized 90-minute cycle counting aligned to 2:30 AM NY time
• Timeline 4: Advanced HTF counting with special handling for daily/weekly timeframes
🎯 Strategic Milestone Display:
• Tracks key milestone numbers: 1, 3, 5, 7, 9, 13, 17, 21, 25, 31
• Color-coded sequences for TDT strategies:
◦ Green: Primary sequence (3, 7, 13, 21)
◦ Purple: Secondary sequence (5, 9, 17, 25)
◦ Orange: Current position markers
◦ Gray: Future projections
⚙️ Advanced Customization:
• Individual milestone visibility controls
• Quick presets for TDT strategies:
◦ Top 3 performers (1, 3, 13, 17, 21)
◦ TDT Primary sequence (1, 3, 7, 13, 21)
◦ TDT Secondary sequence (1, 5, 9, 17, 25)
• Customizable colors and font sizes
• Timeline enable/disable controls
📊 Professional Visual Layout:
• Clean separate pane display with labeled timelines
• Subtle center lines for easy reading
• Current position arrows (▲) for active counts
• Connecting lines from latest milestones
• Dots for non-milestone positions
• Future projection capabilities
Special Features
Time-Based Alignment:
• Daily/Weekly timeframes align to 6:00 PM NY (Asia market open)
• Custom 4-hour boundaries: 10:00, 14:00, 18:00, 22:00, 02:00, 06:00
• 90-minute cycles precisely aligned to 2:30 AM NY base time
• HTF boundary detection for accurate positioning
Smart Positioning:
• Time-based positioning for gap handling
• Extended visibility range (1000+ bars back, 500+ bars forward)
• Automatic bar position calculation
• Cross-timeframe synchronization
Use Cases
1. TDT Strategy Implementation: Perfect for Time-Based Trading strategies that rely on specific count sequences
2. Multi-Timeframe Analysis: Track multiple timeframes simultaneously without switching charts
3. Cycle Analysis: Specialized 90-minute cycle tracking for intraday strategies
4. Milestone Targeting: Visual identification of key support/resistance levels based on time counts
5. Future Planning: Project upcoming milestone levels for trade planning
Settings Groups
• Timeline 1-4: Individual start times and timeframe selections
• Display: Colors, fonts, and visual preferences
• Milestone Visibility: Granular control over which counts to display
• Quick Presets: One-click strategy templates
Data Window Output
The indicator provides detailed count information in the data window for precise analysis and strategy backtesting.
Perfect for traders using:
• Time-based trading strategies
• Multi-timeframe analysis
• Cycle-based approaches
• Milestone targeting systems
• Advanced chart timing techniques
This indicator transforms complex multi-timeframe counting into an intuitive visual tool, making it easier to spot patterns, time entries, and plan exits across multiple time dimensions simultaneously.
pyogi24 Intraday Ichimoku + RSIcustom script to get entry exit
its based on the ichimoku cloud indicator
and the cross over of the leading ang lagging spans to get the signals,
its under development.
i have also integrated the vwap so we know the bias of the trend.
this should work on a trending day.
Unmitigated Candle Highs and Lows What Does "Unmitigated" Mean?
- Unmitigated High: The highest point of a bullish candle that hasn’t been revisited or retested by price after it formed.
- Unmitigated Low: The lowest point of a bearish candle that remains untouched by subsequent price movement.
These levels are often seen as "untapped" supply or demand zones, meaning:
- Price may return to these levels to fill orders left behind.
- They can act as magnetic zones, attracting price back for a reaction.
📈 Why Traders Care About Them
- Liquidity Pools: Institutions often leave unfilled orders at these levels. Price may return to "mitigate" or fulfill those orders.
- Reversal or Continuation Signals: When price revisits an unmitigated high/low, it may either reverse sharply or break through, depending on market context.
- Entry/Exit Points: Traders use these zones to plan entries, stop losses, or take profits.
🧠 Example
Imagine a strong bullish candle forms, but price never returns to its low. That low is considered unmitigated. If price revisits it later, traders watch closely for a bounce or a break.
RS GEE Candle Highlighter (vs SPY/QQQ) • 5mRS Candle Highlighter (vs SPY/QQQ) – 5m
This indicator highlights candles where a stock shows relative strength outperforming a benchmark index (SPY or QQQ).
Strong candles are colored.
Works in real time on the 5-minute chart.
Helps identify stocks that are outperforming the market.
👉 Ideal for day trading, scalping, and relative performance analysis.
Multi-TF 👀### Multi-Timeframe Analysis (MTF-Analysis)
**Overview**
The Multi-Timeframe Analysis indicator is a powerful visualization tool designed for traders who incorporate multi-timeframe (MTF) strategies into their decision-making process. It overlays compact, customizable candle representations from up to four higher timeframes directly on your chart, positioned to the right of the last bar for quick reference. This allows you to monitor price action, momentum via EMAs, and key levels like Fair Value Gaps (FVGs) across multiple resolutions without switching charts. Built with efficiency in mind, it supports automatic timeframe detection, real-time updates, and a clean, non-intrusive design that enhances your trading workflow.
Ideal for day traders, swing traders, and scalpers, this indicator helps identify alignments between timeframes, spot potential reversals or continuations, and validate entries/exits based on higher-timeframe context. It leverages Pine Script v6 for smooth performance, with optimizations to handle up to 5000 bars back and extensive drawing limits.
**Key Features**
- **Multi-Timeframe Candle Display**: Renders recent candles (configurable from 5 to 100 per timeframe) from selected higher timeframes (e.g., 5m, 15m, 1H, 4H) as compact bars with customizable width, spacing, and padding. Bullish and bearish candles are color-coded for instant recognition.
- **Automatic Timeframe Adaptation**: When enabled, the indicator intelligently selects complementary timeframes based on your chart's resolution (e.g., on a 1m chart, it might show 5m, 15m, and 1H). Manual overrides are available for full control.
- **EMA Overlays**: Plots EMA9, EMA21, and EMA50 on each MTF section using a user-defined source (e.g., OHLC/4, close). EMAs can be dashed for clarity and enabled/disabled per timeframe, helping to gauge momentum and trend strength.
- **Fair Value Gaps (FVGs)**: Detects bullish (+FVG) and bearish (-FVG) gaps with a configurable lookback length (5-50 bars). Gaps are visualized as dotted boxes extending from the candle, highlighting potential support/resistance zones or imbalances.
- **Time Labels and Debugging**: Displays timestamp labels under every fourth candle for chronological context. A debug mode expands spacing and adds detailed labels (e.g., OHLC, volume, EMA values) for testing and verification.
- **Customization Options**: Extensive inputs for colors (bodies, wicks, EMAs, FVGs), label sizes/styles, and layout ensure seamless integration with your chart theme. Supports futures symbols with a time offset adjustment.
- **Performance Optimizations**: Uses arrays for efficient data management, clears drawings on realtime updates or timeframe changes, and limits buffer sizes to prevent overload.
**How to Use**
1. Add the indicator to your chart via TradingView's "Indicators" menu.
2. Configure timeframes: Enable/disable up to four TFs and set the number of candles to display. Use "Auto Timeframe" for smart defaults.
3. Adjust EMAs: Select the source type and toggle per TF to focus on relevant momentum signals (e.g., EMA9 crossovers for short-term trades).
4. Enable FVGs: Activate per TF and tweak the length to suit your market (shorter for volatile assets, longer for trends).
5. Fine-tune appearance: Modify padding, candle width, and colors to avoid clutter. Use debug mode during setup.
6. Interpret: Align your chart's price action with MTF candles—look for confluence in trends, FVGs filling as support/resistance, or EMA alignments for high-probability setups.
**Input Settings**
- **General**: Hour offset for time adjustments (useful for futures).
- **Timeframes**: Enable TFs 1-4, select resolutions (e.g., "5m"), and set candle counts. Auto mode simplifies this.
- **FVG/iFVG**: Toggle per TF, customize colors and detection length.
- **EMA**: Enable per TF, choose source, colors, and dashed style.
- **Candle Appearance**: Bull/bear colors for bodies/wicks, width/spacing/padding, label size/color.
- **Debug**: Expands view for detailed inspection.
**Notes**
- This indicator is non-repainting and updates in realtime, but performance may vary on lower timeframes with many candles—reduce counts if needed.
- FVGs are calculated locally on recent bars for efficiency; historical gaps beyond the buffer aren't shown.
- Compatible with all symbols, but best on volatile markets like forex, crypto, or indices.
- Feedback welcome—updates may include more MA types or advanced FVG filters.
Enhance your edge with multi-timeframe insights—try MTF-Analysis today!
MC WITH ALERTS DINESH SETHIYAManipulation Candle (MC): A candlestick that initially suggests price movement in one direction but then reverses, manipulating liquidity and closing in the opposite direction.
Types of MCs:
Bullish MC: Takes out the previous candle's low, reverses, takes out the previous candle's high, and closes above it.
Bearish MC: Takes out the previous candle's high, reverses, takes out the previous candle's low, and closes below it.
Ideal MC Characteristic: The rejection wick (bottom wick for bullish MC, top wick for bearish MC) should be larger than the directional wick.
Tristan's Star: 15m Shooting Star DetectorThis script is designed to be used on the 1-minute chart , but it analyzes the market as if you were watching the 15-minute candles.
Every cluster of 15 one-minute candles is grouped together and treated as a single 15-minute candle.
When that 15-minute “synthetic” candle looks like a shooting star pattern (small body near the low, long upper wick, short lower wick, bearish bias), the script triggers a signal.
At the close of that 15-minute cluster, the script will:
Plot a single “Sell” label on the last 1-minute bar of the group.
Draw a horizontal line across the 15 bars at the high, showing the level that created the shooting star.
Optionally display a table cell in the corner with the word “SELL.”
This lets you stay on the 1-minute timeframe for precision entries and exits, while still being alerted when the higher-timeframe (15-minute) shows a bearish reversal pattern.
88-Key Piano Range - Musical Price Levels88-Key Piano Range - Musical Price Levels
Description:
Explore price analysis through musical harmony! This educational indicator maps price movements to the standard 88-key piano keyboard (A0 to C8), offering a creative way to visualize market ranges and explore harmonic price relationships with authentic keyboard-style background fills.
🎹 KEY FEATURES:
• Complete 88-Key Mapping - Full piano range from A0 to C8 mapped to your price range
• Piano-Style Visual Design - Clean background fills distinguishing white keys, black keys, and octaves
• Dual Anchor System - Set two time/price points to define your analytical range
• Flexible Display Options - Show all 88 keys, octaves only (C notes), or custom selections
• Harmonic Exploration - Explore consonant/dissonant key relationships based on music theory
• Real-time Price Note - See what musical note your current price represents
• Customizable Interface - Adjust colors, line widths, fills, and visual elements
🎵 EDUCATIONAL CONCEPTS:
• Octave Levels - C notes as harmonic reference points (similar to round numbers)
• Key Classifications - Natural notes (white keys) vs chromatic notes (black keys)
• Harmonic Intervals - Musical relationships applied to price analysis
• Creative Visualization - Alternative way to view price ranges and movements
⚙️ HOW TO USE:
1. Select Your Price Leg - Choose an upleg, downleg, or significant price movement to explore
2. Set Anchor A - Place at the start of your selected leg (swing low for upleg, swing high for downleg)
3. Set Anchor B - Place at the end of your selected leg (swing high for upleg, swing low for downleg)
4. Configure Display - Select all keys, octaves only, or enable background fills
5. Explore Harmonics - Enable harmony coloring to see musical relationships
6. Study Patterns - Observe how price movements align with musical intervals
🎼 CREATIVE APPLICATIONS:
• Experimental Analysis - Try a musical approach to leg analysis
• Educational Tool - Learn about mathematical relationships in both music and markets
• Alternative Perspective - View support/resistance through a musical lens
• Pattern Recognition - Explore if harmonic levels show interesting price behavior
• Fun Learning - Combine musical knowledge with trading concepts
📊 EXPERIMENTAL USE:
• Creative alternative to traditional Fibonacci levels
• Educational exploration of mathematical harmony in markets
• Interesting way to visualize price ranges and retracements
• Novel approach for musicians interested in trading concepts
Important Note: This is an educational and experimental tool that applies musical theory concepts to price analysis. It should be used for learning and exploration purposes alongside proven technical analysis methods. The musical relationships are mathematically based but not validated as reliable trading signals.