EMAsDescription:
This indicator displays 10 separate Exponential Moving Averages (EMAs) on your chart to help you identify trend direction and potential support/resistance levels.
Unlike Simple Moving Averages (SMAs), EMAs place greater weight on recent price data, allowing for a faster reaction to price changes.
Key Features:
10 Customizable Lines: You can configure the length and source for up to 10 different EMAs.
Dynamic Coloring: The lines change color based on the relationship between the price and the EMA.
EMAs 1-5: Blue when price is above, Orange when price is below.
EMAs 6-10: Green when price is above, Red when price is below.
Visual Hierarchy: Key moving averages (default periods like 50, 200, 600) are rendered with thicker lines to make them stand out as major trend indicators.
Default Settings: The script comes with the following default periods, covering short to long-term trends: 9, 20, 50, 75, 100, 200, 250, 300, 400, 500, 600.
Hope you find this tool useful for your trend analysis!
Chỉ báo và chiến lược
Prime UltimateWill Write description and instructions soon, please wait for more info or contact me if you have questions
Dynamic Risk and RewardThe Dynamic Equity Projection (DEP Map) is an institutional-grade visual execution tool designed to automate risk-to-reward mapping directly on your chart. Unlike standard drawing tools, it is context-aware—calculating volatility and trend bias in real-time to provide a "live" projection of your trade's potential.Core Logic & Intelligence1. Trend-Filtered SentimentThe indicator uses a 200-period Exponential Moving Average (EMA) as a directional filter.Bullish Map: If the current price is above the EMA, the DEP Map projects a green "Long" zone.Bearish Map: If the price is below the EMA, it instantly flips to a red "Short" zone.This helps traders stay aligned with the primary market momentum, avoiding the trap of "trading against the tide."2. Volatility-Adaptive Risk (ATR)Rather than using arbitrary point distances, the DEP Map utilizes the Average True Range (ATR).It measures the market's "noise" level over the last 14 bars.The Stop Loss is set at a multiplier (default 1.5x) of this volatility, ensuring your stop is wide enough to survive market breathing but tight enough to maintain a high R:R.Technical FeaturesFeatureDescriptionProfessional BenefitProjection BoxA dynamic rectangle that extends into the "future" (right-side offset).Keeps the current price action clear while providing a visual goalpost for the trade.Persistent LogicUses advanced var object handling to prevent "ghosting" or label stacking.Ensures a clean, high-performance chart interface without clutter.R:R Equity LadderSegments the profit zone into specific milestones: 1.0, 2.0, 3.0, and the "Equity Target" (5.0).Allows for precise partial profit-taking and psychological target setting.Dashed SL LineA high-contrast red dashed line indicating the invalidation point.Provides an immediate visual cue of the trade's total risk.How to Use the DEP MapIdentify the Bias: Observe the color of the box. A green box suggests looking for buying opportunities; a red box suggests selling.Verify the Levels: The labels on the right edge of the box provide the exact price points for your Stop Loss and Take Profit orders.Execute & Manage:R:R 1.0: The "Safety Point." Many traders move their stop to breakeven here.R:R 2.0 - 3.0: The "Standard Exit." This is where the bulk of the trade's profit is usually captured.Equity Target: The "Home Run." Reserved for high-conviction trend extensions.
ICT Liquidity Sweep [KTY] ICT Liquidity Sweep
Hi, I'm Kim Thank You 👋
KTY = Kim Thank You (김땡큐)
Detects sweep candles that grab liquidity at swing highs/lows and reverse back inside.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 FEATURES
- Liquidity Sweep Detection
- Wick breaks level + Close inside = Sweep ✅
- Break and close outside = Real breakout (no sweep)
- Visual Display
- ⇩: High liquidity swept (BSL)
- ⇧: Low liquidity swept (SSL)
- Sweep line connects liquidity level to sweep candle
- Vertical line marks sweep candle wick area
- Multi-Timeframe
- LTF and HTF sweep detection
- HTF sweeps are more significant
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ HOW TO USE
- ⇩ detected → Check for potential bearish reversal
- ⇧ detected → Check for potential bullish reversal
- Combine with OB/FVG for better accuracy
- HTF sweeps carry more weight than LTF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 TIPS
- Sweeps indicate smart money grabbing liquidity
- Wait for confirmation before entering
- Multiple sweeps at same level = stronger signal
- Use with market structure for confluence
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
This indicator is for educational purposes only.
Not financial advice. Always do your own research.
Risk/Reward vs Win Rate HeatmapThis indicator overlays two decision-support tables on your main chart:
1. Reward:Risk vs Win Rate Heatmap
A matrix that shows whether a given combination of Win Rate (%) and Reward:Risk (R:R) is expected to be:
Profitable (green)
Break-even (amber)
Not Profitable (red)
The color is based on the standard expectancy concept:
E = p * R - (1 -p)
where p is win probability and R is Reward:Risk.
The diagonal amber cells represent the break-even boundary.
2. Drawdown Table
A quick reference table showing how much % gain is required to recover after a capital drawdown (e.g., -20% requires +25% to return to break-even). This is meant to anchor capital preservation and risk management decisions.
________________________________________
How to Use
Set your expected Win Rate and R:R in the inputs.
Enable Show highlight to display a status icon on the matching cell:
Profitable: 💰
Break-even: ⚠
Not profitable: 🚫
(All icons are customizable.)
Use the heatmap to sanity-check whether your strategy parameters make sense, and use the drawdown table as a reminder of why protecting capital matters.
________________________________________
Inputs & Customization
Position: Place each table anywhere on the chart (default layout provided).
Colors: Header colors and heatmap colors are customizable (defaults included).
Fonts: Title, headers, labels, legend, and icon font sizes are configurable.
Icons: Set your own symbols for Profitable / Break-even / Not profitable (with optional auto-contrast).
________________________________________
Notes
This script is educational and provides a visual framework to reason about expectancy and drawdowns.
It does not generate trade signals and does not guarantee profitability.
Results depend on the accuracy of your inputs and real-world execution (slippage, fees, market regime, etc.).
________________________________________
Disclaimer
This indicator is for educational purposes only and is not financial advice. You are responsible for any trading decisions and risk management.
EZ Trend Indicator**EZ Trend Indicator (ElectZA)**
EZ Trend Indicator is a clean, lightweight trend tool built around the classic **EMA 50 / EMA 200** relationship. It plots both moving averages directly on price and automatically shades the chart background to quickly show whether the market is in a **bullish** or **bearish** environment. It also includes alert conditions for trend state changes so you can monitor direction without staring at the screen.
### What it shows
* **EMA 50 (Blue):** faster trend line (shorter-term direction)
* **EMA 200 (Red):** slower trend line (longer-term direction)
* **Background shading:**
* **Green** when EMA50 is above EMA200 (bullish trend)
* **Red** when EMA50 is below EMA200 (bearish trend)
### How to use
* **Trend filter (simple & effective):**
* When the background is **green**, prioritize **buy/long setups** and avoid counter-trend sells.
* When the background is **red**, prioritize **sell/short setups** and avoid counter-trend buys.
* **Crossover confirmation:**
* A shift from red → green suggests a potential bullish trend transition.
* A shift from green → red suggests a potential bearish trend transition.
* **Alerts:**
* Use **Bull Trend** alerts to get notified when the script detects a bullish trend state.
* Use **Bear Trend** alerts to get notified when the script detects a bearish trend state.
* **Best practice tip:**
* Combine this with your entry model (price action, support/resistance, MACD/RSI, etc.)—use EZ Trend Indicator as the **direction filter**, not the only trigger.
---
### Disclaimer
This indicator/script is provided for **educational and informational purposes only** and does **not** constitute financial, investment, or trading advice. Trading involves **significant risk**, and you may lose some or all of your capital. Past performance is **not** indicative of future results. Always do your own research, backtest on your market/timeframe, and apply proper risk management. By using this script, you accept full responsibility for all trading decisions and outcomes.
Trend Candles - [EntryLab]
Trend Candles:
This indicator overrides or overlays standard chart candles with a color gradient that reflects a calculated trend bias (uptrend or downtrend), helping traders quickly assess the overall market direction.Features:Candles are colored using a gradient scale: stronger shades indicate higher-confidence trend direction based on the algorithm.
Two usage modes:
Full override: Disable and hide the chart's native ticker/symbol candles (via chart settings) so the indicator's colored candles take over completely.
Hover preview: Keep your preferred candle setup/colors intact; simply hover the mouse over the indicator name in the chart legend to temporarily display the trend-colored gradient candles for quick reference without altering your main view.
Customizable inputs (adjust in settings): gradient colors for up/down trends, intensity thresholds, etc.
How it works (high-level):
The trend bias is determined using a combination of multiple VWAP calculations, trend-following data, and momentum-based indicators. This multi-factor approach aims to provide a smoother, more reliable signal of whether the market is in an uptrend (bullish bias) or downtrend (bearish bias) compared to single-indicator methods.
How to use:
Apply the indicator to your chart and use the colored candles as a visual aid for trend bias decision-making. For example:In a strong uptrend (deeper bullish gradient), consider favoring long setups or avoiding shorts.
In a downtrend (deeper bearish gradient), consider short opportunities or caution on longs.
Combine with other tools (support/resistance, volume, etc.) for confluence rather than relying solely on candle color.
This script offers a unique way to visualize trend strength via candle recoloring with gradient feedback, which can provide a broader overview of directional bias without cluttering the chart with additional plots/lines.Best suited for any timeframe, especially higher ones for swing/position trading or lower ones for intraday confirmation. No repainting occurs once a bar closes. Not financial advice. Trading carries significant risk of loss of capital. Always backtest and use discretion; results are not guaranteed.
New York | Asia | London - Session Range + ORB - [EntryLab]Session Ranges & 15min ORB – Asia, London, New YorkShort Title
This indicator plots the high and low of the three major trading sessions (Asia, London, New York) as well as the Opening Range Breakout (ORB) levels based on the first 15 minutes of each session.
Features: Full session high/low ranges for Asia (00:00–09:00 UTC), London (07:00–16:00 UTC), and New York (~13:30–20:00 UTC). Times are approximate UTC and may need adjustment depending on broker timezone or DST.
ORB: high and low calculated from the first 15-minute period (or equivalent bars) at the start of each session.
Customizable: toggle sessions on/off, change ORB duration, line styles, colors.
How to use:
Traders often monitor price action around prior session highs and lows to identify potential liquidity grabs or sweeps. The ORB provides additional confluence for gauging the session's potential directional bias or breakout levels.For example:A sweep of a prior session high/low can signal liquidity being taken.
Price breaking above/below the session's ORB high/low may indicate momentum in that direction for the current session.
This script combines multi-session range visualization with per-session ORB levels in one tool, which can help assess where liquidity pools may exist and where price could be drawn to fill or sweep certain areas.Best used on lower timeframes (e.g., 1m–15m) for intraday analysis. Session times are fixed (no automatic DST handling); users can modify them in the code if needed.Not financial advice. Trading involves significant risk of loss. Use at your own discretion and always test thoroughly.
PREMIUM TRADE ZONES - [EntryLab]Premium Trade Zones is a channel-based indicator designed to highlight potential high-probability areas for considering long and short trades, as well as ideal zones for taking profits. It uses dynamic channels to identify when price may be overextended (overbought or oversold), providing visual confluence for trade decisions.
Key Features are the Purple & Blue Channels: These represent the core overbought (upper/purple) and oversold (lower/blue) zones. Price entering or reacting at these levels often signals potential reversals or exhaustion.
Upper & Lower Channels: Serve as dynamic support/resistance levels. Use them as added confluence for: Entry points (long near lower channel in uptrends, short near upper in downtrends).
Profit-taking areas (scale out or exit when price reaches the opposing channel).
The oscillator component helps gauge momentum strength and when price deviates significantly into extreme zones.
How to Use Overbought/Oversold Insight:
Watch for price pushing into the purple channel (potential overbought → consider shorts or profit on longs) or blue channel (potential oversold → consider longs or profit on shorts). Reactions at these levels can offer good insight into mean reversion or continuation pauses.
Trade Entries — Look for confluence: e.g., price bouncing off the lower channel + bullish momentum on the oscillator = stronger case for long. Reverse for shorts at upper channel.
Profit Taking — Use the opposite channel as a target zone to take partial or full profits. For example, take some profit near the upper channel on a long trade.
General Tip — Combine with your existing trend analysis, support/resistance, or other indicators for better context. This tool works best as confluence rather than a standalone signal.
This indicator does not repaint and aims to provide clear, visual zones to simplify decision-making on entries, exits, and risk management. Always use proper risk management—trading involves risk.Feel free to adjust settings like channel sensitivity (if your inputs allow) to match different timeframes or assets.
FOCUS all in one (N-TABLOUH)It took me hours and hours to build this indicator
so it shows the important stuff we need to watch as traders! Here you see a price label with a countdown,
how much the asset has retraced from its high or low,
and the total session range.
You also get 4h separators to show the move, keeping you aware of the 4/8 or 12h window. Plus, there is a table showing the assets you want to trade so we don't have to go flip charts and waste time
Gaussian MA - Progressive Multi-FilterThe previously published indicator based on Watson's Quadratic kernel was a bit complicated and "quadratic" in its calculations – it's an old indicator, and I've updated it a bit. I'm currently using Gaussian MA due to its simpler design and additional features that the former lacked.
Gaussian MA is an advanced trend-following indicator that combines statistical data smoothing with dynamic noise filtering. Here's a step-by-step analysis:
1. Gaussian Kernel Regression - the heart of the script is the gaussian_regression_max function. Instead of a simple average, it calculates a weight for each past price using a Gaussian distribution (bell curve):
Weights: Prices closest to the current candlestick have the greatest impact on the result, while those further away lose their importance exponentially.
The result: A very smooth line (yhat) that reacts faster than traditional moving averages while maintaining high resistance to short-term price spikes.
2. Progressive Volume Filter (ALMA Volume) - this is a unique part of the code that adjusts the indicator's sensitivity to market activity:
- the script calculates the moving average volume using the ALMA algorithm. The vol_ratio (current volume / average volume) is calculated.
Logic: If volume increases, the prog_factor decreases. This makes the filter thresholds "tighter," allowing the indicator to react more quickly to strong moves supported by high volume.
3. Dynamic Thresholds (Hysteresis) Instead of reacting to every change in the direction of the yhat line, the code calculates a "safety zone" (filter) that the price change must break through to signal a new trend:
- ATR: Threshold based on volatility (Average True Range).
- Percentage: Threshold percentage of the current price.
Both thresholds are multiplied by the previously mentioned prog_factor (volume).
4. Trend Detection and Visualization
Finally, the script compares the change in the regression value (diff) with the calculated thresholds:
- Bullish: If the change is positive and greater than the dynamic threshold.
- Bearish: If the change is negative and less than the negative threshold.
Result: The color of the line on the chart changes (green/red), and the alertcondition function allows you to set a notification when the color changes.
In short: Gaussian MA is an intelligent average that "knows" when the market is chaotic (it then increases the filtering thresholds) and when real momentum with volume is emerging (it then becomes more sensitive).
How to optimize the indicator parameters:
1. for the h parameter - (Lookback Window)
The h parameter controls the degree of regression smoothing. The higher the timeframe (e.g., Daily), the smaller h can be; on lower timeframes (e.g., 1m, 5m), you need more smoothing.
- For Scalping (1m - 5m): Set h in the range of 2.5 - 4.0. Noise on lower timeframes is high, so you need a "heavier" Gaussian kernel.
- For Day Trading (15m - 1h): Set h in the range of 1.5 - 2.5. This is the golden mean for ensuring liquidity without significant lag.
- For Swing (4h - Daily): Set h in the range of 0.75 - 1.5.
Trends on higher timeframes are stronger, so a smaller smoothing will allow for faster movement.
2. Calibrate vol_sens (Volume Sensitivity)
This parameter determines how much a "volume spike" facilitates a trend change.
- High Sensitivity (0.7 - 1.0): Aggressive approach. Even a small increase in trading volume will cause the indicator to react to price changes. Good for currency pairs with low liquidity.
- Low Sensitivity (0.1 - 0.4): Conservative approach. The indicator will ignore price movements unless accompanied by heavy volume (so-called "smart money"). Ideal for filtering out false positives (fakeouts).
It's safest to start with a setting of 0.5...
The above guidelines are indicative and are intended only to facilitate the use of the indicator - there are no perfect trading solutions; this indicator attempts to mathematically indicate points where entries/exits are statistically highly probable...
Works well with the MACD ALMA Edition ;)
BoaBias: Fractals + FVG [FREE]BoaBias: Fractals + FVG is a professional market structure analysis indicator that combines advanced fractals and Fair Value Gaps (FVG) with multi-timeframe support.
✨ Key Features
🔷 Advanced Fractals
Fractal Type Detection: Automatic identification of Day/Week/Month/Day+Week fractals
Smart Break Detection: Breakouts are checked on corresponding timeframes
3 or 5 Bar Fractals: Adjustable sensitivity
Visual Support/Resistance Lines: Clear display of key levels
📈 Fair Value Gaps (FVG)
Current Timeframe FVG: Automatic detection and display of zones
HTF FVG Support: FVG analysis across multiple timeframes (1H, 4H, 12H, 1D, 3D, 1W, 1M)
Auto Removal: Filled zones are automatically removed
Color Customization: Separate colors for bullish and bearish zones
🎯 Who is this indicator for?
Traders using market structure analysis
Those working with fractals and FVG
Multi-timeframe traders
Anyone who wants to visually see key levels and zones
⚙️ Settings
Fractals
Fractal period (3 or 5 bars)
Line width
Maximum active levels
Display window (last N bars)
Break detection settings (body only or with wicks)
FVG
Enable/disable FVG
HTF timeframe configuration
Colors for bullish and bearish zones
Automatic removal of filled zones
Maximum HTF zones count
💡 Advantages
✅ Clean Visual Analysis — Only lines and zones, no clutter
✅ Multi-Timeframe Analysis — See structure across different timeframes simultaneously
✅ Smart Fractal Logic — Automatic identification of important levels
✅ Professional Tool — Used in real trading
SENTINEL CORE by Pipsomnian🛡️ Sentinel Core — Learning Mode (Structure & Probability Engine)
by Pipsomnian
Sentinel Core is the core structure and probability framework within the Sentinel ecosystem.
It is designed to help traders move beyond binary signals and learn how to grade market environments based on structure, momentum, and session quality.
This tool does not predict price.
It evaluates context.
🎯 What Sentinel Core Is
Sentinel Core is an EMA-structured learning and decision-grading indicator built to train:
• Trend alignment
• Pullback behavior
• Market structure continuation
• Session discipline (London & New York)
• Probability stacking
Instead of asking “Is there a signal?”,
Sentinel Core trains you to ask:
“How strong is this setup?”
🧠 The Scoring Concept
Each potential setup is evaluated using multiple structural components:
• EMA trend alignment
• Pullback to value
• Strong candle confirmation
• Market structure continuation
• Active trading session
The result is a setup quality grade:
• A+ → Full structural alignment
• B → Strong but incomplete alignment
Lower-quality environments are intentionally ignored.
This encourages patience, selectivity, and discipline.
🟢 Who Sentinel Core Is For
Sentinel Core is designed for traders who:
• Already understand basic EMA structure
• Want fewer, higher-quality setups
• Trade session-based markets (especially Gold)
• Value discipline over frequency
• Want to develop judgment, not dependency
🚫 What Sentinel Core Is NOT
Sentinel Core is not:
• A signal service
• An automated strategy
• A promise of profitability
• A replacement for risk management
• A shortcut to consistency
Execution, risk control, and psychology remain your responsibility.
⏱️ Recommended Use
• Timeframe: 5-Minute
• Markets: XAUUSD (Gold), major FX, liquid indices
• Sessions: London & New York
EMAs are used for structure and context, not prediction.
🧭 Position in the Sentinel Framework
• Sentinel Lite — Learn structure & discipline
• Sentinel Core — Grade probability & judgment
• Sentinel A+ — Refine timing & precision
• Sentinel Gold Standard — Execute with control
⚠️ Educational use only. No financial advice.
— Pipsomnian
Multi Market VWAP SystemMulti‑VWAP — Adaptive, Multi‑Session Anchored VWAP Suite
Multi‑VWAP is a comprehensive, multi‑session Volume‑Weighted Average Price engine designed for traders who rely on precise, session‑aware VWAP levels across equities, futures, and crypto.
Built for Pine Script v6, it handles complex market structures, custom anchor dates, and non‑standard trading sessions with robust error‑tolerant logic.
What This Indicator Does
This tool calculates and displays a full suite of anchored VWAPs, including:
Standard Period VWAPs
- Daily
- Weekly
- Monthly
- Yearly
To‑Date VWAPs
- Week‑to‑Date (WTD)
- Month‑to‑Date (MTD)
- Year‑to‑Date (YTD)
Custom Anchored VWAP
- Anchor to any user‑selected date
- Automatically recalculates from the first bar of that date
- Works across all markets, including 24/7 crypto
Multi‑Day Rolling VWAPs
Optional rolling VWAPs for:
- 2‑day
- 3‑day
- 4‑day
- 5‑day
- 10‑day
- 20‑day
- 50‑day
Each VWAP can be toggled individually for a clean, customizable chart.
Key Features
✔ Market‑Adaptive Session Handling
Automatically adjusts for:
- Regular equities sessions
- Futures extended hours
- 24/7 crypto markets
- Holidays (via MarketHolidays library)
✔ Clean, Efficient, Pine v6 Architecture
- No deprecated functions
- No array overflows
- No undefined variables
- Defensive programming for unsupported markets
- Optimized for performance on lower‑timeframe charts
✔ Visual Clarity & Control
- Independent color and visibility toggles
- Optional labels showing VWAP values
- Smart timestamp anchoring for all VWAP types
- Minimal chart clutter with maximum information density
Who This Indicator Is For
This tool is ideal for traders who rely on VWAP structure for:
- Intraday mean‑reversion
- Swing anchoring
- Multi‑session bias
- Institutional level mapping
- Crypto VWAP structure where no “session” exists
If you use VWAP as a core part of your workflow, this script gives you the flexibility and precision needed for modern multi‑market trading.
Notes
- This script does not repaint.
- All VWAPs are calculated using standard cumulative volume‑weighted methodology.
- Custom date VWAP begins at the first bar of the selected date on the chart’s timeframe.
LSMA25 Trend Correction Continuation
## LSMA25 Trend Correction Continuation - Publishing Description
### Overview
This indicator highlights **trend continuation opportunities** using a **25-period LSMA (Least Squares Moving Average)** with a **slope/angle filter** and a simple **correction + re-entry** logic.
It is designed to mark:
* **Continuation entries** after a pullback (correction) and re-cross of LSMA in the direction of a strong trend
* **Strong-trend state** (subtle dots) when price stays on the trend side of LSMA with a steep angle, even without a fresh cross
### Core logic
1. **LSMA (25 by default)**
* Uses `ta.linreg(close, lsmaLen, 0)` as the LSMA line.
2. **Trend strength via angle (tick-normalized)**
* Computes 1-bar LSMA slope in **ticks**:
* `slopeTicks = (lsma - lsma ) / syminfo.mintick`
* Converts slope to an angle using `atan()` and a calibration input:
* `ticksPerBarFor45` approximates how many ticks per bar corresponds to ~45°
* Strong trend conditions:
* LONG trend strength when `angleDeg >= minAngleLongDeg`
* SHORT trend strength when `angleDeg <= minAngleShortDeg`
3. **Correction detection**
* LONG side: a correction exists if within the last `corrLookback` bars the close was **below** LSMA:
* `ta.barssince(close < lsma) <= corrLookback`
* SHORT side: correction exists if within the last `corrLookback` bars the close was **above** LSMA:
* `ta.barssince(close > lsma) <= corrLookback`
4. **Continuation signals**
* **Long Continuation (LC)** triggers when:
* Price **crosses above** LSMA (`ta.crossover(close, lsma)`)
* Angle indicates **strong uptrend**
* A recent **pullback below LSMA** occurred
* Optional ATR% filter passes
* **Short Continuation (SC)** triggers symmetrically on cross below.
5. **Strong trend markers**
* When price is on the trend side of LSMA and angle is strong:
* Uptrend: `close > lsma and strongUp`
* Downtrend: `close < lsma and strongDown`
* Drawn as small, semi-transparent circles (not entry signals by themselves).
### Plots and labels
* **LSMA line** plotted in yellow.
* **LC**: green triangle below bar (trend continuation long).
* **SC**: red triangle above bar (trend continuation short).
* **Dots**: tiny circles for strong-trend state when no fresh continuation signal is present.
### Inputs (how to tune)
* **LSMA length**
* Higher = smoother, fewer signals
* Lower = more responsive, more signals/noise
* **Ticks per bar ≈ 45°**
* Calibration control for angle scaling across different instruments/timeframes
* Increase it if angles look too “aggressive”; decrease it if angles look too “flat”
* **Min angle for LONG / Max angle for SHORT**
* Tighten to filter for only steep trends; loosen to allow more setups
* **Max correction bars back**
* Larger values allow older pullbacks to qualify
* Smaller values require a more recent correction
### Optional volatility filter (ATR%)
* When enabled, the script requires:
* `ATR% = (ATR / close) * 100 >= minAtrPct`
* Useful to avoid low-volatility chop (but can filter out valid trends on slow markets).
### How to use (practical)
* Use **LC/SC** as “trend continuation after pullback” markers:
* Prefer trading in the direction of higher timeframe bias (if applicable)
* Consider entries on LC/SC with your own risk rules (stops/targets are not included)
* Use the **strong-trend dots** as a regime filter:
* If dots persist, continuation setups have higher context quality
* If dots disappear frequently, market may be ranging/choppy
### Limitations (important)
* Angle is based on **LSMA 1-bar slope**, so it is sensitive to sudden changes and can vary across markets/timeframes.
* Correction logic is binary: it only checks whether price crossed to the other side of LSMA recently (not depth/structure of pullback).
* Signals depend on **close crossing LSMA**, not intrabar wick behavior.
* Not a full trading system: no position sizing, stops, or take profits.
### Alerts
Alerts fire only on **confirmed bars** (`barstate.isconfirmed`) for:
* “LSMA25 Long continuation”
* “LSMA25 Short continuation”
S/R Zones
### What it does
**Smart S/R Zones** automatically detects and visualizes **support and resistance zones** by:
* Finding **confirmed swing highs/lows** (pivot points)
* **Clustering nearby pivots** into price zones
* Scoring each zone by **how many pivots** it contains (zone “strength”)
* Marking zones as **active** or **broken**, and stopping broken zones at the breakout bar
* Keeping the chart clean by removing pivots and zones outside a configurable lookback window
### Core logic (how it works)
1. **Pivot detection (swing points)**
* Uses `ta.pivothigh()` and `ta.pivotlow()` with:
* `leftBars` bars to the left
* `rightBars` bars to the right
* Important: pivots are **confirmed only after `rightBars` bars**, so signals are delayed by design.
2. **Pivot memory + lookback cleanup**
* Each pivot is stored with:
* price
* type: `1` = resistance pivot high, `-1` = support pivot low
* pivot bar index (pivot’s original bar)
* active/broken flag
* breakout bar index (when it got broken)
* Pivots older than `lookbackPeriod` bars are removed.
3. **Dynamic zone width**
* Computes the recent range:
* `priceRange = highest(high, lookbackPeriod) - lowest(low, lookbackPeriod)`
* Converts it to a maximum zone width:
* `maxZoneWidth = priceRange * zoneWidthPct / 100`
* This makes zones adapt to volatility/regime changes.
4. **Breakout detection (pivot invalidation)**
* A resistance pivot is marked broken when:
* `close > pivotPrice * (1 + breakoutPct/100)`
* A support pivot is marked broken when:
* `close < pivotPrice * (1 - breakoutPct/100)`
* Note: breakout is **close-based**, not intrabar wick-based.
5. **Clustering pivots into zones**
* Pivots are grouped into zones **only with the same type** (support with support, resistance with resistance).
* A pivot joins a zone if it is close to the zone midpoint:
* `abs(price - zoneMid) <= maxZoneWidth/2`
* Zone boundaries expand to include the new pivot, but only if:
* `(newHigh - newLow) <= maxZoneWidth`
* Zone strength increments by 1 for each pivot added.
6. **Active vs broken zones (visual state)**
* Active zones extend to the **current bar**.
* Broken zones stop at their **breakout bar** (the bar index stored when the pivot was broken).
* Strength includes all pivots clustered, including pivots that later broke (as long as they are still in lookback).
### Visuals (what you see)
* **Green zones**: active support
* **Red zones**: active resistance
* **More transparent zones**: broken zones (support/resistance that was invalidated by a close beyond the breakout threshold)
* Optional labels:
* `S2`, `S3`… for support strength
* `R2`, `R3`… for resistance strength
* The number is the **count of clustered pivots** in that zone.
### Inputs (how to tune it)
* **Pivot Left Bars / Pivot Right Bars**
* Higher values = fewer pivots, more “major” swings, stronger zones
* Lower values = more pivots, more zones, more noise
* **Lookback Period**
* Limits how far back pivots are considered and keeps the chart uncluttered
* **Zone Width %**
* Controls how wide zones can get (as a % of recent range)
* Higher = more clustering, fewer broader zones
* Lower = tighter zones, more zones
* **Minimum Zone Strength**
* Filters weak zones. Example: set to 3 to show only zones formed by 3+ pivots
* **Breakout Threshold %**
* Defines how far price must close beyond a level to mark it broken
* Higher = fewer “false break” breaks, slower invalidation
* Lower = more responsive, more break markings
* **Show Strength Labels**
* Toggles S/R strength markers.
### How to use it in trading workflows
* **Zone reaction**: Watch for rejection/acceptance when price revisits a strong zone (`S3+`, `R3+`).
* **Breakout context**: A zone turning “broken” indicates price closed meaningfully beyond it (by threshold).
* **Confluence**: Use with your own context (trend, volatility, session structure, volume tools). This script is strictly price-structure based.
Price Range AnalyzerPrice Range Analyzer - 365-Day Market Context
Get instant market perspective with key price metrics calculated from daily timeframe data, regardless of your current chart interval.
📊 KEY FEATURES:
- 365-Day High/Low with percentage distance from current price
- Range Position indicator (0-100%) with color-coded zones
- Comparison vs 365-day average price
- ATR-based volatility assessment
- Automatic adaptation for new assets (uses available data)
- Clean, professional table (top-left position)
- Optional visual lines on chart
🎯 WHAT IT SHOWS:
1. 365D High - Highest price in period + % below current
2. 365D Low - Lowest price in period + % above current
3. Range Position - Where price sits in the range:
• 🟢 Very Low (0-20%): Strong buy zone
• 🟢 Low (20-40%): Bullish territory
• 🟡 Mid (40-60%): Neutral zone
• 🟠 High (60-80%): Bearish territory
• 🔴 Very High (80-100%): Strong sell zone
4. vs 365D Average - Distance from mean (reversion signal)
5. Volatility - ATR as % of price (Low/Medium/High)
💡 USE CASES:
- Quick assessment of support/resistance zones
- Identify overbought/oversold conditions
- Mean reversion trading opportunities
- Risk assessment via volatility levels
- Works on ALL timeframes (always uses daily data)
- Perfect for new listings (auto-adjusts to available history)
⚙️ SETTINGS:
- Adjustable lookback period (30-730 days)
- Toggle high/low/average lines on chart
- White background optimized table
Clean, simple, actionable. Know exactly where you stand in the bigger picture at a glance.
Tomato Multi EMA + VWAP + SMA + RSI TableTomato Multi EMA + VWAP + SMA + RSI Table
Here are the following:
12, 27, 50, 135, 200, 405 EMAs
Blue, Red, Purple, Light Blue, Yellow, Green
White: VWAP
200, 400 SMA
Dotted Orange Line, Dotted Red Line
1, 2, 3, 5, 10, 13, 15, 30 Multitimeframe RSI table with RSI-MA 45 (EMA 45)






















