지표 및 전략
Candles by Day of WeekCandles by Day of Week
Candles by Day of Week (INLINE) is a lightweight visual indicator that colors price candles based on the day of the week.
It helps traders quickly recognize weekly patterns, market behavior differences, and day-specific tendencies directly on the chart.
🔹 Key Features
Candle coloring for Monday through Sunday
Enable or disable each weekday individually
Custom color selection for every day
Day enable toggle and color input are combined in one line for cleaner settings
Uses barcolor() — no candle shifting or overlay issues
Compatible with all markets: Forex, Crypto, Stocks, Indices
Works on all timeframes
🔹 How It Works
The indicator detects the day of the week for each candle and applies the selected color if that day is enabled.
Disabled days keep the chart’s default candle colors unchanged.
This approach ensures:
No interference with price data
No displacement from the main chart
Full compatibility with other indicators
🔹 Practical Use
Analyze weekday-based market behavior
Spot recurring patterns or volatility by day
Improve discretionary and session-based strategies
Enhance chart readability and visual clarity
🔹 Notes
Saturday and Sunday candles are mainly relevant for Crypto markets
Forex traders may choose to disable weekend days
The indicator is purely visual and does not affect calculations or signals
🔹 Customization
All settings can be adjusted in the indicator’s Inputs:
Toggle individual days on or off
Select custom candle colors per day
Instantly adapt the indicator to your trading style
🔹 Disclaimer
This indicator is intended for visual analysis only and should be used as a supportive tool alongside other forms of technical analysis.
It does not provide buy or sell signals.
The Strat Candle Labels & Color Inc F2D F2UThis script uses TheStrat candle numbers 1, 2D, 2U, 3 and places the text below or above. I have also now added the Failed 2D/2U labels. You can also change the text size. This also allows you to change the colors of the candles with two options for the 1 & 3 so you can color them in the direction they are going. For example a 1 that is green can be green and a 1 that is red can be red.
LJ Parsons Adjustable expanding MRT FibBased on premium/discount/fair-value levels the indicator will expand with the market by settable dates.
The levels are not fib based as such but are resonant levels within an multiplicative /12 log scale using the LJ Parsons Market resonance hypothesis.
Relative Strength vs S&P 500 (SPX/ES) Relative Strength vs S&P 500
This indicator measures the relative performance of an asset compared to the S&P 500, helping traders and investors identify whether an asset is outperforming or underperforming the broader market.
The calculation is based on a price ratio between the selected asset and the S&P 500, optionally normalized to a base value (100) for easier interpretation.
How to read it:
Above the baseline (100) → the asset is outperforming the S&P 500
Below the baseline (100) → the asset is underperforming the S&P 500
Rising line → strengthening relative performance
Falling line → weakening relative performance
Why it’s useful:
Helps focus on market leaders, not just assets that “look cheap”
Filters trades and investments in the direction of relative strength
Useful for swing trading, long-term investing, and portfolio allocation
Widely used in institutional and professional asset management
This indicator is best used as a trend and selection filter, in combination with technical setups (support/resistance, VWAP, structure).
Swing HelperThis script, titled "Swing helper", is a multi-metric dashboard designed to provide a comprehensive snapshot of a security's volatility, relative volume, and price action health directly on the chart. It focuses on Average Daily Range (ADR) relationship and key performance indicators to help traders identify setups like volatility contractions or trend strength.
Key Features
Dual-ADR Analysis: Calculates and compares Long-Term (LT) and Short-Term (ST) ADR percentages. The ADR Ratio helps identify when volatility is expanding or contracting relative to historical norms.
Relative Volume (RVol): Compares current volume to a 20-day moving average, highlighting institutional participation.
Dynamic Closing Range: Visualizes where the price is closing relative to the day's true range (the "Closing Range %"), indicating buying or selling pressure.
SMA 50 Distance: A unique metric that measures the price's distance from the 50-day Simple Moving Average in "ADR units," helping to gauge how overextended a stock is.
Automated Price Projections: Dynamically plots -1x and -2x ADR levels from the current price to provide immediate downside targets or support levels.
Custom Bar Coloring: Highlights specific price action patterns:
Inside Days (Blue)
Upside Reversals (Green)
Downside Reversals (Red)
Visual Customization
The script includes a highly flexible Summary Table with customizable positions, sizes, and colors (including borders and headers), allowing it to fit into any dark or light mode chart layout without obstructing price action.
How to Use
Volatility Contraction: Watch for the ADR Ratio to drop, indicating a tightening range before a potential breakout.
Relative Strength: Look for high RVol combined with a high Closing Range % (e.g., >75%) to confirm strong demand.
Mean Reversion: Use the SMA50 Dist metric to identify when a stock is "stretched" too far from its moving average relative to its daily volatility.
Market time opens @NeoNztime opens marked out new york session , london session, asia session and highs and lows of each one
Price Prediction Forecast ModelPrice Prediction Forecast Model
This indicator projects future price ranges based on recent market volatility.
It does not predict exact prices — instead, it shows where price is statistically likely to move over the next X bars.
How It Works
Price moves up and down by different amounts each bar. This indicator measures how large those moves have been recently (volatility) using the standard deviation of log returns.
That volatility is then:
Projected forward in time
Scaled as time increases (uncertainty grows)
Converted into future price ranges
The further into the future you project, the wider the expected range becomes.
Volatility Bands (Standard Deviation–Based)
The indicator plots up to three projected volatility bands using standard deviation multipliers:
SD1 (1.0×) → Typical expected price movement
SD2 (1.25×) → Elevated volatility range
SD3 (1.5×) → High-volatility / stress range
These bands are based on standard deviation of volatility, not fixed probability guarantees.
Optional Drift
An optional drift term can be enabled to introduce a long-term directional bias (up or down).
This is useful for markets with persistent trends.
Trinity Multi-Timeframe CCITrinity Multi-Timeframe CCI Indicator
This Pine Script indicator is a powerful **multi-timeframe Commodity Channel Index (MTF CCI)** tool that displays three CCI lines on a single pane:
- **Current timeframe** (whatever chart you're viewing, e.g., 1h, 15m, etc.)
- **4-hour timeframe**
- **Daily timeframe**
All three use the same CCI length (default 20, adjustable) and are fully customizable—you can enable/disable each line, change its timeframe, color, and thickness. Horizontal levels at 0 (dashed white by default), +100 (red), and -100 (green) are also included and fully editable.
### Core Functionality & Visual Signals
The standout feature is the **dynamic coloring of the current timeframe CCI line**:
- **Green**: Strong **bullish alignment**. This occurs when **all three CCIs are above the zero line** AND the current timeframe CCI is the **highest** of the three (leading the move upward with higher-timeframe confirmation).
- **Red**: Strong **bearish alignment**. This occurs when **all three CCIs are below the zero line** AND the current timeframe CCI is the **lowest** of the three (leading the move downward with higher-timeframe confirmation).
- **Yellow**: Neutral or no clear alignment (default state when the above conditions aren't met).
An optional light background shading (green or red) highlights when the indicator is in a bullish or bearish state.
Small triangle markers appear on the pane when a new bullish or bearish alignment forms, and built-in alerts notify you of new signals or when a signal ends. These are editable to enable or disable.
### How Traders Can Use It
This indicator helps identify **high-probability trend continuations or reversals** by combining momentum (CCI) across multiple timeframes with alignment confirmation:
- **Trend-following entries**: A green current line (especially with a fresh alert) suggests strong upward momentum backed by higher timeframes—ideal for long entries or adding to positions in an uptrend.
- **Bearish entries/short setups**: A red current line signals strong downward momentum confirmed across timeframes—good for short entries or exiting longs.
- **Confluence filter**: Use it as a filter for other strategies. Only take trades in the direction of the alignment (e.g., only long if current line is green).
- **Early warning of weakness**: When the current line turns yellow after being green/red, it often signals the trend is losing multi-timeframe support—useful for tightening stops or taking partial profits.
In essence, it visually answers the question: “Is the short-term momentum not only strong, but also aligned with and leading the medium- and long-term momentum?” When the answer is yes (green or red), it highlights moments of **multi-timeframe confluence**—some of the most reliable setups in technical trading.
The alerts make it practical for active traders: you get notified the moment a strong aligned signal appears, without needing to watch the chart constantly.
It's clean, highly customizable, and focuses on one clear concept—**multi-timeframe CCI leadership**—making it excellent for trend, swing, and even intraday traders looking for higher-timeframe confirmation.
HaP D-RSIHaP D-RSI (HaP Dual RSI) This code shares the dual RSI structure and divergences of hakan çift rsi-most indicator as open source. It is designed for simple, understandable, and effective use.
()
HaP D-RSI is a comprehensive oscillator that powerfully enhances the classic Relative Strength Index (RSI) indicator. By adding a 9-period EMA on top of the standard RSI(14), it smooths the momentum for clearer readability, while dynamic area filling between the short RSI(10) and long RSI(14) visually emphasizes trend strength. Its strongest feature is the automatic detection of regular (normal) and hidden positive/negative divergences, marked with clear labels. This provides opportunities to catch both trend reversals and continuations early.The indicator operates in a separate panel and includes overbought/oversold levels (70/30/50). With multi-timeframe support, you can display RSI values from a higher timeframe on your current chart.Main FeaturesDual RSI Calculation: Short-period RSI(10) and long-period RSI(14) are calculated separately.
EMA Smoothing: A 9-period EMA is applied to RSI(14) to reduce noise and clarify signals.
Dynamic Area Filling: Dynamic colored filling between RSI(10) and RSI(14)-EMA (blue tones for bullish, red tones for bearish momentum).
Fixed-intensity area between RSI(10) and RSI(14) (emphasizes trend strength).
Overbought/Oversold Lines: Dashed lines at 70 (overbought), 30 (oversold), and 50 (midline).
Full Divergence Detection:Positive Divergence (pu): Price makes a lower low while RSI makes a higher low → Potential bullish reversal.
Hidden Positive Divergence (gpu): Trend continuation signal (buying opportunity after pullback).
Negative Divergence (nu): Price makes a higher high while RSI makes a lower high → Potential bearish reversal.
Hidden Negative Divergence (gnu): Bearish trend continuation signal.
Customizable Pivot Settings: Adjust divergence sensitivity with lookback left/right and distance range.
Multi-Timeframe Support: Ability to pull RSI data from a different timeframe.
Usage InstructionsAdd to Chart: When added, it opens a separate RSI panel.
Settings: Change the short RSI (default 10) and long RSI (default 14) periods as needed.
Adjust the EMA period (default 9) to suit your needs.
If the timeframe is left blank, it uses the current chart timeframe; otherwise, select a higher timeframe.
You can toggle divergence types (positive/negative, hidden/regular) on/off.
Increase pivot lookback values for stronger (fewer signals) divergences.
Signal InterpretationBuy Opportunity: When "pu" or "gpu" labels appear (especially around the 30 level).
Sell Opportunity: When "nu" or "gnu" labels appear (especially around the 70 level).
Area filling colors support momentum direction: Blue tones indicate bullish pressure, red tones indicate bearish pressure.
For best results, use in combination with support/resistance levels, volume, or trend filters (e.g., EMA).
Why Use This Indicator?Powerful Divergence Detection: Automatically and accurately captures both regular (reversal) and hidden (continuation) divergences – a feature missing in many standard RSI indicators.
Visual Clarity: Dynamic colored areas and labels ensure you don't miss signals.
Flexibility: Suitable for all markets (stocks, forex, crypto) and timeframes.
Early Warning System: Divergences often signal before price reversals, providing high-probability entries.
Add this indicator to your strategies to elevate your momentum-based trading.
This indicator is free. Feel free to leave comments with your feedback and improvement suggestions. If you like it, don't forget to add it to favorites and share! Happy trading!
Harmonic Patterns [kingthies]Harmonic Patterns
This indicator scans price swings for classic X-A-B-C-D harmonic patterns and plots the structure plus a PRZ (Potential Reversal Zone) to help you frame areas where reactions are statistically more likely. It supports both bullish and bearish setups and can trigger alerts when a new D pivot confirms a pattern.
What it does
Builds a pivot-based swing map (ZigZag-style) using a configurable Pivot Length .
Evaluates the most recent 5 swing points (X, A, B, C, D) against harmonic ratio rules with a user-defined tolerance .
Detects: Gartley, Bat, Butterfly, Crab, Deep Crab, Cypher, Shark (loose) .
Draws the pattern legs (X-A-B-C-D), labels the detection with ratio readouts, and projects a PRZ using 3 target levels (derived from XA/BC logic per pattern).
Offers two rendering modes:
Best only : picks the closest match (lowest score) to reduce clutter.
Show all : plots every valid match (uses filled PRZ boxes to keep object usage under control).
PRZ (Potential Reversal Zone)
PRZ is built from three target levels and expanded into a zone.
Optional padding uses ATR (ATR multiplier) to widen/narrow the zone for volatility.
Display modes: Off, Box, Lines, Both .
Zones can be extended forward by a configurable number of bars to keep the area visible as price develops.
How to use
Start with Confirm only when D pivot forms enabled (recommended) to reduce false positives while patterns are still forming.
Adjust Pivot Length based on timeframe:
Lower values = more swings, more signals, more noise.
Higher values = cleaner structures, fewer signals.
Use Ratio Tolerance to control strictness:
Lower tolerance = fewer, higher-confidence matches.
Higher tolerance = more matches, potentially lower quality.
Treat harmonics as context , not a standalone entry system:
Look for confluence (HTF levels, structure, volume, momentum/RSI divergence, etc.).
Use your own confirmation and risk plan (invalidations beyond PRZ / beyond D).
Settings overview
Swings (Pivot ZigZag)
Pivot Length: pivot sensitivity.
Use Wicks: uses High/Low; if off, uses Close.
Max Stored Swings: limits stored pivots for performance/object control.
Harmonic Detection
Ratio Tolerance (%): allowed deviation around ideal ratios.
Confirm only when D pivot forms: reduces repaint-like behavior.
When multiple match: Best only vs Show all.
Pattern Filters enable/disable each pattern type.
PRZ
PRZ Display: Off / Box / Lines / Both.
PRZ Padding (ATR multiplier): volatility-adjusted zone padding.
PRZ Extend (bars): how far to project the zone.
Visuals
Draw Legs: draws X-A-B-C-D.
Show Pattern Label: prints pattern name, direction, ratios, and score.
Label Offset: shift label forward if you want more space.
Alerts
“Bullish/Bearish Harmonic (Any)” triggers on any detected pattern.
Per-pattern alerts are included for each supported pattern type.
Notes
This indicator is educational and intended to assist with pattern recognition and confluence mapping.
Harmonic patterns do not guarantee reversals—always manage risk and confirm with your own process.
Gaps IdentifierThis indicator identifies up and down Gaps using previous period's close price to the next period's open price. Potentially useful for Gap rebound strategies.
(Will identify gaps 4%–11% by default; can change in settings)
Multi-Timeframe Market Structure [MattyBTradez]Provides a Bullish or Bearish analysis based on market structure for the 1M, 5M, 15M, 30M, 1H, 4H, and 1D timeframes.
Enhanced Trend & ML ScreenerThe Enhanced Trend & EMA Screener is a multi-symbol dashboard that aggregates trend, momentum, and structure signals across up to 8 user-defined assets.
Why this script is unique (The Problem & Solution): Traders often struggle to monitor multiple assets for confluence without cluttering their workspace with 8 different charts. Single-metric screeners (like simple EMA crosses) generate too much noise. This script solves this by fusing 5 distinct analytical engines into a single "Confluence Score" for each ticker, allowing you to monitor your entire watchlist from one chart.
How the Confluence Engine Works: Each ticker is analyzed in real-time against five criteria:
EMA Kinetics: Checks for crossovers on 10, 21, 50, and 89-period EMAs.
Ichimoku Structure: Checks if price is above (Bullish) or below (Bearish) the Cloud to ensure trades align with equilibrium.
ADX Strength: Filters out weak trends by comparing +DI and -DI.
ATR Regimes: Analyzes volatility expansion vs contraction. Bullish signals are stronger during volatility expansion.
Linear Regression Slope: Uses the slope of the regression line as a proxy for "predicted persistence."
Dashboard Features:
Symbol Row: Customizable inputs for up to 8 tickers (Default: SPY, QQQ, and Tech Giants).
Sentiment Matrix: Color-coded cells (Green/Red/Gray) for instant trend recognition.
Debug Table: An optional secondary table that shows the raw math (Price vs EMA values) for transparency.
MTF Overlay: Includes a Weekly trend check to ensure Daily signals align with the higher timeframe.
How to Use:
Setup: Add the script to your chart (e.g., SPY Daily).
Customize: Go to settings and input your preferred 8 tickers.
Scan: Look for "Full Green" rows. If a ticker is Bullish on EMA, Ichimoku, and ADX, it is a high-probability setup.
Alerts: The script generates alerts when any of your watched tickers trigger a key EMA crossover.
Disclaimer: The screener uses request.security to fetch data. While lookahead is disabled to prevent repainting, slight data lag may occur depending on the liquidity of the tickers selected.
SMC Alpha Sentiment Hunter [Crypto Trade]The SMC Alpha Sentiment Hunter is an institutional-grade decision-support tool developed by the Crypto Trade community.
Unlike traditional lagging indicators, this script focuses on Smart Money Concepts (SMC) by analyzing real-time market sentiment data directly from Binance Futures.
Key Features:
- Real-time Open Interest (OI) Tracking: Confirms institutional capital flow.
- Long/Short Ratio (LSR) Analysis: Identifies retail positioning to spot "liquidity traps".
- Volume & Volatility Filters: Built-in ATR and Volume Moving Average to validate entry signals.
- Multi-Asset Compatibility: Optimized for a broad range of Binance Futures pairs on the 15-minute timeframe.
Logic:
Signals are triggered when institutional interest (OI) rises while retail traders (LSR) are caught on the wrong side of the trend, confirmed by RSI exhaustion and strong volume.
Disclaimer: For educational purposes only. Trading involves risk.
CM RSI Description
This indicator plots ladder-style buy signals based on RSI oversold “cycles.”
BUY1 triggers after RSI closes ≤ Oversold for at least two consecutive candles.
Additional buys (BUY2, BUY3, …) can only occur after RSI re-arms by closing back above the oversold level, then returning oversold for two+ closes, and price is at least X% below the last entry price.
The “last entry” reference updates after every buy, allowing unlimited rebuys with a dynamic step-down.
Notes
Signals are generated on closed bars only (non-repainting behavior).
You can optionally set a Start Time to ignore earlier history and avoid off-screen state.
Choose whether the % drop check uses Close or Low depending on how strict you want confirmation.
Inputs
RSI length/source, oversold level, rebuy drop %, price check source, entry storage source, start time/baseline options, and display controls.
MACD Classic MT5 Style (2 Lines + Histogram)MACD Classic MT5 Style (แบบ MetaTrader 5) มีความแตกต่างจาก MACD ทั่วไปที่ใช้กันใน TradingView พอสมควรครับ นี่คือคำอธิบายว่ามันทำงานอย่างไรและอ่านค่าอย่างไรครับ:
1. ความแตกต่างสำคัญ (Key Difference)
MACD ทั่วไป (Standard):
มี 2 เส้น (เส้น MACD และ เส้น Signal)
ฮิสโตแกรม (แท่งกราฟ) คือ ส่วนต่าง (Gap) ระหว่าง 2 เส้นนั้น
MACD แบบ MT5 (Classic MT5):
เส้น MACD จะถูกวาดออกมาเป็น แท่งกราฟ (Histogram) แทนที่จะเป็นเส้น
เส้น Signal จะเป็น เส้น (Line) สีแดงพาดผ่านแท่งกราฟ
สรุปคือ: ในแบบ MT5 แท่งกราฟคือตัวพระเอก (MACD) ส่วนเส้นคือตัวช่วยกรอง (Signal)
Here is the English translation of the explanation:
MACD Classic MT5 Style vs. Standard MACD
The "Classic MT5 Style" MACD differs significantly from the standard MACD typically found on TradingView. Below is an explanation of its mechanics and how to interpret it.
1. Key Differences
Standard MACD (TradingView Default):
Displays 2 Lines (MACD Line and Signal Line).
The Histogram represents the difference (gap) between those two lines.
MT5 Style MACD (Classic):
The MACD value is plotted as a Histogram (bars) instead of a line.
The Signal Line appears as a standard Line (usually red) overlaying the histogram.
In summary: In the MT5 style, the Histogram represents the actual MACD Line, while the separate line acts as the Signal filter.
Strategy-Based Breakout Backtest by AlturoiThis educational strategy is designed to help active traders learn how to turn trading ideas into data-driven decisions by testing strategies against historical price action before risking real capital.
The script walks through the step-by-step backtesting workflow on TradingView, showing how strategy logic, entries, exits, and risk rules translate into measurable performance metrics such as win rate, drawdown, and expectancy.
What this script helps you learn:
How to backtest on TradingView using Pine Script strategies
How the Strategy Tester calculates performance results
How to interpret win rate, drawdowns, and consistency
How to validate breakout and support/resistance concepts
How to identify structural edge — or flaws — before going live
This is not a signal service or financial advice. It is an educational framework meant to help traders understand proper backtesting techniques and avoid common mistakes when evaluating trading strategies.
Use this script as a learning template to experiment, modify logic, and improve your understanding of how professional backtesting on TradingView works.
Sector Flow AnalysisSector Flow Analysis - Track market leadership and rotation across 11 major sector ETFs with real-time performance rankings.
Key Features:
Monitors all 11 S&P sector ETFs (XLK, XLF, XLI, XLU, XLV, XLP, XLY, XLB, XLRE, XLC, XLE)
Configurable lookback period (5-60 days) for performance calculation
Color-coded risk indicators: 🟢 Risk-On sectors leading (bullish), 🟠 Risk-Off sectors leading (defensive), 🟡 Neutral sectors
Display top N sectors (1-11) to declutter your chart
Fully customizable positioning, text size, and color
Clean, minimal table overlay that won't obstruct your chart
Use Cases:
Identify sector rotation patterns and market leadership changes
Gauge market sentiment (risk-on vs risk-off behavior)
Find opportunities by tracking which sectors are gaining/losing momentum
Confirm trend strength when your stock's sector is leading
Perfect companion to comprehensive market analysis tools for a complete picture of sector dynamics.





















