EMA Trend Pro: Dynamic Clouds & ColorsEMA Trend Pro is your ultimate trend companion, built for traders who want clarity, precision, and confidence in their entries.
This script fuses dynamic EMA cloud zones with breakout and pullback signals — giving you real-time insights into market structure and momentum. Whether you're trading crypto, forex, stocks, or futures, EMA Trend Pro adapts to your style.
🔧 Key Features:
✅ EMA Stack Clouds with Folding Sensitivity (9/21/48/200)
✅ Bullish / Bearish trend labels with real-time dashboard
✅ Volume strength analysis (High, Normal, Low)
✅ Breakout signal alerts (momentum-based)
✅ Pullback signal alerts (trend resumption)
✅ Fully customizable: EMA lengths, signal visibility, cloud opacity
✅ Works across all assets and timeframes
🛠️ Designed for scalping, swing trading, and intraday setups.
🔔 Built-in alerts make automation seamless — no guesswork.
💡 Usage Tips:
Use clouds and trend labels to identify structure and bias
Trade breakouts when EMAs align and volume confirms
Look for pullbacks into the EMA zone and enter on resumption
📅 Market Hours Filter: Keeps signals relevant during core trading hours (9:30 AM–4 PM ET).
👤 Developed by @glapougbaegarmondeh
🧠 Version 1.0 | 📆 Released: April 24, 2025
Indicators and strategies
Express Generator StrategyExpress Generator Strategy
Pine Script™ v6
The Express Generator Strategy is an algorithmic trading system that harnesses confluence from multiple technical indicators to optimize trade entries and dynamic risk management. Developed in Pine Script v6, it is designed to operate within a user-defined backtesting period—ensuring that trades are executed only during chosen historical windows for targeted analysis.
How It Works:
- Entry Conditions:
The strategy relies on a dual confirmation approach:- A moving average crossover system where a fast (default 9-period SMA) crossing above or below a slower (default 21-period SMA) average signals a potential trend reversal.
- MACD confirmation; trades are only initiated when the MACD line crosses its signal line in the direction of the moving average signal.
- An RSI filter refines these signals by preventing entries when the market might be overextended—ensuring that long entries only occur when the RSI is below an overbought level (default 70) and short entries when above an oversold level (default 30).
- Risk Management & Dynamic Position Sizing:
The strategy takes a calculated approach to risk by enabling the adjustment of position sizes using:- A pre-defined percentage of equity risk per trade (default 1%, adjustable between 0.5% to 3%).
- A stop-loss set in pips (default 100 pips, with customizable ranges), which is then adjusted by market volatility measured through the ATR.
- Trailing stops (default 50 pips) to help protect profits as the market moves favorably.
This combination of volatility-adjusted risk and equity-based position sizing aims to harmonize trade exposure with prevailing market conditions.
- Backtest Period Flexibility:
Users can define the start and end dates for backtesting (e.g., January 1, 2020 to December 31, 2025). This ensures that the strategy only opens trades within the intended analysis window. Moreover, if the strategy is still holding a position outside this period, it automatically closes all trades to prevent unwanted exposure.
- Visual Insights:
For clarity, the strategy plots the fast (blue) and slow (red) moving averages directly on the chart, allowing for visual confirmation of crossovers and trend shifts.
By integrating multiple technical indicators with robust risk management and adaptable position sizing, the Express Generator Strategy provides a comprehensive framework for capturing trending moves while prudently managing downside risk. It’s ideally suited for traders looking to combine systematic entries with a disciplined and dynamic risk approach.
Auto Trend Channel + Buy/Sell AlertsThis indicator automatically detects trend channels using a linear regression line, and dynamically plots upper and lower channel boundaries based on standard deviation. It helps traders identify potential Buy and Sell zones with clear visual signals and customizable alerts.
💡 How It Works:
🧠 Regression-Based Channel: Calculates the central trend line using ta.linreg() over a user-defined length.
📏 Dynamic Boundaries: Upper and lower channel lines are offset by a multiplier of the standard deviation for precision volatility tracking.
✅ Buy Signals: Triggered when price crosses above the lower boundary — potential bounce entry.
❌ Sell Signals: Triggered when price crosses below the upper boundary — potential reversal exit.
🔔 Alerts Enabled: Get real-time alerts when price touches the channel lines.
SynchroTrend Oscillator (STO) [PhenLabs]📊 SynchroTrend Oscillator
Version: PineScript™ v5
📌 Description
The SynchroTrend Oscillator (STO) is a multi-timeframe synchronization tool that combines trend information from three distinct timeframes into a single, easy-to-interpret oscillator ranging from -100 to +100.
This indicator solves the common problem of having to analyze multiple timeframe charts separately by consolidating trend direction and strength across different time horizons. The STO helps traders identify when markets are truly synchronized across timeframes, potentially indicating stronger trend conditions and higher probability trading opportunities.
Using either Moving Average crossovers or RSI analysis as the trend definition metric, the STO provides a comprehensive view of market structure that adapts to various trading strategies and market conditions.
🚀 Points of Innovation
Triple-timeframe synchronization in a single view eliminates chart switching
Dual trend detection methods (MA vs Price or RSI) for flexibility across different markets
Dynamic color intensity that automatically increases with signal strength
Scaled oscillator format (-100 to +100) for intuitive trend strength interpretation
Customizable signal thresholds to match your risk tolerance and trading style
Visual alerts when markets reach full synchronization states
🔧 Core Components
Trend Scoring System: Calculates a binary score (+1, -1, or 0) for each timeframe based on selected metrics, providing clear trend direction
Multi-Timeframe Synchronization: Combines and scales trend scores from all three timeframes into a single oscillator
Dynamic Visualization: Adjusts color transparency based on signal strength, creating an intuitive visual guide
Threshold System: Provides customizable levels for identifying potentially significant trading opportunities
🔥 Key Features
Triple Timeframe Analysis: Synchronizes three user-defined timeframes (default: 60min, 15min, 5min) into one view
Dual Trend Detection Methods: Choose between Moving Average vs Price or RSI-based trend determination
Adjustable Signal Smoothing: Apply EMA, SMA, or no smoothing to the oscillator output for your preferred signal responsiveness
Dynamic Color Intensity: Colors become more vibrant as signal strength increases, helping identify strongest setups
Customizable Thresholds: Set your own buy/sell threshold levels to match your trading strategy
Comprehensive Alerts: Six different alert conditions for crossing thresholds, zero line, and full synchronization states
🎨 Visualization
Oscillator Line: The main line showing the synchronized trend value from -100 to +100
Dynamic Fill: Area between oscillator and zero line changes transparency based on signal strength
Threshold Lines: Optional dotted lines indicating buy/sell thresholds for visual reference
Color Coding: Green for bullish synchronization, red for bearish synchronization
📖 Usage Guidelines
Timeframe Settings
Timeframe 1: Default: 60 (1 hour) - Primary higher timeframe for trend definition
Timeframe 2: Default: 15 (15 minutes) - Intermediate timeframe for trend definition
Timeframe 3: Default: 5 (5 minutes) - Lower timeframe for trend definition
Trend Calculation Settings
Trend Definition Metric: Default: “MA vs Price” - Method used to determine trend on each timeframe
MA Type: Default: EMA - Moving Average type when using MA vs Price method
MA Length: Default: 21 - Moving Average period when using MA vs Price method
RSI Length: Default: 14 - RSI period when using RSI method
RSI Source: Default: close - Price data source for RSI calculation
Oscillator Settings
Smoothing Type: Default: SMA - Applies smoothing to the final oscillator
Smoothing Length: Default: 5 - Period for the smoothing function
Visual & Threshold Settings
Up/Down Colors: Customize colors for bullish and bearish signals
Transparency Range: Control how transparency changes with signal strength
Line Width: Adjust oscillator line thickness
Buy/Sell Thresholds: Set levels for potential entry/exit signals
✅ Best Use Cases
Trend confirmation across multiple timeframes
Finding high-probability entry points when all timeframes align
Early detection of potential trend reversals
Filtering trade signals from other indicators
Market structure analysis
Identifying potential divergences between timeframes
⚠️ Limitations
Like all indicators, can produce false signals during choppy or ranging markets
Works best in trending market conditions
Should not be used in isolation for trading decisions
Past performance is not indicative of future results
May require different settings for different markets or instruments
💡 What Makes This Unique
Combines three timeframes in a single visualization without requiring multiple chart windows
Dynamic transparency feature that automatically emphasizes stronger signals
Flexible trend definition methods suitable for different market conditions
Visual system that makes multi-timeframe analysis intuitive and accessible
🔬 How It Works
1. Trend Evaluation:
For each timeframe, the indicator calculates a trend score (+1, -1, or 0) using either:
MA vs Price: Comparing close price to a moving average
RSI: Determining if RSI is above or below 50
2. Score Aggregation:
The three trend scores are combined and then scaled to a range of -100 to +100
A value of +100 indicates all timeframes show bullish conditions
A value of -100 indicates all timeframes show bearish conditions
Values in between indicate varying degrees of alignment
3. Signal Processing:
The raw oscillator value can be smoothed using EMA, SMA, or left unsmoothed
The final value determines line color, fill color, and transparency settings
Threshold levels are applied to identify potential trading opportunities
💡 Note:
The SynchroTrend Oscillator is most effective when used as part of a comprehensive trading strategy that includes proper risk management techniques. For best results, consider using the oscillator in conjunction with support/resistance levels, price action analysis, and other complementary indicators that align with your trading style.
Volume USDTName:
USDT Volume Bars (Directional Colors)
Description:
This indicator visualizes trading volume in USDT by multiplying the candle's volume by the average of its open and close prices. The result reflects a more realistic estimation of the traded value per candle.
🟩 Green bars: Bullish or neutral candles (close ≥ open)
🟥 Red bars: Bearish candles (close < open)
Useful for spotting high-value inflows and outflows based on actual price-weighted volume.
Multi Scanner Plot & Table V1Here's how to interpret each column in the table:
Price vs MAs:
What it shows: Where the current price is relative to the short-term (e.g., 20-period) and long-term (e.g., 50-period) Simple Moving Averages (SMAs) calculated on your current chart's timeframe.
Interpretation:
Above Both (Green background): Price is above both the short and long MAs. Generally considered a bullish sign for the current trend.
Below Both (Red background): Price is below both MAs. Generally considered a bearish sign.
Mixed (Gray background): Price is between the two MAs (e.g., above the short but below the long, or vice-versa). Indicates indecision or a potential trend change.
RSI Value:
What it shows: The actual numerical value of the Relative Strength Index (RSI) calculated on your current chart's timeframe.
Interpretation: Just the raw RSI number (e.g., 65.32). The background is always gray. You compare this value to standard overbought/oversold levels (like 70/30) or the levels defined in the script's inputs.
RSI Status:
What it shows: Interprets the RSI Value based on the Overbought/Oversold levels set in the script's inputs (default 70/30). Calculated on your current chart's timeframe.
Interpretation:
Overbought (Red background): RSI is above the overbought level (e.g., > 70). Suggests the asset might be due for a pullback or reversal downwards. Red indicates a potentially bearish condition.
Oversold (Green background): RSI is below the oversold level (e.g., < 30). Suggests the asset might be due for a bounce or reversal upwards. Green indicates a potentially bullish condition.
Neutral (Gray background): RSI is between the oversold and overbought levels.
Last Sig Price:
What it shows: The price level where the last "SIG NOW" Buy or Sell signal occurred on your current chart's timeframe.
Interpretation: Helps you see the entry price of the most recent short-term signal generated by this script. The background color matches the signal type: Green for the last Buy signal, Red for the last Sell signal. N/A if no signal has occurred yet.
SIG NOW:
What it shows: This is the main short-term signal generated by the script based on conditions on your current chart's timeframe. It combines the "Price vs MAs" status and specific RSI conditions (price must be above/below both MAs and RSI must be within a certain range defined in the inputs).
Interpretation:
BUY (Green background): The specific buy conditions are met right now. (Price above both MAs AND RSI is strong but not necessarily overbought).
SELL (Red background): The specific sell conditions are met right now. (Price below both MAs AND RSI is weak but not necessarily oversold).
NEUTRAL (Gray background): Neither the Buy nor the Sell conditions are currently met.
ALERT:
What it shows: Flags unusual volume activity on the current bar compared to the recent average volume (calculated on your current chart's timeframe).
Interpretation:
SPIKE (Yellow background, black text): Current volume is significantly higher than the recent average (defined by the Volume Spike Multiplier). Can indicate strong interest or a potential climax.
DUMP (Purple background): Current volume is significantly lower than the recent average (defined by the Volume Dump Multiplier). Can indicate fading interest.
NONE (Gray background): Volume is within the normal range for the lookback period.
SD$:
What it shows: The price level where the last Volume Spike or Dump occurred on your current chart's timeframe.
Interpretation: Shows the price associated with the most recent significant volume event. The background color indicates the type of the last event: Green if the last event was a Spike, Red if the last event was a Dump. N/A if no Spike/Dump has occurred yet.
BB Value (%B):
What it shows: This relates to Bollinger Bands, but specifically calculated on a Higher Timeframe (HTF) that you can set in the inputs (e.g., Daily BBs while viewing an Hourly chart). It shows the Bollinger Band Percent B (%B) value for that HTF. %B measures where the HTF closing price is relative to the HTF upper and lower bands.
Interpretation:
Value > 1: HTF price closed above the HTF upper Bollinger Band.
Value < 0: HTF price closed below the HTF lower Bollinger Band.
Value between 0 and 1: HTF price closed within the HTF Bollinger Bands (e.g., 0.5 is exactly on the middle band).
The background is always gray.
LTS (Long Term Signal):
What it shows: A signal derived only from the Higher Timeframe (HTF) Bollinger Bands.
Interpretation:
BUY (Green background): The HTF price closed above the HTF upper Bollinger Band (see BB Value > 1). Considered a strong bullish signal from the higher timeframe perspective.
SELL (Red background): The HTF price closed below the HTF lower Bollinger Band (see BB Value < 0). Considered a strong bearish signal from the higher timeframe perspective.
NEUTRAL (Gray background): The HTF price closed within the HTF Bollinger Bands.
How to Understand Bollinger Bands and Signals in this Context:
Bollinger Bands are primarily used for the Long Term Signal (LTS) column. This script calculates BBs on a higher timeframe (you choose which one, or it defaults to the chart's timeframe if left blank).
The "LTS" signal triggers:
A BUY when the price on that higher timeframe closes above its upper Bollinger Band. This often indicates strong momentum or a potential breakout.
A SELL when the price on that higher timeframe closes below its lower Bollinger Band. This often indicates strong negative momentum or a potential breakdown.
The "BB Value" column gives you the raw %B number from that same higher timeframe, showing you exactly where the price is relative to the bands (is it just barely above/below, or way outside?).
The script does not directly use Bollinger Bands from the current chart timeframe for the "SIG NOW" or other table signals. The main short-term signals ("SIG NOW") rely on Moving Averages and RSI on the current timeframe. The LTS provides a longer-term perspective using HTF Bollinger Bands.
In summary: Look at the table to quickly gauge:
Short-term trend (Price vs MAs).
Short-term momentum (RSI Status, SIG NOW).
Recent short-term entry points (Last Sig Price).
Current volume anomalies (ALERT).
Long-term strength/weakness based on HTF Bollinger Bands (LTS, BB Value).
Combine these pieces of information to get a more rounded view of the current market conditions according to this specific script's logic.
Jinsu RSI 14### 🔍 **Jinsu RSI 14 – EMA 9 & WMA 45**
**Description:**
This custom indicator combines the classic RSI (Relative Strength Index) with two moving averages — EMA (Exponential Moving Average) and WMA (Weighted Moving Average) — applied directly to the RSI value to provide more nuanced momentum signals.
### 📊 **How It Works**
- **RSI 14** measures market momentum and identifies overbought (above 70) or oversold (below 30) conditions.
- **EMA 9 on RSI** responds quickly to short-term changes, signaling momentum shifts.
- **WMA 45 on RSI** captures long-term sentiment, while placing more emphasis on recent data.
### 🧠 **Signal Interpretation**
- **RSI crosses above EMA 9** → Possible bullish momentum shift.
- **RSI falls below EMA 9** → Possible bearish momentum shift.
- **EMA 9 crosses above WMA 45** → Strong bullish momentum.
- **EMA 9 falls below WMA 45** → Strong bearish momentum.
- **RSI is between EMA 9 & WMA 45** → Market may be consolidating or oscillating.
### 🎨 **Visual Enhancement**
- The neutral zone (RSI between 30–70) is lightly shaded purple to reduce visual noise.
- When **RSI > 70**, a green color appears and intensifies with higher RSI values, highlighting strong buying pressure.
- All values are displayed with two decimal precision for clarity.
This tool is ideal for trend-following traders and momentum-based strategies, helping you recognize early shifts in market sentiment with visual cues and cross confirmations.
Price Map Profile [BigBeluga]An advanced volume-based tool designed to map out how trading activity is distributed across price levels. It combines dynamic volume profiling with structural pivot detection to highlight key levels of interest in the market — including hidden support/resistance zones and dominant liquidity areas.
Unlike traditional volume profiles locked to fixed sessions, this indicator continuously processes historical bars to build a real-time "map" of volume distribution. It intelligently reveals where buyers and sellers were most active, helping traders pinpoint high-impact zones with clarity.
🔵 KEY FEATURES
Creates a volume map profile by scanning price action over a defined lookback window (`length`).
Divides price vertically into volume bins (default: 100) and aggregates either total volume or bar count per bin.
Bins are plotted as horizontal zones extending to the right of the chart — wider offset means more volume at that price.
Each zone is color-coded using gradients to represent volume magnitude:
- Below average volume = cool tones (blue/teal)
- Above average volume = warm tones (red/orange)
The highest volume bin is highlighted with a red label showing the exact volume, helping to identify strong price agreement.
Detects pivot highs and lows using a 15-bar swing method, marking them as potential S/R levels.
If a pivot level is located inside a low-volume zone (volume < average), it is emphasized with a dashed line and label .
Pivot line color matches direction:
- High pivots = yellow
- Low pivots = aqua
The volume of the bin containing the pivot is shown alongside the pivot, providing volume context for the structural level.
Filters out nearby duplicate pivots using ATR-based distance checks to ensure clean and non-redundant signals.
🔵 HOW TO USE
Use the wide red zones as liquidity and consolidation areas where price may stall, reverse, or absorb volume.
Pivot-based dashed lines within low-volume zones highlight hidden support/resistance levels where price may react sharply.
Combine this indicator with trend or order flow tools to validate reversal or breakout setups .
Switch between Volume and Frequency modes to adapt to the type of data your asset provides.
🔵 CONCLUSION
The Price Map Profile transforms raw volume into an actionable visual map. By aligning volume depth with key market structure levels, it helps traders identify where market participants are most active — and where hidden inefficiencies lie. Ideal for traders seeking precision entries, dynamic S/R zones, and deeper volume structure insight.
[Stop!Loss] ADR Signal ADR Signal - a technical indicator located in a separate window, which displays by default the 80%-level , as well as the 100%-level of the average daily range (ADR) for the last 10 days and compares it with the current intraday range. The indicator helps not only with the use of a mathematical-statistical method to identify a potential reversal at the moment during intraday trading, but can also serves as an effective assistant in risk management.
👉 Basic mechanics of the indicator
Firstly, this indicator tracks the performance of the standard ATR indicator on the daily chart, in other words, ADR (Average Daily Range).
Important ❗️The ATR (Average True Range) indicator was created by J. Welles Wilder Jr. He first introduced ATR in his book "New Concepts in Technical Trading Systems", published in 1978. Wilder developed this indicator to measure market volatility to help traders estimate the range of price movements. This indicator is built into TradingView, more details can be found by link: www.tradingview.com
Like ATR , ADR calculates the average true range for a specified period. In this case, the distance in points from the maximum of each day to its minimum is calculated, after which the arithmetic mean is calculated - this is ADR .
👉 Visualization
ADR Signal is located in a separate window on the chart and has 3 levels:
1) "ADR level" (green line) - the same parameter, the calculations of which are briefly described above. There is 100%-level of ATR on the daily chart (ADR).
2) "Current level" (red line) - this is the current price passage within the day, calculated in points. At the start of a new day, this parameter is reset. Therefore, in the indicator window, this line has sharp drops at the start of a new trading day: "A new trading day - the instrument's power reserve is renewed again".
3) "Signal level" (blue line) - this is an individually customized value that demonstrates a certain part of the ADR parameter.
👉 Inputs
1) - is responsible for the ATR indicator period, the value of which will always be calculated on the daily chart. The default value is "10", that is, ATR is calculated for the last 10 days (not including the current one).
2) - signal level (in %). The default value is "0.8", that is, 80%-level of the ADR parameter (set earlier) is calculated.
👉 Style
1) - by default, this level is colored "blue".
2) - by default, this level is colored "red".
3) - by default, this level is colored "green".
👉 How to use this indicator
Important❗️ The two methods of the use of the ADR Signal indicator described below will be most effective when trading intraday (which is highlighted quite well below), so it is more logical to use the indicator information on time periods H1 and below.
1) Identifying potential reversals during intraday trading:
The ADR Signal indicator can be used as a potential individual reversal strategy.
Important ❗️It should be noted that using it in it without additional confirming analysis tools will be a rather aggressive trading approach. Therefore, it is best to support the entry point in particular with other methods.
In this case, the crossing of the red line (the number of points passed within the current day, that is, from the minimum of the current day to its maximum) and the blue line (color of the Signal level based on the default settings), indicates that the trading instrument has passed 80% (based on the default settings for the "Signal level") of its average distance from the maximum to the minimum over the past 10 days (based on the default settings for the "ADR Length"). Such a situation in the context of the mathematical-statistical approach indicates a probable reversal, since the "power reserve" of this instrument is mostly exhausted, so one can expect with a higher probability, at least, a price stop and possibly a reversal. In case of crossing of the red line and the green one (ADR level), it says again that based on the mathematical-statistical approach, this trading instrument has completely exhausted its intraday "power reserve". In this situation, a stop or reversal of the price will be even more likely.
Of course, using the "Signal level" parameter, one can filter out even more reliable situations for potential price reversals within a day, namely, by specifying, for example, 1.5 in the field of this parameter. Under such conditions, in the case of crossing the red and blue lines (based on the default style settings), to say that the trading instrument has passed 150% of its average distance over the last 10 days (based on the default style settings "ADR length"). In this case, the probability of a stop or reversal of the price increases even more.
2) Use in risk management:
In terms of risk management, this indicator is more applicable to open trades. For example, if one had an open Buy-position (especially if it is an intraday trade) and the price has raised significantly during the day, then the crossing of the red line with the blue line , and especially the red line with the green line , may indicate that the price will most likely stop growing, since the "power reserve" is almost or completely exhausted for this instrument within the current day. In this case, one can, at a minimum, move the trade to breakeven or even partially fix the profit.
We will continue to discuss the methods of using this indicator and strategies based on it here. And we are always waiting for your reactions and feedback on this topic 💬.
Thank you for your support 🚀
Amihud Liquidity RatioCalculates liquidity as a sort of moving average over time
The Amihud Illiquidity Ratio (ILLIQ) measures the price impact of trading volume. It's calculated as the absolute daily return divided by the daily dollar volume:
𝐼𝐿𝐿𝐼𝑄ₜ = |𝑅ₜ| / 𝑉𝑂𝐿𝐷ₜ
Where:
|𝑅ₜ| is the absolute value on return day t
𝑉𝑂𝐿𝐷ₜ is the dollar trading volume on day t
Here's how you can incorporate this indicator into your analysis:
1. Identifying Liquidity Regimes:
High Liquidity (Low Indicator Values): When the indicator is consistently low, it suggests a market or asset where it's generally easier to enter and exit positions without significant slippage. This might be a more favorable environment for strategies that rely on tight spreads and efficient order execution.
Low Liquidity (High Indicator Values): When the indicator is consistently high or spiking, it signals periods of lower liquidity. This can lead to:
Increased Volatility: Fewer participants and larger bid-ask spreads can amplify price movements.
Higher Slippage: Executing large orders might result in getting a worse price than expected.
Gap Risk: Significant price gaps can occur between trading sessions due to a lack of continuous trading interest.
---------------------------------------------------------------------------------------------------------------------
2. Confirming Trends and Breakouts:
Trend Confirmation:
Uptrend with Increasing Liquidity (Falling Amihud): A healthy uptrend often sees increasing participation and ease of trading. A falling Amihud during an uptrend can provide confidence in the trend's sustainability.
Uptrend with Decreasing Liquidity (Rising Amihud): An uptrend accompanied by rising Amihud might be less stable. It could suggest that the price increase is driven by fewer participants and might be more prone to reversals.
The same logic applies to downtrends, but in reverse.
---------------------------------------------------------------------------------------------------------------------
Breakout Confirmation:
Breakout with Increasing Liquidity (Falling Amihud): A breakout accompanied by increasing liquidity (falling Amihud) can suggest strong conviction and a higher probability of the breakout being sustained.
Breakout with Decreasing Liquidity (Rising Amihud): A breakout on low liquidity might be more suspect and could be a "fakeout" if there isn't enough sustained buying or selling pressure.
---------------------------------------------------------------------------------------------------------------------
3. Identifying Potential Reversal Points:
Liquidity Exhaustion: Sometimes, a prolonged period of low liquidity (high Amihud) might precede a reversal. The lack of active trading interest at those levels could make the price more susceptible to a shift in sentiment.
Liquidity Surges: A sudden spike in liquidity (a sharp drop in Amihud) after a period of low liquidity could indicate renewed interest and potentially the start of a new trend or a reversal of the previous one.
-----------------------------------------------THANK YOU----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<3-----------------------------------------------
NIG Probability TableNormal-Inverse Gaussian Probability Table
This indicator implements the Normal-Inverse Gaussian (NIG) distribution to estimate the likelihood of future price based on recent market behavior.
📊 Key Features:
- Estimates the parameters (α: tail heaviness, β: skewness, δ: scale, μ: location)
of the NIG distribution using a sliding window over log returns.
- Uses a numerically approximated version of the modified Bessel function (K₁)
to calculate the NIG probability density function (PDF).
- Normalizes the total probability across all bins to ensure the values are interpretable.
- Displays a dynamic probability table showing the chance of future returns falling into each bin.
⚠️ Notes:
- This is a real-time approximation. The Bessel function and posterior inference are simplified.
- Tail probabilities and shape parameters are sensitive to the window size and input settings.
- Useful for risk analysis, option overlays, and strategy filters.
BTC Spot Aggregated Volume + 20EMAThe purpose of this indicator is to provide a more comprehensive view of Bitcoin's spot market activity by combining volume data from several sources.
1. Fetches and aggregates spot volume data for BTC from the following exchanges:
Binance (BTCUSDT)
Coinbase (BTCUSD)
Kraken (BTCUSD)
Bitfinex (BTCUSD)
Bitstamp (BTCUSD)
KuCoin (BTCUSDT)
Gate.io (BTCUSDT)
OKX (BTCUSDT)
Huobi (BTCUSDT)
2. Calculates a 20-period EMA on the aggregated volume to smooth out the data and identify volume trends.
This indicator is particularly useful for traders who want a broader view of real BTC spot market activity, rather than relying on a single exchange's data, which might be misleading or incomplete. By averaging across major exchanges, the indicator helps reduce noise and gives a more accurate picture of volume trends.
Fractal CorridorsFractal Corridors - visual tool that maps market structure through a multi-scale lens, revealing the underlying architecture of price action across time. By processing pivot points at multiple depths, it constructs a layered geometric corridors that reflects the self-similar, scalable nature of financial markets. Each pivot scale connects successive highs and lows with lines, and when both sides are present, fills the space between them, forming polygonal bands that shift in shape and density as volatility and trend evolve.
Inputs
Base Depth: Number of bars for the smallest pivot
Factor: Multiplier between small, medium and large depths
Selectable color of components
The real value of this indicator lies not in generating executive signals, but in offering a structural perspective that blends short-term fluctuations with longer-term market cycles. The output allows to visually assess trends in terms of shapes, detect compression zones, and identify multi-timeframe confluence areas where price is likely to react. Whether used for macro trend confirmation or pattern evaluation, this indicator transforms raw price data into a clear, fractal-informed map of market behavior, helping the user navigate the complexity of emerging price through the language of geometry.
TrendCraft ICT SwiftEdge// The TrendCraft ICT SwiftEdge is a trend-following indicator that combines Simple Moving Averages (SMAs) with Inner Circle Trader (ICT) concepts, specifically Break of Structure (BOS) and Market Structure Shift (MSS), to generate precise buy and sell signals. This unique mashup leverages the strengths of trend confirmation through SMAs and market structure analysis via ICT to help traders identify high-probability trend entries. The indicator is designed to be intuitive, customizable, and suitable for traders of all levels seeking to align with market trends on various timeframes.
//
// ### What It Does
// The indicator plots two SMAs based on the high and low prices of candles to define the trend direction. It colors the SMAs and fills the area between them to visually indicate whether the price is in a bullish (above both SMAs), bearish (below both SMAs), or neutral (between SMAs) state. Simultaneously, it identifies BOS and MSS levels on a user-defined higher timeframe to confirm trend continuation or reversal points. Buy and sell signals are generated when the price closes above/below the latest BOS or MSS level (based on user preference) while also being correctly positioned relative to the SMAs, ensuring alignment with the trend.
//
// ### Why Combine SMAs and ICT?
// SMAs provide a reliable way to gauge trend direction by smoothing price data, but they can lag or generate false signals in choppy markets. ICT's BOS and MSS concepts address this by focusing on key market structure breaks, offering context for significant price movements. By requiring price to close beyond a BOS or MSS level and align with the SMA-defined trend, the TrendCraft ICT SwiftEdge filters out noise and enhances signal reliability. This combination creates a robust system that balances trend-following simplicity with structural market insights, making it ideal for trend traders.
//
// ### How to Use
// 1. **SMA Length**: Adjust the `SMA Length` (default: 20) to control the sensitivity of the SMAs. Shorter lengths react faster to price changes, while longer lengths provide smoother trends.
// 2. **Structure Timeframe**: Set the `Structure Timeframe` to a higher timeframe (e.g., "1H" on a 15M chart) to calculate BOS and MSS levels. This ensures structural signals are based on significant market moves.
// 3. **Chart Timeframe**: Select the `Chart Timeframe` to optimize pivot point calculations for your current chart (e.g., "30M" for a 30-minute chart).
// 4. **Signal Type**: Choose between "BOS" (default) for signals based on trend continuation breaks or "MSS" for signals based on potential reversal points (breakers).
// 5. **Display Options**: Enable/disable `Show Continuation (BOS)` and `Show Breaker (MSS)` to toggle the visibility of BOS and MSS lines. Customize their colors for better chart clarity.
//
// ### Signals
// - **Buy Signal**: Appears when the close price crosses above the latest BOS or MSS level (based on Signal Type) and is above both SMAs, indicating a bullish trend entry. Marked with a green "Buy" label.
// - **Sell Signal**: Appears when the close price crosses below the latest BOS or MSS level (based on Signal Type) and is below both SMAs, indicating a bearish trend entry. Marked with a red "Sell" label.
//
// ### Originality
// The TrendCraft ICT SwiftEdge stands out by integrating the trend-following reliability of SMAs with the structural precision of ICT's BOS and MSS. Unlike standalone SMA or ICT indicators, this script requires both trend alignment and structural confirmation, reducing false signals. The user-selectable Signal Type (BOS or MSS) adds versatility, allowing traders to adapt the indicator to trend-following or counter-trend strategies. Its dynamic timeframe adjustments and visual clarity make it a unique tool for traders seeking to capture trend entries with confidence.
//
// ### Notes
// - Ensure the `Structure Timeframe` is higher than your chart timeframe to avoid calculation issues.
// - Signals are generated only when the trend state changes to avoid redundant signals in the same trend direction.
// - Past performance is not indicative of future results. Always combine this indicator with other analysis and risk management techniques.
Gold ORB Strategy (15-min Range, 5-min Entry)The Gold ORB (Opening Range Breakout) Strategy is designed for day traders looking to capitalize on the price action in the early part of the trading day, specifically using a 15-minute range for identifying the opening range and a 5-minute timeframe for breakout entries. The strategy trades the Gold market (XAU/USD) during the New York session.
Opening Range: The strategy defines the Opening Range (ORB) between 9:30 AM EST and 9:45 AM EST using the highest and lowest points during this 15-minute window.
Breakout Entries: The strategy enters trades when the price breaks above the ORB high for a long position or below the ORB low for a short position. It waits for a 5-minute candle close outside the range before entering a trade.
Stop Loss and Take Profit: The stop loss is placed at 50% of the ORB range, and the take profit is set at twice the ORB range (1:2 risk-reward ratio).
Time Window: The strategy only executes trades before 12:00 PM EST, avoiding late-day market fluctuations and consolidations.
Triad Macro Gauge__________________________________________________________________________________
Introduction
__________________________________________________________________________________
The Triad Macro Gauge (TMG) is designed to provide traders with a comprehensive view of the macroeconomic environment impacting financial markets. By synthesizing three critical market signals— VIX (volatility) , Credit Spreads (credit risk) , and the Stocks/Bonds Ratio (SPY/TLT) —this indicator offers a probabilistic assessment of market sentiment, helping traders identify bullish or bearish macro conditions.
Holistic Macro Analysis: Combines three distinct macroeconomic indicators for multi-dimensional insights.
Customization & Flexibility: Adjust weights, thresholds, lookback periods, and visualization styles.
Visual Clarity: Dynamic table, color-coded plots, and anomaly markers for quick interpretation.
Fully Consistent Scores: Identical values across all timeframes (4H, daily, weekly).
Actionable Signals: Clear bull/bear thresholds and volatility spike detection.
Optimized for timeframes ranging from 4 hour to 1 week , the TMG equips swing traders and long-term investors with a robust tool to navigate macroeconomic trends.
__________________________________________________________________________________
Key Indicators
__________________________________________________________________________________
VIX (CBOE:VIX): Measures market volatility (negatively weighted for bearish signals).
Credit Spreads (FRED:BAMLH0A0HYM2EY): Tracks high-yield bond spreads (negatively weighted).
Stocks/Bonds Ratio (SPY/TLT): Evaluates equity sentiment relative to treasuries (positively weighted).
__________________________________________________________________________________
Originality and Purpose
__________________________________________________________________________________
The TMG stands out by combining VIX, Credit Spreads, and SPY/TLT into a single, cohesive indicator. Its unique strength lies in its fully consistent scores across all timeframes, a critical feature for multi-timeframe analysis.
Purpose: To empower traders with a clear, actionable tool to:
Assess macro conditions
Spot market extremes
Anticipate reversals
__________________________________________________________________________________
How It Works
__________________________________________________________________________________
VIX Z-Score: Measures volatility deviations (inverted for bearish signals).
Credit Z-Score: Tracks credit spread deviations (inverted for bearish signals).
Ratio Z-Score: Assesses SPY/TLT strength (positively weighted for bullish signals).
TMG Score: Weighted composite of z-scores (bullish > +0.30, bearish < -0.30).
Anomaly Detection: Identifies extreme volatility spikes (z-score > 3.0).
All calculations are performed using daily data, ensuring that scores remain consistent across all chart timeframes.
__________________________________________________________________________________
Visualization & Interpretation
__________________________________________________________________________________
The script visualizes data through:
A dynamic table displaying TMG Score , VIX Z, Credit Z, Ratio Z, and Anomaly status, with color gradients (green for positive, red for negative, gray for neutral/N/A).
A plotted TMG Score in Area, Histogram, or Line mode , with adaptive opacity for clarity.
Bull/Bear thresholds as horizontal lines (+0.30/-0.30) to signal market conditions.
Anomaly markers (orange circles) for volatility spikes.
Crossover signals (triangles) for bull/bear threshold crossings.
The table provides an immediate snapshot of macro conditions, while the plot offers a visual trend analysis. All values are consistent across timeframes, simplifying multi-timeframe analysis.
__________________________________________________________________________________
Script Parameters
__________________________________________________________________________________
Extensive customization options:
Symbol Selection: Customize VIX, Credit Spreads, SPY, TLT symbols
Core Parameters: Adjust lookback periods, weights, smoothing
Anomaly Detection: Enable/disable with custom thresholds
Visual Style: Choose display modes and colors
__________________________________________________________________________________
Conclusion
__________________________________________________________________________________
The Triad Macro Gauge by Ox_kali is a cutting-edge tool for analyzing macroeconomic trends. By integrating VIX, Credit Spreads, and SPY/TLT, TMG provides traders with a clear, consistent, and actionable gauge of market sentiment.
Recommended for: Swing traders and long-term investors seeking to navigate macro-driven markets.
__________________________________________________________________________________
Credit & Inspiration
__________________________________________________________________________________
Special thanks to Caleb Franzen for his pioneering work on macroeconomic indicator blends – his research directly inspired the core framework of this tool.
__________________________________________________________________________________
Notes & Disclaimer
__________________________________________________________________________________
This is the initial public release (v2.5.9). Future updates may include additional features based on user feedback.
Please note that the Triad Macro Gauge is not a guarantee of future market performance and should be used with proper risk management. Past performance is not indicative of future results.
Mongoose Capital: FlowWave + Conviction Strip🟩 Indicator Name
Mongoose Capital: FlowWave + Conviction Strip
📜 Short Description
Smoothed Money Flow Oscillator with conviction scoring columns to assess flow strength.
🧠 Description (Long Form)
The Mongoose Capital: FlowWave + Conviction Strip is a refined visualization of money flow dynamics designed to identify shifts in volume pressure and trend strength.
This dual-panel indicator includes:
• FlowWave Line — A smoothed momentum curve built from normalized money flow data, filtered through dual EMAs. Green (positive) and purple (negative) segments help traders quickly assess bias shifts.
• Conviction Score Columns — A histogram below the zero line shows strength of flow deltas (momentum of volume pressure). Green/red bars appear when strength exceeds a critical threshold, while gray bars indicate low conviction.
• Background Zone Coloring — Optional dark red/green gradient to enhance visibility of positive/negative phases.
✅ Designed for traders who value clarity and minimal noise
✅ Pairs well with macro trend filters or breakout strategies
✅ Built and published by Mongoose Capital
🔧 Default Settings
Money Flow Length: 14
Signal Cooldown: 5 bars
Source: HLC3
EMA Wave Filter: 3
Strength Threshold: 20
🧪 Suggested Use
Confirm entries/exits in trend continuation setups
Identify divergences between price and money flow
Filter low-conviction trades using the histogram's gray zone
Spot early accumulation or distribution through wave crossovers
📢 Author
Published by: TheRealMongoose
Powered by: Mongoose Capital
Feel free to tag us in your setups.
M2 Liqudity WaveGlobal Liquidity Wave Indicator (M2-Based)
The Global Liquidity Wave Indicator is designed to track and visualize the impact of global M2 liquidity on risk assets—especially those highly correlated to monetary expansion, like Bitcoin, MSTR, and other macro-sensitive equities.
Key features include:
Leading Signal: Historically leads Bitcoin price action by approximately 70 days, offering traders and analysts a forward-looking edge.
Wave-Based Projection: Visualizes a "probability cloud"—a smoothed band representing the most likely trajectory for Bitcoin based on changes in global liquidity.
Min/Max Offset Controls: Adjustable offsets let you define the range of lookahead windows to shape the wave and better capture liquidity-driven inflection points.
Explicit Offset Visualization: Option to manually specify an exact offset to fine-tune the overlay, ideal for testing hypotheses or aligning with macro narratives.
Macro Alignment: Particularly effective for assets with high sensitivity to global monetary policy and liquidity cycles.
This tool is not just a chart overlay—it's a lens into the liquidity engine behind the market, helping anticipate directional bias in advance of price moves.
How to use?
- Enable the indicator for BTCUSD.
- Set Offset Range Start and End to 70 and 115 days
- Set Specific Offset to 78 days (this can change so you'll need to play around)
FAQ
Why a global liquidity wave?
The global liquidity wave accounts for variability in how much global liquidity affects an underlying asset. Think of the Global Liquidity Wave as an area that tracks the most probable path of Bitcoin, MSTR, etc. based on the total global liquidity.
Why the offset?
Global liquidity takes time to make its way into assets such as #Bitcoin, Strategy, etc. and there can be many reasons for that. It's never a specific number of days of offset, which is why a global liquidity wave is helpful in tracking probable paths for highly correlated risk assets.
Spot Premium with ROCDescription:
This indicator tracks the spot premium of BTC by comparing the perpetual futures price (perp) from Binance against the spot price on Coinbase. The histogram displays the price difference (spot minus perp) with green bars when spot is higher and red when perp carries a premium. The Rate of Change (ROC) line measures how quickly this premium shifts, with an option to normalize fluctuations for greater stability.
Implications & Possible Use Cases:
• Market Sentiment Gauge: A sustained positive premium often indicates bullish sentiment, while a discount can signal bearish bias.
• Arbitrage Signals: Significant divergences between perp and spot may present short-term arbitrage opportunities across exchanges.
• Risk Management & Hedging: Traders can align derivatives and spot positions when premiums deviate sharply, reducing funding cost exposures.
• Funding Rate Insights: Since perp funding rates tend to follow premium levels, this indicator can act as an early warning for funding spikes.
• Trend Confirmation: Use the normalized ROC to confirm continuation or reversal of premium trends, filtering out noise around small diff values.
Let me know if you would like additional features.
Key Levels (4H and Daily)Key Levels (4H and Daily)
This indicator highlights important key price levels derived from the 4-hour (4H) and daily (D) timeframes, providing traders with critical support and resistance areas. The levels are calculated using the highest highs and lowest lows over a customizable lookback period, offering a dynamic view of significant price points that could influence market movement.
Key Features:
Key Levels for 4H and Daily Timeframes:
The indicator calculates and displays the highest high and lowest low over a user-defined period for both the 4-hour and daily timeframes. This helps traders identify key support and resistance levels that could dictate the market's behavior.
Customizable Lookback Period:
Traders can adjust the lookback period (in days) for both the 4-hour and daily timeframes to reflect different market conditions. This flexibility ensures the levels are tailored to your preferred trading style and market conditions.
Horizontal Lines:
The indicator plots horizontal lines at the high and low levels for both timeframes. These levels serve as dynamic support and resistance areas and help traders monitor price action near these critical points.
Real-Time Updates:
The lines adjust automatically with each new bar, providing up-to-date key levels based on the most recent price action and trading session.
Alert Conditions:
Alerts are built-in to notify traders when the price breaks above or below these key levels. Traders can set up notifications to stay informed when significant market moves occur.
How to Use:
Support and Resistance: Use the levels as potential support and resistance areas where price could reverse. Price often reacts at these levels, providing potential trading opportunities.
Breakouts: Pay attention to breakouts above the high or below the low of these levels. A break above the 4H or daily high could indicate bullish momentum, while a break below could signal bearish trends.
Trend Confirmation: Combine these levels with other technical analysis tools to confirm the overall market trend and enhance your trading strategy.
Perfect for:
Day Traders: Use the 4-hour levels for intraday trading setups, such as potential reversals or breakouts.
Swing Traders: The daily levels provide longer-term insights, helping to identify key zones where price might pause, reverse, or break out.
Market Context: Ideal for those who want to contextualize their trades within broader timeframes, helping to understand the market’s structure at multiple time scales.
This description conveys the utility and functionality of the indicator, focusing on how it helps traders identify and monitor key levels that influence market action.
RSI Divergence Strategy - AliferCryptoStrategy Overview
The RSI Divergence Strategy is designed to identify potential reversals by detecting regular bullish and bearish divergences between price action and the Relative Strength Index (RSI). It automatically enters positions when a divergence is confirmed and manages risk with configurable stop-loss and take-profit levels.
Key Features
Automatic Divergence Detection: Scans for RSI pivot lows/highs vs. price pivots using user-defined lookback windows and bar ranges.
Dual SL/TP Methods:
- Swing-based: Stops placed a configurable percentage beyond the most recent swing high/low.
- ATR-based: Stops placed at a multiple of Average True Range, with a separate risk/reward multiplier.
Long and Short Entries: Buys on bullish divergences; sells short on bearish divergences.
Fully Customizable: Input groups for RSI, divergence, swing, ATR, and general SL/TP settings.
Visual Plotting: Marks divergences on chart and plots stop-loss (red) and take-profit (green) lines for active trades.
Alerts: Built-in alert conditions for both bullish and bearish RSI divergences.
Detailed Logic
RSI Calculation: Computes RSI of chosen source over a specified period.
Pivot Detection:
- Identifies RSI pivot lows/highs by scanning a lookback window to the left and right.
- Uses ta.barssince to ensure pivots are separated by a minimum/maximum number of bars.
Divergence Confirmation:
- Bullish: Price makes a lower low while RSI makes a higher low.
- Bearish: Price makes a higher high while RSI makes a lower high.
Entry:
- Opens a Long position when bullish divergence is true.
- Opens a Short position when bearish divergence is true.
Stop-Loss & Take-Profit:
- Swing Method: Computes the recent swing high/low then adjusts by a percentage margin.
- ATR Method: Uses the current ATR × multiplier applied to the entry price.
- Take-Profit: Calculated as entry price ± (risk × R/R ratio).
Exit Orders: Uses strategy.exit to place bracket orders (stop + limit) for both long and short positions.
Inputs and Configuration
RSI Settings: Length & price source for the RSI.
Divergence Settings: Pivot lookback parameters and valid bar ranges.
SL/TP Settings: Choice between Swing or ATR method.
Swing Settings: Swing lookback length, margin (%), and risk/reward ratio.
ATR Settings: ATR length, stop multiplier, and risk/reward ratio.
Usage Notes
Adjust the Pivot Lookback and Range values to suit the volatility and timeframe of your market.
Use higher ATR multipliers for wider stops in choppy conditions, or tighten swing margins in trending markets.
Backtest different R/R ratios to find the balance between win rate and reward.
Disclaimer
This script is for educational purposes only and does not constitute financial advice. Trading carries significant risk and you may lose more than your initial investment. Always conduct your own research and consider consulting a professional before making any trading decisions.
PRO SMC Full Suite BY Mashrur“PRO SMC Full Suite BY Mashrur”
A Pine Script (v5) indicator for TradingView, focused on Smart Money Concepts (SMC). It overlays on price charts and provides visual tools for identifying key institutional trading behaviors.
🎯 Purpose
This script is designed to help traders analyze and trade using SMC principles by automatically detecting:
Order Blocks (OBs)
Fair Value Gaps (FVGs)
Breaks of Structure (BoS)
Liquidity Sweeps (Buy/Sell Side Liquidity Grabs)
Mitigation Entries
⚙️ Inputs / Settings
Show Fair Value Gaps: Toggle FVGs on/off
Higher Timeframe (HTF): Choose HTF for OB analysis
Use HTF OBs: Switch between current TF OBs and HTF OBs
Show Order Blocks: Toggle OBs on/off
Show OB Mitigation Entries: Toggle mitigation entry signals on/off
🧠 Core Logic Overview
🔹 1. Swing Points Detection
Identifies swing highs/lows using a 3-bar pattern (pivot-based structure).
🔹 2. Break of Structure (BoS)
A bullish BoS happens when price closes above the last swing high.
A bearish BoS occurs when price closes below the last swing low.
🔹 3. Order Block Detection
Upon BoS, the script marks the previous candle as the Order Block.
Uses either:
Current TF OBs (based on price action)
HTF OBs (based on candle body direction)
🔹 4. Mitigation Entry Logic
A mitigation occurs when price returns to the OB and reacts with confirmation:
Bullish: price dips into OB and closes above
Bearish: price wicks into OB and closes below
Plots entry markers for these mitigations.
🔹 5. Liquidity Sweeps
Detects equal highs/lows (liquidity zones)
Marks Buy SL when price dips below an equal low then closes above
Marks Sell SL when price breaks above an equal high then closes below
🔹 6. Fair Value Gaps (FVGs)
FVG Up: Gap between candle 3 and candle 1 (low > high )
FVG Down: Gap between candle 3 and candle 1 (high < low )
Plots highlighted boxes on these gaps
📊 Visual Elements
Boxes: For OB zones and FVGs
Shapes:
Labels: OB Buy/Sell entries
Triangles: Buy SL / Sell SL liquidity sweeps
Lines: Equal Highs and Lows
🔔 Alerts
Built-in alerts to notify when:
OB entries are confirmed
Liquidity sweeps happen
Helps in automation or active monitoring
✅ Ideal For
Traders using SMC, ICT concepts, Wyckoff, or institutional trading models
Anyone wanting to automate detection of structural elements on their chart
Clenow MomentumClenow Momentum Method
The Clenow Momentum Method, developed by Andreas Clenow, is a systematic, quantitative trading strategy focused on capturing medium- to long-term price trends in financial markets. Popularized through Clenow’s book, Stocks on the Move: Beating the Market with Hedge Fund Momentum Strategies, the method leverages momentum—an empirically observed phenomenon where assets that have performed well in the recent past tend to continue performing well in the near future.
Theoretical Foundation
Momentum investing is grounded in behavioral finance and market inefficiencies. Investors often exhibit herding behavior, underreact to new information, or chase trends, causing prices to trend beyond fundamental values. Clenow’s method builds on academic research, such as Jegadeesh and Titman (1993), which demonstrated that stocks with high returns over 3–12 months outperform those with low returns over similar periods.
Clenow’s approach specifically uses **annualized momentum**, calculated as the rate of return over a lookback period (typically 90 days), annualized to reflect a yearly percentage. The formula is:
Momentum=(((Close N periods agoCurrent Close)^N252)−1)×100
- Current Close: The most recent closing price.
- Close N periods ago: The closing price N periods back (e.g., 90 days).
- N: Lookback period (commonly 90 days).
- 252: Approximate trading days in a year for annualization.
This metric ranks stocks by their momentum, prioritizing those with the strongest upward trends. Clenow’s method also incorporates risk management, diversification, and volatility adjustments to enhance robustness.
Methodology
The Clenow Momentum Method involves the following steps:
1. Universe Selection:
- A broad universe of liquid stocks is chosen, often from major indices (e.g., S&P 500, Nasdaq 100) or global exchanges.
- Filters should exclude illiquid stocks (e.g., low average daily volume) or those with extreme volatility.
2. Momentum Calculation:
- Stocks are ranked based on their annualized momentum over a lookback period (typically 90 days, though 60–120 days can be common tests).
- The top-ranked stocks (e.g., top 10–20%) are selected for the portfolio.
3. Volatility Adjustment (Optional):
- Clenow sometimes adjusts momentum scores by volatility (e.g., dividing by the standard deviation of returns) to favor stocks with smoother trends.
- This reduces exposure to erratic price movements.
4. Portfolio Construction:
- A diversified portfolio of 10–25 stocks is constructed, with equal or volatility-weighted allocations.
- Position sizes are often adjusted based on risk (e.g., 1% of capital per position).
5. Rebalancing:
- The portfolio is rebalanced periodically (e.g., weekly or monthly) to maintain exposure to high-momentum stocks.
- Stocks falling below a momentum threshold are replaced with higher-ranked candidates.
6. Risk Management:
- Stop-losses or trailing stops may be applied to limit downside risk.
- Diversification across sectors reduces concentration risk.
Implementation in TradingView
Key features include:
- Customizable Lookback: Users can adjust the lookback period in pinescript (e.g., 90 days) to align with Clenow’s methodology.
- Visual Cues: Background colors (green for positive, red for negative momentum) and a zero line help identify trend strength.
- Integration with Screeners: TradingView’s stock screener can filter high-momentum stocks, which can then be analyzed with the custom indicator.
Strengths
1. Simplicity: The method is straightforward, relying on a single metric (momentum) that’s easy to calculate and interpret.
2. Empirical Support: Backed by decades of academic research and real-world hedge fund performance.
3. Adaptability: Applicable to stocks, ETFs, or other asset classes, with flexible lookback periods.
4. Risk Management: Diversification and periodic rebalancing reduce idiosyncratic risk.
5. TradingView Integration: Pine Script implementation enables real-time visualization, enhancing decision-making for stocks like NVDA or SPY.
Limitations
1. Mean Reversion Risk: Momentum can reverse sharply in bear markets or during sector rotations, leading to drawdowns.
2. Transaction Costs: Frequent rebalancing increases trading costs, especially for retail traders with high commissions. This is not as prevalent with commission free trading becoming more available.
3. Overfitting Risk: Over-optimizing lookback periods or filters can reduce out-of-sample performance.
4. Market Conditions: Underperforms in low-momentum or highly volatile markets.
Practical Applications
The Clenow Momentum Method is ideal for:
Retail Traders: Use TradingView’s screener to identify high-momentum stocks, then apply the Pine Script indicator to confirm trends.
Portfolio Managers: Build diversified momentum portfolios, rebalancing monthly to capture trends.
Swing Traders: Combine with volume filters to target short-term breakouts in high-momentum stocks.
Cross-Platform Workflow: Integrate with Python scanners to rank stocks, then visualize on TradingView for trade execution.
Comparison to Other Strategies
Vs. Minervini’s VCP: Clenow’s method is purely quantitative, while Minervini’s Volatility Contraction Pattern (your April 11, 2025 query) combines momentum with chart patterns. Clenow is more systematic but less discretionary.
Vs. Mean Reversion: Momentum bets on trend continuation, unlike mean reversion strategies that target oversold conditions.
Vs. Value Investing: Momentum outperforms in bull markets but may lag value strategies in recovery phases.
Conclusion
The Clenow Momentum Method is a robust, evidence-based strategy that capitalizes on price trends while managing risk through diversification and rebalancing. Its simplicity and adaptability make it accessible to retail traders, especially when implemented on platforms like TradingView with custom Pine Script indicators. Traders must be mindful of transaction costs, mean reversion risks, and market conditions. By combining Clenow’s momentum with volume filters and alerts, you can optimize its application for swing or position trading.