Indikatoren und Strategien
MTF Candle Body Break WITH 20SMAMTF Candle Body Break WITH 20SMA: Complete Guide
This indicator is a professional-grade market environment analysis tool designed to synchronize "Market Structure" and "Momentum" across multiple timeframes (MTF).
1. Core Logic: Candle Body Break
Unlike traditional high/low breakouts that include wicks, this tool focuses exclusively on "Body Breaks" (Closing prices).
Logical Basis: Wicks often represent temporary noise. A closing price break signifies a genuine shift in market consensus.
Visualization: * Blue Lines: Bullish Structure.
Red Lines: Bearish Structure.
Gray/Black Lines: Historical breakout levels that often act as future Support or Resistance (S/R Flip).
2. Triple 20SMA System
The indicator automatically plots three generations of 20-period SMAs relative to your current chart.
Short-term (Black): 15-Min 20SMA (On a 1H chart). This acts as the "immediate support" for a strong trend.
Mid-term (Blue): Current TF 20SMA. The backbone of the trend.
Long-term (Red): Higher TF 20SMA. The major trend direction.
3. The Dashboard System (Three Components)
The right side of the screen features a three-part visual system to confirm trend alignment:
① Top-Right Panel: Long-Term Signal
Compares Daily (1D) and 4-Hour (4H) structure.
Blue: Both are bullish.
Red: Both are bearish.
② Middle-Right Bar: Momentum Signal (The "Final Filter")
This vertical bar represents the SMA 10/20 Sync.
Blue: The SMA 10 is above the SMA 20 on the 1-Hour chart. This indicates that short-term momentum is accelerating upward.
Red: The SMA 10 is below the SMA 20. This indicates downward acceleration.
Gray: No clear momentum (ranging or indecisive).
③ Bottom-Right Panel: Short-Term Signal
Compares 1-Hour (1H) and 15-Minute (15M) structure.
Blue: Both are bullish.
Red: Both are bearish.
4. Entry Signal: The "●" (Dot)
The "●" signal is the "Perfect Alignment" trigger. It appears when:
Long-term (Daily/4H) is aligned.
Short-term (1H/15M) is aligned.
Momentum (Middle Bar) is aligned.
When all these turn the same color, the "●" appears, signaling a high-probability trade.
日本語解説:完全版
このインジケーターは、**「相場の構造(実体ブレイク)」と「勢い(移動平均線の同期)」**を全時間軸で一致させ、高勝率なポイントを特定する環境認識ツールです。
1. 核心:実体ブレイク(Body Break)
ヒゲではなく、**「終値(実体)」**で高値・安値を更新した時のみをトレンド転換と見なします。
メリット: 突発的なヒゲによるダマシを排除し、真の構造変化を捉えます。
表示: 青ライン(上昇)、赤ライン(下落)。過去のラインはグレー(サポレジ転換の目安)として残ります。
2. 3本の20SMA
チャートの時間足に合わせて、自動で最適な3本のSMAを描画します。
短期(黒): 15分足20MA(1時間足チャート時)。今の勢いを表し、押し目買いの目印になります。
中期(青): 表示中の時間足の20MA。
長期(赤): 上位足の20MA。
3. 3つのダッシュボード(信号機)
右側に表示される3つのパーツが、トレードの「Go/No-Go」を判定します。
① 右上パネル:長期構造シグナル
日足と4時間足の構造を比較します。ここが「青」なら、大きな流れは上向きです。
② 右中央のバー:モーメンタム・シグナル(真ん中のテーブル)
1時間足のSMA10とSMA20の同期を表します。
青: SMA10 > SMA20(上昇加速中)
赤: SMA10 < SMA20(下落加速中)
役割: 構造が良くても、勢いが死んでいる(レンジ)時はエントリーを避けるための「最終フィルター」です。
③ 右下パネル:短期構造シグナル
1時間足と15分足の構造を比較します。ここが「青」に変わる瞬間が、エントリーの準備段階です。
4. エントリーサイン「●」
「長期・中期(真ん中のバー)・短期」すべての色が揃った瞬間にチャートに「●」が出現します。 すべての時間軸の投資家が同じ方向を向いた「完璧な同調」を示しており、最も期待値の高いエントリーポイントとなります。
HTF Candles on Lower Timeframes (Manual OHLC)Hi everyone, this indicator is designed to plot higher timeframes candles on the chart. Here are the details:
The data is built directly from OHLC values at specific time intervals, instead of using request.security.
It supports 1H / 2H / 4H / 8H / 1D higher timeframes, and can be viewed on lower timeframes such as 5m / 10m / 15m / 30m.
The main idea behind this chart is to serve as a foundation for building other indicators that need to operate on higher timeframes while still being visualized on lower timeframes.
Feel free to share your feedback or ideas for improvement in the comments below.
Elite Cumulative Volume Delta OscillatorOverview
The Elite CVD+ is a premium-grade, session-resettable Cumulative Volume Delta indicator designed exclusively for professional futures and volume-profile traders. By focusing on the cleaner and more actionable Line-Focused mode, it transforms raw order flow data into a precise decision engine that reveals institutional buying/selling pressure, absorption, exhaustion, and high-probability reversal/continuation zones.
Unlike standard CVD tools that accumulate indefinitely or reset awkwardly, this version resets cleanly at your chosen anchor period (default daily) while pulling granular delta from lower timeframes when desired. The result: a smooth, non-repainting line that highlights real-time shifts in aggressive participation without the noise of perpetual accumulation.
Why This Indicator Is Elite-Level Useful
True Institutional Footprint
Cumulative Volume Delta measures the net aggressive buying (bid hits) vs. selling (ask hits). Sustained positive CVD = buyers in control; negative = sellers dominating. When price makes new highs on weakening CVD → classic bearish divergence signaling distribution. The session reset prevents old data from distorting current conviction, making divergences far more reliable than perpetual CVD.
Early Reversal Detection via Absorption & Extremes
Absorption highlighting flags scenarios where heavy delta pushes against price but price refuses to follow (e.g., massive selling into lows yet price holds or closes higher) — textbook trapping/retail stop-hunting.
Session CVD extremes with dynamic test zones pinpoint where aggressive flow is exhausted. Price returning to test these levels often produces high-R:R reversals.
Confluence-Rich Signals
Dual EMAs provide trend/filter context (crossovers, zero-line bounces). Dynamic coloring instantly shows momentum strength. Extreme single-bar delta highlights climax buying/selling. Built-in regular + hidden divergences align order flow with price structure.
Multi-Timeframe Consistency
Optional custom lower-TF delta fetch ensures the same granular data regardless of chart timeframe — critical for traders who switch between 1-min execution charts and 15-min/1H analysis charts.
Clean, Low-Lag Visuals
Thick CVD line with intelligent coloring, subtle backgrounds, persistent extreme lines, and optional labels keep the pane readable even during fast markets. No clutter from inferior candle representations.
How Professional Traders Use Elite CVD+ Most Successfully
Primary Setup Framework
Use on futures with reliable volume delta (ES, NQ, YM, CL, GC, etc.). Best timeframes: 3–15 minutes for intraday, 1H–4H for swing. Combine with price action structure (order blocks, fair value gaps, market profile highs/lows).
Practical Tips for Maximum Edge
Anchor Period: '1D' for regular session trading (resets at 00:00 exchange time). Use '1W' for weekly bias or '4H' for London/NY session-specific flow.
Lower Timeframe Delta: Enable custom and set to '1' or '3' for maximum granularity on indices. Leave disabled on higher charts for smoother read.
Absorption Tuning: Raise threshold to 80–90 on volatile instruments (NQ) to filter noise; lower to 70 on quieter ones (CL, GC).
Divergences: Most powerful on 15M+. Disable hidden on very low TFs if too noisy.
Alerts: Use the master “Any Event” alert for push/email/webhook notifications of zero crosses or new extremes — perfect for mobile monitoring.
Combination Tools: Pair with session VWAP, volume profile (fixed range at highs/lows), or psychological levels for triple confluence.
Algomist.app v1.0🚀 WMA Crossover Momentum Scalper: Algomist.app AUTO-EXECUTION
This strategy is a momentum-based trend-following system optimized for fully automated, high-frequency trade execution via algomist.app webhooks. It systematically enters trades based on a powerful moving average crossover, confirmed by both volume and volatility filters.
⚙️ Core Strategy Logic
This script is designed to capture short- to medium-term moves in trending markets by combining three key indicators:
Trend Confirmation (WMA Crossover): The primary signal is generated when a Fast WMA (50-period) crosses the Slow WMA (100-period). This crossover confirms the shift in the prevailing trend direction.
Volume Filter (VWAP): The trade is only taken if the price is trading above the VWAP for Long entries, or below the VWAP for Short entries. This ensures the trade is aligned with the asset's average price relative to trading volume.
Volatility Filter (ATR): A minimum Average True Range (ATR) filter is applied. This is critical for avoiding entries during periods of extreme low volatility ("chop"), ensuring the market has enough movement to justify the trade.
🔗 Algomist.app Automation Ready
This is the most important feature. The script contains custom-coded alert() functions that output a perfect JSON payload, making it 100% compatible with the algomist.app webhook infrastructure.
Seamless Execution: The strategy instantly transmits all required parameters—symbol, side, entry_price, dynamic stop_loss, and dynamic take_profit—directly to your MT5 terminal through the algomist.app connector.
Simple Setup: To enable live automation, you only need to configure a TradingView alert using the provided webhook URL and the {{strategy.order.alert_message}} placeholder on the bar's close.
Default Asset: The webhook is pre-configured to trade the ETHUSDC symbol. This can be easily adapted to other crypto or Forex pairs within the algomist.app settings.
🛡️ Dynamic Risk Management (ATR-Based)
Risk management is dynamic, ensuring the Stop Loss and Take Profit levels automatically adapt to current market volatility:
Stop Loss (SL): Placed at a customizable (x) * ATR distance from the entry price. The default setting is 3.0x ATR.
Take Profit (TP): Placed at a customizable (x) * ATR distance from the entry price. The default setting is 9.0x ATR, offering a fixed Reward-to-Risk ratio of 3:1 (9.0 / 3.0).
Position Sizing: The script uses strategy.percent_of_equity = 10% for backtesting, but the algomist.app execution is based on an internal calculation using a small percentage (e.g., 5%) of a leveraged notional value for illustrative purposes. Users must set their risk size within the algomist.app platform.
Disclaimer: This script is provided as an example for Algomist.app users and is NOT financial advice. Backtest thoroughly across various assets and timeframes. Past performance is not indicative of future results. The user assumes all responsibility for live trading risk.
Reverse RSI//@version=6
indicator("Reverse RSI", overlay=false)
rsi_length = input.int(14, title="RSI Length", minval=1)
ob_level = input.int(75, title="Overbought Level")
os_level = input.int(25, title="Oversold Level")
invRSI(target, length) =>
target_rs = target / (100 - target)
up = math.max(close-close , 0)
down = math.max(close -close, 0)
prev_avg_up = ta.rma(up, length)
prev_avg_down = ta.rma(down, length)
price_up = target_rs * (prev_avg_down * (length - 1)) - (prev_avg_up * (length - 1)) + close
price_down = (prev_avg_down * (length - 1) - (prev_avg_up * (length - 1)) / target_rs) + close
current_rsi = ta.rsi(close, length)
price = target > current_rsi ? price_up : price_down
price
price_ob = invRSI(ob_level, rsi_length)
price_mid = invRSI(50, rsi_length)
price_os = invRSI(os_level, rsi_length)
upside = (price_ob-close)/close*100
downside = (close-price_os)/close*100
net = upside-downside
plot(upside, title="Upside Line", color=color.green)
plot(downside, title="Downside Line", color=color.red)
plot(net, title="Net Line", color=net>0?color.new(color.green, 30):color.new(color.red, 30), style=plot.style_columns)
hline(0, "Zero Line")
CryptoFlux Dynamo [JOAT]CryptoFlux Dynamo: Velocity Scalping Strategy
WHAT THIS STRATEGY IS
CryptoFlux Dynamo is an open-source Pine Script v6 strategy designed for momentum-based scalping on cryptocurrency perpetual futures. It combines multiple technical analysis methods into a unified system that adapts its behavior based on current market volatility conditions.
This script is published open-source so you can read, understand, and modify the complete logic. The description below explains everything the strategy does so that traders who cannot read Pine Script can fully understand how it works before using it.
HOW THIS STRATEGY IS ORIGINAL AND WHY THE INDICATORS ARE COMBINED
This strategy uses well-known indicators (MACD, EMA, RSI, MFI, Bollinger Bands, Keltner Channels, ATR). The originality is not in the individual indicators themselves, but in the specific way they are integrated into a regime-adaptive system. Here is the detailed justification for why these components are combined and how they work together:
The Problem Being Solved:
Standard indicator-based strategies use fixed thresholds. For example, a typical MACD strategy might enter when the histogram crosses above zero. However, in cryptocurrency markets, volatility changes dramatically throughout the day and week. A MACD crossover during a low-volatility consolidation period has very different implications than the same crossover during a high-volatility trending period. Using the same entry thresholds and stop distances in both conditions leads to either:
Too many false signals during consolidation (if thresholds are loose)
Missing valid opportunities during expansion (if thresholds are tight)
Stops that are too tight during volatility spikes (causing premature exits)
Stops that are too wide during compression (giving back profits)
The Solution Approach:
This strategy first classifies the current volatility regime using normalized ATR (ATR as a percentage of price), then dynamically adjusts ALL other parameters based on that classification. This creates a context-aware system rather than a static threshold comparison.
How Each Component Contributes to the System:
ATR-Based Regime Classification (The Foundation)
The strategy calculates ATR over 21 periods, smooths it with a 13-period EMA to reduce noise from wicks, then divides by price to get a normalized percentage. This ATR% is classified into three regimes:
- Compression (ATR% < 0.8%): Market is consolidating, breakouts are more likely but false signals are common
- Expansion (ATR% 0.8% - 1.6%): Normal trending conditions
- Velocity (ATR% > 1.6%): High volatility, larger moves but also larger adverse excursions
This regime classification then controls stop distances, profit targets, trailing stop offsets, and signal strength requirements. The regime acts as a "meta-parameter" that tunes the entire system.
EMA Ribbon (8/21/34) - Trend Structure Detection
The three EMAs establish trend direction and structure. When EMA 8 > EMA 21 > EMA 34, the trend structure is bullish. The slope of the middle EMA (21) is calculated over 8 bars and converted to degrees using arctangent. This slope measurement quantifies trend strength, not just direction.
Why these specific periods? The 8/21/34 sequence follows Fibonacci-like spacing and provides good separation on 5-minute cryptocurrency charts. The fast EMA (8) responds to immediate price action, the mid EMA (21) represents the short-term trend, and the slow EMA (34) acts as a trend filter.
The EMA ribbon works with the regime classification: during compression regimes, the strategy requires stronger ribbon alignment before entry because false breakouts are more common.
MACD (8/21/5) - Momentum Measurement
The MACD uses faster parameters (8/21/5) than the standard (12/26/9) because cryptocurrency markets move faster than traditional markets. The histogram is smoothed with a 5-period EMA to reduce noise.
The key innovation is the adaptive histogram baseline. Instead of using a fixed threshold, the strategy calculates a rolling baseline from the smoothed absolute histogram value, then multiplies by a sensitivity factor (1.15). This means the threshold for "significant momentum" automatically adjusts based on recent momentum levels.
The MACD works with the regime classification: during velocity regimes, the histogram baseline is effectively higher because recent momentum has been stronger, preventing entries on relatively weak momentum.
RSI (21 period) and MFI (21 period) - Independent Momentum Confirmation
RSI measures momentum using price changes only. MFI (Money Flow Index) measures momentum using price AND volume. By requiring both to confirm, the strategy filters out price moves that lack volume support.
The 21-period length is longer than typical (14) to reduce noise on 5-minute charts. The trigger threshold (55 for longs, 45 for shorts) is slightly offset from 50 to require momentum in the trade direction, not just neutral readings.
These indicators work together: a signal requires RSI > 55 AND MFI > 55 for longs. This dual confirmation reduces false signals from price manipulation or low-volume moves.
Bollinger Bands (1.5 mult) and Keltner Channels (1.8 mult) - Squeeze Detection
When Bollinger Bands contract inside Keltner Channels, volatility is compressing and a breakout is likely. This is the "squeeze" condition. When the bands expand back outside the channels, the squeeze "releases."
The strategy uses a 1.5 multiplier for Bollinger Bands (tighter than standard 2.0) and 1.8 for Keltner Channels. These values were chosen to identify meaningful squeezes on 5-minute cryptocurrency charts without triggering too frequently.
The squeeze detection works with the regime classification: squeeze releases during compression regimes receive additional signal strength points because breakouts from consolidation are more significant.
Volume Impulse Detection - Institutional Participation Filter
The strategy calculates a volume baseline (34-period SMA) and standard deviation. A "volume impulse" is detected when current volume exceeds the baseline by 1.15x OR when the volume z-score exceeds 0.5.
This filter ensures entries occur when there is meaningful market participation, not during low-volume periods where price moves are less reliable.
Volume impulse is required for all entries and adds points to the composite signal strength score.
Cycle Oscillator - Trend Alignment Filter
The strategy calculates a 55-period EMA as a cycle basis, then measures price deviation from this basis as a percentage. When price is more than 0.15% above the cycle basis, the cycle is bullish. When more than 0.15% below, the cycle is bearish.
This filter prevents counter-trend entries. Long signals require bullish cycle alignment; short signals require bearish cycle alignment.
BTC Dominance Filter (Optional) - Market Regime Filter
The strategy can optionally use BTC.D (Bitcoin Dominance) as a market regime filter. When BTC dominance is rising (slope > 0.12), the market is in "risk-off" mode and long entries on altcoins are filtered. When dominance is falling (slope < -0.12), short entries are filtered.
This filter is optional because the BTC.D data feed may lag during low-liquidity periods.
How The Components Work Together (The Mashup Justification):
The strategy uses a composite scoring system where each signal pathway contributes points:
Trend Break pathway (30 points): Requires EMA ribbon alignment + positive slope + price breaks above recent structure high
Momentum Surge pathway (30 points): Requires MACD histogram > adaptive baseline + MACD line > signal + RSI > 55 + MFI > 55 + volume impulse
Squeeze Release pathway (25 points): Requires BB inside KC (squeeze) then release + momentum bias + histogram confirmation
Micro Pullback pathway (15 points): Requires shallow retracement to fast EMA within established trend + histogram confirmation + volume impulse
Additional modifiers:
+5 points if volume impulse is present, -5 if absent
+5 points in velocity regime, -2 in compression regime
+5 points if cycle is aligned, -5 if counter-trend
A trade only executes when the composite score reaches the minimum threshold (default 55) AND all filters agree (session, cycle bias, BTC dominance if enabled).
This scoring system is the core innovation: instead of requiring ALL conditions to be true (which would generate very few signals) or ANY condition to be true (which would generate too many false signals), the strategy requires ENOUGH conditions to be true, with different conditions contributing different weights based on their reliability.
HOW THE STRATEGY CALCULATES ENTRIES AND EXITS
Entry Logic:
1. Calculate current volatility regime from ATR%
2. Calculate all indicator values (MACD, EMA, RSI, MFI, squeeze, volume)
3. Evaluate each signal pathway and sum points
4. Check all filters (session, cycle, dominance, kill switch)
5. If composite score >= 55 AND all filters pass, generate entry signal
6. Calculate position size based on risk per trade and regime-adjusted stop distance
7. Execute entry with regime name as comment
Position Sizing Formula:
RiskCapital = Equity * (0.65 / 100)
StopDistance = ATR * StopMultiplier(regime)
RawQuantity = RiskCapital / StopDistance
MaxQuantity = Equity * (12 / 100) / Price
Quantity = min(RawQuantity, MaxQuantity)
Quantity = round(Quantity / 0.001) * 0.001
This ensures each trade risks approximately 0.65% of equity regardless of volatility, while capping total exposure at 12% of equity.
Stop Loss Calculation:
Stop distance is ATR multiplied by a regime-specific multiplier:
Compression regime: 1.05x ATR (tighter stops because moves are smaller)
Expansion regime: 1.55x ATR (standard stops)
Velocity regime: 2.1x ATR (wider stops to avoid premature exits during volatility)
Take Profit Calculation:
Target distance is ATR multiplied by regime-specific multiplier and base risk/reward:
Compression regime: 1.6x ATR * 1.8 base R:R * 0.9 regime bonus = approximately 2.6x ATR
Expansion regime: 2.05x ATR * 1.8 base R:R * 1.0 regime bonus = approximately 3.7x ATR
Velocity regime: 2.8x ATR * 1.8 base R:R * 1.15 regime bonus = approximately 5.8x ATR
Trailing Stop Logic:
When adaptive trailing is enabled, the strategy calculates a trailing offset based on ATR and regime:
Compression regime: 1.1x base offset (looser trailing to avoid noise)
Expansion regime: 1.0x base offset (standard)
Velocity regime: 0.8x base offset (tighter trailing to lock in profits during fast moves)
The trailing stop only activates when it would be tighter than the initial stop.
Momentum Fail-Safe Exits:
The strategy closes positions early if momentum reverses:
Long positions close if MACD histogram turns negative OR EMA ribbon structure breaks (fast EMA crosses below mid EMA)
Short positions close if MACD histogram turns positive OR EMA ribbon structure breaks
This prevents holding through momentum reversals even if stop loss hasn't been hit.
Kill Switch:
If maximum drawdown exceeds 6.5%, the strategy disables new entries until manually reset. This prevents continued trading during adverse conditions.
HOW TO USE THIS STRATEGY
Step 1: Apply to Chart
Use a 5-minute chart of a high-liquidity cryptocurrency perpetual (BTC/USDT, ETH/USDT recommended)
Ensure at least 200 bars of history are loaded for indicator stabilization
Use standard candlestick charts only (not Heikin Ashi, Renko, or other non-standard types)
Step 2: Understand the Visual Elements
EMA Ribbon: Three lines (8/21/34 periods) showing trend structure. Bullish when stacked upward, bearish when stacked downward.
Background Color: Shows current volatility regime
- Indigo/dark blue = Compression (low volatility)
- Purple = Expansion (normal volatility)
- Magenta/pink = Velocity (high volatility)
Bar Colors: Reflect signal strength divergence. Brighter colors indicate stronger directional bias.
Triangle Markers: Entry signals. Up triangles below bars = long entry. Down triangles above bars = short entry.
Dashboard (top-right): Real-time display of regime, ATR%, signal strengths, position status, stops, targets, and risk metrics.
Step 3: Interpret the Dashboard
Regime: Current volatility classification (Compression/Expansion/Velocity)
ATR%: Normalized volatility as percentage of price
Long/Short Strength: Current composite signal scores (0-100)
Cycle Osc: Price deviation from 55-period EMA as percentage
Dominance: BTC.D slope and filter status
Position: Current position direction or "Flat"
Stop/Target: Current stop loss and take profit levels
Kill Switch: Status of drawdown protection
Volume Z: Current volume z-score
Impulse: Whether volume impulse condition is met
Step 4: Adjust Parameters for Your Needs
For more conservative trading: Increase "Minimum Composite Signal Strength" to 65 or higher
For more aggressive trading: Decrease to 50 (but expect more false signals)
For higher timeframes (15m+): Increase "Structure Break Window" to 12-15, increase "RSI Momentum Trigger" to 58
For lower liquidity pairs: Increase "Volume Impulse Multiplier" to 1.3, increase slippage in strategy properties
To disable short selling: Uncheck "Enable Short Structure"
To disable BTC dominance filter: Uncheck "BTC Dominance Confirmation"
STRATEGY PROPERTIES (BACKTEST SETTINGS)
These are the exact settings used in the strategy's Properties dialog box. You must use these same settings when evaluating the backtest results shown in the publication:
Initial Capital: $100,000
Justification: This amount is higher than typical retail accounts. I chose this value to demonstrate percentage-based returns that scale proportionally. The strategy uses percentage-based position sizing (0.65% risk per trade), so a $10,000 account would see the same percentage returns with 10x smaller position sizes. The absolute dollar amounts in the backtest should be interpreted as percentages of capital.
Commission: 0.04% (commission_value = 0.04)
Justification: This reflects typical perpetual futures exchange fees. Major exchanges charge between 0.02% (maker) and 0.075% (taker). The 0.04% value is a reasonable middle estimate. If your exchange charges different fees, adjust this value accordingly. Higher fees will reduce net profitability.
Slippage: 1 tick
Justification: This is conservative for liquid pairs like BTC/USDT on major exchanges during normal conditions. For less liquid altcoins or during high volatility, actual slippage may be higher. If you trade less liquid pairs, increase this value to 2-3 ticks for more realistic results.
Pyramiding: 1
Justification: No position stacking. The strategy holds only one position at a time. This simplifies risk management and prevents overexposure.
calc_on_every_tick: true
Justification: The strategy evaluates on every price update, not just bar close. This is necessary for scalping timeframes where waiting for bar close would miss opportunities. Note that this setting means backtest results may differ slightly from bar-close-only evaluation.
calc_on_order_fills: true
Justification: The strategy recalculates immediately after order fills for faster response to position changes.
RISK PER TRADE JUSTIFICATION
The default risk per trade is 0.65% of equity. This is well within the TradingView guideline that "risking more than 5-10% on a trade is not typically considered viable."
With the 12% maximum exposure cap, even if the strategy takes multiple consecutive losses, the total risk remains manageable. The kill switch at 6.5% drawdown provides additional protection by halting new entries during adverse conditions.
The position sizing formula ensures that stop distance (which varies by regime) is accounted for, so actual risk per trade remains approximately 0.65% regardless of volatility conditions.
SAMPLE SIZE CONSIDERATIONS
For statistically meaningful backtest results, you should select a dataset that generates at least 100 trades. On 5-minute BTC/USDT charts, this typically requires:
2-3 months of data during normal market conditions
1-2 months during high-volatility periods
3-4 months during low-volatility consolidation periods
The strategy's selectivity (requiring 55+ composite score plus all filters) means it generates fewer signals than less filtered approaches. If your backtest shows fewer than 100 trades, extend the date range or reduce the minimum signal strength threshold.
Fewer than 100 trades produces statistically unreliable results. Win rate, profit factor, and other metrics can vary significantly with small sample sizes.
STRATEGY DESIGN COMPROMISES AND LIMITATIONS
Every strategy involves trade-offs. Here are the compromises made in this design and the limitations you should understand:
Selectivity vs. Opportunity Trade-off
The 55-point minimum threshold filters many potential trades. This reduces false signals but also misses valid setups that don't meet all criteria. Lowering the threshold increases trade frequency but decreases win rate. There is no "correct" threshold; it depends on your preference for fewer higher-quality signals vs. more signals with lower individual quality.
Regime Classification Lag
The ATR-based regime detection uses historical data (21 periods + 13-period smoothing). It cannot predict sudden volatility spikes. During flash crashes or black swan events, the strategy may be classified in the wrong regime for several bars before the classification updates. This is an inherent limitation of any lagging indicator.
Indicator Parameter Sensitivity
The default parameters (MACD 8/21/5, EMA 8/21/34, RSI 21, etc.) are tuned for BTC/ETH perpetuals on 5-minute charts during 2024 market conditions. Different assets, timeframes, or market regimes may require different parameters. There is no guarantee that parameters optimized on historical data will perform similarly in the future.
BTC Dominance Filter Limitations
The CRYPTOCAP:BTC.D data feed may lag during low-liquidity periods or weekends. The dominance slope calculation uses a 5-bar SMA, adding additional delay. If you notice the filter behaving unexpectedly, consider disabling it.
Backtest vs. Live Execution Differences
TradingView backtesting does not replicate actual broker execution. Key differences:
Backtests assume perfect fills at calculated prices; real execution involves order book depth, latency, and partial fills
The calc_on_every_tick setting improves backtest realism but still cannot capture sub-bar price action or order book dynamics
Commission and slippage settings are estimates; actual costs vary by exchange, time of day, and market conditions
Funding rates on perpetual futures are not modeled in backtests and can significantly impact profitability over time
Exchange-specific limitations (position limits, liquidation mechanics, order types) are not modeled
Market Condition Dependencies
This strategy is designed for trending and breakout conditions. During extended sideways consolidation with no clear direction, the strategy may generate few signals or experience whipsaws. No strategy performs well in all market conditions.
Cryptocurrency-Specific Risks
Cryptocurrency markets operate 24/7 without session boundaries. This means:
No natural "overnight" risk reduction
Volatility can spike at any time
Liquidity varies significantly by time of day
Exchange outages or issues can occur at any time
WHAT THIS STRATEGY DOES NOT DO
To be straightforward about limitations:
This strategy does not guarantee profits. Past backtest performance does not indicate future results.
This strategy does not predict the future. It reacts to current conditions based on historical patterns.
This strategy does not account for funding rates, which can significantly impact perpetual futures profitability.
This strategy does not model exchange-specific execution issues (partial fills, requotes, outages).
This strategy does not adapt to fundamental news events or black swan scenarios.
This strategy is not optimized for all market conditions. It may underperform during extended consolidation.
IMPORTANT RISK WARNINGS
Past performance does not guarantee future results. The backtest results shown reflect specific historical market conditions and parameter settings. Markets change constantly, and strategies that performed well historically may underperform or lose money in the future. A single backtest run does not constitute proof of future profitability.
Trading involves substantial risk of loss. Cryptocurrency derivatives are highly volatile instruments. You can lose your entire investment. Only trade with capital you can afford to lose completely.
This is not financial advice. This strategy is provided for educational and informational purposes only. It does not constitute investment advice, trading recommendations, or any form of financial guidance. The author is not a licensed financial advisor.
You are responsible for your own decisions. Before using this strategy with real capital:
Thoroughly understand the code and logic by reading the open-source implementation
Forward test with paper trading or very small positions for an extended period
Verify that commission, slippage, and execution assumptions match your actual trading environment
Understand that live results will differ from backtest results
Consider consulting with a qualified financial advisor
No guarantees or warranties. This strategy is provided "as is" without any guarantees of profitability, accuracy, or suitability for any purpose. The author is not responsible for any losses incurred from using this strategy.
OPEN-SOURCE CODE STRUCTURE
The strategy code is organized into these sections for readability:
Configuration Architecture: Input parameters organized into logical groups (Core Controls, Optimization Constants, Regime Intelligence, Signal Pathways, Risk Architecture, Visualization)
Helper Functions: calcQty() for position sizing, clamp01() and normalize() for value normalization, calcMFI() for Money Flow Index calculation
Core Indicator Engine: EMA ribbon, ATR and regime classification, MACD with adaptive baseline, RSI, MFI, volume analytics, cycle oscillator, BTC dominance filter, squeeze detection
Signal Pathway Logic: Trend break, momentum surge, squeeze release, micro pullback pathways with composite scoring
Entry/Exit Orchestration: Signal filtering, position sizing, entry execution, stop/target calculation, trailing stop logic, momentum fail-safe exits
Visualization Layer: EMA plots, regime background, bar coloring, signal labels, dashboard table
You can read and modify any part of the code. Understanding the logic before deployment is strongly recommended.
- Made with passion by officialjackofalltrades
[RoyalNeuron] RSI-SMA [WidowMaker v1.0]Hey everyone,👋
This is WidowMaker v1.0 — my free take on a really clean, zero-lag smoothed RSI that actually helps you see momentum without all the noise.
What makes it different:
- Smoothed RSI (you pick SMA or EMA) so it doesn’t whipsaw as much as the default one
- Green line when momentum is rising, red when it’s falling — super easy to read at a glance
- Histogram turns solid green for strong upward push, solid red when things are fading
- Very faint green background in oversold (buy zone) and faint red in overbought (caution zone)
Quick way to use it:
- Green line + solid green histogram near the bottom (oversold) → good spot for longs
- Red line + solid red histogram near the top (overbought) → time to think about shorts or taking profit
I made it because I was tired of cluttered indicators that look cool but don’t help much in real trading.
I am thinking of an updated version, still thinking of what to add so that to add value.
Would love your honest feedback — like it, use it, tell me what you’d add. More free tools on the way!
Cheers,
RoyalNeuron 👑
RSI, Smoothed RSI, Momentum, Oscillator, Overbought, Oversold, Histogram, Green Red, Free, Alerts
TG Capital Trident Setup Finder (v6, no-functions)backtest label for FVG setups of the trident pattern which TG capital talks about on chart fanatics
Bollinger BandWidth (Session-Adjusted)Description
This indicator is a session-adjusted version of Bollinger BandWidth (BBW), specifically designed for instruments with limited trading hours, such as European stock indices (e.g., FTSE MIB, DAX, CAC, which trades from 09:00 to 17:30 CET — 8.5 hours) or individual stocks.
Standard Bollinger BandWidth on intraday charts can be distorted because calculations include non-trading periods (flat prices overnight), leading to inaccurate volatility readings.This script dynamically adjusts the Bollinger Bands calculation to approximate daily periods based on the actual trading session length, ensuring the BBW reflects true market volatility during active hours.
Key Features
Session-Adjusted Bollinger Bands:
The lookback period (default 20 days) is converted into an equivalent number of intraday candles based on your chart's timeframe and the session duration. This makes the indicator suitable for intraday timeframes (e.g., 5min, 15min, 1H) on limited-session assets.
Bollinger BandWidth (BBW) as Percentage:
Plots (Upper Band - Lower Band) / Middle Band * 100, a relative measure of volatility (higher values = wider bands = higher volatility).
Dynamic Expansion and Contraction Levels:
Red line: Highest BBW over the selected expansion lookback period (default 25 days) — highlights peak volatility levels.
Green line: Lowest BBW over the selected contraction lookback period (default 25 days) — highlights extreme squeezes (low volatility).
Fully customizable inputs for session hours, BB parameters, and dynamic level periods.
How It Works
Session Adjustment: Input session duration (default 8.5 hours).
The script calculates approximate candles per trading day for your current chart timeframe.
Bollinger Bands are computed using length * candlesPerDay bars, simulating a true multi-day calculation within intraday data.
BBW Calculation:
Basis: Simple Moving Average (SMA).
Deviation: Multiplier × Standard Deviation.
BBW = (2 × Deviation / Basis) × 100.
Dynamic Lines:
Expansion line uses the same session-adjusted period for highest BBW.
Contraction line uses the lowest BBW.
Usage and Trading Ideas
Bollinger BandWidth is a powerful volatility indicator popularized by John Bollinger. Low BBW values indicate band contraction ("Squeeze") — periods of low volatility often followed by strong breakouts. High BBW values indicate expansion — trending or volatile phases that may exhaust and lead to consolidation.
Squeeze Setup:
Watch for BBW dropping toward or below the dynamic low (green) line. This signals potential impending volatility expansion and breakout opportunities.
Expansion Confirmation:
BBW rising above the dynamic high (red) line suggests strong volatility — useful for trend-following or avoiding counter-trend trades.
Combine with price action (e.g., break of support/resistance), volume, or momentum indicators (RSI, MACD) for directional bias.
Ideal for intraday or swing trading on European indices, stocks, or other limited-session instruments where standard BBW would be misleading.
This adjustment makes the indicator more accurate on lower timeframes compared to built-in versions, providing cleaner volatility signals aligned with real trading sessions.
Enjoy the script — feedback welcome!
Victor's Price OscillatorOverview
Victor Sperandeo is a legendary trader, market wizard, and author, famed for his trend-following strategies and expertise in technical analysis.
Victor's Price Oscillator is a classic momentum technical indicator focused purely on price action and price change momentum. It measures the strength and direction of underlying price momentum by calculating cumulative short term price differences and their net change over time. This indicator is designed to identify accelerating or decelerating price movement for stocks, indices, commodities and all tradable assets.
Core Calculation Logic
The indicator uses a straightforward and transparent mathematical calculation with no complex formulas, all steps follow the original design completely:
Calculate the price difference for each bar : Current bar closing price minus the closing price from a set number of bars in the past
Sum these individual price differences across a defined lookback period to get a cumulative price change value
Compute the final oscillator reading by subtracting the historical cumulative value (from a set offset period) from the current cumulative value
Plot the net oscillator value as a single line to visually show the trend of price momentum strength
Parameter Quick Intro
Cumulative Period: Defines momentum calculation window
Price Offset: Sets price comparison lag
Signal Offset: Measures net momentum change
Key Interpretation & Usage Guidelines
Positive oscillator values indicate active upward price momentum. The higher the positive value, the stronger and more sustained the upward price movement
Negative oscillator values indicate active downward price momentum. The lower the negative value, the stronger and more sustained the downward price movement
Rising oscillator line shows accelerating price momentum in the current trend direction (bullish momentum strengthening for up trends, bearish momentum strengthening for down trends)
Falling oscillator line shows decelerating price momentum in the current trend direction (bullish momentum weakening for up trends, bearish momentum weakening for down trends)
This oscillator is best used as a momentum confirmation tool. Combine it with trend analysis, support and resistance levels or volume indicators for comprehensive trading decisions and improved accuracy
ATRlvlThe indicator shows the filtered ATR, and you can specify the level price and see how the instrument behaves relative to the level, taking into account the ATR.
Sarina - 6 EMA Smart Signals - Colored AreasAdvanced 6 EMA system with smart MACD-based color coding. Features triple EMA pairs, dual signal types (MACD-only & FULL), real-time dashboard, and customizable displays. Perfect for multi-timeframe trend analysis with clear visual signals.
# 6 EMA Smart Signals with Colored Areas
## Overview
A sophisticated multi-timeframe indicator featuring three independent EMA systems with intelligent color coding based on MACD momentum. Perfect for traders who want clear visual signals and comprehensive trend analysis.
## Key Features
✅ **Triple EMA System** - 6 EMAs total (3 fast + 3 slow)
✅ **Smart Color Coding** - 4-color system based on MACD strength
✅ **Dual Signal Types** - MACD-only & FULL (EMA crossover) signals
✅ **Real-time Dashboard** - Compact table with all vital statistics
✅ **Fully Customizable** - Adjust every color, period, and display option
## How It Works
The indicator plots three pairs of EMAs, each representing different time horizons. The area between each fast/slow EMA pair is colored based on the corresponding MACD histogram's strength and direction. This creates an intuitive visual representation of momentum across multiple timeframes.
## Signal Interpretation
- **🟢 Green Triangles (Below Bar):** Buy signals
- **🔴 Red Triangles (Above Bar):** Sell signals
- **Faint Triangles:** MACD-only signals (quicker, more sensitive)
- **Bright Triangles:** FULL signals (EMA crossover + MACD, more reliable)
## Best Practices
1. **Start with defaults** - The preset periods (9/13, 21/34, 55/89) work well across most markets
2. **Use multi-system confirmation** - Wait for at least 2 systems to agree before entering
3. **Watch color alignment** - When all three areas turn the same color, the trend is strongest
4. **Combine with price action** - Use support/resistance levels for better entries
## Compatibility
- Works on all markets (Forex, Stocks, Crypto, Commodities)
- Suitable for all timeframes (1 minute to monthly)
- Compatible with other indicators
## Settings Guide
### EMA Systems
- **System 1 (Blue):** Short-term signals
- **System 2 (Green):** Medium-term trend
- **System 3 (Orange):** Long-term direction
### Display Options
- Toggle individual systems on/off
- Choose between MACD colors or solid fills
- Adjust signal visibility independently
## Disclaimer
This indicator is for educational and research purposes only. Past performance does not guarantee future results. Always practice proper risk management and consult with a financial advisor before trading.
Stress & Recovery Daily Stock/BTC This indicator is a stress → recovery regime tool designed for Daily charts (Bitcoin and equities). It combines Williams Vix Fix (WVF) to detect panic/capitulation conditions (potential bottoms) with RSI vs EMA(RSI) to confirm the start of a recovery phase — but only when that recovery occurs within a configurable number of bars after a WVF panic event.
It is not a generic trend indicator. It focuses on one specific sequence:
Panic spike (WVF) → Recovery confirmation (RSI crossing above EMA(RSI)).
What it Shows
1) Red Bottom Shadow (Panic Zone)
A red shaded area below the baseline appears when WVF triggers a panic condition. This highlights periods where downside pressure and “panic-like” behavior are elevated.
To avoid clutter, the red triangle marker (▼) is plotted only once per red cluster, specifically on the last bar of the panic cluster (end of the WVF signal streak).
2) Green State Ribbon (Recovery Regime)
A green ribbon above the baseline indicates a recovery regime. You can choose how the green signal behaves:
Crossover only: green is active only on the single bar where RSI crosses above EMA(RSI).
State (RSI > EMA): green stays active as long as RSI remains above EMA(RSI).
3) Amber Ribbon (Conflict State)
If panic (WVF) and recovery (green state) overlap, the ribbon turns amber.
This indicates a mixed condition: panic is still present, but momentum is attempting to reverse.
4) Green Triangle Marker (▲) — Validated Recovery Start
A green triangle (▲) appears only when RSI crosses above EMA(RSI) AND that crossover happens within N bars from the most recent WVF panic zone. This time-window filter helps avoid unrelated RSI crossovers that occur far from capitulation events.
How to Use
- Treat red shadow as a “panic/stress zone”.
- Look for the green triangle (▲) as the first validated recovery trigger after panic.
- Use green ribbon as a recovery regime filter (especially in “State” mode).
- Use amber ribbon as a caution zone (overlap = mixed signals).
This indicator is best used as a context and timing filter, not as a complete trading system by itself.
Notes:
- Designed and tuned for Daily timeframe usage.
- Signals may behave differently on intraday timeframes or illiquid assets.
EMA 21 Pullback - Swing Break (Single Signal)EMA 21 Pullback Swing Break – Single Entry Indicator
This indicator is designed for traders who prefer clean, structure-based entries
instead of frequent signals.
LOGIC:
1. EMA 21 defines the trend direction.
2. Price must pull back to EMA 21 (mandatory).
3. After pullback, an internal swing is formed.
4. Entry signal is generated only when that swing is broken.
5. Only ONE signal is allowed per EMA pullback.
6. Next signal appears only after price touches EMA again.
BUY CONDITIONS:
- Price above EMA 21
- Pullback to EMA 21
- Internal swing high formed after pullback
- Candle closes above that swing high
SELL CONDITIONS:
- Price below EMA 21
- Pullback to EMA 21
- Internal swing low formed after pullback
- Candle closes below that swing low
FEATURES:
✔ No repaint
✔ Structure-based entries
✔ Single signal per pullback
✔ Works best in trending markets
✔ Avoids sideways noise
BEST USE:
- Index trading (NIFTY, BANKNIFTY, SENSEX)
- Timeframes: 3m, 5m, 15m
- Combine with price action or higher timeframe trend
DISCLAIMER:
This indicator is for educational purposes only.
Always use proper risk management.
Weekly Debit Spread VWAP + Prior Day + Dual ConfirmOpen Debit Spreads using previous day and current vwap
SMC Single EQH / EQL (Clean)Equal High Equal Low: This chart mark equal high/ Equal low with utmost accuracy.
LockPoint TrackerLockPoint Tracker is a simple yet powerful tool for visually tracking price movement from a locked reference point.
Key Features:
• Lock any bar’s closing price with a single click.
• Reference line drawn at the locked price for clear visual context.
• “L” label marks the locked bar.
• Live percentage change label shows how far the current price has moved from the locked level.
• Green above the bar for gains, red below for losses.
• Automatically disappears on the next bar — always shows only the live value.
• Configurable label padding for optimal visibility on any chart or timeframe.
LockPoint Tracker is perfect for traders who want to monitor key levels, measure intrabar moves, or visually track performance from specific price points without cluttering the chart.
Stack Detector Stack Detector, which is showing how the ma moves as a chart goes by.
It help you the power of the waves
TTM Squeeze Screener FriendlyTTM Squeeze indicator optimized for use with TradingView Pine Screener — computes squeeze on/just‑on/release and momentum on the chart symbol (60m default).
Mag 7 EMA Trend MonitorDashboard Layout:
1. Symbol Column: The Mag 7 tickers.
2. Trend Column: Visual Bull/Bear status.
3. Strength Column: Percentage distance from the mean (EMA 21).
4. Aggregate Row: Summary of market breadth and average sector pull/push.
How to Interpret the Trend Strength:
• Positive %: The stock is trading above its 21 EMA. A very high number (e.g., $+15\%$) might suggest the stock is "overbought" or overextended.
• Negative %: The stock is trading below its 21 EMA. A very low number (e.g., $-10\%$) might suggest it is "oversold."
• Avg Strength: This gives you a bird's-eye view of the sector. If the aggregate is "5 Up / 2 Down" but the Avg Strength is only $+0.5\%$, the trend is weak and might be exhausting.
"Pro-tips" for tool:
• Multi-Timeframe Correlation: Try setting the Dashboard Timeframe to "D" (Daily) while trading on a "5m" or "15m" chart. This allows you to see if your intraday trade is aligned with the "Big Money" trend of the week.
• The 4/7 Rule: Watch for that Aggregate row to hit 4 out of 7. In the Mag 7, since these stocks carry so much weight in the SPY and QQQ, a shift to a majority (4+) often precedes a move in the overall market indices.
Jimbob rangethis is a range indication for round numbers should give you levels to trade off when price is in new all time highs where there is no price action to level off.






















