IU Time SessionsDISCRIPTION
IU Time Sessions is a multi–market session indicator designed to visually highlight major global trading sessions directly on your chart.
It helps traders easily identify when Tokyo, London, New York, and Sydney sessions are active based on their selected time zone.
The indicator automatically adjusts session timings according to the chosen time zone, making it extremely useful for traders across different countries.
Each session is displayed with a customizable background color, allowing you to instantly recognize market behavior, volatility changes, and session overlaps.
In addition, session start alerts can be enabled so traders never miss the opening of important market hours.
USER INPUTS :
• Select Your Time Zone
Allows users to choose their local or preferred market time zone for accurate session calculation.
• Background Color Transparency
Adjust the transparency level of session background colors for better chart visibility.
• Enable / Disable Individual Sessions
Users can turn ON or OFF:
* Tokyo Session
* London Session
* New York Session
* Sydney Session
• Session Time Settings
Each session has customizable start and end times.
• Session Colors
Each trading session has its own selectable background color.
• Session Alerts
Optional alerts for:
* Tokyo session start
* London session start
* New York session start
* Sydney session start
WHY IT IS UNIQUE:
• Fully time-zone adaptive (works globally)
• Supports all major forex and crypto trading sessions
• Clean background visualization without clutter
• Custom session timing flexibility
• Individual session enable/disable control
• Session start alerts without repainting
• Works on all timeframes
• Lightweight and optimized Pine Script v6 code
Unlike basic session indicators, this tool focuses on clarity, flexibility, and accurate time-zone conversion — making it suitable for both beginners and professional traders.
HOW USER CAN BENIFIT FROM IT :
• Easily identify high-liquidity market hours
• Understand session-based price behavior
• Spot session overlaps for increased volatility
• Improve timing for entries and exits
• Avoid low-volume trading periods
• Use alerts to stay disciplined and prepared
• Suitable for forex, crypto, indices, and commodities
This indicator helps traders align their strategies with institutional trading hours and make better-timed trading decisions.
Indikatoren und Strategien
Short-Term Weekly Refuges (Shelters)## // Introduction //
══════════════
Short-Term Weekly Refuges (Shelters) (WR or RS) is a structural analysis indicator designed to track price action during the current week. It combines a configurable ZigZag with Fibonacci retracements anchored to recent phases, using the Weekly Opening Price (W.O.P.) as a key reference level.
This indicator is optimized for 4H timeframe but also works on 1H and 15min charts.
## // Theoretical Foundation of the Indicator //
═══════════════════════════════
The WR (RS) indicator provides a structural framework for following price action during the current trading week.
The core concept: Recent ZigZag phases, combined with the Weekly Opening Price, create dynamic support and resistance levels that institutional traders often monitor and use for intraweek positioning. The indicator allows you to select which recent phase (1-10) serves as the Fibonacci anchor.
## // Indicator Objectives //
══════════════════
1) Display a configurable ZigZag showing recent price structure with numbered phases (1 = most recent). Users should configure the ZigZag parameters based on whether they are analyzing a Major Degree Pattern (larger swings, less noise) or a Minor Degree Pattern (smaller swings, more detail), following standard Elliott Wave terminology. Configure the ZigZag to match the degree of your analysis: use higher Depth values for Major Degree Patterns, or lower values for Minor Degree Patterns.
2) Draw Fibonacci retracements on a user-selected phase, with two modes:
• "On ZigZag": Traditional Fibonacci on the selected phase.
• "Relative to W.O.P.": Fibonacci from phase anchor (i0) to Weekly Opening Price.
3) Show Weekly Opening Price lines as horizontal references, with the current week's line extended into the future.
4) Provide Pivot Up/Down markers for additional confirmation of local highs and lows.
5) Support multiple simultaneous indicator loads with visual identifier labels to distinguish between different analysis degrees (e.g., "Major Degree Pattern" vs "Minor Degree Pattern").
6) Optional Embedded Indicator: Enable Intraday Shelters (RID) - percentage-based support/resistance levels calculated from the Daily Opening Price, useful for 1H and 15min trading.
## // Key Features //
══════════════
• **Flexible ZigZag**: Adjustable Depth, Deviation, and Backstep parameters to adapt to any asset's volatility.
• **Phase Selection**: Choose from the 10 most recent phases for Fibonacci anchoring.
• **Dual Fibonacci Modes**: Trace on the ZigZag phase itself, or relative to the Weekly Opening Price.
• **New Age Color Palette**: Professional Fibonacci color scheme used by old school experienced traders.
• **Weekly Opening Price (W.O.P.)**: Historical weekly opens plus current week projection.
• **"Show Only W.O.P." Mode**: Isolate just the Weekly Opening Price line for cleaner charts on non-4H timeframes.
• **Optional Intraday Shelters (RID)**: 11 percentage levels (±0.382%, ±1%, ±1.5%, ±2%, ±2.5%) based on Daily Opening Price.
• **Multi-Load Support**: Visual identifier tags and Large Label for running multiple indicator instances simultaneously.
## // Recommended Workflow //
═════════════════════
1) Load the indicator on a 4H chart.
2) Adjust ZigZag parameters (Depth, Deviation) until the phases match your visual analysis of recent price structure.
3) Select the phase you want to use as Fibonacci anchor (typically Phase 2, 3 or higher).
4) Choose Fibonacci mode: "On ZigZag" for phase analysis, or "Relative to W.O.P." for analysis based on weekly opening price context.
5) Monitor how price interacts with the Fibonacci levels and Weekly Opening Price throughout the week.
6) Optionally enable RID for intraday precision on 1H or 15min charts.
## // Integration with Other Refuge Indicators //
════════════════════════════════
WR (RS) is part of a complete refuge-based analysis ecosystem:
• LTR (RLP) (Long-Term Refuges): For automatic determination of the predominant phase of a ZigZag, which institutional investors choose as the basis for a Fibo whose levels calculate the projection for order placement over the following months and years.
• LTRS (RLPS) (Simple Long-Term Refuges): Simplified version of LTR in which the known coordinates of the predominant phases (obtained with the LTR indicator) of one or up to five assets are easily captured for permanent long-term operation.
• WR (RS) (Short-Term Weekly Refuges): (This indicator) For short-term tactical analysis (4H, 1H) based on chosen phases of a ZigZag that define Fibo levels generated during the near past week(s) and probably effective in the present week.
• IDR (RID) (Intra-Day Refuges): For daily operations relying on intraday levels on timeframes of 1H or less. Ideal for scalping traders.
By combining LTR, LTRS, WR and IDR, you obtain a multi-level framework that allows you to operate with clarity at any time horizon, from intraday positions to investments spanning months and years.
## // Additional Notes //
════════════════
1) Default parameters are optimized for volatile assets (crypto, tech stocks). For forex or less volatile instruments, consider reducing Deviation to 3-8%.
2) The "Phase in Development" (dashed line) shows the tentative current ZigZag segment that may still change as new bars form.
3) Bug reports, improvement proposals for the ZigZag generator, pattern determination, or Fibo composition, etc., will be greatly appreciated and taken into account for a future version. Best regards and happy hunting.
(Sorry: Spanish translation erased trying to avoid confusing publishing banning rules).
Super OscillatorSuper Oscillator – Intraday Momentum
Super Oscillator is a momentum-based oscillator designed for intraday trading, optimized for 1-minute charts and fast market conditions.
The indicator uses a zero-centered momentum model with dynamic smoothing and clearly defined zones to help traders identify exhaustion, pullbacks, and momentum shifts without excessive noise.
Key Features
Zero-centered oscillator for immediate directional bias
Dynamic overbought and oversold zones
Neutral “dead zone” to avoid low-probability trades
Smoothed momentum line with signal line for timing entries
Optimized for scalping and short-term intraday trading
Fully compatible with TradingView Pine Script v6
How to Use
Overbought zone: Look for bearish reactions or momentum exhaustion
Oversold zone: Look for bullish reactions or pullbacks
Dead zone: Avoid trades when momentum is unclear
Use the oscillator as a confirmation tool, always with price action and structure
Best Use Case
Intraday scalping (1M–5M)
Futures markets (indices, metals)
NY session trading
Disclaimer
This indicator does not predict price direction. It measures momentum and exhaustion and should be used as part of a complete trading plan with proper risk management.
MarketStructureLab Structure Zones (FREE) This indicator highlights key structural zones where the market is most likely to:
• continue the current move
• pause, consolidate, or transition into a range
There are no buy/sell signals, arrows, or predictions.
Only structure, context, and reaction areas.
How it works
• Detects confirmed swing highs and lows using pivot logic
• Filters insignificant moves with an ATR-based threshold
• Builds structure zones (ranges, not lines) around key levels
• Displays only the active working window around the current price
• Shows a simple Market State: Trend / Range / Transition
No repaint tricks. No future leaks. Pure price structure.
How to use
Use the zones as context, not signals:
• observe reactions and acceptance
• combine with your own entry model (price action, volume, trend filter)
• works on any market and any timeframe
This tool is designed for traders who prefer clarity over complexity.
This is a FREE MVP version.
More advanced structure logic and tools will be released in future versions.
Not financial advice.
market structure, structure zones, support resistance, supply demand, swing, pivot, price action, range, trend, ATR
3-Daumen-Regel mit 4 Daumen, YTD-Linie, SMA200 und ATR
The script calculates the following values and displays them in a table:
- YTD line
- SMA
- ATR and ATR
- Difference to YTD
- Difference to SMA200
The table also includes a four-point rating for:
- the first 5 trading days of the year
- price relative to SMA
- price relative to YTD line
- the first month of the trading year
TOA SESSION INDICATOR PRO - MARKED WITH COLORSThis indicator is made for The Orderflow Academy community.
You can see the highs and lows of the sessions in colors.
Fibonacci ATMAFibonacci ATMA. An ATR-adjusted EMA. This is for use with fibonacci scales for day trading and swing trading.
15 Zaman Kutusu ve 10 Zaman Acilisi15 Range Boxes & 10 Open Lines
This indicator is a comprehensive technical analysis tool designed to track specific time intervals (Sessions, Killzones) and critical opening prices on your chart.
Key Features:
15 Custom Range Boxes: Individual settings for color, time, and labels.
10 Open Price Lines: Track daily, weekly, or session opens.
Smart History Limit: "Son X Kutuyu Goster" feature preventing lag and flickering.
Pips Display: Automatically calculates and displays the range width in pips.
Minimalist Mode: Hides details when "Cok Kucuk" label size is selected.
Language: Fully Turkish menu settings.
Note: Inspired by Nephew Sam's concept, coded from scratch with performance optimizations and additional features.
DISCLAIMER This indicator is for educational purposes only. It does not constitute financial advice or trading signals. Use at your own risk.
Price Above VWAP FilterPrice above VWAP
this shows either a zero or one if the price is above or below the vwap
FxNeel Session (Lite)Here is light version. You can all types of ICT session like Asia, london, new york, Aisa kill zone, CBDR .
Happy trading. Please drop your feedback.
Smart Multi-Timeframe SeparatorsHere you will get Hourly, daily, weekly and monthly candle separator and also Running candle formation. Enjoy our indiactor. Happy Trading. Drop your feedback also please.
MACD-V (Volatility Normalized MACD)Award-Winning Momentum Indicator by Alex Spiroglou (CMT Charles Dao Award & NAAIM Founders Award, 2022)
The classic MACD has powered trading decisions for decades, but it suffers from five major limitations that undermine consistency:
1- Readings are not comparable over time (absolute price dependency causes massive scale differences across decades)
2- Not comparable across markets or assets (e.g., stocks vs. forex vs. crypto)
3- No universal overbought/oversold levels
4- Excessive whipsaws in low-momentum/range-bound conditions
5- Lagging signals in high-momentum reversals (e.g., missing big chunks of V-shaped recoveries)
MACD-V solves all five issues by normalizing momentum against volatility instead of price.
Core Formula
MACD-V = (EMA(12) - EMA(26)) / ATR(26) × 100
This expresses momentum in units of Average True Range (ATR), creating a volatility-adjusted oscillator that remains mathematically meaningful and comparable:
-Analysts can use MACD-V across any timeframe:
-Across any asset class (stocks, forex, commodities, bonds, crypto)
-Over decades of history
Key Features & Benefits
Time-stable & cross-market comparable: A +100 reading today has the same meaning as +100 in the past years, regardless of asset or price level.
Universal extremes: ±150 captures ~95% of all readings across markets → extreme/stretched momentum.
Momentum Lifecycle Roadmap (objective framework):
+150 or < -150: Extreme / overstretched (high reversal risk)
+50 to +150 or -50 to -150: Strong directional momentum (rallying, retracing, rebounding, reversing)
-50 to +50: Neutral / low momentum / ranging (avoid most signals — high whipsaw zone)
Range Rules for regime context: In bullish regimes (price > 200 EMA), -50 to -150 becomes the practical oversold zone; readings below -100 are rare and often powerful buy setups. Opposite in bearish regimes.
Improved signal quality: Filter whipsaws in neutral zone, anticipate lag in extremes, prioritize high-probability crosses in strong-momentum bands.
MACD-V Histogram (MACD-VH): Normalized short-term momentum with extremes at ±40 for fast reversal detection.
Backtesting & strategy-friendly: Enables reliable historical analysis, cross-asset relative strength, and systematic rules
MACD-V transforms momentum from subjective art into objective, repeatable science — giving you consistent, actionable insights no matter what you're trading.
Use it standalone or layer with trend filters (e.g., 200 EMA), volume, or price action for even stronger edges.
Developer: Alex Spiroglou
Open-source versions inspired by his work — feel free to fork and improve!
Happy trading! 🚀
t(cond ? bl[20] : na, color=#FFC40C, linewidth=5,2e24t(cond ? bl : na, color=#FFC40C, linewidth=5,days of blockchains competing on TPS and winning developers based on long-term technical roadmaps are over. High performance is now the price of entry for any L1 to gain adoption.
Lanovyx# Lanovyx — Setup Window Confluence System
## The Problem This Solves
Traditional confluence indicators require all conditions to align on the exact same bar: stochastic must be oversold AND price must touch support AND divergence must form — all simultaneously. In real markets, this rarely happens. Price touches VWAP -2σ, but stochastic doesn't reach oversold until 3 bars later. The opportunity is missed.
**Lanovyx solves this with the Setup Window methodology.**
---
## Core Innovation: Setup Windows
Instead of requiring simultaneous conditions, Lanovyx separates trading signals into two phases:
**Phase 1 — Context Event (Setup Activation)**
When a meaningful event occurs, it "opens a window" that stays active for a configurable number of bars:
- Price touches VWAP ±2σ or ±3σ band → window opens
- Price tests Previous Day High/Low → window opens
- Stochastic divergence forms → window opens
- Opening Range breakout occurs → window opens
- Price reaches Support/Resistance level → window opens
Each event adds to a cumulative "setup score" (capped at 8). Higher scores indicate stronger context.
**Phase 2 — Trigger (Signal Generation)**
Within the active window, when stochastic conditions confirm, a signal fires. The trigger doesn't need to occur on the same bar as the context — it just needs to occur while the window is open.
This two-phase approach captures setups that traditional indicators miss entirely.
---
## Why Stochastic + VWAP Confluence Works
**VWAP (Volume-Weighted Average Price)** tells us where institutional money has transacted. The standard deviation bands identify statistical extremes:
- Price at VWAP -2σ is extended to the downside (potential mean reversion long)
- Price at VWAP +2σ is extended to the upside (potential mean reversion short)
**Stochastic Oscillator** measures momentum exhaustion. When price reaches a VWAP extreme AND stochastic shows momentum reversing, we have confluence of:
1. Price extension (VWAP bands)
2. Momentum exhaustion (Stochastic)
3. Context validation (Setup Window score)
The multi-lane stochastic (14/21/55 periods) adds timeframe confluence — when fast, medium, and slow stochastics align, the signal is stronger.
---
## Five Signal Families
Each family targets a specific market condition:
### 1. Trend Entry (T) — Blue Labels
**When:** Stochastic pulls back to 25-55 zone (longs) or 45-75 zone (shorts) during established trend
**Logic:** In trending markets, pullbacks to the "value zone" offer low-risk entries with trend
**Best for:** Trending days with clear directional bias
### 2. Mean Reversion (R) — Green/Red Labels
**When:** Stochastic exits oversold (<20) or overbought (>80) with active setup window
**Logic:** At VWAP extremes with momentum exhaustion, price tends to revert to mean
**Best for:** Range-bound, choppy markets
**Requires:** Active setup window (context event must have occurred)
### 3. Breakout (B) — Orange Labels
**When:** Stochastic lanes compress ("coil") then expand, crossing the 50 midline
**Logic:** Compression precedes expansion; breakout from tight range signals new trend
**Best for:** Transition days, post-squeeze moves
### 4. Momentum (M) — Green/Red Labels
**When:** Stochastic crosses 50 from extreme zone (<25 or >75) within lookback period
**Logic:** Catches V-shaped reversals where regime detection lags the move
**Best for:** Fast reversals, news-driven moves
### 5. Counter-Signal / FADE (C) — Purple Labels
**When:** A signal fires and immediately fails (stochastic reverses sharply against it)
**Logic:** Failed signals often lead to strong moves in the opposite direction (trapped traders)
**Confidence gating:** High-confidence fades generate signals; low-confidence show warnings only
---
## Institutional Key Levels
Lanovyx incorporates levels that institutional traders use:
- **PDH/PDL** (Previous Day High/Low) — Major support/resistance where stops cluster
- **PDC** (Previous Day Close) — Settlement price, gap reference
- **ORB** (Opening Range) — First 15 minutes high/low, breakout trigger
- **IB** (Initial Balance) — First 60 minutes range, institutional benchmark
These levels automatically activate setup windows when price interacts with them, adding to the setup score.
---
## Filtering System
**ADX Filter:** In strong trends (ADX > 25), blocks counter-trend mean reversion signals to avoid fighting momentum.
**HTF Bias Filter:** Optional alignment with higher timeframe (e.g., 1-hour) EMAs. Can block or demote signals that oppose the larger trend.
**Regime Detection:** Classifies market as Uptrend, Downtrend, Sideways, or Squeeze using EMA alignment and market structure (HH/HL/LH/LL patterns).
---
## How to Use
1. **Wait for Setup** — Watch for context events (VWAP band touch, key level test, divergence)
2. **Check the Score** — Higher setup scores indicate stronger context (visible in debug mode)
3. **Wait for Trigger** — Let stochastic confirm within the window
4. **Confirm Regime** — Ensure signal type matches market condition
5. **Manage Risk** — Use the ATR-based stop/target levels shown after signals
**Strong signals (★)** appear when multiple confluence factors align — these are highest probability setups.
---
## Settings Overview
| Setting | Default | Purpose |
|---------|---------|---------|
| Setup Window | 10 bars | How long context events stay active |
| Entry Zone | 25-55 | Stochastic zone for trend pullback entries |
| OS/OB Levels | 20/80 | Stochastic extremes for mean reversion |
| Stop Loss | 1.5 ATR | Risk management distance |
| Target 1 | 2.0 ATR | First profit target (1.33:1 R:R) |
Recommended timeframes: 5-minute and 15-minute charts.
---
## Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Always use proper risk management and never risk more than you can afford to lose. No indicator can predict the future — use this as one input in your trading decision process, not as a standalone system.
Bitcoin Halving Cycles [DotGain]Halving Cycles
A lightweight, time-anchored Bitcoin halving cycle visualizer built for clean charting, repeatable process planning, and simple profit/DCA timing references.
This Code was heavily inspired by KevinSvenson_ who created Bitcoin Halving Cycle Profit .
What this indicator does
This script plots the key “cycle landmarks” relative to each halving date:
Halving (⛏) – the cycle anchor
Profit START – marks the beginning of the post-halving profit window (default: 40 weeks )
Profit END / Last Call – marks the final phase of the profit window (default: 77 weeks )
DCA START – marks the point where long-term accumulation becomes the focus again (default: 135 weeks )
How to read it
Vertical lines = the exact cycle milestones
Bottom labels = description of each milestone aligned to its line (keeps the chart clean)
Green background (optional) = active Profit Zone on existing bars
Red background (optional) = optional warning zone after Profit END
HUD Panel (top-right)
The HUD gives you a fast “where are we in the cycle?” view with two modes:
Current Cycle
Shows: Halving date, Weeks since, and time remaining to Profit START / Last Call / DCA START within the current cycle.
Next Halving (Projection)
Shows: Countdown to the next enabled future halving, plus the projected weeks from today to Profit START / Last Call / DCA START after that future halving.
Future Halvings (manual)
You can manually add up to 3 future halving dates (Halving #1–#3).
This is useful for forward planning and cycle projection even before the event happens.
Enable Halving #1 / #2 / #3
Set Year / Month / Day for each
Optional: show/hide future markers & projections
Note: background zones only shade existing bars . Future projections are shown via lines/labels.
Settings overview
Show all cycles – plots every enabled cycle (historical + optional future). If disabled, only the current cycle is drawn.
Show Profit Zone background – green shading during the active profit window (current cycle only).
Show vertical markers + labels – toggles all milestone lines + labels.
Show HUD – toggles the HUD panel.
HUD Mode – switch between Current Cycle and Next Halving (Projection).
Cycle Logic – edit offsets in weeks (Profit START / Profit END / DCA START).
Optional Warning Zone – show a post-profit warning shading for a chosen number of weeks.
Have fun :)
Disclaimer
This Halving Cycles indicator is provided for informational and educational purposes only. It does not, and should not be construed as, financial, investment, or trading advice.
This indicator is an independent implementation of a time-based Bitcoin halving cycle visualization tool and is not affiliated with, or endorsed by, any third-party trading systems, strategies, protocols, or trademarked methodologies. The cycle zones, milestone markers, and countdown values displayed by this indicator are generated by a predefined set of algorithmic rules based on historical halving dates and user-defined time offsets. They do not constitute a direct recommendation to buy, sell, or hold any financial instrument or digital asset.
All trading and investing in financial markets involves a substantial risk of loss. You may lose part or all of your invested capital. Past performance does not guarantee future results. This indicator highlights historical and projected time-based market cycles and may produce false, lagging, incomplete, or misleading signals. Market behavior is influenced by many external factors and can deviate significantly from historical patterns or expectations.
The creator DotGain assumes no responsibility or liability for any financial losses, damages, or decisions made based on the use of this indicator or the information it provides. You are solely responsible for your own trading and investment decisions. Always conduct your own research (DYOR), use proper risk management, validate insights with additional tools or analysis, and consider your personal financial situation and risk tolerance before making any financial decision.
TSM RSI + Supertrend + High Volume Combo (TSM 2018)RSI + Supertrend + High Volume Combo
This TradingView indicator combines trend direction, momentum, and participation strength into a single confirmation-based trading system.
TSM RSI + Supertrend Combo 202616This script is a trend-confirmation trading indicator built with Pine Script v5, combining the power of Supertrend (trend direction) and RSI (momentum strength) to generate high-probability BUY and SELL signals.
TSM Supertrend (PINE SCRIPT v5) 202609This script is a trend-following Supertrend indicator, rewritten in Pine Script v5, designed to clearly identify market direction, trend reversals, and high-probability BUY / SELL signals.
Price Acceptance MapPrice Acceptance Map
Price Acceptance Map is a read-only market context indicator that evaluates whether newly asserted price levels are being accepted, rejected, or remain undefined by subsequent market behavior.
Rather than treating trend continuation as confirmation, this indicator frames directional price movement as an attempt to establish a new auction level. That attempt must then be validated or rejected after the fact.
The indicator follows three conceptual steps:
Environment Qualification
Evaluation is permitted only when market structure and volatility conditions are suitable. When these conditions are not met, the indicator intentionally remains silent.
Level Assertion Detection
Meaningful price expansion beyond recent balance is interpreted as a level claim. Gradual movement may result in no level being defined.
Acceptance Verdict
Subsequent price behavior determines whether the level is:
Accepted (held by the market),
Rejected (failed and returned into prior balance), or
Undefined (no valid level requiring a verdict).
The current state is displayed using a simple, non-interpretive panel:
ACCEPTED / LEVEL ACCEPTED
NOT ACCEPTED / LEVEL REJECTED
UNRESOLVED / LEVEL UNDEFINED
Important Notes
Indicator only (no signals, no orders)
Evaluated on confirmed bar close
No intentional repaint or lookahead logic
Designed for contextual analysis, not prediction
Price Acceptance Map is intended to clarify when the market is making a decision — and when it is not.
TSM RSI < 30 BUY | RSI > 70 SELL (One-Time)This script is a trend-following indicator built using Pine Script v5, designed to identify major market direction changes using Daily Moving Averages (DMA). It is simple, reliable, and ideal for positional, swing, and trend-filter trading.
Dual HTF EMAMulti-timeframe Exponential Moving Average (EMA) indicator plots two separate higher timeframe (HTF) EMAs of your choice. Displays four EMAs per HTF while providing optional background coloring (bullish/bearish). The background coloring occurs when two EMA's cross per HTF. User can select two of the four EMAs to determine the trend direction as they cross creating the background color.
User can configure timeframe, EMA lengths, EMA cross and background, source, and visibility; separately for each timeframe.
Default lengths are 9, 21, 50, 200 with source as closed and EMA cross background from EMA 1 and EMA 3. Also clear visual distinction using thick solid lines for HTF 1 and thin dashed lines for HTF 2.
Uses request.security() with gaps=barmerge.gaps_on to avoid staircase effects on lower timeframes.
This script is ideal for multi-timeframe analysis, helping traders align shorter-term price movements with broader trends from higher timeframes without cluttering the chart.
Engulfing Candle Mid-pointsThis Pine Script, “Engulfing Candle Mid-points,” identifies bullish and bearish engulfing candles within a user-selected intraday time range. For a candle to qualify, it must fully engulf the previous candle’s body in the opposite direction and meet a configurable minimum body size in points. When such a candle is detected, the script draws a horizontal line at the mid-point of the candle’s body, extending forward for a user-defined number of bars. The script stores only the five most recent bullish and bearish lines to keep the chart clean, and all line colors, widths, and extension lengths are configurable, allowing traders to visually track significant price moves during specific trading sessions.






















