ATR Horizontal Lines from EMA and SMA with TableHow it works:
The script calculates ATR levels (of your choosing)
Instead of plotting curves, it creates horizontal lines
The lines are deleted and recreated on each bar to show current levels
Lines extend to the right or can be limited to a certain width
Customization options:
Line width (1-10 pixels)
Individual colors for each of the 4 lines
All the original parameters (EMA/SMA lengths, ATR length, multipliers)
The horizontal lines will now show the current ATR-based support/resistance levels and move dynamically as the EMAs, SMA, and ATR values change with new price data.
Скользящие средние
Reversal Wick with Volume, S/R, LogReg Channel & EMAsThis uses a Log Regression channel and tries to identify potential reversals based on price action
PG DMean & Price Sync ver 9.4 - ConsolidatedPG DMean & Price Sync Strategy (SD Filter)
This strategy combines the momentum-oscillator properties of the Detrended Mean (DMean) with a Standard Deviation (SD) Price Filter for confirming trend direction, aiming to isolate high-conviction trades while actively managing risk.
🔑 Core Logic
DMean Momentum Signal: The strategy's primary engine is the DMean, which measures the percentage difference between the current closing price and a longer-term Moving Average (price_ma). It is then smoothed by a DMean Signal line (MA of the DMean).
Entry Signal: A trade is triggered when the DMean line crosses above (for Long) or below (for Short) its Signal Line, but it must clear a user-defined Dead Zone Threshold to confirm momentum commitment.
SD Filter Confirmation (Price Sync): A Standard Deviation Channel, based on a separate user-defined price source and period, is used to filter trades.
Long Filter: Allows Long entries only when the price is trading above the lower SD band, suggesting the current price action is stronger than the recent average volatility to the downside.
Short Filter: Allows Short entries only when the price is currently below the Filter Basis (SMA), confirming a bearish stance within the SD channel.
🛡️ Risk & Exit Management
Primary Exit: All trades are exited by reverse DMean Crossover/Crossunder, meaning the position is closed when the DMean momentum reverses against the open trade (e.g., DMean crosses under the Signal to exit a Long).
Hard Stop Loss (Short Trades): A mandatory percentage-based Hard Stop Loss is implemented only for short positions to protect against sudden upward price spikes, closing the trade if the loss exceeds the set percentage. (Note: This version does not include a Hard SL for Long trades).
📊 Performance Dashboard
A custom Performance Dashboard Table is displayed at the bottom right of the chart to provide real-time, at-a-glance comparison of the strategy's equity performance versus a simple Buy & Hold over the selected backtesting date range.
PTM System v1.8 (PF)PTM System Indicator v1.8: Enhanced Precision and Flexibility
The PTM System Indicator is a powerful and comprehensive technical analysis tool designed to help traders make confident and effective trading decisions. By integrating multiple analysis strategies, the PTM System focuses on identifying clear market trends, filtering out noise, and presenting information in an easy-to-understand format, ensuring you don't miss critical market opportunities.
Version 1.8 is a significant upgrade from version 1.6, focusing on enhancing trend identification accuracy and analytical flexibility to meet the needs of traders in all market conditions.
## Key Features of PTM System v1.8:
### 1. Multi-Factor Filtering: Intelligent Signal Filtering for Maximum Quality
The PTM System features a Multi-Factor Filtering system that combines multi-dimensional analysis to deliver high-quality trading signals and significantly reduce false signals. This system includes:
* **Price Action Filter:** Analyzes price behavior to confirm signal strength.
* **Trend Filter (EMA):** Uses multiple Exponential Moving Averages (EMA-S, EMA-M, EMA-L) to accurately identify the main market trend.
* **Momentum Filter (Stochastic):** Uses the Stochastic Oscillator to measure price momentum and identify Overbought/Oversold conditions.
* **Sideway Filter (ADX):** Uses the Average Directional Index (ADX) to detect sideways or trendless market conditions.
**Rationale for Integration:** The combination of these filters creates a synergistic system where each filter validates signals from the others, resulting in highly reliable trading signals. This adaptability allows the PTM System to perform effectively in various market conditions.
### 2. Smooth Heikin Ashi: Superior Trend Smoothing for Unmatched Clarity (New in v1.8)
To address the common issue of frequent color changes in traditional Heikin Ashi during sideways markets, v1.8 introduces **Smooth Heikin Ashi**. This feature uses an EMA to smooth the Heikin Ashi values, providing a clearer and more continuous representation of the underlying trend.
**Value and Benefit:** This feature offers a cleaner, more reliable view of the market trend, helping traders avoid sideways traps and focus on strong, sustained movements.
### 3. Ghost Signals: Unveiling Filtered Opportunities for Deeper Analysis (New in v1.8)
**Ghost Signals** display potential trade setups that were filtered out by the Sideway and Trend filters. This provides deeper insight into how market conditions affect signal generation and helps experienced traders identify hidden opportunities.
### 4. Optimized Time Filter Start Time (New in v1.8)
The default start time for the Time Filter has been adjusted to **20:00** for greater flexibility and better alignment with major trading session openings.
### 5. Auto RR Box: Disciplined Risk Management
The Auto RR Box automatically displays Stop Loss (SL) and Take Profit (TP) levels on the chart, promoting disciplined risk management.
### 6. Comprehensive Customization
PTM System is highly customizable, allowing traders to adjust filter settings, visual elements, and trading hours to fit their unique style.
## Why Every Trader Needs PTM System
In a volatile and complex market, the PTM System provides a crucial edge. It combines in-depth analysis, intelligent filtering, and intuitive visualization to empower traders of all levels to navigate the market with greater efficiency and confidence.
**Value of an Invite-Only Script:** The PTM System is not just a collection of basic indicators; it is a strategically integrated system that delivers high-quality, reliable signals. Its sophisticated filters and unique features like Smooth Heikin Ashi and Ghost Signals provide superior insight and control, justifying its value as a premium, invite-only tool.
Upgrade your trading with the PTM System today!
Multiple EMA/SMA v6This indicator plots up to eight Exponential Moving Averages (EMAs) and six Simple Moving Averages (SMAs) on the same chart.
Each moving average can be individually customized or disabled by setting its length to 0.
It’s designed for traders who want to visually compare multiple EMAs and SMAs with consistent styling and color-coding.
Key features:
Displays up to 14 customizable EMAs/SMAs.
Adjustable line width and source (e.g., close, open, hlc3).
Simple and performance-optimized structure.
Clean color scheme for quick trend identification.
Usage:
Set any moving average length to 0 to hide it, or adjust lengths and colors to match your strategy.
Ideal for identifying short-, mid-, and long-term trend alignments.
Smooth Cloud + ZigZag VPOC CORE v6📌 Description
The Smooth Cloud + ZigZag VPOC indicator is designed to help traders visualize market structure and potential confluence zones.
Smooth Cloud: Built from smoothed moving averages (EMA, RMA, or HMA), this cloud highlights the underlying short-term trend by shading bullish and bearish phases.
Pivots (ZigZag style): Marks confirmed swing highs and lows, helping to identify support/resistance and breakout areas without repainting.
VPOC (Volume Point of Control): Plots the price level with the highest traded volume, either from a rolling lookback or anchored to a custom date. This often acts as a magnet or reaction level.
ATR Bands: Optional dynamic bands based on volatility to frame potential extension zones.
Signals & Alerts: Generates long/short labels when price breaks pivot levels in line with trend filters, with optional confluence from HTF trend, VPOC, and ATR.
This tool combines trend context, structure, and volume confluence in a single view to support decision-making.
✅ Notes
This script is intended for technical analysis and educational use only.
It does not provide financial advice or guaranteed outcomes.
Signals are purely analytical and should be combined with independent risk management.
12/21 x 50-100-200 MA - [RZ]👁️ - 12/21 x 50-100-200 MA
A comprehensive moving average overlay indicator designed to identify trend direction and key support/resistance levels using a dual fast/slow MA crossover system combined with three major moving averages.
⛓️ - FEATURES
Dual MA Crossover System: Configurable short (default 12) and long (default 21) period moving averages that change color based on trend direction
Triple Major MAs: 50, 100, and 200 period moving averages displayed in blue, yellow, and red respectively for identifying key market structure levels
Multiple MA Types: Choose from SMA, EMA, DEMA, TEMA, LSMA, WMA, or HMA for all calculations
Customizable Source: Apply the indicator to any price source (close, open, high, low)
Optional Bar Coloring: Visualize trend direction directly on price bars
Built-in Alerts: Automated alerts for trend reversals (Trend Up/Trend Down)
🎮 - HOW TO USE
Bullish Signal: When the short MA crosses above the long MA, both MAs turn green
Bearish Signal: When the short MA crosses below the long MA, both MAs turn red
The 50/100/200 MAs serve as dynamic support/resistance levels and help confirm overall market trend
Use bar coloring for quick visual identification of current trend state
🧰 - OPTIONS
Adjustable lengths for all moving averages
Color customization for bullish/bearish trends
Toggle bar coloring on/off
Select preferred MA calculation method
⚠️ - DISCLAIMER
This indicator is provided for educational and informational purposes only and should not be considered financial advice.
Trading and investing in financial markets involves substantial risk of loss and is not suitable for every investor.
Past performance is not indicative of future results.
The signals and information generated by this indicator do not guarantee profits and may result in losses.
Users should conduct their own research and due diligence, and consult with a qualified financial advisor before making any investment decisions.
The creator of this indicator assumes no responsibility for any financial losses incurred through the use of this tool.
By using this indicator, you acknowledge that you are solely responsible for your trading decisions and their outcomes.
👑 - CREDITS
@profmichaelg for Michael's EMA indicator
BanditExperimental %R and Moving Average Bands. This is just for fun :)
Comment below if you spot a good pattern to trade.
Kornél CCI Divergence — Price Overlay (All levels + EMA50) v6English/Hungarian
🔎 Overview
This is a CCI divergence indicator that looks for discrepancies (divergences) between the price and the CCI (Commodity Channel Index) and plots them on the chart with lines and labels.
⚙️ How it works
It searches for pivot points in the price:
Pivot High (local high)
Pivot Low (local low)
It uses the ta.pivothigh() and ta.pivotlow() functions for this.
For these pivots, it checks the CCI value on the same candle.
Then it compares two consecutive pivots:
Bullish divergence (green):
Price makes a lower low (LL)
CCI makes a higher low (HL)
Price is above the EMA50 (uptrend)
Bearish divergence (red):
Price makes a higher high (HH)
CCI makes a lower high (LH)
Price is below the EMA50 (downtrend)
If a divergence is detected:
Draws a line connecting the two pivots
Adds a label (“BullDiv” or “BearDiv”)
Sets an alert to notify the user
EMA50 trend filter:
Accepts bullish divergences only if price is above EMA50
Accepts bearish divergences only if price is below EMA50
This filters out “false” signals
Keeping the chart clean:
Stores a maximum of X lines and labels at a time (maxLines), deleting older ones
📈 Practical meaning
If the price makes a new low but the CCI does not → Bullish Divergence (price weakness, potential upward reversal)
If the price makes a new high but the CCI does not → Bearish Divergence (trend exhaustion, potential drop)
So it tries to provide reversal signals.
Thanks to the EMA50, it only highlights divergences that align with the current trend → a trend-following divergence filter.
👉 In short:
This indicator plots pivot-based divergences between CCI and price, and only signals when the divergence aligns with the trend indicated by the EMA50.
Magyar:
🔎 Áttekintés
Ez egy CCI divergencia indikátor, amely a CCI (Commodity Channel Index) és az ár közötti eltéréseket (divergenciákat) keresi, és vonalakkal és címkékkel ábrázolja a grafikonon.
⚙️ Hogyan működik
Keresi a pivot pontokat az árban:
Pivot High (helyi csúcs)
Pivot Low (helyi mélypont)
Ehhez a ta.pivothigh() és ta.pivotlow() függvényeket használja.
Ezeknél a pivot pontoknál megnézi a CCI értékét ugyanazon a gyertyán.
Ezután összehasonlít két egymást követő pivotot:
Bullish divergencia (zöld):
Az ár alacsonyabb mélypontot (LL) csinál
A CCI magasabb mélypontot (HL) csinál
Az ár az EMA50 fölött van (emelkedő trend)
Bearish divergencia (piros):
Az ár magasabb csúcsot (HH) csinál
A CCI alacsonyabb csúcsot (LH) csinál
Az ár az EMA50 alatt van (csökkenő trend)
Ha divergencia történik:
Vonalat húz a két pivot pont között
Címkét ad hozzá („BullDiv” vagy „BearDiv”)
Értesítést (alertet) állít be a felhasználónak
EMA50 trend szűrő:
Bullish divergenciát csak akkor fogad el, ha az ár EMA50 fölött van
Bearish divergenciát csak akkor fogad el, ha az ár EMA50 alatt van
Ez kiszűri a „hamis” jeleket
A grafikon tisztán tartása:
Egyszerre maximum X vonalat és címkét tárol (maxLines), a régebbieket törli
📈 Gyakorlati jelentés
Ha az ár új mélypontot ér el, de a CCI nem → Bullish Divergence (árgyengülés, potenciális emelkedés)
Ha az ár új csúcsot ér el, de a CCI nem → Bearish Divergence (trend kifulladása, potenciális csökkenés)
Tehát az indikátor fordulós jeleket próbál adni.
Az EMA50 segítségével csak az aktuális trenddel összhangban lévő divergenciákat emeli ki → trendkövető divergencia szűrő.
👉 Röviden:
Ez az indikátor a CCI és az ár pivot pontjai közötti divergenciákat ábrázolja, és csak akkor jelez, ha a divergencia összhangban van az EMA50 által jelzett trenddel.
% Change & Range (With SMA)- Calculates the % range and change for each candle
- uses SMA over "n" bars to show the average % range and the average % change for green days and red days
- optional standard deviation line (k bands)
Tchwella Stocks Custom WatermarkThis Pine Script v5 indicator adds a customizable watermark to TradingView charts, displaying key stock information while allowing for flexible positioning and formatting.
📌 Features & Functionality:
✅ Custom Positioning:
• Fixed to the top-left corner.
• Adjustable spacing ensures the text is properly aligned.
✅ Displayed Information (Configurable):
• Company Name & Market Cap (Optional: Shows dynamically calculated market cap)
• Stock Ticker & Timeframe
• Industry & Sector
✅ Customization Options:
• Font Size: Huge, Large, Normal, Small
• Text Color & Transparency: Adjustable
• Proper Left Alignment for a clean, structured display
• Vertical Offset Tweaks to move text down for better visibility
✅ Optimized Table Layout:
• Uses table.new() for persistent placement.
• Added an empty row to fine-tune positioning, ensuring the watermark doesn’t overlap key chart areas.
🔧 Use Case:
Designed for traders who want a clear, customizable stock watermark to enhance their charting experience without obstructing price action.
Feb 1
Release Notes
Updated version: now you can decide your location for the watermark
Micha Stocks Custom Watermark (MSWM) – TradingView Script
This Pine Script v5 indicator adds a customizable watermark to TradingView charts, displaying key stock information while allowing for flexible positioning and formatting.
📌 Features & Functionality:
✅ Custom Positioning:
• Fixed to the top-left corner.
• Adjustable spacing ensures the text is properly aligned.
✅ Displayed Information (Configurable):
• Company Name & Market Cap (Optional: Shows dynamically calculated market cap)
• Stock Ticker & Timeframe
• Industry & Sector
✅ Customization Options:
• Font Size: Huge, Large, Normal, Small
• Text Color & Transparency: Adjustable
• Proper Left Alignment for a clean, structured display
• Vertical Offset Tweaks to move text down for better visibility
✅ Optimized Table Layout:
• Uses table.new() for persistent placement.
• Added an empty row to fine-tune positioning, ensuring the watermark doesn’t overlap key chart areas.
🔧 Use Case:
Designed for traders who want a clear, customizable stock watermark to enhance their charting experience without obstructing price action.
Feb 7
Release Notes
Micha Stocks Custom Watermark – Updated Version 🚀
This updated Micha Stocks Custom Watermark script enhances your TradingView experience by adding an ATR-based volatility signal alongside the existing customizable stock watermark.
🆕 New Features & Improvements:
✅ ATR (14-Day) with Dynamic Volatility Indicator
• Displays the ATR value and its percentage relative to price.
• Includes a color-coded volatility signal:
• 🔴 High Volatility (Above user-defined Red Threshold)
• 🟡 Moderate Volatility (Between Red & Yellow Thresholds)
• 🟢 Low Volatility (Below user-defined Yellow Threshold)
✅ Fully Customizable ATR Thresholds
• Users can set their own ATR % levels for Red, Yellow, and Green signals.
✅ Improved Watermark Customization
• Users can still adjust the position, size, and color of the watermark.
• Includes Company Name, Ticker, Market Cap, Industry, and Sector.
• ATR can be turned on/off in settings for flexibility.
🔧 How to Use:
1️⃣ Go to Indicator Settings → Enable or Disable ATR Display
2️⃣ Adjust ATR % Thresholds to fit your volatility preference
3️⃣ Customize Text Position, Color, and Size to match your chart setup
This update makes it easier to quickly assess market volatility while keeping a clean and professional chart layout.
💡 Why Use This Indicator?
• Effortlessly track key stock info without cluttering your chart.
• Quickly identify volatile conditions using ATR percentage signals.
• Adjust settings on the fly to match your trading strategy.
📢 Update Now & Enjoy a Smarter Charting Experience!
Nemesis Strategy MLWinning That's all I know
Years of research been done to this strategy It's based on algorithm that detects where the markets are going Works on crypto this strategy his excellent indicators and it can generate a lot of money if you know what you are doing and depending on the fees of the exchanges as well So be smart and be kind God bless you all
MACD cu RSI 7 Fibonacci color levelsMACD with RSI info
The RSI is display as value with changing color as Fibonacci levels.
MACD with RSI color 7 Fibonacci levelsMACD that contain RSI info
The color of RSI is change accordingly with Fibonacci levels, from red till green
Multi-Timeframe 20 EMA PackMultiple 20 EMA's, each for a different time frame but all on the same chart.
This will help you make sure that the 20EMA has been crossed on all time frames before taking action.
Tunç ŞatıroğluTunç Şatıroğlu's Technical Analysis Suite
Description:
This comprehensive Pine Script indicator, inspired by the technical analysis teachings of Tunç Şatıroğlu, integrates six powerful TradingView indicators into a single, user-friendly suite for robust trend, momentum, and divergence analysis. Each component has been carefully selected and enhanced by beytun to improve functionality, performance, and visual clarity, aligning with Şatıroğlu's approach to technical analysis. The default configuration is meticulously set to match the exact settings of the individual indicators as used by Tunç Şatıroğlu in his training, ensuring authenticity and ease of use for followers of his methodology. Whether you're a beginner or an experienced trader, this suite provides a versatile toolkit for analyzing markets across multiple timeframes.
Included Indicators:
1. WaveTrend with Crosses (by LazyBear, modified): A momentum oscillator that identifies overbought/oversold conditions and trend reversals with clear buy/sell signals via crosses and bar color highlights.
2. Kaufman Adaptive Moving Average (KAMA) (by HPotter, modified): A dynamic moving average that adapts to market volatility, offering a smoother trend-following signal.
3. SuperTrend (by Alex Orekhov, modified): A trend-following indicator that plots dynamic support/resistance levels with buy/sell signals and optional wicks for enhanced accuracy.
4. Nadaraya-Watson Envelope (by LuxAlgo, modified): A non-linear envelope that highlights potential reversals with customizable repainting options for smoother outputs.
5. Divergence for Many Indicators v4 (by LonesomeTheBlue, modified): Detects regular and hidden divergences across multiple indicators (MACD, RSI, Stochastic, CCI, Momentum, OBV, VWMA, CMF, MFI, and more) for early reversal signals.
6. Ichimoku Cloud (TradingView built-in, modified): A multi-faceted indicator for trend direction, support/resistance, and momentum, with enhanced visuals for the Kumo Cloud.
Key Features:
- Authentic Default Settings : Pre-configured to mirror the exact parameters used by Tunç Şatıroğlu for each indicator, ensuring alignment with his proven technical analysis approach.
- Customizable Settings : Enable/disable individual indicators and fine-tune parameters to suit your trading style while retaining the option to revert to Şatıroğlu’s defaults.
- Enhanced User Experience : Modifications improve visual clarity, performance, and usability, with options like repainting smoothing for Nadaraya-Watson and adjustable Ichimoku projection periods.
- Multi-Timeframe Analysis : Combines trend-following, momentum, and divergence tools for a holistic view of market dynamics.
- Alert Conditions : Built-in alerts for SuperTrend direction changes, buy/sell signals, and divergence detections to keep you informed.
- Visual Clarity : Overlays (KAMA, SuperTrend, Nadaraya-Watson, Ichimoku) and pane-based indicators (WaveTrend, Divergences) are clearly distinguished, with customizable colors and styles.
Notes:
- The Nadaraya-Watson Envelope and Ichimoku Cloud may repaint in their default modes. Use the "Repainting Smoothing" option for Nadaraya-Watson or adjust Ichimoku settings to mitigate repainting if preferred.
- Published under the MIT License, with components licensed under GPL-3.0 (SuperTrend), CC BY-NC-SA 4.0 (Nadaraya-Watson), MPL 2.0 (Divergence), and TradingView's terms (Ichimoku Cloud).
Usage:
Add this indicator to your TradingView chart to leverage Tunç Şatıroğlu’s exact indicator configurations out of the box. Customize settings as needed to align with your strategy, and use the combined signals to identify trends, reversals, and divergences. Ideal for traders following Şatıroğlu’s methodologies or anyone seeking a powerful, all-in-one technical analysis tool.
Credits:
Original authors: LazyBear, HPotter, Alex Orekhov, LuxAlgo, LonesomeTheBlue, and TradingView.
Modifications and integration by beytun .
License:
Published under the MIT License, incorporating code under GPL-3.0, CC BY-NC-SA 4.0, MPL 2.0, and TradingView’s terms where applicable.
RSI MACD CLOCKWORK TABLEWhat you get, at a glance:
• MACD Cell — Shows the current MACD value and a small direction icon (▲ rising, ▼ falling, ⏺ flat). The background color adapts to regime: green above zero, red below zero, gray near the line. Lengths are configurable (fast/slow/signal).
• RSI Cell — Plots the latest RSI with an identical direction icon and background logic (green above 50, red below 50, gray around 50). RSI length is configurable.
• Clockwork Row — This is the structure check. The script computes the slope (in degrees) of EMA(5), EMA(8), and EMA(13). If all three exceed your bullish threshold, you’ll see “Clockwork: Bullish” (lime). If all three are below your bearish threshold, you’ll see “Clockwork: Bearish” (red). Otherwise, it’s “Neutral” (gray). Thresholds are fully user-tunable.
Smart right-hand cell (choose your readout):
• Duplicate — Mirrors the Clockwork label.
• Time to Close — A clean mm:ss countdown for the current timeframe (with safe defaults on unusual timeframes).
• Slope Degrees — Prints the 5/8/13 EMA slopes in degrees (e.g., +12.3°).
• Slope Pack ▲▼ — Only the direction of each slope (less noise, more speed).
• EMA Spread (5↔13) — Shows the slope differential (degrees) between short and long EMAs.
• Volume Pace — Projects end-of-bar volume from live progress, compares it to your N-bar average, and renders a tiny text progress bar (██░░…) with a neutral “thermo” palette: black = hot (> high threshold), light blue = cold (< low threshold), silver = typical. All inputs (length, bar width, thresholds) are configurable.
• ATR — Current ATR with direction vs previous bar (▲/▼/⏺).
Quality-of-life:
• Optional top padding (~20px) to keep the table visually separated from other overlays.
• Lightweight string/emoji UI for clarity without heavy graphics.
• Defensive guards around timeframe math so the TTC keeps working smoothly.
How to use:
Add to any symbol/timeframe.
Set your MACD/RSI lengths and Clockwork slope thresholds to match your system’s sensitivity.
Pick a right-cell mode that complements your workflow (TTC for day trading, Volume Pace for intrabar context, ATR for volatility).
Note: This tool is informational, not a standalone signal generator. Combine the Clockwork alignment with your entries/exits and risk management.
Golden Cross and Death Cross IndicatorThis screener identifies key technical signals known as the Golden Cross and Death Cross on any TradingView chart. The Golden Cross occurs when the 50-day simple moving average (SMA) crosses above the 200-day SMA, signaling a potential bullish trend or buy opportunity. Conversely, the Death Cross happens when the 50-day SMA crosses below the 200-day SMA, indicating a potential bearish trend or sell signal.
This indicator visually plots both SMAs on the price chart and marks the crossover points with clear green (buy) and red (sell) triangles. It also includes alert conditions for both signals, enabling traders to receive real-time notifications when these important trends develop.
Ideal for swing traders, investors, and technical analysts, this screener helps spot long-term trend shifts effectively, improving timing for entries and exits. It serves as a reliable tool to complement broader trading strategies focused on momentum and trend-following approaches.
Syed Shams - PSX Dashboard v2.0A compact dashboard that summarizes trend/strength context for Pakistan stocks and indices. It normalizes signals from widely-used tools into a single table so you can triage symbols quickly—no alerts, no buy/sell calls.
What’s inside (columns):
------------------------------
- Scrip / Price / Δ%: Symbol, last price, and percent change vs the previous bar close on the active timeframe (e.g., on 1D it’s vs prior daily close).
- LMH / LML / LWH / LWL: Last Month/Week High & Low. Optional setting to use closed prior M/W bars.
- EMAs 5/9/21/44/100/200: Six mini-squares. Green = price ≥ that EMA, Red = below.
- RS5 / RS21 (vs KSE100): Arrows show out/under-performance over two user-set return windows.
- RSI: Text = RSI value with slope arrow; Blue fill when RSI > its EMA (bullish bias), Red fill when below.
- OBV: Blue/Red fill for OBV vs its EMA; slope arrow uses the global Slope Lookback.
- MACD (M A C D): 4 tiny histogram bars colored by quadrant/acceleration for quick trend read.
- ADX / DMI: ADX value (color-coded: >50 red, 25–50 green, 20–25 orange, <20 red) + slope arrow. +DI / −DI arrows with neutral/green/red fill when +DI dominates/equals/−DI dominates.
- ST 5,1 / ST 8,2: Green/Red dots for SuperTrend state.
- Ichimoku: Cell fill for price vs cloud (above/inside/below). “Laser” dash appears on fresh HH/LL checks.
- BB Zone: Uses BB(20,1/2/3).
• price ≥ U2 → “BB3” (Dark Blue text, Light Blue fill)
• U1 < price < U2 → “BB2” (Dark Blue / Light Blue)
• L1 ≤ price ≤ U1 → “BB1” (Dark Green / Light Green)
• L2 < price < L1 → “BB2” (Dark Red / Light Red)
• price ≤ L2 → “BB3” (Dark Red / Light Red)
Also shows BB3 upper-band slope using the global lookback: “+” widening, “−” contracting, “=” flat.
- Grade (A/B/C/D): Optional composite score; rows sort by score when enabled.
Grade scoring:
------------------
Price ≥ each EMA +1 (max +6) · RS5>idx +2, RS21>idx +1 · OBV>EMA +2, OBV-EMA↑ +1 · RSI>50 +2, RSI>EMA +1, RSI slope↑ +2 / ↓ −2 · MACD hist: ≥0&rising +2, ≥0&falling +1, <0&falling −2, <0&rising −1 · +DI>−DI +1, +DI slope↑ +1 · ADX: >50 −2, 25–50 +2, 20–25 +1, ADX slope↑ +1 · ST(5,1) +1, ST(8,2) +1 · Ichimoku: above cloud +1, below −1, HH “laser” +2 / LL −2 · BB zone: inside BB1 +1; above BB1 +2; BB3 widening +2; shrinking −2; flat 0.
Controls & workflow:
-------------------------
- Universe selector (incl. sector lists and Custom Watchlist).
- Show KSE index rows (off by default).
- Slope Lookback (arrows): one control for RSI/ADX/DMI/OBV/BB3 slope checks.
- Closed bars for LM/LW H/L (off by default).
- Dark Mode (off by default): optimized table contrast for black charts.
- Show Grades toggle.
How to use:
---------------
1) Pick your universe and timeframe.
2) Adjust Slope Lookback (default 1) if you want a stricter/looser slope test.
3) Sort by Grade (on) to find leaders/laggards, then open charts for entries/exits using your own process.
Notes:
--------
- Timeframe-aware: all calculations—including Δ% and RS windows—use the active chart TF.
- Educational research tool. Not investment advice. No alerts.
12/21 EMA STRAT - [RZ]12/21 EMA Strategy with Performance Analytics
👁️ - OVERVIEW
This indicator implements a simple yet effective exponential moving average (EMA) crossover strategy that compares a 12-period EMA against a 21-period EMA. The system generates long signals when the 12 EMA is positioned above the 21 EMA, and moves to cash when the 12 EMA falls below the 21 EMA.
🧠 - STRATEGY LOGIC
Signal Generation:
Long Position: Activated when 12 EMA > 21 EMA
Cash Position: Activated when 12 EMA < 21 EMA
Technical Implementation:
Uses perpetual condition checks instead of crossover/crossunder functions to prevent signal misgeneration and ensure reliability
Implements barstate.isconfirmed validation to eliminate repainting issues and ensure all signals are confirmed on closed bars
Provides clean, reliable signals suitable for both backtesting and live trading
⚙️ - FEATURES
The indicator includes a comprehensive table displaying real-time performance metrics comparing the strategy against a buy-and-hold approach:
Sharpe Ratio: Risk-adjusted return measurement
Sortino Ratio: Downside risk-adjusted return measurement
Omega Ratio: Probability-weighted ratio of gains versus losses
Maximum Drawdown %: Largest peak-to-trough decline
Visual Components
Equity Curves: Plots both strategy equity and buy-and-hold equity for visual comparison
Status Table: Real-time display of current position (Long/Cash) and performance metrics
Clean Chart Interface: Easy-to-read visualization of strategy performance
Alert System
Long signal triggers
Cash signal triggers
📝 - How to Use
Add the indicator to your chart
Review the performance metrics table to compare strategy vs. buy-and-hold
Monitor the equity curves to visualize strategy performance
Set up alerts for long and cash signals if desired
Use the current position indicator to track strategy status
📊 - Multi-Timeframe Compatibility
This indicator works across multiple timeframes, however, performance characteristics vary significantly depending on the timeframe selected:
Different timeframes will produce different results
Strategy performance may be optimal on certain timeframes and underperform on others
DYOR (Do Your Own Research): Users are strongly encouraged to backtest the strategy on their preferred timeframes and market conditions before use
Test extensively with historical data to understand the strategy's behavior in your specific use case
ETH
SOL
⚠️ - DISCLAIMER
This indicator is provided for educational and informational purposes only. It is NOT financial advice, investment advice, or a recommendation to buy or sell any security or financial instrument.
Past performance does not guarantee future results
Trading involves substantial risk of loss and is not suitable for all investors
You should carefully consider your financial situation and risk tolerance before making any trading decisions
Always conduct your own research and consult with a qualified financial advisor before making investment decisions
The creator of this indicator assumes no responsibility for any financial losses incurred through the use of this tool
Use this indicator at your own risk
Value Spectrum | OquantOverview
The Value Spectrum is an indicator designed to provide traders with a visual and quantitative assessment of price positioning relative to a dynamic baseline, helping to identify potential value zones, overextensions, and fair value conditions in various market environments. It builds on traditional volatility envelope concepts but introduces multi-tiered bands with customizable smoothing and a spectrum-based classification system to offer a more nuanced view of market conditions. This allows traders to quickly gauge where price stands in its "value spectrum" without relying solely on binary overbought/oversold signals.
Key Factors/Components
Baseline: A selectable moving average that serves as the central reference point for the envelope.
Volatility Measure: Derived from standard deviation, with optional smoothing to reduce noise in choppy markets.
Multi-Level Bands: Six upper and lower bands are incremented with steps of 0.5x, creating a graduated spectrum rather than fixed thresholds.
Value Classification: A table that categorizes the current price position into distinct levels, such as fair value, oversold, or overbought, for at-a-glance analysis.
How It Works
The indicator calculates a baseline using the chosen moving average type applied to the selected source (e.g., close price). It then measures volatility through standard deviation over a specified length, which can be smoothed using methods like median or other averages to adapt to market noise. Bands are constructed by adding and subtracting multiples of this volatility from the baseline, forming a series of widening zones. Price is evaluated against these zones to determine its position in the spectrum—closer to the baseline suggests fair value, while farther out indicates increasing degrees of extension. The visual fills between bands use gradient transparency to highlight the progression, and the table updates in real-time to label the current state based on where price falls.
For Who It Is Best/Recommended Use Cases
This indicator is best suited for swing traders, and mean-reversion strategists who need to assess relative value mainly in ranging markets. Recommended use cases include:
Identifying entry points in oversold/overbought conditions.
Confirming fair value zones for holding positions or scaling in.
Monitoring extreme extensions as potential reversal warnings.
Settings and Default Settings
Source: Defines the input data series (default: close).
Select MA for Baseline: Choose from options like SMA, EMA, ALMA, HMA, WMA, LSMA, DEMA, TEMA, SMMA(RMA), FRAMA, ZLEMA, T3, VWMA, TRIMA (default: DEMA).
MA Length: Period for the baseline calculation (default: 30).
Alma Offset: Adjusts the offset for ALMA if selected (default: 0.85).
Alma Sigma: Sets the sigma for ALMA if selected (default: 4).
T3 Vol Factor: Volume factor for T3 if selected (default: 0.7).
SD Length: Period for volatility calculation (default: 21).
Smooth Volatility: Enables/disables volatility smoothing (default: false).
Select Volatility Smoothing Method: Options include MEDIAN, SMA, EMA, DEMA, WMA (default: MEDIAN).
Volatility Smoothing Length: Period for smoothing volatility if enabled (default: 20).
Show Table: Toggles the display of the value classification table (default: true).
Conclusion
The Value Spectrum offers a flexible and insightful way to visualize price in context, empowering traders to make informed decisions based on a structured assessment of market value. By customizing the baseline and volatility components, it adapts to different trading styles and assets, providing clarity in different conditions.
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
Median EMA IQR Bands | OquantOverview
The Median EMA IQR Bands indicator introduces a robust trend-following tool that combines a median-filtered exponential moving average (EMA) with interquartile range (IQR) based bands to identify potential entry and exit points for long and short positions. This approach aims to reduce noise in traditional EMAs while incorporating a statistical measure of volatility to create adaptive bands. Unlike standard moving average crossovers or Bollinger Bands, this indicator uses median filtering on the EMA and IQR for band construction, which can help in filtering outliers and providing a more stable view of market trends. It also includes built-in performance metrics displayed in tables, allowing users to evaluate the indicator's historical behavior against buy-and-hold benchmarks directly on the chart(remember past performance doesn’t guarantee future results).
Key Factors/Components
Median-Filtered EMA: A core trend line derived from an EMA that is further smoothed using a median calculation to minimize the impact of extreme price movements.
IQR Bands: Upper and lower bands built around the median EMA using the interquartile range, multiplied by a user-defined factor, to capture volatility without assuming a normal distribution like standard deviation-based methods.
Signal Generation: Simple conditions for long (price above upper band) and short (price below lower band) allocations, with options to enable/disable longs or shorts.
Performance Metrics: Tables showing risk-adjusted metrics such as Sharpe, Sortino, Omega ratios, max drawdown, intra-trade max drawdown, percent profitable trades, profit factor, total trades, and net profit for the indicator's simulated equity curve, compared to buy-and-hold.
Equity Curve Plot: Optional plotting of a simulated equity curve based on the indicator's allocations.
Visual Elements: Color-coded plots, fills, and bar coloring for clear signal visualization(green for bullish and purple for bearish.
How It Works
The indicator starts by calculating a standard EMA on the selected source (default close price), then applies a median filter over a specified length to create the central trend line. This helps in reducing whipsaws common in volatile markets. Separately, it computes the IQR from recent price data as a non-parametric measure of spread, which is then scaled by a multiplier and added/subtracted from the median EMA to form the upper and lower bands. Allocations shift to long when price closes above the upper band (if longs are enabled), to short when below the lower band (if shorts are enabled), or to cash otherwise(For example if it’s bearish signal but shorts are disabled then it will be cash). The equity curve and metrics are derived from these allocations, simulating returns while accounting for user preferences on position types. This logic emphasizes trend persistence filtered through statistical robustness, but users should note it may cause false signals in ranging markets and perform better in trending conditions.
For Who It Is Best/Recommended Use Cases
This indicator is best suited for trend-following traders or investors who prefer statistical, outlier-resistant methods over traditional indicators. It is recommended for:
Intermediate to advanced users analyzing cryptocurrencies on daily or other timeframes.
Those incorporating it into broader systems.
Risk-averse traders who value drawdown insights and adjustable band sensitivity for customizing to specific assets. It is not ideal for high-frequency trading or very short-term scalping.
Settings and Default Settings
Start Date: Timestamp for when metrics and equity calculations begin (default: 1 Jan 2018).
Source: Price source for calculations (default: close).
EMA Length: Period for the underlying EMA (default: 30).
Median Length: Window for median filtering on the EMA (default: 20).
Interquartile Range Length: Period for IQR calculation (default: 20).
Band Multiplier: Factor to scale the IQR for bands (default: 1.2).
Allow Long Trades: Enable long positions (default: true); if false, defaults to cash.
Allow Shorts: Enable short positions (default: false); if false, defaults to cash.
Show Indicator Metrics Table: Display the performance table (default: true).
Show Buy&Hold Table: Display benchmark table (default: true).
Plot Equity Curve: Show simulated equity line (default: false).
These defaults are tuned for general use on daily charts, but users should adjust based on asset volatility—e.g., increase multiplier for tighter bands in low-vol environments.
Conclusion
The Median EMA IQR Bands offers a fresh take on trend detection by blending median smoothing with IQR volatility measures, providing traders with a tool that prioritizes stability and insightful metrics(remember past performance doesn’t guarantee future results). It encourages informed decision-making through transparent performance visuals(remember past performance doesn’t guarantee future results), making it a valuable addition for those looking to enhance their technical analysis toolkit.
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
Nexus Drift | OquantOverview
Nexus Drift is a consensus-based trend tool designed to identify potential long opportunities in trending markets by aggregating signals from multiple technical components. It generates a composite score from seven distinct trend-detection methods, triggering a "LONG" allocation when the score meets a predefined threshold, and shifting to "CASH" otherwise. The script also includes optional visualizations such as an equity curve and performance tables displaying key risk-adjusted metrics like Sharpe ratio, Sortino ratio, Omega ratio, maximum drawdown, and others for both the strategy and a buy-and-hold benchmark. This allows users to evaluate historical performance(remember past performance doesn’t guarantee future results) in a structured way. By combining diverse trend filters, the script aims to reduce noise and provide a more robust signal for trend-following approaches.
Key Factors/Components
The script incorporates seven complementary trend-detection components, each contributing to the overall consensus score:
MAD Median LSMA: A least-squares moving average filtered through a median and adjusted with median absolute deviation bands for outlier resistance.
Smoothed TEMA SD: A triple exponential moving average smoothed and bounded by standard deviation bands to capture trends without too much noise.
Z-Scored ALMA: An Arnaud legoux moving average normalized into a Z-score for trend strength assessment.
EMA Cross: A simple crossover between fast and slow exponential moving averages for basic trend direction.
RSI MA: A moving average of the Relative Strength Index to confirm bullish momentum in trends on a smoothed basis.
SMA SD SuperTrend: A SuperTrend variant using simple moving average and standard deviation for dynamic trailing levels.
WMA MAD Bands: A weighted moving average with median absolute deviation bands for weighted trend tracking with volatility adjustment.
How It Works
The script calculates individual signals from each component, assigning a value of +1 for long conditions, -1 for cash. These are averaged into a composite score, which triggers a long allocation if it meets or exceeds a threshold (0.5), or shifts to cash if equal or below a cash threshold (0). This consensus approach helps filter out conflicting signals, emphasizing agreement across methods to potentially improve reliability in sustained trends. Historical equity is simulated starting from a user-defined date, incorporating daily returns only during long allocations. Performance metrics are computed using standard formulas (e.g., Sharpe as average return over standard deviation, annualized; Sortino focusing on downside deviation; Omega as the ratio of sum positive to sum negative returns). Tables update in real-time on bar close on the chart for quick reference, but all calculations are based on historical data and do not predict future outcomes.
Recommended Use Cases
This script is best suited for trend-following traders or investors focusing on assets with strong directional moves, such as cryptocurrencies on daily or other timeframes. The tool's design was to work well in different markets and timeframes. It performs optimally in markets exhibiting prolonged trends rather than ranging, where consensus may lag or produce fewer/false signals. It is not ideal for short-term scalping, mean-reversion strategies, or assets with low liquidity, as the components are tuned for trend persistence.
Settings and Default Settings
The script includes several inputs for customization:
Strategy Start Date: Defines the backtesting start point (default: 1 Jan 2018). Use this to align with relevant historical periods, but note that shorter datasets may reduce metric reliability and also past performance doesn’t guarantee future results.
Show Strategy Metrics Table: Toggles the display of a table with metrics like max drawdown, intra-trade max drawdown, Sharpe, Sortino, Omega, percent profitable, profit factor, trades, and net profit (default: true).
Show Buy & Hold Table: Toggles a benchmark table with similar metrics for a passive buy-and-hold approach (default: true).
Plot Equity Curve: Displays the simulated strategy equity line (default: false).
Component-specific lengths and multipliers are fixed but chosen to balance responsiveness and smoothness across methods. The long threshold (0.5) requires the majority of the components to agree on a long signal. The script is optimized for daily crypto charts on trending assets, but tested on other timeframes/markets also.
Conclusion
Nexus Drift offers a structured way to gauge trend consensus through diversified components, providing actionable allocations and transparent metrics to support informed decision-making. By focusing on agreement across methods, it seeks to enhance trend detection while highlighting key performance metrics.
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.






















