Freedom Candlestick v5.1.55 1 Alerts?Trend following futures scalping strategy. Highly complex and not beginner friendly.
Search in scripts for "Candlestick"
chanlun缠论 - 笔与中枢Overview
The Chanlun (缠论) Strokes & Central Zones indicator is an advanced technical analysis tool based on Chinese Chan Theory (Chanlun Theory). It automatically identifies market structure through "strokes" (笔) and "central hubs" (中枢), providing traders with a systematic framework for understanding price movements, trend structure, and potential reversal zones.
Theoretical Foundation
Chan Theory is a sophisticated price action methodology that breaks down market movements into hierarchical structures:
Local Extremes: Swing highs and lows identified through lookback periods
Strokes (笔): Valid price movements between opposite extremes that meet specific criteria
Central Hubs (中枢): Consolidation zones formed by overlapping strokes, representing key support/resistance areas
Key Components
1. Local Extreme Detection
Identifies swing highs and lows using a configurable lookback period (default: 5 bars)
Only considers extremes within the specified calculation range
Forms the foundation for stroke construction
2. Stroke (笔) Identification
The indicator applies a multi-stage filtering process to identify valid strokes:
Stage 1 - Extreme Consolidation:
Merges consecutive extremes of the same type (high or low)
Keeps only the most extreme value (highest high or lowest low)
Stage 2 - Stroke Validation:
Ensures minimum bar gap between strokes (default: 4 bars)
Alternative validation: 2+ bars with >1% price change
Eliminates noise and insignificant price movements
Color Coding:
White Lines: Regular up/down strokes
Yellow Lines: Strokes that form part of a central hub
Customizable width and colors for different stroke types
3. Central Hub (中枢) Formation
A central hub forms when at least 3 consecutive strokes have overlapping price ranges:
Formation Rules:
Stroke 1:
Stroke 2:
Stroke 3:
Hub Upper = MIN(High1, High2, High3)
Hub Lower = MAX(Low1, Low2, Low3)
Valid if: Hub Upper > Hub Lower
Hub Extension:
Subsequent strokes that overlap with the hub extend it
Hub ends when a stroke no longer overlaps
Creates rectangular zones on the chart
Visual Representation:
Green rectangular boxes: Mark the time and price range of each central hub
Dashed extension lines: Show the latest hub boundaries extending to the right
Price labels on axis: Display exact hub upper and lower boundary values
4. Extreme Point Markers (Optional)
Red markers for tops (▼)
Green markers for bottoms (▲)
Marks every validated stroke extreme point
Useful for detailed structure analysis
5. Information Table (Optional)
Displays real-time statistics:
Symbol name
Current timeframe
Lookback period setting
Minimum gap setting
Total stroke count
Parameter Settings
Performance Settings
Max Bars to Calculate (3600): Limits historical calculation to improve performance
Local Extreme Lookback Period (5): Bars used to identify swing highs/lows
Min Gap Bars (4): Minimum bars required between valid strokes
Display Settings
Show Strokes: Toggle stroke line visibility
Show Central Hub: Toggle hub box visibility
Show Hub Extension Lines: Toggle dashed boundary lines
Show Extreme Point Marks: Toggle top/bottom markers
Show Info Table: Toggle statistics table
Color Settings
Full customization of:
Up/down stroke colors and widths
Hub stroke colors and widths
Hub border and background colors
Extension line colors
Trading Applications
Trend Structure Analysis
Uptrend: Series of higher highs and higher lows connected by strokes
Downtrend: Series of lower highs and lower lows connected by strokes
Consolidation: Formation of central hubs indicating range-bound movement
Support and Resistance Identification
Central Hub Zones: Act as strong support/resistance areas
Hub Upper Boundary: Resistance level in consolidation, support after breakout
Hub Lower Boundary: Support level in consolidation, resistance after breakdown
Price tends to react at these levels due to market structure memory
Breakout Trading
Bullish Breakout: Price closes above hub upper boundary
Previous resistance becomes support
Entry on retest of upper boundary
Stop loss below hub zone
Bearish Breakdown: Price closes below hub lower boundary
Previous support becomes resistance
Entry on retest of lower boundary
Stop loss above hub zone
Reversal Detection
Hub Formation After Trend: Signals potential trend exhaustion
Multiple Hub Levels: Create probability zones for reversals
Stroke Count: Excessive strokes within hub suggest weakening momentum
Position Management
Use hub boundaries for stop loss placement
Scale out positions at hub edges
Re-enter on retests of broken hub levels
Interpretation Guide
Strong Trending Market
Long, clear strokes with minimal overlap
Few or no central hubs forming
Strokes consistently in same direction
Wide spacing between extremes
Consolidating Market
Multiple central hubs forming
Short, overlapping strokes
Yellow hub strokes dominate the chart
Narrow price range
Trend Transition
Hub formation after extended trend
Stroke direction changes frequently
Hub boundaries being tested repeatedly
Potential reversal zone
Advanced Usage Techniques
Multi-Timeframe Analysis
Higher Timeframe: Identify major hub zones for overall market structure
Lower Timeframe: Find precise entry points within larger structure
Alignment: Trade when lower timeframe strokes align with higher timeframe hub breaks
Hub Quality Assessment
Wide Hubs: Strong consolidation, higher probability support/resistance
Narrow Hubs: Weak consolidation, may break easily
Extended Hubs: More strokes = stronger zone
Isolated Hubs: Single hub = potential pivot point
Stroke Analysis
Stroke Length: Longer strokes = stronger momentum
Stroke Speed: Fewer bars per stroke = explosive moves
Stroke Clustering: Many short strokes = indecision
Best Practices
Parameter Optimization
Adjust lookback period based on timeframe and volatility
Lower periods (3-4): More strokes, more noise, faster signals
Higher periods (7-10): Fewer strokes, cleaner structure, slower signals
Confirmation Strategy
Don't trade on strokes alone
Combine with volume analysis
Use candlestick patterns at hub boundaries
Wait for breakout confirmation
Risk Management
Always place stops outside hub zones
Use hub width to size positions (wider hub = smaller position)
Exit if price re-enters broken hub from wrong direction
Avoid Common Pitfalls
Don't trade within central hubs (range-bound, unpredictable)
Don't ignore higher timeframe hub structures
Don't chase strokes after they've extended far from hub
Don't trust single-stroke hubs (need 3+ strokes for validity)
Performance Considerations
Max Bars Limit: Set to 3600 to balance detail with performance
Safe Distance Calculation: Only draws objects within 2000 bars of current price
Object Cleanup: Automatically removes old drawing objects to prevent memory issues
Efficient Arrays: Uses indexed arrays for fast lookup and processing
Ideal Market Conditions
Best Performance:
Liquid markets with clear structure (major forex pairs, indices, large-cap stocks)
Trending markets with periodic consolidations
Medium to high volatility for clear stroke formation
Less Effective:
Extremely choppy, directionless markets
Very low timeframes (< 5 minutes) with excessive noise
Illiquid instruments with erratic price action
Integration with Other Indicators
Complementary Tools:
Volume Profile: Confirm hub significance with volume nodes
Moving Averages: Use for trend bias within stroke structure
RSI/MACD: Momentum confirmation at hub boundaries
Fibonacci Retracements: Hub levels often align with Fib levels
Advantages
✓ Objective Structure: Removes subjectivity from market structure analysis
✓ Visual Clarity: Color-coded strokes and clear hub zones
✓ Multi-Timeframe Applicable: Works on all timeframes from minutes to months
✓ Complete Framework: Provides entry, exit, and risk management levels
✓ Theoretical Foundation: Based on proven Chan Theory methodology
✓ Customizable: Extensive parameter and visual customization options
Limitations
⚠ Learning Curve: Requires understanding of Chan Theory principles
⚠ Lag Factor: Strokes confirm after price movements complete
⚠ Parameter Sensitivity: Different settings produce significantly different results
⚠ Choppy Market Struggles: Can generate excessive hubs in range-bound conditions
⚠ Computation Intensive: May slow down on lower-end systems with max bars setting
Optimization Tips
Timeframe Selection
Scalping: 5-15 minute charts, lookback period 3-4
Day Trading: 15-60 minute charts, lookback period 4-5
Swing Trading: 4-hour to daily charts, lookback period 5-7
Position Trading: Daily to weekly charts, lookback period 7-10
Volatility Adjustment
High volatility: Increase minimum gap bars to reduce noise
Low volatility: Decrease lookback period to capture smaller moves
Visual Optimization
Use contrasting colors for different market conditions
Adjust line widths based on chart resolution
Toggle markers off for cleaner appearance once familiar with structure
Quick Start Guide
For Beginners:
Start with default settings (5 lookback, 4 min gap)
Enable "Show Info Table" to track stroke count
Focus on identifying clear hub formations
Practice waiting for price to break hub boundaries before trading
For Advanced Users:
Optimize lookback and gap parameters for your instrument
Use hub strokes (yellow) to identify key consolidation zones
Combine with multiple timeframes for confirmation
Develop entry rules based on hub breakout/retest patterns
This indicator provides a complete structural framework for understanding market behavior through the lens of Chan Theory, offering traders a systematic approach to identifying high-probability trading opportunities.
Candle Countdown TimerThis Pine Script indicator displays a real-time countdown timer for the current candlestick on a TradingView chart. It helps traders monitor how much time remains before the current candle closes, which is especially useful for timing entries or exits in fast-moving markets.
🔧 Key Features:
• Time Calculation: Computes the remaining time in the current bar
• Dynamic Label Display: Shows the countdown as a label beside the active candle, updating every tick.
Candle Engulfing DetectorEngulfing Candle:
An engulfing candle is a candlestick pattern that signals a potential reversal in the market. It occurs when the body of the current candle completely “engulfs” the body of the previous candle, ignoring the wicks. This pattern indicates a strong shift in momentum.
Bullish Engulfing | Bull.E:
The current candle is bullish (close > open) and fully engulfs the body of the previous bearish candle (open > close).
Signals potential upward reversal.
Stronger if formed near support levels or after a prolonged downtrend.
Bearish Engulfing | Bear.E:
The current candle is bearish (close < open) and fully engulfs the body of the previous bullish candle (close > open).
Signals potential downward reversal.
Stronger if formed near resistance levels or after a prolonged uptrend.
Feature:
This indicator improves the detection of this pattern by:
Automatically identifying engulfing candles on the chart.
Allowing the user to select how many engulfing patterns should be displayed, which helps avoid chart clutter and focus on recent or relevant signals.
Heikin Ashi BarThis is an indicator that displays the Heikin‑Ashi chart simultaneously with candlestick bars. The Heikin‑Ashis are shown on a bar chart, with bullish bars colored green and bearish bars colored orange.
平均足をロウソク足と同時に表示するインジケータです。平均足はバーチャートで表示されます。陽線は緑色、陰線はオレンジ色で表示されます。
HTF Candle Overlay - PO3HTF Candle Overlay Script Description
This Pine Script indicator creates a visual overlay of higher timeframe (HTF) candles on your chart. It's a useful tool for multi-timeframe analysis that allows you to see higher timeframe price action context directly on your current chart without having to switch between timeframes.
Main Purpose
The primary purpose of this indicator is to display candles from a higher timeframe (like daily or weekly) directly on your lower timeframe chart (like 5-minute or hourly). This provides crucial context about the larger market structure while you're analyzing shorter-term price movements.
Key Features
Higher Timeframe Selection: You can choose any higher timeframe from the available options (1-minute to monthly), allowing you to view price action from any timeframe higher than your current chart.
Customizable Appearance:
Control the number of HTF candles displayed (1-10)
Adjust the spacing between the candles and current price
Modify candle width for better visibility
Customize colors for bullish and bearish candles, wicks, and borders
Real-time Updates: The current (ongoing) HTF candle updates in real-time as new price data comes in, showing you how the higher timeframe candle is developing.
Time Remaining Display: An optional label shows the current HTF period and how much time remains until the candle closes, helping you time your entries and exits.
Visual Warnings: The script warns you if you select a timeframe that matches your current chart timeframe.
How It Works
Data Retrieval: The script fetches both the current developing candle and historical candles from the selected higher timeframe using request.security() calls.
Candle Processing:
It stores candle data (open, high, low, close, and time) in arrays
Handles both the current developing candle and past completed candles
Updates the current candle in real-time as new price data comes in
Visual Rendering:
Draws candle bodies as boxes with appropriate bullish/bearish colors
Creates wicks as lines extending from the candle bodies
Places candles horizontally on your chart with proper spacing
Timing Information:
Calculates and displays the remaining time until the current higher timeframe candle closes
Formats the time remaining in a user-friendly way (days, hours, minutes)
Practical Applications
Context for Trading Decisions: See where price is in relation to higher timeframe support/resistance levels.
Entry and Exit Timing: Time your entries and exits based on higher timeframe candle closings.
Trend Alignment: Ensure your trades align with the higher timeframe trend direction.
Support/Resistance Identification: Easily identify key price levels from higher timeframes.
Candle Pattern Recognition: Spot important higher timeframe candlestick patterns without switching timeframes.
This indicator essentially brings the higher timeframe context directly to your current chart, allowing for more informed trading decisions that consider both short-term and long-term market structures simultaneously.
Standard Deviation Bands
## 📊 Standard Deviation Bands (SDB) - Multi-Layer Statistical Channel Indicator
### 🎯 Overview
The Standard Deviation Bands indicator is a sophisticated technical analysis tool based on statistical principles that creates dynamic support and resistance channels by calculating price standard deviations. Unlike traditional Bollinger Bands, this indicator employs a **separate high-low calculation approach**, providing more precise boundary positioning for upper and lower bands.
### ✨ Key Features
**🔹 Separate High-Low Algorithm**
- Upper bands calculated using High price moving averages and standard deviations
- Lower bands calculated using Low price moving averages and standard deviations
- Delivers more accurate price boundary identification
**🔹 Multi-Layer Standard Deviation Levels**
- **±1σ**: Basic standard deviation channel for capturing regular price fluctuations
- **±1σ±2σ**: Dual-layer channels for identifying medium-strength support/resistance
- **±1σ±2σ±3σ**: Triple-layer channels providing complete price volatility analysis framework
**🔹 Flexible Moving Average Options**
- SMA (Simple Moving Average)
- EMA (Exponential Moving Average)
- WMA (Weighted Moving Average)
- RMA (Rolling Moving Average)
- VWMA (Volume Weighted Moving Average)
### 🛠️ Parameter Configuration
| Parameter | Default | Description |
|-----------|---------|-------------|
| Length | 30 | Calculation period length |
| Multiplication Factor | 1.8 | Standard deviation multiplier |
| Top Band Input Data | High | Data source for upper bands |
| Bottom Band Input Data | Low | Data source for lower bands |
| Moving Average Type | SMA | Type of moving average |
| Show Levels | ±1σ | Standard deviation levels to display |
| Show Bands | true | Whether to display channel lines |
| Show Moving Averages | true | Whether to display basis moving averages |
### 📈 Trading Applications
**Support & Resistance Identification**
- Monitor selling opportunities when price approaches upper bands
- Look for buying opportunities when price approaches lower bands
- Multi-layer channels provide different strength support/resistance references
**Trend Strength Assessment**
- Channel width reflects market volatility
- Price breakouts beyond outer channels may signal strong trends
- Price oscillation within inner channels indicates consolidation
**Entry Timing Optimization**
- Combine with candlestick patterns at channel boundaries for reversal signals
- Post-breakout pullbacks provide low-risk entry opportunities
- Enhanced effectiveness when used across multiple timeframes
### 🎨 Visual Design
- Purple 1σ channel lines for clear primary support/resistance identification
- Orange 2σ channel lines marking medium-strength boundaries
- Green 3σ channel lines indicating extreme value boundaries
- Customizable colors and line widths to suit different chart styles
### 💡 Usage Recommendations
1. **Period Selection**: Use 15-30 periods for short-term trading, 50-100 for medium-long term
2. **Multiplier Adjustment**: Increase multiplier for high-volatility instruments, decrease for stable ones
3. **Level Selection**: Beginners should start with ±1σ, advance to multi-layer after gaining experience
4. **Combined Usage**: Enhanced effectiveness when combined with volume, RSI, and other indicators
### 🔧 Technical Advantages
- Built on solid statistical mathematical foundation
- Separate high-low calculations provide more precise boundary positioning
- Multi-layer design adapts to different trading styles
- Flexible parameter adjustment suitable for various market conditions
---
**Applicable Markets**: Stocks, Forex, Cryptocurrencies, Futures, and all financial markets
**Applicable Timeframes**: 1-minute to monthly charts
**Skill Level**: Beginner to advanced traders
*Disclaimer: This indicator is for technical analysis reference only and does not constitute investment advice. Trading involves risks; invest cautiously.*
SmarTrading SmarTrading
This indicator detects and highlights bullish and bearish engulfing candlestick patterns.
It allows switching between the chart’s current timeframe or daily data and visualizes signals with customizable colored boxes.
HTF Candle (gajiev)HTF Candle (gajiev) is a simple and clean TradingView indicator that displays a single candlestick from a higher timeframe (HTF) on the right side of your chart. The candle can update in real time (current forming candle) or show the last completed one, depending on your preference.
Features:
Fixed timeframe options: 1h, 4h, 12h, 1D, 1W, 1M, 6M, 12M.
Customizable body, border, and wick (colors, thickness, visibility).
Option to display either the live candle or the previous closed candle.
Adjustable candle width and right offset for clean placement.
Why it’s useful:
Quickly visualize higher timeframe structure while working on lower charts.
Monitor the real-time development of the current HTF candle.
Use candle highs, lows, and body ranges as reference levels.
--------------------------------------
HTF Candle (gajiev) — простой и наглядный индикатор для TradingView, который отображает одну свечу выбранного старшего таймфрейма (HTF) справа от графика. Свеча обновляется в реальном времени (текущая формирующаяся) или фиксируется на предыдущей завершённой — в зависимости от настроек.
Возможности:
Поддержка фиксированных ТФ: 1ч, 4ч, 12ч, 1д, 1н, 1м, 6м, 12м.
Настройка тела, границ и фитиля свечи (цвета, толщина, отображение).
Отображение текущей или предыдущей свечи.
Настройка ширины свечи и отступа вправо для удобного анализа.
Для чего полезен:
Быстро оценить структуру старшего таймфрейма на младших графиках.
Наблюдать за формированием текущей HTF-свечи онлайн.
Использовать границы и экстремумы свечи как ориентиры для уровней и зон.
نماذج الشموع الإنعكاسيةيكتشف 4 نماذج شموع (C1–C4) ويُلوّن الشموع عند ظهور إشارة.
يرسل تنبيهات جاهزة للشراء/البيع.
لا توجد لِيبِلات مزعجة — تلوين فقط.
كيف أستخدمه؟
اختر الإطار الزمني والسوق.
من الإعدادات، فعِّل/أطفئ النماذج التي تهمك (C1..C4).
(اختياري) فعّل فلاتر الاتجاه والحجم لتقليل الإشارات الضعيفة.
اضبط حساسية الإشارات عبر:
أدنى نسبة جسم الشمعة (bodyPctMin)
تحيز الذيول (tailBiasPct)
قياس القرب (ATR أو نسبة %)
افعل التنبيهات من تبويب Alerts في المنصة.
ألوان الإشارة
شراء: #ddf90a (أصفر مائل للأخضر)
بيع: #05a3ff (أزرق)
الإعدادات (المهم فقط)
C1–C4:
C1 (شراء): استمرارية + بن بار صاعد.
C2 (شراء): هارامي/داخل صاعد (Harami/Inside).
C3 (بيع): استمرارية + شهاب/بن بار هابط.
C4 (بيع): هارامي/داخل هابط.
أدنى نسبة جسم الشمعة (%): ارفعها ⇒ إشارات أقل وأقوى (اقترح 10–20%).
تحيز الذيول (%): يشترط تفوق ذيل على الآخر؛ ارفعها ⇒ انتقائي أكثر (اقترح 20–35%).
قياس القرب من القمم/القيعان:
ATR (مُستحسن): ديناميكي مع التذبذب. استخدم nearK_ATR ≈ 0.20–0.35.
نسبة من المدى: ثابتة. استخدم nearK_Pct ≈ 8–15%.
فلتر الاتجاه: شراء فقط فوق المتوسط وبيع فقط تحته (EMA/SMA، طول 9–20).
فلتر الحجم: يقبل الإشارة فقط إذا كان حجم الشمعة ≥ متوسط حجم محدد (طول 50 شمعه مناسب كبداية).
نصائح سريعة
كثير إشارات؟ ارفع أدنى نسبة الجسم و/أو قلّل nearK_ATR أو nearK_Pct.
سوق هادئ؟ فعِّل فلتر الحجم.
المؤشر يلوّن بعد إغلاق الشمعة لتقليل الضجيج.
ملاحظة لغوية: «Harami» تُنطق هارامي (ومعناها “الحامل”) — ويقابلها غالبًا “شمعة داخلية”.
🇬🇧 Quick User Guide (non-coders)
What it does
Detects 4 candlestick patterns (C1–C4) and colors bars on signals.
Fires ready-made alerts (Buy/Sell).
No labels — coloring only.
How to use
Pick your timeframe/market.
Enable the patterns you care about (C1..C4).
(Optional) Turn on Trend and Volume filters to reduce noise.
Tune sensitivity via:
Min Body % (bodyPctMin)
Tail Bias % (tailBiasPct)
Proximity mode (ATR or % of range)
Create alerts from the platform’s Alerts tab.
Signal colors
Buy: #ddf90a
Sell: #05a3ff
Key settings
Patterns (C1–C4):
C1 (Buy): Continuation + Bullish Pin Bar.
C2 (Buy): Harami/Inside bullish.
C3 (Sell): Continuation + Shooting/Pin bearish.
C4 (Sell): Harami/Inside bearish.
Min Body %: higher ⇒ fewer/stronger signals (suggest 10–20%).
Tail Bias %: require wick dominance; higher ⇒ stricter (suggest 20–35%).
High/Low proximity:
ATR (recommended): dynamic; try nearK_ATR ≈ 0.20–0.35.
% of range: fixed; try nearK_Pct ≈ 8–15%.
Trend filter: Buy above MA, sell below (EMA/SMA, length 9–20).
Volume filter: Accept signals only if volume ≥ its moving average (length ~50).
Quick tips
Too many signals? Increase Min Body % and/or lower nearK_ATR / nearK_Pct.
Quiet markets? Enable Volume filter.
Coloring happens on bar close to keep it cleaner.
Note: “Harami” is the correct term (often equivalent to “Inside” candle).
EMA 24/50/70/99 聚合指标(raysun)Key Features
Multiple EMAs in One Script: Displays EMA 24, EMA 50, EMA 70, and EMA 99 simultaneously.
Customizable Visibility: You can turn each EMA line on or off in the indicator settings.
Color-Coded Lines: Each EMA is assigned a unique color (orange, blue, green, red) for easier visual distinction.
Overlay on Price Chart: Plots directly on the candlestick chart to help identify market trends and momentum shifts.
Usage
Trend Identification:
Shorter EMAs (like EMA 24) are more sensitive to price action, while longer EMAs (like EMA 99) represent broader trends.
Crossovers:
Watching how EMAs cross each other can help spot potential bullish or bearish signals. For example:
EMA 24 crossing above EMA 50/70/99 may suggest an uptrend.
EMA 24 crossing below EMA 50/70/99 may indicate a downtrend.
Support and Resistance:
EMAs often act as dynamic support and resistance levels, especially in trending markets.
Ideal For
Traders who prefer using EMA clusters for decision-making.
Swing traders and intraday traders who monitor multiple timeframes.
Anyone wanting a cleaner setup without cluttering the chart with multiple separate EMA indicators.
X FocusDesigned to help traders reduce distractions by de-emphasizing specific time ranges on the chart. Instead of highlighting high-activity zones, this tool intentionally applies a muted overlay to selected sessions, allowing traders to concentrate on price action that occurs outside those designated ranges.
Core Purpose
The primary goal of this indicator is to combat the “noise” that often arises during certain periods, such as overnight sessions or pre-market trading. By visually softening those areas, traders can focus on the more relevant trading windows WITHOUT losing any time-based context. Unlike traditional tools that remove data entirely, X Focus preserves all candlestick and price information—ensuring that key levels, gaps, or reference values are still visible.
Key Features
Custom Session Filtering
Users can define up to three time ranges depending on preference. This flexibility allows for tailoring the indicator to different market strategies.
De-Emphasis by Design
Instead of masking or deleting data, the indicator overlays a semi-transparent shading box over the chosen sessions. This ensures traders remain aware of the data while maintaining visual focus on the price action outside of the selected time blocks.
Dual Utility – Highlight or Suppress
While built on the principle of minimizing distractions, the same framework can also be used in reverse to highlight specific areas of interest. This versatility makes it suitable for both noise-reduction and spotlighting critical ranges.
Dark Mode / Light Mode
Adjustable color schemes allow seamless integration into any chart setup, whether the user prefers dark or light backgrounds.
Non-Intrusive Visualization
The shading effect is applied without altering price bars, indicators, or other overlays. This ensures compatibility with existing technical tools and strategies.
Use Case
Traders who find themselves reacting too strongly to inconsequential movements during certain times (such as after-hours or low-volume sessions) can benefit from the X Focus indicator. It helps maintain clarity and discipline by visually guiding attention toward the periods that matter most—without erasing or ignoring potentially useful price references.
SMA Strategy with Re-Entry Signal (v6 Style)*SMA Trend Strategy with Re-Entry Signal (v6 Edition)*
This indicator is based on a classic moving average trend-following system, enhanced with re-entry signals designed for medium to short-term traders.
---
### 📈 Key Features:
1. *Trend Detection Logic:*
- The 30-period SMA (SMA30) is used as the trend filter.
- When the closing price is above the SMA30, the market is considered to be in an uptrend.
2. *Re-Entry Signal:*
- While in an uptrend, if the closing price crosses above the SMA20, a re-entry (add position) signal is triggered.
- These signals are shown with green upward arrows below the bars.
3. *Background Highlighting:*
- Green background: indicates an uptrend.
- Red background: indicates a break below SMA30, suggesting weakening momentum.
4. *Multi-SMA Visualization:*
- Five SMAs are displayed: SMA10, SMA20, SMA30, SMA60, and SMA250.
- This helps visualize both short-term and long-term trend structures.
---
### 🔍 Usage Tips:
- Use this script directly on your main chart to monitor trend direction and wait for re-entry signals during pullbacks.
- Combine with other tools like volume, price action, or candlestick patterns to confirm entries.
---
### ⚠️ Disclaimer:
- This indicator is for educational and informational purposes only. It does not constitute financial advice or a buy/sell signal.
- Avoid relying solely on this script for trading decisions. Always manage your own risk.
---
👨💻 *Developer’s Note:*
This script is 100% manually developed, not copied or auto-generated. It is an original implementation based on my personal trading logic. Suggestions and feedback are welcome!
Engulfing & Pin Bar Breakout StrategyOverview
This strategy automates a classic, powerful trading methodology based on identifying key candlestick reversal patterns and trading the subsequent price breakout. It is designed to be a complete, "set-and-go" system with built-in risk and position size management.
The core logic operates on the 1-Hour timeframe, scanning for four distinct high-probability reversal signals: two bullish and two bearish. An entry is only triggered when the market confirms the signal by breaking a key price level, aiming to capture momentum following a potential shift in market sentiment.
The Strategy Logic
The system is composed of two distinct modules: Bullish (Long) and Bearish (Short).
🐂 Bullish (Long) Setup
The script initiates a long trade based on the following strict criteria:
Signal: Identifies either a Hammer or a Bullish Engulfing pattern. These patterns often indicate that sellers are losing control and buyers are stepping in.
Confirmation: Waits for the very next candle after the signal.
Entry Trigger: A long position is automatically opened as soon as the price breaks above the high of the signal candle.
Stop Loss: Immediately set just below the low of the signal candle.
Take Profit: A fixed target is placed at a 1:5 Risk/Reward Ratio.
🐻 Bearish (Short) Setup
The script initiates a short trade based on the following strict criteria:
Signal: Identifies either a Shooting Star or a Bearish Engulfing pattern. These patterns suggest buying pressure is fading and sellers are taking over.
Confirmation: Waits for the very next candle after the signal.
Entry Trigger: A short position is automatically opened as soon as the price breaks below the low of the signal candle.
Stop Loss: Immediately set just above the high of the signal candle.
Take Profit: A fixed target is placed at a 1:4 Risk/Reward Ratio.
Key Feature: Automated Risk Management
This strategy is designed for disciplined trading. You do not need to calculate position sizes manually.
Fixed Risk: The script automatically calculates the correct position size to risk exactly 2% of your total account equity on every single trade.
Dynamic Sizing: The position size will adjust based on the distance between your entry price and your stop loss for each specific setup, ensuring a consistent risk profile.
How To Use
Apply the script to your chosen chart (e.g., BTC/USD).
Crucially, set your chart's timeframe to 1-Hour (H1). The strategy is specifically calibrated for this interval.
Navigate to the "Strategy Tester" tab below your chart to view backtest results, including net profit, win rate, and individual trades.
Disclaimer: This script is provided for educational and informational purposes only. It is not financial advice. All trading involves substantial risk, and past performance is not indicative of future results. Please use this tool responsibly and at your own risk.
Volume ChartThis Pine Script indicator, written in TradingView’s version 6, visualizes trading volume as a custom candlestick chart instead of a standard histogram. Rather than plotting volume bars, it constructs synthetic candles where each candle’s "open" is set to the previous candle’s "close" (stored in prevClose). The "close" of the synthetic candle moves upward by the volume value if the actual price candle was bullish (close > open) and downward by the volume value if it was bearish, with the "high" and "low" both fixed to the open to create a flat candle body line. This transforms volume into a price-like cumulative visual flow, color-coded green for bullish and red for bearish periods, allowing traders to intuitively track whether volume pressure is accumulating upward or downward over time, as though volume itself were moving like a market price series.
KSL-Fullsystem📊 KSL-Fullsystem
A smart trading analysis system designed for serious traders who value precision and confidence in every entry.
🎯 Key Features:
✅ Detects reversal signals using advanced candlestick shift logic
✅ Confirms signals with a powerful set of indicators: EMA, SMA, LWMA, MACD, AO, and AC
✅ Supports all trading styles: Scalping, Day Trade, Swing, and Trend Following
✅ Automatically calculates Entry, TP1-TP3, and SL based on risk/reward logic
✅ Visualizes support/resistance zones with dynamic colored boxes
✅ Fully customizable filters to match your unique strategy
🧠 This system helps you:
Spot key turning points in the market
Plan risk/reward clearly with calculated levels
Trade with structure and confidence – not guesswork
💬 Interested in using this tool?
Need help setting it up to match your trading style?
📩 Contact us via LINE 👉 @kasalong
Once you try it, you'll never want to trade blindly again. 🚀📈
easy Market Structure BOS & CHoCH (Swing Logic)
A trend reversal occurs when the direction of the market changes from an uptrend to a downtrend or vice versa. It is typically confirmed by a shift in price structure, such as a break of key support or resistance, a change in swing highs/lows, or specific candlestick patterns like engulfing or pin bars. Indicators like RSI divergence or moving average crossovers can also support reversal identification. Reversals often follow a strong trend and signal a potential new direction in price movement
Footprint-Style Order Flow by Kalibea📊 Indicator: "Footprint-Style Order Flow by Kalibea"
Simplified Order Flow Analysis for TradingView
This indicator was created by Kalibea to bring you the power of Order Flow analysis in a clear, practical way—without technical complexity and fully compatible with TradingView.
While TradingView doesn’t support traditional footprint charts, this tool simulates institutional market reading using a smart calculation of estimated volume delta, helping you make more informed trading decisions.
🔍 What does this indicator do?
Estimated Delta: Calculates the difference between buying and selling pressure per candle, based on price movement and volume.
Smart Visual Signals:
🔼 Green Triangle: Potential buy entry (buyer dominance).
🔽 Red Triangle: Potential sell entry (seller dominance).
Delta Histogram: Displays whether each candle was driven more by buyers or sellers.
Live Labels: Shows real-time delta values above each candle for quick interpretation.
🧠 How does it help your trading?
Detects real-time market imbalances (who's in control: buyers or sellers).
Improves entry and exit timing, especially on lower timeframes.
Helps you confirm other strategies such as supply/demand zones, support/resistance, or candlestick patterns.
Provides an institutional-style reading simplified for use within TradingView.
⚙️ Fully Customizable to Your Style
Adjust the delta sensitivity to suit any market: Forex, Crypto, Indices, and more.
Turn on/off visual signals and histogram as needed.
🔑 Recommended by Kalibea for:
✅ Intraday traders and scalpers
✅ Traders looking to take the next step into institutional-style analysis
✅ Those seeking precise entries without overcomplicating their charts
💬 “Order Flow is the market’s internal voice. This indicator helps you hear it—no expensive footprint software required.”
— Kalibea
Body Engulfing Detector🔶 Body Engulfing Detector
This simple but effective indicator identifies candlestick patterns where the entire body of the current candle engulfs the body of the previous one — a classic signal of a potential reversal or momentum continuation.
🔍 What It Does:
Detects when the body (open-close range) of the current candle completely covers the body of the previous candle.
Triggers a visual signal on the chart once the candle is closed, avoiding premature alerts.
Includes a generic alert you can enable from the TradingView alert system, so you’ll be notified as soon as a body engulfing pattern occurs.
📈 Use Case:
This pattern can be interpreted as a shift in market sentiment and may signal a possible entry point depending on the context:
Use it as part of your price action strategy.
Combine it with trend analysis, volume, or other confirmation tools.
⚠️ This indicator focuses only on body engulfing and does not require the candle to be bullish or bearish specifically. If you'd like a version that distinguishes between bullish and bearish engulfing, feel free to request it.
GOLDGoalGO - 2 Min SignalGOLDGoalGO" Indicator for TradingView
Introduction
The "GOLDGoalGO" indicator is designed to assist traders in analyzing short-term price movements of gold (XAUUSD). It provides buy and sell signals every 5 minutes, helping traders identify optimal entry and exit points based on recent price changes.
Concept and Functionality
Primary Goal: To offer clear and timely trading signals by analyzing short-term price trends, specifically tailored for 2-minute intervals.
How It Works: The indicator calculates the change in closing prices compared to the previous bar to generate buy and sell signals. These signals are only active during 2-minute timeframes, ensuring precision in short-term trading.
Signals Provided:
A buy signal (represented by an upward shape) appears when prices show upward momentum.
A sell signal (represented by a downward shape) appears when prices show downward momentum.
Visual Cues: The signals are displayed directly on the chart with intuitive shapes for quick recognition. Additionally, alert notifications are configured to inform you immediately when new signals occur.
How the Indicator Works in Detail
Timeframe Check: It activates only during 2-minute candlestick intervals to ensure signals are relevant for short-term trading.
Price Change Calculation: It compares the current close with the previous close to detect the direction of market movement.
Signal Generation:
If the price is increasing (positive change), a buy signal is generated.
If the price is decreasing (negative change), a sell signal is generated.
Chart Annotations: When a signal occurs, a shape appears on the chart indicating the optimal point for entering a trade.
Automated Alerts: The system sends a Thai-language notification every 2 minutes to alert you of new signals, enabling timely actions even when you're away from the screen.
How to Use
Paste this script into the Pine Editor in TradingView.
Click "Add to Chart" to activate the indicator.
Set up Alert rules:
Choose the alert condition for "Buy Signal" or "Sell Signal".
Select webhook or notification options to receive real-time alerts (for example, to Telegram).
The indicator provides real-time notifications every 2 minutes whenever new signals are generated.
Why Use This Indicator?
Simplicity: Designed for traders who prefer short-term, momentum-based trading strategies.
Timely Alerts: Signals are provided precisely every 2 minutes, helping you capitalize on short-term price movements.
Flexibility: Easily adaptable to other assets by adjusting the script if needed.
GOLDGoalGO"GOLDGoalGO" Indicator for TradingView
Introduction
The "GOLDGoalGO" indicator is designed to assist traders in analyzing short-term price movements of gold (XAUUSD). It provides buy and sell signals every 5 minutes, helping traders identify optimal entry and exit points based on recent price changes.
Concept and Functionality
Primary Goal: To offer clear and timely trading signals by analyzing short-term price trends, specifically tailored for 5-minute intervals.
How It Works: The indicator calculates the change in closing prices compared to the previous bar to generate buy and sell signals. These signals are only active during 5-minute timeframes, ensuring precision in short-term trading.
Signals Provided:
A buy signal (represented by an upward shape) appears when prices show upward momentum.
A sell signal (represented by a downward shape) appears when prices show downward momentum.
Visual Cues: The signals are displayed directly on the chart with intuitive shapes for quick recognition. Additionally, alert notifications are configured to inform you immediately when new signals occur.
How the Indicator Works in Detail
Timeframe Check: It activates only during 5-minute candlestick intervals to ensure signals are relevant for short-term trading.
Price Change Calculation: It compares the current close with the previous close to detect the direction of market movement.
Signal Generation:
If the price is increasing (positive change), a buy signal is generated.
If the price is decreasing (negative change), a sell signal is generated.
Chart Annotations: When a signal occurs, a shape appears on the chart indicating the optimal point for entering a trade.
Automated Alerts: The system sends a Thai-language notification every 5 minutes to alert you of new signals, enabling timely actions even when you're away from the screen.
How to Use
Paste this script into the Pine Editor in TradingView.
Click "Add to Chart" to activate the indicator.
Set up Alert rules:
Choose the alert condition for "Buy Signal" or "Sell Signal".
Select webhook or notification options to receive real-time alerts (for example, to Telegram).
The indicator provides real-time notifications every 5 minutes whenever new signals are generated.
Why Use This Indicator?
Simplicity: Designed for traders who prefer short-term, momentum-based trading strategies.
Timely Alerts: Signals are provided precisely every 5 minutes, helping you capitalize on short-term price movements.
Flexibility: Easily adaptable to other assets by adjusting the script if needed.
Summary
The "GOLDGoalGO" indicator helps traders stay on top of short-term market trends for gold, giving precise buy and sell signals every 5 minutes. With visual cues on the chart and notifications sent automatically in Thai, it ensures you're always informed of potential trading opportunities and can act swiftly to maximize profit.
Obscure Institutional Candle PatternsThe "Obscure Institutional Candle Patterns" indicator is a specialized tool designed to identify subtle and unconventional candlestick patterns that may signal institutional activity, liquidity grabs, and sophisticated traps. Unlike common patterns like dojis or engulfing candles, this script focuses on nuanced relationships between price, wicks, and volume that often go unnoticed by the average retail trader.
The core idea is that institutional players leave footprints in the market that don't conform to standard textbook patterns. This indicator decodes these footprints, providing traders with potential early warnings or confirmations of significant market moves. Each pattern is plotted with a unique label and color for easy identification, and alerts are available for each signal.
Identified Patterns
Here is a breakdown of the specific patterns this indicator detects:
1. Liquidity Leech
What it is: A candle with an exceptionally long upper or lower wick (more than 3.618 times the body size) that forms on significantly low volume (less than the 20-period average).
Interpretation: This pattern suggests a probe into key price levels. A large institution may be "leeching" liquidity by testing for stop-loss orders without committing significant volume. It can be a precursor to a reversal, as it indicates where liquidity rests.
Plotted as: A small green triangle (Leech).
2. Echo Rejection
What it is: Two consecutive candles that both dip below the midpoint of the previous day's trading range but manage to close above it.
Interpretation: The previous day's midpoint acts as a critical support or resistance level. A single rejection is significant, but a second consecutive rejection—an "echo"—powerfully reinforces the level's strength. This pattern suggests a robust defense of a price level by buyers and can signal the start of a bullish move.
Plotted as: A small orange triangle (Echo).
3. Bleeding Wick Trap
What it is: A series of three consecutive candles, each with a very long lower wick (more than 6.618 times its body size), culminating in a bullish close on the third candle.
Interpretation: This pattern illustrates a sustained battle where sellers repeatedly try to push the price down, but buyers aggressively step in, creating long "bleeding" wicks. The final bullish close suggests the sellers have been exhausted or "trapped," and the buyers have won control, indicating strong accumulation.
Plotted as: A small blue triangle (WickTrap).
4. Time-Shifted Shadow Box
What it is: A bullish reversal candle that occurs after the price retraces into the middle of a bullish candle from two periods ago. This reversal must be accompanied by a massive surge in volume (at least 5 times the 20-period average).
Interpretation: This complex pattern identifies when the market returns to a "shadow" of a previous key level (the midpoint of the candle from two bars back). The aggressive, high-volume reversal from this time-shifted level suggests a powerful institution has stepped in to reverse the short-term retracement with conviction.
Plotted as: A fuchsia label (TS Box).
5. False Containment Body
What it is: A candle that looks like a bullish Harami (body is contained within the prior candle's body) but with two key differences: its entire range (high and low) is also contained, and its body is exceptionally tiny (less than 1/18th the size of the prior candle's body).
Interpretation: While a standard Harami signals indecision or a potential reversal, this pattern suggests a "false" signal designed to deceive. The extremely low volatility and tight range indicate a temporary pause or consolidation with hidden intent, often before a powerful continuation of the previous trend. It traps traders who misinterpret it as a simple reversal signal.
Plotted as: A yellow label (False).
How to Use
Confirmation Tool: Use these signals as a confirmation layer alongside your existing trading strategy. They are not meant to be standalone entry signals.
Context is Key: The effectiveness of these patterns increases significantly when they appear near key support/resistance levels, supply/demand zones, or major moving averages.
Alerts: Enable alerts to be notified in real-time when one of these obscure patterns forms, allowing you to pay closer attention to the price action that follows.






















