Volatility Flow X – MACD + Ichimoku Hybrid Trail🌥️ Volatility Flow X – Hybrid Ichimoku Cloud Explained
This strategy combines Ichimoku’s cloud structure with real-time price position.
Unlike standard Ichimoku coloring, the cloud here reflects both trend direction and price behavior.
🔍 What the Cloud Colors Mean
🟢 Green Cloud
Senkou A > Senkou B
Price is above the cloud
→ Indicates strong uptrend; suitable for long entries
🔴 Red Cloud
Senkou A < Senkou B
Price is below the cloud
→ Indicates strong downtrend; suitable for short entries
⚪ Gray Cloud
Price contradicts trend, or price is inside the cloud
→ Represents indecision, low momentum; best to avoid entries
⚙️ Technical Features
Ichimoku Components: Tenkan-sen, Kijun-sen, Senkou Span A & B, Chikou Span
Cloud Transparency: 30%
MACD Filter: Optional momentum confirmation (customizable)
Trailing Stop: Optional dynamic trailing stop after trigger level
Directional Control: Long and short trailing rules can be set independently
📚 References
Ichimoku Charts – Nicole Elliott
Algorithmic Trading – Ernie Chan
TradingView Pine Script and hybrid trend models
⚠️ Disclaimer
This strategy is for educational and backtesting purposes only.
It is not financial advice. Always test thoroughly before applying to real trades.
Hareketli Ortalamalar
MVWAP 5/21/50 + LWMA 400Moving vwap de 5,21,50 y media movil ponderada de 400
se puede utilizar con cruces
2 StdDev SMA + Candle Close % (Preço e Volume)(Price - (SMA20 - 2*StdDev20)) / (4*StdDev20): This indicator measures the current price's position relative to a 20-period Simple Moving Average (SMA) and its 2-standard deviation lower band. The result is normalized by 4 times the standard deviation, providing insight into how far the price is from the lower Bollinger Band, scaled by volatility. A higher value indicates the price is further above the lower band.
(Price - (SMA50 - 2*StdDev50)) / (4*StdDev50): Similar to the above, but applied to a 50-period SMA and its 2-standard deviation lower band. It helps assess the price's position relative to medium-term volatility.
(Price - (SMA200 - 2*StdDev200)) / (4*StdDev200): This applies the same logic to a 200-period SMA and its 2-standard deviation lower band. It's useful for evaluating the price's position relative to long-term volatility.
(Volume - (SMAVol200 - 2*StdDevVol200)) / (4*StdDevVol200): This indicator assesses the current volume's position relative to a 200-period Simple Moving Average of Volume and its 2-standard deviation lower band. It helps identify whether current trading volume is significantly above or below its long-term average, scaled by volume volatility.
Close Location in Range (%): This indicator shows where the closing price of the current candle falls within its high-low range, expressed as a percentage. A value of 0% means the close was at the low, 100% means the close was at the high, and 50% means the close was exactly in the middle of the candle's range. It helps visualize the strength of the close relative to the candle's total movement.
Gattsreal EMASummary
The Gattsreal EMA indicator is a complete technical analysis tool designed to provide a clear and immediate view of the market trend and momentum across multiple timeframes. It combines long-term Exponential Moving Averages (EMAs) with a short-term EMA "ribbon," allowing traders to quickly identify the direction of the main trend and the strength of short-term movements.
Indicator Components
The Gattsreal EMA is composed of two main elements, both fully customizable:
Long-Term EMAs (Thick Lines):
EMA 200 (White): Considered the definitive line between a bull market and a bear market. Prices above the 200 EMA are generally considered to be in a long-term uptrend.
EMA 50 (Blue): An important medium-term trend line, often used as a dynamic level of support or resistance.
Short-Term EMA Ribbon:
Consists of a set of 9 EMAs (periods 9, 10, 15, 20, 25, 30, 35, 40, and 45).
The "ribbon" expands when volatility increases and contracts when volatility decreases.
The color of the ribbon's fill changes to indicate short-term momentum:
Green: The ribbon is in an uptrend (fastest EMA above the slowest), suggesting buying pressure.
Red: The ribbon is in a downtrend (fastest EMA below the slowest), suggesting selling pressure.
How to Use the Indicator
The Gattsreal EMA can be used in various ways to enhance your analysis and decision-making:
Main Trend Identification: The price's position relative to the 200 and 50 EMAs helps define your operational bias. It is preferable to trade in the direction of the main trend.
Entry and Exit Signals: The crossing of the price through the EMA ribbon can be used as a signal. For example, when the price crosses and closes above the entire ribbon and it turns green, it can be a buy signal.
Momentum Confirmation: The color and expansion of the ribbon serve as excellent confirmation of the strength of a move. A green and expanding ribbon confirms strong bullish momentum.
Dynamic Support and Resistance: All 11 EMAs can act as dynamic levels of support (in an uptrend) or resistance (in a downtrend).
This indicator is a powerful tool for traders of all levels looking for a visual and effective way to analyze market trends.
Holy GrailThis is a long-only educational strategy that simulates what happens if you keep adding to a position during pullbacks and only exit when the asset hits a new All-Time High (ATH). It is intended for learning purposes only — not for live trading.
🧠 How it works:
The strategy identifies pullbacks using a simple moving average (MA).
When price dips below the MA, it begins monitoring for the first green candle (close > open).
That green candle signals a potential bottom, so it adds to the position.
If price goes lower, it waits for the next green candle and adds again.
The exit happens after ATH — it sells on each red candle (close < open) once a new ATH is reached.
You can adjust:
MA length (defines what’s considered a pullback)
Initial buy % (how much to pre-fill before signals start)
Buy % per signal (after pullback green candle)
Exit % per red candle after ATH
📊 Intended assets & timeframes:
This strategy is designed for broad market indices and long-term appreciating assets, such as:
SPY, NASDAQ, DAX, FTSE
Use it only on 1D or higher timeframes — it’s not meant for scalping or short-term trading.
⚠️ Important Limitations:
Long-only: The script does not short. It assumes the asset will eventually recover to a new ATH.
Not for all assets: It won't work on assets that may never recover (e.g., single stocks or speculative tokens).
Slow capital deployment: Entries happen gradually and may take a long time to close.
Not optimized for returns: Buy & hold can outperform this strategy.
No slippage, fees, or funding costs included.
This is not a performance strategy. It’s a teaching tool to show that:
High win rate ≠ high profitability
Patience can be deceiving
Many signals = long capital lock-in
🎓 Why it exists:
The purpose of this strategy is to demonstrate market psychology and risk overconfidence. Traders often chase strategies with high win rates without considering holding time, drawdowns, or opportunity cost.
This script helps visualize that phenomenon.
HEMA Trend by Rostek (Filters + ATR + RR) For testing by anyone. Enjoy! :)
HEMA Trend Levels with Gradient, ATR-based SL & TP, HTF Filter, and R/R Statistics
This advanced indicator is designed to help you detect high-quality trend crossovers using HEMA (Hull Exponential Moving Average) smoothing logic. It integrates dynamic visualization, strong multi-layer filters, and risk management levels — all in one package.
✅ Core Concept
The indicator plots two HEMAs (fast and slow), with a gradient fill between them that dynamically changes color based on the trend direction. Crossovers between these HEMAs generate potential trade signals (long or short).
🎨 Key Visual Features
Smooth gradient fill area between fast and slow HEMA.
Dynamic arrows marking crossover points (precisely above/below HEMA cross).
Optional ATR-based Stop Loss (SL) and Take Profit (TP) levels shown as dashed lines with labels.
Automatic display of calculated Risk/Reward (R/R) ratio next to TP level.
⚙️ Powerful Filters
You can enable/disable each of these filters individually:
✅ EMA Filter — Confirm signals only when the price is above/below a selected EMA (default: 100).
✅ ADX Filter — Confirms signals only if ADX value exceeds a set threshold (default: 20).
✅ RSI Filter — Filter signals based on RSI value (e.g., >50 for longs, <50 for shorts).
✅ Higher Time Frame (HTF) EMA Filter — Only take signals aligned with a higher timeframe EMA trend (e.g., daily EMA 100).
📏 Risk Management Features
ATR-based Stop Loss (SL): Dynamic stop level calculated using ATR, configurable multiplier (e.g., 1.5 × ATR).
ATR-based Take Profit (TP): Dynamic take profit level based on ATR, configurable multiplier (e.g., 3 × ATR).
Risk/Reward Statistics: Calculates and displays R/R ratio on the chart to help visually evaluate trade setups.
🔔 Alerts
A single unified alert condition for both long and short filtered signals, making it easy to set up TradingView alerts.
⚡ Usage Tips
Adjust HEMA lengths (default: 20 & 40) to tune responsiveness.
Enable/disable filters depending on your strategy and market conditions.
Fine-tune ATR multipliers for SL/TP based on your risk tolerance.
Use HTF filter to trade only in the direction of the main higher timeframe trend.
✅ Ideal for
Trend-following traders who want smoothed entries.
Traders looking for integrated visual risk management levels.
Users who want precise, customizable signals with strong filtering logic.
EMA/DEMA_group_stdThis indicator is like its sister indicator in that it measures dispersion but instead of being cumulative it measures distance between moving averages in each group.
Group 1:11, 13, 18, 21
Group 2:18, 21, 29, 34
Group 3: 29, 34, 47, 55
Group 4: 47, 55, 76, 89
Group 5: 76, 89 123, 144
Group 6: 123, 144, 199, 233
Group 7: 199, 233, 322, 377
How to use
1. Divergences
2. Moving average crosses
3. Momentum
Plotshape colors show when moving averages are nearing a crossover and level can be manually set in menu.
Price Extension from 8 EMAOverview
This indicator can be used to see how far away the price is from the 8 EMA. It compares this to the Average Daily Range % to see if the stock may be overextended. The "Extension Multiplier" represents how far the stock is extended away from the 8 EMA.
Core Concept
This indicator is best used for breakout trades that are trying to make sure they are not chasing the stock.
How to Use This Indicator
This tool is primarily intended for analyzing daily charts of individual stocks and is often used by breakout traders to evaluate potential entry areas.
If the stock is far away from the 8 EMA, it is likely not ready to break out. If it is close to the 8ema, it could be ready to move higher.
This indicator can also be used in the opposite way. For example, shorting or puts.
Understanding the colors
Green (Not Extended): Indicates the price is close to the 8 EMA. This often corresponds to periods of consolidation.
Yellow (Slightly Extended): The price is beginning to move away from the 8 EMA.
Orange (Extended): The price has moved a considerable distance from the 8 EMA.
Red (Very Extended): The price is at an extreme distance from the 8 EMA, historically increasing the likelihood of a pullback or consolidation.
Settings
Info Row Position: Adjusts the vertical position of the display table on the chart. Useful when using other indicators.
ADR Length: Sets the lookback period for calculating the Average Daily Range. Or the average range % for different timeframes.
Timeframe: Determines the timeframe for the EMA and ADR calculation (the default is Daily).
SPX Optimized EMA+VWAP+RSI IndicatorOptimized SPX EMA+VWAP+RSI indicators.
EMA9 = Orange
EMA21 =Blue
EMA50=Purple
EMA200=Red
VWAP=Teal
The SignalThe Signal — 9/21 EMA Cloud Indicator
“The Signal” is a clean, no-nonsense trend-following tool designed for traders who value clarity and precision.
This indicator plots a cloud between the 9-period and 21-period Exponential Moving Averages (EMAs), giving you immediate visual cues on trend direction and momentum. When the 9 EMA crosses above the 21 EMA, the cloud turns green — signaling bullish momentum. When the 9 EMA crosses below the 21 EMA, the cloud turns red — indicating potential bearish pressure.
🔍 Features:
- Minimalist design focused on the two most critical EMAs used by professional traders.
- Dynamic color-coded cloud: green for bullish, red for bearish.
- Optional EMA lines to fine-tune entries/exits.
- Offset control to project the EMAs forward and visualize leading momentum.
🧠 Strategy Recommendations
Basic Strategy:
- Buy Entry: When 9 EMA crosses above 21 EMA and the cloud turns green.
- Sell Entry: When 9 EMA crosses below 21 EMA and the cloud turns red.
- Use a trailing stop-loss or recent swing low/high for exits.
- CME_MINI:NQ1! Combine with volume confirmation or RSI divergence for higher confidence setups.
MA Deviationインジケーター名: MA乖離率インジケーター / MA Deviation Indicator
📖 説明(日本語)
このインジケーターは、3本の移動平均線(MA)の乖離率を視覚化し、相場の過熱感やトレンドの強さを判定するためのツールです。
✅ 主な機能
複数の移動平均タイプに対応:SMA, EMA, WMA, RMA, VWMA, HMAから選択可能。
最大3本の移動平均を自由に設定可能。
それぞれのMA間の乖離率(%)をチャートにプロット。
指定した閾値を超えた時に背景色を表示(緑=乖離が正方向に大きい、赤=負方向に大きい)。
データウィンドウ上で「背景表示フラグ」も確認可能(サインが出ているかどうかが数値で確認できます)。
⚠️ 注意事項
乖離率は過去の価格と比較したものであり、将来の価格を保証するものではありません。
短期トレードよりも、トレンドの強弱や過熱感の把握に適しています。
複数のMAを使用しない場合でも、背景色は他の設定されたMAペアで判定されることにご注意ください。
📖 Description (English)
This indicator visualizes the percentage deviation between up to 3 configurable moving averages (MA), helping traders assess trend momentum and potential overextension.
✅ Key Features
Supports multiple MA types: Choose from SMA, EMA, WMA, RMA, VWMA, and HMA.
Set up to 3 custom MAs with different periods.
Plots the deviation (%) between each pair of selected MAs.
Background color highlights extreme deviations (green = strong positive deviation, red = strong negative deviation).
Data Window flag (1 or 0) shows whether background highlight is active.
⚠️ Notes
Deviation percentages are not predictive, but useful for identifying trend strength or market overheating.
Especially useful for trend analysis, not for exact entry signals.
Even if not all lines are shown, the background color may still appear based on the enabled MA comparisons.
BTCs RSI Dip & EMA Crossover AlertThis indicator helps you catch potential reversal opportunities after a stock or crypto asset becomes oversold.
🛠 How it works:
Watches RSI (Relative Strength Index)
First, it waits for RSI to dip below a level you choose (default is 30), which often signals the asset is oversold and due for a bounce.
Waits for Price Confirmation
After the RSI dip, the indicator watches for the first time price closes above both the 55 EMA and 200 EMA — a strong sign that momentum may be shifting upward.
Sends a “Buy” Signal
When that happens, the script:
Plots a green “Buy” label on the chart
Triggers an alert (labeled "Buy Indicator") so you’re notified immediately
⚙️ Customizable Inputs:
RSI threshold (e.g. 30 or 25)
RSI period (e.g. 14)
EMA lengths (default: 55 and 200)
✅ Designed to:
Avoid false signals by requiring both RSI weakness and price strength
Only trigger once per RSI dip, so you’re not spammed with repeat alerts
Use it to stay patient during downtrends and get alerted when the technicals show a possible turnaround. Great for swing traders and longer-term entries.
Previous Day High/Low with Labelsprevious day range, moving averages editable and with notes to add to the screen
ema/dema_cum_stdThis indicator measures distance between moving averages by first calculating the variance of a group of moving averages the converting to standard deviation by taking the square root of the variance and then normalized by dividing by price (close) and multiplying by 100 ( percent). Here are the groups
Group 1 :11,13, 18, 21
Group 2: 11, 13, 18, 21, 29, 34
Group 3: 11, 13, 18, 21, 29, 34, 47, 55
Group 4: 11, 13, 18, 21, 29, 34, 47, 55, 76, 89
Group 5: 11, 13, 18, 21, 29, 34, 47, 55, 76, 89, 123, 144
Group 6: 11, 13, 18, 21, 29, 34, 47, 55, 76, 89, 123, 144, 199, 233
Group 7: 11, 13, 18, 21, 29, 34, 47, 55, 76, 89, 123, 144, 199, 233, 322, 377
Group 8: 11, 13, 18, 21, 29, 34, 47, 55, 76, 89, 123, 144, 199, 233, 322, 377, 521, 610
Great for showing compression and expansion levels and showing divergences. I try to only use Groups 1-4 or Groups 1-5
Shows when moving average groups squeeze below the set level you set using plot shape function. Shape colors are color coordinated to match moving average dispersion plots
Uses DEMA and EMA
Rolling Log Returns [BackQuant]Rolling Log Returns
The Rolling Log Returns indicator is a versatile tool designed to help traders, quants, and data-driven analysts evaluate the dynamics of price changes using logarithmic return analysis. Widely adopted in quantitative finance, log returns offer several mathematical and statistical advantages over simple returns, making them ideal for backtesting, portfolio optimization, volatility modeling, and risk management.
What Are Log Returns?
In quantitative finance, logarithmic returns are defined as:
ln(Pₜ / Pₜ₋₁)
or for rolling periods:
ln(Pₜ / Pₜ₋ₙ)
where P represents price and n is the rolling lookback window.
Log returns are preferred because:
They are time additive : returns over multiple periods can be summed.
They allow for easier statistical modeling , especially when assuming normally distributed returns.
They behave symmetrically for gains and losses, unlike arithmetic returns.
They normalize percentage changes, making cross-asset or cross-timeframe comparisons more consistent.
Indicator Overview
The Rolling Log Returns indicator computes log returns either on a standard (1-period) basis or using a rolling lookback period , allowing users to adapt it to short-term trading or long-term trend analysis.
It also supports a comparison series , enabling traders to compare the return structure of the main charted asset to another instrument (e.g., SPY, BTC, etc.).
Core Features
✅ Return Modes :
Normal Log Returns : Measures ln(price / price ), ideal for day-to-day return analysis.
Rolling Log Returns : Measures ln(price / price ), highlighting price drift over longer horizons.
✅ Comparison Support :
Compare log returns of the primary instrument to another symbol (like an index or ETF).
Useful for relative performance and market regime analysis .
✅ Moving Averages of Returns :
Smooth noisy return series with customizable MA types: SMA, EMA, WMA, RMA, and Linear Regression.
Applicable to both primary and comparison series.
✅ Conditional Coloring :
Returns > 0 are colored green ; returns < 0 are red .
Comparison series gets its own unique color scheme.
✅ Extreme Return Detection :
Highlight unusually large price moves using upper/lower thresholds.
Visually flags abnormal volatility events such as earnings surprises or macroeconomic shocks.
Quantitative Use Cases
🔍 Return Distribution Analysis :
Gain insight into the statistical properties of asset returns (e.g., skewness, kurtosis, tail behavior).
📉 Risk Management :
Use historical return outliers to define drawdown expectations, stress tests, or VaR simulations.
🔁 Strategy Backtesting :
Apply rolling log returns to momentum or mean-reversion models where compounding and consistent scaling matter.
📊 Market Regime Detection :
Identify periods of consistent overperformance/underperformance relative to a benchmark asset.
📈 Signal Engineering :
Incorporate return deltas, moving average crossover of returns, or threshold-based triggers into machine learning pipelines or rule-based systems.
Recommended Settings
Use Normal mode for high-frequency trading signals.
Use Rolling mode for swing or trend-following strategies.
Compare vs. a broad market index (e.g., SPY or QQQ ) to extract relative strength insights.
Set upper and lower thresholds around ±5% for spotting major volatility days.
Conclusion
The Rolling Log Returns indicator transforms raw price action into a statistically sound return series—equipping traders with a professional-grade lens into market behavior. Whether you're conducting exploratory data analysis, building factor models, or visually scanning for outliers, this indicator integrates seamlessly into a modern quant's toolbox.
BTC SmartMoney + SQZMOM + EMA + Cloud + Trailing Stop (v2.5)🚀 BTC 15-Minute Smart Strategy: SmartMoney + SQZMOM + EMA + Trailing Stop
Designed specifically for the fast-paced and volatile crypto market, this strategy is finely tuned to deliver maximum performance on Bitcoin’s 15-minute chart.
🌟 Key Features:
SmartMoney Concepts (SMC) based CHoCH signals to detect market structure shifts and capture early trend reversals.
SQZMOM (Squeeze Momentum Oscillator) to gauge strong volatility and momentum confluence.
50 & 200 EMA Cloud combining short-term and long-term trend filters for reliable market direction.
ATR-based and manually adjustable Trailing Stop for flexible and automated risk management.
Scientifically optimized Take Profit and Stop Loss levels to minimize losses and maximize gains.
Clear exit labels on chart for real-time trade tracking and decision making.
🔥 Why Choose This Strategy?
Provides fast and reliable signals on 15-minute timeframe, protecting you against sudden market moves.
Maximizes profits with trailing stops while keeping risks controlled.
Built on professional financial models, ideal for both beginners and experienced traders.
📈 How to Use
Easily deploy on TradingView with flexible parameters that adjust to your trading style. Automates entry and exit decisions based on real-time market conditions.
A powerful companion for traders who want a reliable yet aggressive approach to BTC trading on the 15-minute timeframe.
EMA 20 – Yellow DotsA simple EMA 20 designed for high visibility to easily stand out amongst other indicators.
Adjustable EMA Crossover with Signals3 Adjustable Ema's with crossover. These are used for identifying a trend and help with entry and exit signals.
Gabriel's MPT Moving Average RibbonGabriel's MPT Moving Average Ribbon is a cutting-edge, risk-adjusted technical analysis tool that fuses Modern Portfolio Theory (MPT) with adaptive moving average logic to dynamically guide market participants through bullish and bearish conditions.
This ribbon is not a simple MA crossover — it leverages Sharpe Ratio, Sortino Ratio, Omega Ratio, and Value at Risk (VaR) to scale and smooth each moving average using real-time probabilistic efficiency metrics. Combined, these elements create a volatility-weighted, risk-optimized visualization of market structure.
🔍 Core Features:
Multi-Ratio Adaptive Scaling: Moving averages are dynamically weighted by Omega Ratio, Sortino Stdev, Sharpe Winrate, and VaR conditions for smarter price tracking.
Volatility Engine: Supports multiple return models:
Close-to-Close
Parkinson
Garman-Klass
Rogers–Satchell
Yang–Zhang (default for highest accuracy)
Smart Ribbon Construction:
Blends 3 different MA types per ribbon (e.g., SMA, EMA, WMA) for each of the 4 ribbons
Supports WMA-style dynamic weighting using MPT-derived ratios
Sharpe Winrate Estimation: Uses CDF logic to project the probability of success given current Sharpe ratio.
Dynamic Risk Phase Detection (VaR):
Identifies Risk On, Risk Off, or Neutral states using a triple-model composite VaR framework.
🛎️ Alerts Included:
📈 Bullish Crossover Alert: MA #1 crossing above MA #2 with all ribbons aligned upward.
📉 Bearish Crossunder Alert: MA #1 crossing below MA #2 with all ribbons aligned downward.
📊 Omega Ratio Alert: Triggered when Omega exceeds 1 (profitable risk-adjusted reward).
⚠️ Omega Caution Alert: Triggered when Omega drops below 1.
🟢 Risk On Alert: Market enters a favorable, low-risk zone. Deep Value Zone for Long-Term Investing.
🔴 Risk Off Alert: Market enters a cautionary, high-risk phase.
🎯 Use Cases:
Trend Identification: MA ribbon alignment indicates momentum phases.
Risk-Tuned Entries/Exits: Combine ribbon crossovers with VaR/Ratio signals for confirmation.
Institutional Strategy Overlay: Ideal for portfolio managers integrating risk-adjusted technical overlays.
🧠 Pro Tips:
Use "Complete" mode for the most robust risk signal, as it blends Historical, EWMA, and Variance-Covariance ratios.
Customize each MA’s type and length to match your trading horizon (e.g., intraday, swing).
Toggle Ratios Weighted MA for adaptive weighting when market risk fluctuates.
It's set to the settings I use to trade, from MA settings to MPT table. It goes in order: Sharpe Est. Winrate, Deviation of Sortino, Omega Ratio (1 Year), and the Ideal position size according to VaR.
Adjustable EMA Crossover with Signals2 adjustable ema's with a crossover signal. This is to be used for trend identification along with entry and exit signals.
SQZMOM Breakout Strategy📌 SQZMOM Breakout Strategy – Optimized for 15-Minute Intraday Trading
SQZMOM Breakout Strategy is a momentum and volatility-based algorithmic trading system, primarily built around the Squeeze Momentum (SQZMOM) indicator. It is specifically optimized for 15-minute timeframes to exploit intraday breakouts and trend continuations.
📊 Key Features:
✅ Breakout signals based on the Squeeze Momentum indicator
✅ Trend filter using 200-period WMA (visual only, not affecting entries)
✅ RSI filter to avoid trades in overbought/oversold zones
✅ Volume and ATR filters to confirm breakout quality
✅ Position sizing dynamically scales from 5% to 20% based on signal strength
✅ Trailing Stop Loss based on user-adjustable ATR multiple (default: 2.0 ATR)
✅ No fixed Take Profit: trades ride the trend using trailing stops
⚙️ Configurable Inputs:
Bollinger Band & Keltner Channel parameters
RSI thresholds (fixed at 40 to avoid early entries against momentum)
Trailing Stop distance defined by ATR Multiplier for Trailing Stop
All parameters are user-tunable for further optimization
🟢 When Does It Enter a Trade?
Long Entry:
SQZMOM fires bullish breakout + momentum increases + price above WMA200 + sufficient volume & ATR + RSI > 40
Short Entry:
SQZMOM fires bearish breakout + momentum decreases + price below WMA200 + sufficient volume & ATR + RSI < 40
Signal entries are deferred until all filters (especially RSI) align — no crossover logic is used
🎯 Trade Management:
Position Sizing: Adjusted according to momentum strength (val), from 5% to 20%
Exit Strategy: Trailing Stop only, no hard TP — lets profits run
TP/SL logic: Trailing SL moves dynamically with price, distance = ATR × multiplier
📚 Scientific & Practical Foundations:
The model is inspired by John Carter’s “TTM Squeeze” principle: volatility contraction followed by explosive momentum
Position sizing and ATR-based trailing logic follow Ernie Chan’s adaptive risk framework in Algorithmic Trading (2013)
RSI as a trend-quality gate is consistent with classic momentum confirmation rules