Supertrend By GemScope Supertrend by GemScope – Strategy Summary
This is an **automated trading strategy (Pine Script v5)** based on the **Supertrend indicator**, enhanced with **EMA filtering**, **percentage-based stop loss**, and **visual trade analytics**.
---
### 🔹 Core Strategy Logic
* Uses **Supertrend (ATR-based)** to detect market trend direction
* Trades **trend reversals and confirmations**
* Works on **both long and short positions**, or restricted to one side
---
### 🔹 Trade Direction Options
* **Both Long & Short**
* **Long Only**
* **Short Only**
---
### 🔹 Entry Conditions
#### 🟢 Long Entry
* Supertrend flips to **bullish**
* OR price crosses **above EMA 200**
* Long trades are allowed by settings
* If enabled: **price must be above EMA 200**
* Supertrend must confirm **uptrend**
#### 🔴 Short Entry
* Supertrend flips to **bearish**
* Short trades are allowed by settings
---
### 🔹 Position Sizing
* Trade size is defined in **USD**
* Quantity is calculated automatically based on market price
* Quantity rounding is user-configurable
---
### 🔹 Stop Loss (Risk Management)
* **Fixed percentage stop loss**
* Automatically placed after entry
* Works for both long and short positions
* No take-profit levels (trend-based exits instead)
---
### 🔹 Exit Logic
* **Short positions close** when:
* Supertrend turns bullish
* Price moves above EMA 200
* **Long positions close** when:
* Supertrend gives a short signal
---
### 🔹 Trend Protection
* Optional protection to **avoid closing shorts prematurely below EMA 200**
* EMA 200 acts as a **trend filter and support/resistance**
---
### 🔹 Visual Features
* **EMA 200** plotted on chart
* **Supertrend line** with color-coded direction
* Real-time **entry & P&L labels** displayed on the right side
* Indicator dashboard (RSI, MACD, ADX, ATR) shown in a table
---
### 🔹 Indicator Table Purpose
* Shows **market strength and bias**
* Helps identify whether **long or short positions are favored**
* Uses:
* RSI (momentum)
* MACD (trend direction)
* ADX (trend strength)
* ATR (volatility)
---
### 🔹 Overall Objective
This strategy is designed to:
* Trade **strong trends**
* Filter false signals using EMA 200
* Control risk with **strict percentage stop loss**
* Provide **clear visual feedback** for decision-making
Indikatoren und Strategien
GemScope Signals## 📊 GemScope Signals – Strategy Summary
This is an **automated trading strategy (Pine Script v5)** designed to trade market trends using a **custom GemScope oscillator**, **EMA trend filter**, **risk control**, and **multi-level take profit system**.
---
### 🔹 Trading Modes
* **Long Only**
* **Short Only**
* **Both Long & Short**
---
### 🔹 Entry Logic
**Long Trades**
* No active long position
* Entry allowed (not in cool-down after stop loss)
* GemScope shows **bullish trend (bull > bear)**
* If EMA filter is enabled: **price must be above EMA 200**
**Short Trades**
* No active short position
* Entry allowed
* GemScope gives **bearish signal (bull < bear)**
---
### 🔹 Exit Logic
* Positions close on **opposite GemScope signals**
* Short positions also close when:
* EMA filter is enabled
* Price moves above EMA
* Trend turns bullish
---
### 🔹 Stop Loss System
* **Percentage-based stop loss** for both long and short trades
* After a stop loss:
* New entries are blocked
* Trading resumes only after a fixed number of candles (cool-down)
---
### 🔹 Take Profit System (Partial Exits)
* Up to **three take-profit levels (TP1, TP2, TP3)**
* Each TP has:
* Independent price distance (%)
* Independent position size to close (%)
* Helps lock profits gradually while keeping runners open
---
### 🔹 Trend & Visuals
* Candles turn **green in bullish trend** and **red in bearish trend**
* **EMA 200** is plotted for trend confirmation
* Chart signals:
* **“G”** → Long signal
* **“S”** → Short signal
---
### 🔹 Risk & Money Management
* Uses **100% of account equity per trade**
* **No pyramiding** (one trade at a time)
* Built-in protection against over-trading after losses
---
### 🔹 Overall Purpose
The strategy aims to:
* Trade only in **confirmed trends**
* Reduce false entries using EMA filtering
* Protect capital with stop loss and cool-down
* Maximize profits using **structured partial exits**
Next-Gen Market Signal Dashboard Key Features:
Trend Detection: EMA50 and EMA200 highlight bullish and bearish trends with subtle background coloring.
Momentum Indicators: RSI, MACD, and Stochastic Oscillator confirm signal strength and market momentum.
Volatility Filter: ATR ensures signals are only triggered during active market conditions.
Visual Signals: Animated triangles and colored backgrounds for LONG (green) and SHORT (red) signals.
Take Profit / Stop Loss: Automatic, elegant TP and SL lines to guide trades.
Compact Multi-Indicator Panel: Displays RSI, MACD, Stochastic, and ATR with color-coded strength indicators.
Mini-Guide: Integrated panel explanations help quickly interpret signals without confusion.
Alerts: Built-in alerts for all LONG and SHORT signals.
RSI Divergence Strategy BTCRSI Divergence Strategy | Clean
Type: Backtestable strategy
Logic: Uses divergences between price and RSI to generate signals.
LONG: Price makes a lower low, RSI makes a higher low → bullish divergence
SHORT: Price makes a higher high, RSI makes a lower high → bearish divergence
TP / SL: Automatic, based on configurable percentage and Risk/Reward ratio.
Display:
RSI visible in a separate panel
LONG/SHORT signals indicated by small triangles in the RSI panel
Goal: Identify price reversals using relative strength (RSI) and backtest precise trades.
Market time opens @NeoNztime opens marked out new york session , london session, asia session and highs and lows of each one
Market Risk Regime Dashboard (SPX/VIX)Market Risk Regime Dashboard (SPX–VIX)
Market Risk Regime Dashboard (SPX–VIX) is a context and confirmation tool designed to classify market conditions as Risk-On, Risk-Off, or Neutral by analyzing the real-time relationship between the S&P 500 Index (SPX) and the CBOE Volatility Index (VIX).
Rather than predicting price direction, this script focuses on identifying market environment and participation conditions that often influence trade quality, position sizing, and strategy selection.
Core Concept: SPX vs VIX Risk Regimes
The indicator operates on a well-documented market relationship:
SPX reflects equity risk appetite and directional participation
VIX reflects implied volatility and risk aversion
The script classifies conditions as:
Risk-On → SPX bullish and VIX falling
Risk-Off → SPX bearish and VIX rising
Neutral → Any mixed or non-aligned condition
This alignment is visualized using:
Background color on the chart
A compact dashboard table
Optional alerts
Trend Strength via Normalized EMA Distance (n-Value)
To quantify trend strength, the script computes a normalized trend metric (“n-value”) for SPX:
A fast EMA and slow EMA are calculated on SPX
The absolute distance between the EMAs is measured
That distance is normalized by an ATR-based volatility measure
The result is a dimensionless value that expresses trend strength relative to volatility, allowing comparisons across timeframes.
Higher n-values indicate stronger directional conditions, while lower values suggest compression or range behavior.
Dashboard Display
A movable on-chart table summarizes:
SPX directional bias (Bullish / Bearish / Neutral)
VIX behavior (Rising / Falling)
SPX n-value trend strength
This allows traders to quickly assess market context without switching symbols or charts.
Strong Candle Detection (SPX)
The script identifies strong directional candles on SPX using objective criteria:
Candle body must represent a minimum percentage of total range
Close must occur near the extreme (high for bullish, low for bearish)
Direction must align with candle body
When detected:
A triangle marker is plotted
The chart bar is optionally colored
Additional alerts can trigger when strong candles align with Risk-On or Risk-Off regimes
These signals are intended to highlight initiative participation, not standalone entries.
Visual & Alert Features
Background color reflects current risk regime:
Green = Risk-On
Red = Risk-Off
Gray = Neutral
Alerts available for:
Risk-On alignment
Risk-Off alignment
Neutral conditions
Strong candles aligned with risk regime
Elevated normalized trend strength (n-value range)
Alerts can be used for situational awareness rather than execution triggers.
How Traders Typically Use This Script
Filter trades based on broader market risk context
Adjust aggressiveness or size during Risk-On vs Risk-Off regimes
Confirm directional conviction when price action aligns with volatility behavior
Avoid forcing trades during neutral or conflicting environments
This script is not a trading system and does not provide entries or exits. It is a contextual decision-support tool designed to improve alignment between price action and market risk conditions.
Bhuvana Retrace Predictor It’s a “retracement warning + confirmation” tool. Nothing more.
Concept in simple words
Price runs too far too fast
The script uses EMA + ATR bands to detect when price is “stretched” (far from normal).
The run is losing power
It checks RSI divergence:
Price makes a new high but RSI doesn’t → buyers are getting weaker.
Price makes a new low but RSI doesn’t → sellers are getting weaker.
It waits for proof the pullback started
It then waits for a small structure break:
For a drop: price closes below a recent minor low.
For a bounce: price closes above a recent minor high.
What each label means
SETUP = “Retracement is likely soon” (don’t chase).
CONFIRM = “Retracement probably started” (now it’s tradable).
Brutal truth
This doesn’t predict perfectly. It just stacks 3 common signs:
overextended + weakening momentum + structure break.
A-Share Broad-Based ETF Dual-Core Timing System1. Strategy Overview
The "A-Share Broad-Based ETF Dual-Core Timing System" is a quantitative trading strategy tailored for the Chinese A-share market (specifically for broad-based ETFs like CSI 300, CSI 500, STAR 50). Recognizing the market's characteristic of "short bulls, long bears, and sharp bottoms," this strategy employs a "Left-Side Latency + Right-Side Full Position" dual-core driver. It aims to safely bottom-fish during the late stages of a bear market and maximize profits during the main ascending waves of a bull market.
2. Core Logic
A. Left-Side Latency (Rebound/Bottom Fishing)
Capital Allocation: Defaults to 50% position.
Philosophy: "Buy when others fear." Seeks opportunities in extreme panic or momentum divergence.
Entry Signals (Triggered by any of the following):
Extreme Panic: RSI Oversold (<30) + Price below Bollinger Lower Band + Bullish Candle Close (Avoid catching falling knives).
Oversold Bias: Price deviates more than 15% from the 60-day MA (Life Line), betting on mean reversion.
MACD Bullish Divergence: Price makes a new low while MACD histogram does not, accompanied by strengthening momentum.
B. Right-Side Full Position (Trend Following)
Capital Allocation: Aggressively scales up to Full Position (~99%) upon signal trigger.
Philosophy: "Follow the trend." Strike heavily once the trend is confirmed.
Entry Signals (All must be met):
Upward Trend: MACD Golden Cross + Price above 20-day MA.
Breakout Confirmation: CCI indicator breaks above 100, confirming a main ascending wave.
Volume Support: Volume MACD Golden Cross, ensuring price increase is backed by volume.
C. Smart Risk Control
Bear Market Exhaustion Exit: In a bearish trend (MA20 < MA60), the strategy does not "hold and hope." It immediately liquidates left-side positions upon signs of rebound exhaustion (breaking below MA20, touching MA60 resistance, or RSI failure).
ATR Trailing Stop: Uses Average True Range (ATR) to calculate a dynamic stop-profit line that rises with the price to lock in profits.
Hard Stop Loss: Forces a stop-loss if the left-side bottom fishing fails and losses exceed a set ATR multiple, preventing deep drawdowns.
3. Recommendations
Target Assets: High liquidity broad-based ETFs such as CSI 300 ETF (510300), CSI 500 ETF (510500), ChiNext ETF (159915), STAR 50 ETF (588000).
Timeframe: Daily Chart.
MACDTraditional MACD
Used in Kinetic Momentum Theory
The histogram is 2 times higher than the Tradingview default MACD
Long-term KST (Know Sure Thing)Description
Long-term Know Sure Thing (KST) oscillator, specifically adapted for non-24h markets such as stocks, indices, ETFs and futures.
This version correctly scales the weekly ROC periods based on the actual trading week length and daily session duration of the instrument — making it accurate across different asset classes (European indices, US equities, crypto, etc.).
Key features:
• Fully customizable trading week (5 days for most stock markets, 7 days for crypto/24h markets)
• Customizable daily session length (8.5h for FTSE MIB/DAX, 6.5h for US equities, 24h for crypto/forex)
• Automatically adjusts bar count per week on any chart timeframe (including Weekly)
• Classic Martin Pring KST parameters (10/13/15/20 ROC weeks, 10/13/15/20 SMA weeks, 1-2-3-4 weighting)
• Includes signal line (SMA of KST) and visual fill between KST and signal (green/red)
What is the Long-term KST used for?
The KST (Know Sure Thing) is a momentum oscillator created by Martin Pring to detect major trend changes, confirm the primary trend direction, and identify significant reversals in medium- to long-term cycles (weeks to months).
Main practical uses:
• Major trend reversals: KST crossing above/below signal line
• Primary trend confirmation: KST above/below zero line
• Classic divergences: Price vs KST divergences often precede important tops/bottoms
• Cycle identification: Helps spot the end of multi-month corrections or the start of new bull/bear phases
• Trend-following filter: Stay long when KST > 0 and rising, stay short when KST < 0 and falling
It is especially powerful on major indices (FTSE MIB, DAX, SPX, NDX, RUT, CAC40, Nikkei…) because it captures institutional money flow with fewer, higher-quality signals compared to faster oscillators.
Best used on:
• Daily, 4H, Weekly charts
• European indices (FTSE MIB, DAX, IBEX…)
• US indices/ETFs (SPX, NDX, RUT…)
• Crypto pairs (set week_length=7, session_duration=24h)
Enjoy trading the big-picture momentum!
Malama's Pre-Market BoxThis script is a comprehensive Pre-Market range visualizer designed to replace older, single-candle analysis tools. It automatically highlights the full pre-market session (04:00–09:30 EST) and extends key support/resistance levels into the regular trading day.
Why this script was created (Evolution from previous versions): This is a complete architectural rewrite of the older "Malama's KAYCAP Pre-Market Box."
Old Logic: The previous version focused on isolating a single, specific 1-minute candle (e.g., exactly 4:00 AM) to determine levels.
New Logic: This version tracks the entire pre-market session range. It dynamically updates the True High and True Low as the pre-market develops, providing a much more accurate support/resistance zone for the open.
Visual Overhaul: Instead of static plots, this version uses Pine Script v6 box and line objects to draw a clean, shading-customizable range that automatically extends rightward until the trading session ends.
How it works:
Session Tracking: The script monitors the user-defined session (default 04:00-09:30).
Dynamic Box: As price moves during pre-market, a box is drawn covering the highest high and lowest low of that period.
Level Extension: At 09:30 (Market Open), the script locks the High and Low values. It then projects two horizontal lines (Resistance and Support) across the chart for the rest of the day.
Breakout Detection: If the price closes outside these levels during regular hours, the script can optionally trigger Alerts and plot "BREAK" labels on the chart.
Settings:
Time Settings: Customizable session string (default captures standard US Pre-Market).
Visuals: Fully adjustable box colors, border transparency, and line width.
Signals: Toggle breakout labels on/off.
Alerts Included:
Bullish Breakout: Triggers when price crosses and closes above the Pre-Market High.
Bearish Breakdown: Triggers when price crosses and closes below the Pre-Market Low.
Malama's Quantum Fusion Malama's Quantum Fusion is a unified trading system that integrates swing-based probability zones, multi-timeframe trend confirmation, and a reversal signal engine into a single indicator.
Differences from "Malama's Quantum Swing Modulator" (Why this is a new script): While this script utilizes the probability zone logic from my previous "Quantum Swing Modulator" (MQSM), it represents a distinct evolution in functionality:
From Analysis to Signals: MQSM was a passive analysis tool for visualizing zones. This script (MQF) adds an active Reversal Signal Engine that generates specific "BUY/SELL" diamond signals based on candle patterns and confluence.
Trend Cloud & Structure: MQF introduces a Dual-Supertrend Cloud and Fast/Slow EMA structure to filter trades, features not present in the original oscillator-based tool.
Automated Confluence: Unlike the previous tool which required manual interpretation, MQF mathematically fuses the Zone Score, Trend Cloud, and Volume analysis to filter false positives automatically.
How it Works: The system relies on a "Confluence of Three" approach:
The Context (Uncertainty Zones): Using ATR bands and Pivot Points, the script identifies where price is statistically likely to reverse (Overextended).
The Trend (Cloud & MTF): A dual Supertrend cloud (Fast & Slow) visualizes the immediate trend direction. Optional Multi-Timeframe (MTF) logic checks higher timeframe alignment.
The Trigger (Signal Engine): A valid signal is generated only when a specific reversal candle pattern occurs coincident with the trend direction and (optionally) within a high-probability zone.
Key Features:
Dynamic Dashboard: Displays real-time Regime (Trending vs. Choppy via ADX), Support/Resistance Probabilities, and MTF status.
Visual Signals: Plots Diamond labels with Stop Loss and 2:1 Take Profit targets.
Regime Detection: Automatically adjusts oscillator weighting based on whether the market is Trending or Ranging (ADX Filter).
Settings:
Signal Filters: You can toggle specific filters (Volume Spike, Cloud Alignment, Zone Proximity) to make the script more aggressive or conservative.
MTF: Enable/Disable Auto-MTF selection to filter noise using higher timeframe trends.
Visuals: Fully customizable colors for the Cloud, Zones, and Dashboard.
Clock&Flow: Elements of Cycle Analysis 2nd partClock&Flow – Elements of Cycle Analysis (ECA) | Complete Suite
Elements of Cycle Analysis (ECA) is an advanced cyclic analysis suite designed to interpret the market through time, structure, strength, and energy, combining cycles, volatility, and participation into a single operational framework.
The suite consists of two complementary modules:
🔹ECA 1 – Cycles, Structure, and Volatility (Overlay: True)
ECA 1 is dedicated to the structural and temporal analysis of the market.
Cyclic SMAs (Cyclic Ratio) Moving averages are calibrated according to nominal cycles and timeframes to monitor multiple cycles simultaneously (from the lower cycle to the upper cycles). Crossovers between fast and slow SMAs certify the closing or transition of the cycle related to the faster SMA. The specific cycle is identified in the Info Table at the bottom right (for 15m - 1h - 2h - 1D timeframes). You can select the number of cycles to observe and the asset type to apply them to:
Index: Standard quotes (e.g., Cash sessions).
Future: Extended quotes (24h).
50-200: Classic institutional references for the medium-long term.
ATR-based Dynamic Cyclic Channels The channels represent a lower cycle and its upper counterpart; their width is determined by the observed timeframe and calculated based on average volatility (ATR). Volatility is not treated as noise but as a structural component of the cycle, essential for contextualizing excesses, compressions, and expansions.
Info Table and Quick Guide Dynamic tables automatically link SMAs, timeframes, and time cycles, providing an immediate reading of the current cyclic context.
Time Bands (Weekly / Daily) Temporal visualization helps identify cyclic pivots and rhythm transitions.
🔹 ECA 2 – Market Excesses, Strength, and Energy
ECA 2 analyzes how the market moves within the cyclic structure.
Excesses and Divergences (Cyclic Stochastic) An oscillator calibrated on the same cyclic ratio as the suite. Crossovers between the lower cycle (blue) and upper cycle (red) signal potential phase changes. In areas of excess, divergences often confirm the closing and restart of a cycle.
Directional Movement System (DMS) The ADX measures the strength of the movement, while +DI and -DI indicate direction. A simultaneous crossover of ADX, +DI, and -DI signals imminent acceleration, even before the strength is fully expressed.
Market Pulse – Real Market Energy The Market Pulse measures the amount of real energy moving through the market by relating three factors:
Price Velocity
Normalized Volume
Volatility (ATR relative to price)
These three factors are combined multiplicatively: if one is missing, the impulse weakens. The zero line represents a state of energy equilibrium; values above or below indicate a real imbalance (bullish or bearish). Note: Market Pulse is not a classic oscillator and should not be interpreted as overbought or oversold; it is used to evaluate the energetic quality of a movement.
Operational Convergence
The maximum operational effectiveness of the ECA suite is achieved when all modules converge on the same market phase.
When cyclic timing, volatility, price structure, trend strength, and movement energy align, the context signals a high-probability operational phase. The system is applicable to any timeframe or asset because it is not bound by dogmatic or subjective interpretations of technical or fundamental analysis; instead, it leverages what is actually happening in the market. Major chart patterns and Volume Profile (technically not includable in this specific suite) provide further confirmation.
Under these conditions, the signal does not originate from a single indicator but from the consistency of the entire system: time, volatility, and energy moving in the same direction.
Entries should always be accompanied by proper risk management.
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
Clock&Flow – Elements of Cycle Analysis (ECA) | Suite Completa
Elements of Cycle Analysis (ECA) è una suite avanzata di analisi ciclica progettata per leggere il mercato attraverso tempo, struttura, forza ed energia, combinando cicli, volatilità e partecipazione in un unico framework operativo.
La suite è composta da due moduli complementari:
🔹 ECA 1 – Cicli, Struttura e Volatilità (overlay true)
ECA 1 è dedicato all’analisi strutturale e temporale del mercato.
SMA cicliche (ratio ciclica)
Le medie mobili sono calibrate in funzione dei cicli nominali e del timeframe per monitorare più cicli simultaneamente (dal ciclo inferiore fino ai cicli superiori).
Gli incroci tra SMA veloci e lente certificano la chiusura o transizione del ciclo correlato alla SMA più veloce. Il ciclo in questione è segnalato nella info table in basso a destra (per i time frame 15’ - 1h - 2h - 1D) Puoi selezionare il numero dei cicli da osservare e su quali asset applicarle (Index = quotazioni standard / Future = quotazioni estese / 50-200 i classici riferimenti istituzionali per il medio-lungo periodo
Canali ciclici dinamici basati su ATR
I canali rappresentano un ciclo inferiore e il suo superiore, l’ampiezza è data dal time frame osservato e calcolata sulla volatilità media (ATR).
La volatilità non è trattata come rumore, ma come componente strutturale del ciclo, utile per contestualizzare eccessi, compressioni ed espansioni.
Info Table e Quick Guide
Tabelle dinamiche collegano automaticamente SMA, timeframe e cicli temporali, fornendo una lettura immediata del contesto ciclico in corso.
Time Bands (Weekly / Daily)
La visualizzazione temporale aiuta a individuare pivot ciclici e transizioni di ritmo.
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
🔹 ECA 2 – Eccessi, Forza ed Energia del Mercato
ECA 2 analizza come il mercato si muove all’interno della struttura ciclica.
Eccessi e divergenze (Stochastic ciclico)
Oscillatore calibrato sulla stessa ratio ciclica della suite.
Gli incroci tra ciclo inferiore (blu) e superiore (rosso) segnalano potenziali cambi di fase; in area di eccesso, le divergenze certificano spesso la chiusura e ripartenza del ciclo.
Directional Movement System (DMS)
L’ADX misura la forza del movimento, mentre +DI e –DI ne indicano la direzione.
L’incrocio simultaneo di ADX, +DI e –DI segnala un’accelerazione imminente, anche in assenza di forza già espressa.
Market Pulse – Energia reale del mercato
Il Market Pulse misura quanta energia reale sta attraversando il mercato mettendo in relazione:
velocità del prezzo
volume normalizzato
volatilità (ATR rapportato al prezzo)
I tre fattori sono combinati in modo moltiplicativo: se uno manca, l’impulso si indebolisce.
La linea dello zero rappresenta una condizione di equilibrio energetico; valori sopra o sotto indicano uno sbilanciamento reale, rialzista o ribassista.
Il Market Pulse non è un oscillatore classico e non va interpretato in termini di ipercomprato o ipervenduto: serve a valutare la qualità energetica del movimento.
La massima efficacia operativa della suite ECA si ottiene quando tutti i moduli convergono sulla stessa fase di mercato.
Quando tempi ciclici, volatilità, struttura del prezzo, forza del trend ed energia del movimento risultano allineati, il contesto segnala una fase ad alta probabilità operativa.
È applicabile su qualunque time frame o asset perché non è vincolato a dogmatiche e soggettive interpretazioni di analisi tecnica - fondamentale ma sfrutta ciò che realmente sta accadendo sul mercato.
I principali pattern grafici e il Volume Profile (in questa suite tecnicamente non inseribili) forniscono ulteriori conferme e/o indicazioni.
In queste condizioni il segnale non nasce da un singolo indicatore, ma dalla coerenza dell’intero sistema: tempo, volatilità ed energia si muovono nella stessa direzione.
Gli ingressi vanno sempre accompagnati da una corretta gestione del rischio.
Gold Smart Scalper V3 - Clean ChartOverview
The Gold Smart Scalper V3 is a trend-following momentum strategy specifically optimized for XAU/USD (Gold). It focuses on catching "value pullbacks" within a strong trend, avoiding the noise of sideways markets. Unlike many scalpers that use lagging indicators for exits, this version uses fixed ATR-based targets to lock in profits during high-volatility moves common in Gold.
Core Methodology
The strategy operates on three layers of confirmation:
Macro Trend (HTF Filter): Uses a 50-period EMA to ensure trades are only taken in the direction of the higher-timeframe momentum.
The Value Zone: Instead of "chasing" green or red candles, the script waits for a pullback to the space between the 9 EMA and 21 EMA. This ensures a better risk-to-reward entry point.
The Trigger: A trade is only executed when price confirms the resumption of the trend by crossing back over the signal EMA after the pullback.
Key Features
Fixed Profit Targets: Replaced dynamic trailing stops with fixed Take Profit (TP) and Stop Loss (SL) levels based on ATR, ensuring exits aren't "hunted" by Gold's signature volatility spikes.
C lean Chart Interface : All moving average plots are hidden. The only visuals provided are the active TP/SL levels when a trade is live, keeping your workspace clutter-free.
Single-Trade Logic: The script includes a "One Trade Per Cross" gate, preventing the strategy from over-trading or "stacking" positions during choppy price action.
Settings & OptimizationATR Multipliers :
Stop Loss (SL): Default $2.0 \times ATR$. Protects against standard market noise.Take Profit (TP): Default $3.0 \times ATR$. Designed for a high Risk/Reward profile.Timeframe Recommendation: Optimized for 15m and 1H for swing scalping, or 5m for aggressive scalping.Instrument: Specifically tuned for Gold (XAU/USD), but applicable to other high-volatility pairs like GBP/JPY or NASDAQ.
Disclaimer
This script is for educational and backtesting purposes only. Past performance does not guarantee future results. Always practice proper risk management.
The Engulfing Liquidity Signal with Adjustable Trailing StopEngulfing Liquidity Signal with Adjustable Trailing Stop
This strategy is designed to enter long trades based on the Engulfing Liquidity Signal combined with a Trailing Stop. The strategy uses custom volume analysis and price action to detect potential market opportunities. The Trailing Stop is adjustable, allowing traders to customize the distance at which the stop will trail the price.
Key Features:
Engulfing Liquidity Signal: The strategy enters a trade when the market shows signs of strong liquidity and price action, typically when there is a strong reversal signal (bullish engulfing) accompanied by higher volume.
Trailing Stop: A dynamic exit strategy that locks in profits by trailing the stop level behind the highest price achieved since the trade entry. This prevents the position from being closed prematurely while still protecting profits if the market reverses.
Customizable Trailing Stop: Users can adjust the trailing stop percentage via the settings. This allows for greater flexibility in how closely the stop will trail the price.
No Fixed Take Profit: The strategy uses only the trailing stop, ensuring that profits are maximized based on price action without a fixed profit target.
How the Strategy Works:
Buy Signal (LongC):
The strategy triggers a buy signal when a bullish engulfing pattern occurs, and the liquidity conditions align (i.e., the volume is increasing and price action shows signs of a potential reversal).
The strategy enters a long position when the signal conditions are met.
Trailing Stop Logic:
Once the trade is initiated, a trailing stop is applied. The stop level follows the highest price achieved since entry, trailing the price based on a user-defined percentage.
The stop level adjusts upward as the price increases, locking in profits. If the price reverses and hits the trailing stop, the trade is closed.
The trailing stop is dynamic, meaning it moves only in the direction of profit, but it will not move lower once it has been set.
Sell Signal (ShortC):
The position will also be closed if a sell signal (ShortC) is generated. This ensures that the strategy exits the trade when a potential reversal is detected in the market.
No Fixed Take Profit:
The strategy does not use a fixed take profit level. Instead, the profit is managed entirely by the trailing stop, which ensures that positions remain open as long as the market is moving in favor of the trade, allowing the position to capture the maximum possible profit.
Settings:
Trailing Stop Percentage: The user can adjust the trailing stop distance by setting a percentage value between 10% and 100%. This controls how tightly or loosely the trailing stop will follow the price.
Benefits:
Maximized Profits: By using a trailing stop, the strategy aims to capture as much profit as possible without prematurely exiting trades.
Customizable: The adjustable trailing stop allows traders to tailor the strategy to their risk tolerance and market conditions.
Simple & Effective: The strategy is straightforward, relying on price action and volume signals, making it easy to understand and implement.
Ideal Use Case:
This strategy is suitable for traders who prefer to let their profits run and manage risk with a trailing stop. It is particularly useful in trending markets where the price continues to move in one direction for an extended period. By using a trailing stop, the strategy allows you to stay in the market and capture large moves while protecting profits.
This strategy provides an excellent combination of automated trade management with a Trailing Stop and Engulfing Liquidity Signal, making it a solid choice for traders seeking to automate their trades with customizable risk management.
Engulfing Strategy Core Concept:
This is a price action trading strategy that identifies high-probability trade setups by combining multi-timeframe engulfing patterns with Current Market Price (CMP) validation.
How It Works:
H4 Setup Zone (Primary Timeframe)
Identifies Bullish or Bearish Engulfing patterns on the 4-hour timeframe
When detected, marks a zone at the high and low of the engulfed candle
This zone represents the initial setup area
M30 Trade Control Zone (Confirmation Timeframe)
Looks for Engulfing patterns on the 30-minute timeframe
These patterns must form within or near the H4 setup zone
Acts as a confirmation that the setup is valid
CMP Validation (Current Market Price)
Monitors where price is currently trading relative to the zones
Validates whether the pattern is still active or has been invalidated
Helps determine entry timing and stop loss placement
Trade Setup:
Bullish Setup: Red candle engulfed by green candles → Zone marked at red candle's high/low → Wait for M30 confirmation → Enter when CMP validates the pattern
Bearish Setup: Green candle engulfed by red candles → Zone marked at green candle's high/low → Wait for M30 confirmation → Enter when CMP validates the pattern
3 EMA IndicatorThis indicator is a combination og three EMA's
This indicator is a combination og three EMA's
This indicator is a combination og three EMA's
This indicator is a combination og three EMA's
This indicator is a combination og three EMA's
Squeeze Momentum + MACD Balancedcombines Squeeze Momentum and MACD, scaling the MACD to visually match the Squeeze Momentum histogram. I went through your code and it looks mostly correct, but I can give you a few notes and potential improvements to make it cleaner and more robust:
UT Bot + Hull MA Close-Cross Confirm (Strategy)UT Bot + Hull MA Close-Cross Confirm (Strategy)
This strategy combines the classic UT Bot ATR trailing stop with a Hull Moving Average (HMA) close-cross confirmation to reduce false signals and improve trade quality.
The system works in two stages:
UT Bot Signal Detection
A volatility-adjusted ATR trailing stop identifies potential trend shifts using a 1-period EMA crossover. This provides early buy and sell signals based on momentum and volatility.
Hull MA Close-Cross Confirmation
UT Bot signals are only confirmed once price closes across the Hull Moving Average. If a UT signal occurs on the wrong side of the Hull MA, the strategy waits until a valid close-cross occurs before triggering an entry. This confirmation step helps filter chop and late-trend reversals.
Key Features
Non-repainting logic (uses bar-close confirmation)
Futures-friendly design (fixed contracts, point-based TP/SL)
Supports Long, Short, or Both directions
Built-in Take Profit & Stop Loss
Configurable Hull MA type (HMA / EHMA / THMA)
Optional Heikin Ashi signal source
Clean Buy/Sell alerts for automation and webhook execution
Trade Logic Summary
Long Entry:
UT Bot buy signal + confirmed close above Hull MA
Short Entry:
UT Bot sell signal + confirmed close below Hull MA
Exit:
Fixed Take Profit or Stop Loss (user-defined in points)
Alerts & Automation
The strategy includes dedicated Buy Alert and Sell Alert conditions designed for webhook automation (e.g., trade logging, execution engines, or external dashboards). Alerts trigger only on confirmed bar closes, matching backtest behavior.
Intended Use
This strategy is designed for futures markets (e.g., MNQ, ES, GC) and performs best on intraday timeframes. Session filters, risk rules, and trade management can be handled externally if desired.
Disclaimer
This script is provided for educational and research purposes only and is not financial advice. Always test thoroughly and use proper risk management.
VWAP + RVOL (Merged):
📊 VWAP + RVOL (Merged)
VWAP + RVOL (Merged) is a professional intraday trading indicator that combines:
Session VWAP to define institutional direction and fair value
True Intraday Relative Volume (RVOL) to measure real-time volume strength compared to the same minute over previous days
The script is specifically designed for U.S. equities and performs best in:
Premarket momentum
Opening Range Breakout (ORB)
VWAP pullbacks
Scalping & day trading
🔍 What does this indicator provide?
1️⃣ True Intraday RVOL
Calculates minute-accurate relative volume, comparing current volume to the same minute across a user-defined number of prior days
Correctly handles sessions crossing midnight (after-hours & premarket)
Displays RVOL in a separate pane for clean, noise-free analysis
Default RVOL reference levels:
0.5 → Weak volume
1.0 → Normal volume
1.5 → Strong volume
2.0 → Unusual / institutional activity
2️⃣ Session VWAP
True session-based VWAP
Identifies institutional fair value
Acts as a primary directional filter:
Above VWAP → Bullish bias
Below VWAP → Bearish bias
✅ Practical Trading Use
Long Setup:
Price above VWAP
RVOL ≥ 1.5
Light pullback or VWAP retest
Confirmation candle with increasing volume
Avoid trades when:
Price below VWAP
RVOL < 1.0
⚙️ Settings
RVOL Lookback Days – Number of days used for RVOL comparison (default: 5)
RVOL Reference Lines – Toggle RVOL levels on/off
VWAP Source – Price source for VWAP calculation
Hide VWAP on 1D+ – Optional VWAP hiding on higher timeframes
📌 Important Notes
Designed for intraday timeframes only (≥ 1 minute and < 1 day)
Requires volume data from the data provider
Not intended for daily or higher timeframes
🎯 Who is this indicator for?
Momentum traders
Day traders & scalpers
ORB and VWAP pullback strategies
Traders seeking volume confirmation before entry
⚠️ Disclaimer
This indicator is a decision-support tool, not a trading recommendation.
Always apply proper risk management.
WN 5-20-50 SMA Setup (Discrete Lines = SL TP) Multiple Entries Pretty Simple Script as I got this idea from a YouTuber that showed us how to use AI to make TradingView Indicators.
When the 5 day Simple Moving Average Goes Above the 20 day Simple Moving Average it issues a BUY Signal when the Trend itself is over the 50 day Simple Moving Average.
When the 5 day Simple Moving Average Goes Below the 20 day Simple Moving Average it issues a SELL Signal when the Trend itself is under the 50 day Simple Moving Average.
The Green Cloud Represents price over the 50 day Simple Moving Average. BUY signals will only show up in the green cloud.
The Red Cloud Represents price under the 50 day Simple Moving Average. SELL signals will only show up in the green cloud.
The lines represent Stop Loss and two Take Profit Levels. Take Profit 1 is 1.5x the stop loss and Take Profit 2 is 3x the Stop Loss.
This version of the Script has multiple Trend signals for entries so you can scale into a trade when the Trend is being aggressive.






















