Mean Reversion StrategyMean reversion strategy, with stop-loss, using small time frames like 1-minute or 5-minute charts.
均值回归策略,带止损,选择小周期1m,或者5m
Chỉ báo và chiến lược
CMF, RSI, CCI, MACD, OBV, Fisher, Stoch RSI, ADX (+DI/-DI)Eight normalized indicators are used in conjunction with the CMF, CCI, MACD, and Stoch RSI indicators. You can track buy and sell decisions by tracking swings. The zero line is for reversal tracking at -20, +20, +50, and +80. You can use any of the nine indicators individually or in combination.
Timebender – 369 PivotsTimebender – 369 Pivots is a clean visual study that marks swing highs and lows with numeric “369-sequence” digits derived from time.
Each digit is automatically color-coded into Accumulation (1 – 3), Manipulation (4 – 6), and Distribution (7 – 9) phases, helping traders identify rhythm and symmetry in market structure.
Labels float above or below bars for clear visibility and never overlap price, allowing smooth zoom and multi-timeframe use.
This base model focuses on clarity, precision, and efficient plotting — no toggles, no clutter — a stable foundation for future Timebender builds.
TREND (Type II) | Hamster-CoderTREND (Type II) — Smart Trend Reversal Indicator Based on RCI & MACD
TREND (Type II) is a powerful tool for traders who want to spot not just where the market is now, but where it might be heading next.
It combines the analytical strength of RSI and MACD to identify potential trend reversal points before they become obvious on the chart.
🚀 Key Advantages
Early trend detection. TREND can anticipate possible reversals even before the actual crossover occurs.
Flexible visualization. Displayed in a separate panel while showing buy/sell signals directly on the main chart.
Multi-timeframe support. Analyze signals from higher or lower timeframes without switching charts.
Intuitive color background. The background automatically turns red during bearish conditions for instant market sentiment recognition.
🎯 Signal Types
Primary Signal. When RCI and MACD lines actually cross, confirming a trend shift.
Preliminary Signal. When a crossover is projected to occur on the next bar.
Overheat Signal. When the market reaches a defined threshold (e.g. ±90) and starts showing signs of cooling down.
🧠 Unique Features
Extra Filters (experimental). Filters out weak or false signals, showing only those confirmed by additional criteria.
RCI–MACD Difference Mode. Visualize the distance between RCI and MACD as a histogram to assess divergence strength.
Custom Thresholds. Define your own overbought/oversold zones to fine-tune signal sensitivity.
🔍 Who It’s For
TREND (Type II) is ideal for traders who:
seek dynamic entry and exit points without lagging indicators;
want visual and statistical confirmation of trend changes;
build multi-layered strategies requiring signal validation.
💬 Use TREND (Type II) to see the market one step ahead.
This isn’t just another indicator — it’s an early warning system for potential trend reversals .
Buy & Sell Liquidity Swings (v5)cette indicateur permets de buy ou sell selon la tendance du marcher
Gold and Bitcoin: The Evolution of Value!The Eternal Luster of Gold
In the dawn of time, when the earth was young and rivers whispered secrets to the stones, a wanderer named Elara found a gleam in the silt of a sun-kissed stream. It was pure gold, radiant like a captured star fallen from the heavens. She held it in her palm, feeling its warmth pulse like a heartbeat, and in that moment, humanity’s soul awakened to the allure of eternity.
As seasons turned to centuries, gold wove itself into the story of empires. In ancient Egypt, pharaohs crowned themselves with its glow, believing it to be the flesh of gods. It built pyramids that reached for the sky and tombs that guarded kings forever. Across the sands in Mesopotamia, merchants traded it for spices and silks, its weight a promise of power and trust.
Translation moment: Gold became the first universal symbol of value. People trusted it more than words or promises because it did not rust, fade, or vanish.
The Greeks saw in gold not only wealth but wisdom, the symbol of the sun’s eternal fire. Alexander the Great carried it across the continent, forging an empire of golden threads. Rome rose on its back, minting coins whose clink echoed through history.
Through the ages, gold endured the rush of California’s dreamers, the halls of Versailles, and the quiet vaults of modern fortunes. It has been both a curse and a blessing, the fuel of wars and the gift of love, whispering of beauty’s fragility and the human desire for something that lasts beyond the grave. In its shine, we see ourselves fragile yet forever chasing light.
The Digital Dawn of Bitcoin
Centuries later, under the glow of computer screens, a visionary named Satoshi dreamed of a new gold born not from the earth but from the ether of ideas. Bitcoin appeared in 2009 amid a world weary of banks and broken trust.
Like gold’s ancient gleam, Bitcoin was mined not with picks but with puzzles solved by machines. It promised freedom, a currency without kings, flowing from person to person, unbound by borders or empires.
Translation moment: Bitcoin works like digital gold. Instead of digging the ground, miners use computers to solve problems and unlock new coins. No one controls it, and that is what makes it powerful.
Through doubt and frenzy, it rose as a beacon for those seeking sovereignty in a digital world. Its volatility became its soul, a reminder that true value is built on belief. Bitcoin speaks to ingenuity and rebellion, a star of code guiding us toward a future where wealth is weightless yet profoundly honest.
Gold’s Cycles: Echoes of War and Crisis
In the early 20th century, gold was held under fixed prices until the Great Depression of 1929 shattered these illusions. The 1934 dollar devaluation lifted it from 20.67 to 35, restoring faith amid despair. When World War II erupted in 1939, gold’s role as a refuge was muted by controls, yet it quietly held its place as the world’s silent guardian.
The 1970s awakened its wild spirit. The Nixon Shock of 1971 freed gold from 35, sparking a bull run during the 1973 Oil Crisis. The 1979 Iranian Revolution led to a 1980 peak of 850, a leap of more than 2,000 percent, as investors sought safety from the chaos.
Translation moment: When fear rises, people rush to gold. Every major war or economic crisis has sent gold upward because it feels safe when paper money loses trust.
The 1987 stock crash caused brief dips, but the 1990 Gulf War reignited its glow. Around 2000, after the Dot-com Bust, gold found new life, climbing from $ 270 to over $1,900 during the 2008 Financial Crisis. It dipped to 1050 in 2015, then surged again past 2000 during the 2020 pandemic.
The 2022 Ukraine War added another chapter with prices climbing above 2700 by 2025. Across a century of crises, gold has risen whenever fear tested humanity’s resolve, teaching patience and fortitude through its quiet endurance.
Bitcoin’s Cycles: Echoes of Innovation and Crisis
Born from the ashes of the 2008 Financial Crisis, Bitcoin began its story at mere cents. It traded below $1 until 2011, when it reached $30 before crashing by 90 percent following the MTGOX collapse.
In 2013, it soared to 1242 only to fall again to 200 in 2015 as regulations tightened. The 2017 bull run lifted it to nearly 20000 before another long winter brought it to 3200 in 2018. Each fall taught resilience, each rise renewed belief.
During the 2020 pandemic, it fell below 5000 before rallying to 69000 in 2021. The Ukraine War and the FTX collapse of 2022 brought it down to 16000, but also proved its role in humanitarian aid. By 2024, the halving and ETF approvals helped it break 100000, marking Bitcoin’s rise as digital gold.
Translation moment: Bitcoin’s rhythm follows four-year halving cycles when mining rewards are cut in half. This keeps supply limited, which often triggers new bull runs as demand returns.
Every four years, it's halving cycles 2012, 2016, 2020, 2024, fueling new waves of adoption and correction. Bitcoin grows strongest in times of uncertainty, echoing humanity’s drive to evolve beyond limits.
The Harmony of Gold and Bitcoin Modern Parallels
In today’s markets, gold’s ancient glow meets Bitcoin’s electric pulse. As of October 17, 2025, their correlation stands near 0.85, close to its historic high of 0.9. Both rise as guardians against inflation and the erosion of trust in the dollar.
Gold trades near 4310 per ounce a record high while Bitcoin hovers around 104700 showing brief fractures in their unity. Gold offers the comfort of touch while Bitcoin provides the thrill of code. Together, they reflect fear and hope, the twin emotions that drive every market.
Translation moment: A correlation of 0.85 means they often move in the same direction. When fear or inflation rises, both gold and Bitcoin tend to rise in tandem.
Analysts warn of bubbles in stocks, gold, and crypto, yet optimism remains for Bitcoin’s growth through 2026, while gold holds its defensive strength.
Gold carries risks of storage cost and theft, but steadiness in chaos. Bitcoin carries volatility and regulatory challenges, but it also offers unmatched innovation and reach. One is the anchor, the other the dream, and both reward those who hold conviction through uncertainty.
Epilogue: The Timeless Balance
Gold and Bitcoin form a bridge between the ancient and the future. Gold, the earth’s eternal treasure, stands as a symbol of stability and truth. Bitcoin, the digital heir, shines with the spark of innovation and freedom.
Experts view gold as the ultimate inflation hedge, forged in fire and tested over centuries. They see Bitcoin as its digital counterpart, scarce by code and limitless in reach.
Gold’s weight grounds us in reality while Bitcoin’s light expands our imagination. In 2025, as gold surpasses $4,346 and Bitcoin hovers near $105,000, the wise investor sees not rivals but reflections.
Translation moment: Gold reminds us to protect what we have. Bitcoin reminds us to dream of what could be. Together, they balance caution and courage, the two forces every generation must master.
One whispers of legacy, the other of evolution, yet together they tell humanity’s oldest story, our unending quest to preserve value against time and to chase the light that never fades.
🙏 I ask (Allah) for guidance and success. 🤲
USCBBS-WDTGAL-RRPONTSYDThis is the U.S. Financial Market Net Liquidity.
The calculation method is to subtract the U.S. Treasury General Account balance (WDTGAL) and then the Overnight Reverse Repo balance (RRPONTSYD) from the Federal Reserve's balance sheet total (USCBBS).
Aggregated Long Short Ratio (Binance + Bybit)This indicator displays the Long/Short Ratio (LSR) from Binance and Bybit exchanges, plus an aggregated average. LSR shows the ratio between traders holding long positions vs short positions.
Settings AvailableExchanges Group:
☑️Show Binance - Display Binance LSR line
☑️ Show Bybit - Display Bybit LSR line
☑️ Show Aggregated LSR - Display combined average
Timeframe - Choose data timeframe (leave empty for chart timeframe)
Visualization Group:
🎨 Binance Color - Default: Yellow
🎨 Bybit Color - Default: Orange
🎨 Aggregated Color - Default: White
📖 How to Read the Indicator
⚠️ CRITICAL: Always analyze LSR together with Open Interest (OI)
Key Levels:
LSR = 1.0 (gray dashed line) = Balance - Equal longs and shorts
LSR > 1.0 = More longs than shorts (bullish sentiment)
LSR < 1.0 = More shorts than longs (bearish sentiment)
Extreme Zones:
LSR > 1.5 (green zone) = Very bullish - Possible market top
LSR < 0.5 (red zone) = Very bearish - Possible market bottom
Why Open Interest Matters:
LSR alone doesn't tell the full story. You MUST check Open Interest:
Rising OI + High LSR (>1.5) = New longs opening → Strong momentum OR potential trap
Rising OI + Low LSR (<0.5) = New shorts opening → Strong momentum OR potential trap
Falling OI + Extreme LSR = Positions closing → Weak signal, avoid trading
Stable OI + Extreme LSR = No new positions → Less reliable signal
💡 Trading Interpretation
⚠️ ALWAYS combine LSR with Open Interest analysis!
Contrarian Strategy (High Leverage Zones):
High LSR (>1.5) + Rising OI → Many new longs → Potential short squeeze OR reversal down
Low LSR (<0.5) + Rising OI → Many new shorts → Potential long squeeze OR reversal up
Trend Confirmation:
Rising LSR + Rising price + Rising OI = Strong bullish trend with new positions
Falling LSR + Falling price + Rising OI = Strong bearish trend with new positions
Weak Signals (Avoid):
Extreme LSR + Falling OI = Positions closing → Low conviction
Extreme LSR + Stable OI = No new money → Wait for confirmation
Divergences:
Price higher highs but LSR falling + Rising OI = Bearish divergence (shorts accumulating)
Price lower lows but LSR rising + Rising OI = Bullish divergence (longs accumulating)
Best Setups:
Reversal: Extreme LSR (>1.5 or <0.5) + Rising OI + Price rejection
Trend: LSR trending with price + Steadily rising OI
Caution: Extreme LSR + Falling OI = Ignore signal
Built-in Alerts
The indicator includes 4 preset alerts:
LSR Crossed Above 1.0 - Market turned bullish
LSR Crossed Below 1.0 - Market turned bearish
LSR Very High - Above 1.5 (possible top)
LSR Very Low - Below 0.5 (possible bottom)
To Set Up Alerts:
Click the "..." on the indicator
Select "Add Alert"
Choose the condition you want
Configure notification method
Best Practices
MANDATORY: Always add Open Interest indicator to your chart alongside LSR
To add OI: Click Indicators → Search "Open Interest" → Add official TradingView OI
Use on perpetual futures charts (symbols ending in .P)
Works best on USDT pairs (BTCUSDT, ETHUSDT, etc.)
Combine LSR + OI + price action + support/resistance levels
Higher timeframes (4h, 1D) give more reliable signals
Don't trade LSR extremes without confirming OI direction
Golden Rule: Rising OI = Strong signal | Falling OI = Weak signal
⚠️ Important Notes
Indicator requires TradingView Premium or above (uses Request library)
Only works on crypto perpetual futures
Data availability depends on exchange API
NA values mean data is not available for that exchange/symbol
Never use LSR without Open Interest context
Open Interest + Continuation/Discontinuation Patterns📈 Open Interest + Continuation/Discontinuation Patterns
This indicator analyzes Open Interest data to detect four key convergence/divergence patterns that signal potential trend continuation or reversal:
Buyer Continuation
Seller Continuation
Buyer Discontinuation
Seller Discontinuation
Each pattern is identified by comparing price action with Open Interest behavior, using pivot-based logic and ATR filtering for precision. When a valid pattern is detected, the indicator draws visual lines on the chart and triggers custom alert conditions for each type, enabling timely decision-making.
The Open Interest data is plotted as a candle-style oscillator, offering a clear view of momentum shifts. The detection logic is fully configurable, allowing users to adjust pivot sensitivity, lookback ranges, and ATR filters to suit different market conditions.
Key features:
🔍 Detects continuation and discontinuation patterns via convergence/divergence logic
🔔 Alerts for all four pattern types
🕯️ Candle-style visualization of Open Interest
⚙️ ATR-based filtering and pivot customization
Perfect for traders seeking to enhance their market timing using Open Interest dynamics and divergence-based signals.
UTM 共感覺 식스센스 차트UTM chart PropKorea chart done by UTM aming to identify where the pirce is now compared to market.
Delta Volume ReversalThis script displays Delta Volume-based reversal arrows by analyzing buying vs. selling volume from a lower timeframe. An up arrow appears when a red candle closes with dominant buying volume (bullish delta), while a down arrow appears on green candles with dominant selling volume (bearish delta). This highlights potential hidden strength or weakness in price action.
Credits:
Original from Delta Volume by SiddWolf — adapted and enhanced with reversal arrow visualization.
ADX Scanner with IndicatorsA screener that will allow you to enter up to 10 stocks. The goal is to see clearly in front of you what stocks are moving and the momentum leveraging the ADX and RSI. The return for the day shows the growth or loss of those moves.
ADX Scanner with IndicatorsA screener that will allow you to enter up to 10 stocks. The goal is to see clearly in front of you what stocks are moving and the momentum leveraging the ADX and RSI. The return for the day shows the growth or loss of those moves.
Gold Market Cap vs BTC Market Cap Ratio
What the script calculates
Gold market cap: XAUUSD spot price × total above-ground stock (converted to troy ounces) in trillions USD.
BTC market cap: Live data from TradingView's CRYPTOCAP:BTC symbol, which provides Bitcoin's circulating market cap (already in USD, converted to trillions here).
Ratio: Gold market cap ÷ BTC market cap (e.g., 1.0 means gold market cap equals BTC; 2.0 means gold is twice BTC's market cap)
Risk ModuleThis indicator provides a visual reference for position sizing and approximate stop and target placement. It supports trade planning by calculating equalized risk per trade and maintaining consistent exposure across different markets.
For more information about the concept, see the post Position Sizing and Risk Management .
Fixed Fractional Risk
The indicator calculates the number of shares that can be traded to maintain consistent monetary risk. The formula is based on the distance between the current price and stop reference, adjusting position size proportionally. A closer stop results in a larger position size, while a wider stop results in a smaller one.
Position Size = (Account Size × Risk %) ÷ (Entry Price – Stop Price)
Stop and Target
Stop placement is derived from volatility using the Average True Range (ATR). The target is plotted as a multiple of the stop distance, defining the risk-to-reward relationship in R units.
Stop = Price ± ATR × Multiplier
Target = Price ± (R × Risk Distance)
Chart Elements
The stop and target levels are plotted above and below the current price, with the stop marked by a red dot and the target by a green dot. The information table displayed on the chart shows the number of shares to trade, stop level, and target level.
Setup and Configuration
This configuration only needs to be set once, but can be adjusted later if preferred.
1. Start by setting the account size and risk percentage per trade to define the monetary amount risked on each trade. These values form the basis for position size calculation.
2. Set the ATR multiplier to determine stop distance, common values range between 1 and 3 ATR. Lower values place stops closer to price, increasing sensitivity but risking short-term noise. Higher values widen the stop, which reduces noise impact but extends time in risk.
3. Set the R-multiple to determine target distance relative to the stop. A value of 1 represents a 1:1 risk-to-reward relationship. Lower values reduce potential reward but tend to increase win rate, whereas higher values increase potential reward but tend to reduce win rate. The selection depends on system characteristics and trade expectancy.
When the parameters are defined, the indicator displays the stop, target, and calculated position size on the chart. All that remains is to enter the trade with the number of shares shown in the table and place bracket orders at the plotted stop and target levels.
Settings Overview
Account Size / Risk %: Defines account capital and per-trade exposure.
ATR Multiplier: Adjusts stop distance relative to volatility.
R Multiple: Sets target distance relative to stop (risk-reward ratio).
Position: Choose Long or Short direction.
Table Position: Controls information table placement and scale.
CMF, RSI, CCI, MACD, OBV, Fisher, Stoch RSI, ADX (+DI/-DI)
Stoch RSINine indicators in one, CMF, RSI, CCI, MACD, OBV, Fisher, Stoch RSI, ADX (+DI/-DI) You can use whichever of the nine indicators you want. I use CFM, CCI, MACD, Stoch RSI.
ATR StopThe Stoploss based on ATR indicator sets dynamic stop levels using market volatility measured by the Average True Range (ATR).
When volatility increases, the stop widens; when it decreases, the stop tightens.
Upper line = High + ATR × Multiplier → stop for shorts
Lower line = Low - ATR × Multiplier → stop for longs
Use
- Volatility-based stoploss: adjusts automatically to market conditions.
- Trailing stop: moves in the direction of the trend.
Timebender - Fractal CloseTimebender – Fractal Close displays which higher-timeframe candles (Daily, Weekly, Monthly) are scheduled to close within the next 24 hours — helping traders anticipate potential volatility and liquidity shifts around key session or higher-TF closes.
It automatically scans:
• Daily: 1D → 11D
• Weekly: 1W → 3W
• Monthly: 1M → 12M
The detected timeframes are shown in a compact on-chart table that can be positioned anywhere (top, middle, bottom — left, center, or right). You can also customize text color, background, and font size for visual clarity.
Use it to align intraday setups with higher-timeframe structure, or to prepare for major session transitions as multiple fractal closes converge.
Gamma Big Walls Regime Tel by Tradeorthe indicator shows put strikes and call strikes and the negative net gamma or positive after Inserting date manually, also it shows big walls
Super_Fibo_1.618Professional Fibonacci-based breakout indicator with automatic TP/SL calculation.
Features:
- Fibonacci extension levels (1.618, 2.618, 3.618)
- Automatic Take Profit and Stop Loss zones
- Real-time signal alerts
- Visual candle coloring
- Performance statistics dashboard
- Built-in license system
Perfect for swing and day trading on all timeframes.
Algo BOT 4.0 updated Strategy Description:
Algo BOT 4.0 updated is a sophisticated multi-timeframe trading strategy that identifies high-probability reversal points using technical confluence. The strategy combines:
Core Components:
Multi-timeframe Pivot Analysis: Daily, Weekly, and Monthly pivot points with CPR (Central Pivot Range)
RSI Momentum Filter: Higher timeframe RSI (user-configurable) for trend bias
VWAP Dynamics: Volume-weighted average price with moving averages
Fibonacci Strength Analysis: Candle close positions relative to 38.2% Fib levels
Advanced Cooldown System: Prevents overtrading with dynamic gap requirements
Entry Logic:
Long Entries: RSI < 57 with bullish candle structure at key support levels
Short Entries: RSI > 43 with bearish candle structure at key resistance levels
Zone-based Filtering: Identifies trades near significant pivot points (D PP, D R1, D S1, W PP, M PP, VWAP)
Risk Management:
Dynamic cooldown periods between trades
Gap-based entry optimization to ensure sufficient price movement
Extreme price tracking for better entry timing
Multi-condition validation to reduce false signals
Alert System:
Real-time alerts for both long and short entries
Includes price, RSI value, and zone information
Visual signals with triangle markers on chart
Comprehensive status monitoring with cooldown timer
D Money – EMA/TEMA Touch Strategy (Distance) What it’s trying to capture
You want mean-reversion “tags” back to a moving average after price has stretched away and momentum flips:
Bearish setup (short): price has been above EMA(9) for a few bars, then MACD turns bearish, and price is far enough above the EMA (by an adaptive threshold). Exit when price tags the EMA.
Bullish setup (long): price has been below your chosen TEMA rail (actually an EMA of 50/100/200 you pick) for a few bars, then MACD turns bullish, and price is far enough below that TEMA. Exit when price tags that TEMA.
The moving averages it uses
EMA(9) — your fast “tag” for short take-profits.
“TEMA line” input = one of EMA(50) / EMA(100) / EMA(200). (Labelled “Chosen TEMA” in the plot; it’s an EMA rail you pick.)
When it will enter trades
It requires four things per side:
Short (EMA-Touch Short)
MACD bearish cross on the signal bar
If “Require NO MA touch on cross bar” = true, the bar’s low must be above EMA(9), so it didn’t touch EMA on the cross bar (fake-out guard).
Extension/Context: you’ve had at least barsAbove consecutive closes above EMA(9) (default 3), so it’s truly stretched.
Distance test: absolute % distance from price to EMA(9) must be ≥ minDistEMA_eff (an adaptive threshold; details below).
Bounce filter: there was no bullish bounce off the EMA in the last bounceLookback bars (excluding the current one).
If all pass and you’re inside the backtest window → strategy.entry short.
Long (TEMA-Touch Long)
MACD bullish cross on the signal bar
With the same fake-out guard: the bar’s high must be below the chosen TEMA if the guard is on.
Extension/Context: at least barsAbove consecutive closes below the chosen TEMA.
Distance test: absolute % distance from price to TEMA must be ≥ minDistTEMA_eff (adaptive).
Bounce filter: there was no bearish bounce off the TEMA in the last bounceLookback bars.
If all pass and you’re in the window → strategy.entry long.
MACD timing option:
If Pure MACD Timing = ON, it only checks for the cross.
If OFF (default), it also enforces “no touch on the cross bar” if that checkbox is true. That’s your “fake-out” filter.
The adaptive distance threshold (the “secret sauce”)
You can choose how “far enough away” is determined—per side:
Fixed %
Short uses Fixed: Min distance ABOVE EMA (%)
Long uses Fixed: Min distance BELOW TEMA (%)
Auto (ATR%) (default)
Short threshold = max(floorEMA, kAtrShort × ATR%)
Long threshold = max(floorTEMA, kAtrLong × ATR%)
This scales distance by recent volatility, with a floor.
Auto (AvgDist%)
Short threshold = max(floorEMA, kAvgShort × average(|Dist to EMA|) over avgLen)
Long threshold = max(floorTEMA, kAvgLong × average(|Dist to TEMA|) over avgLen)
This adapts to the instrument’s typical stretch away from the rails.
These become minDistEMA_eff and minDistTEMA_eff and are re-computed each bar.
Fake-out / bounce logic (the “don’t get tricked” part)
A touch means the bar’s high/low overlapped the MA ± a small buffer % (touchBufPct).
A bounce is a touch plus a close on the “wrong” side (e.g., touch EMA and close above it on shorts = bullish bounce).
The script blocks entries if a bounce happened within bounceLookback bars (excluding the current signal bar).
Exits & risk
Take profit: when price touches the target MA:
Short TP = touch EMA(9)
Long TP = touch chosen TEMA
Stop loss: either
ATR stop: entry ± (atrMultStop × ATR) (default ON), or
Percent stop: entry × (1±stopPct%)
Time stop: if timeExitBars > 0, close after that many bars if still open.
Quality-of-life features
Backtest window (btFrom, btTo) so you can limit evaluation.
Labels on signal bars that show:
MACD bucket (Small/Moderate/HUGE/Violent — based on % separation on the bar),
the current absolute distance to the target MA,
and the effective minimum the engine used (plus which engine mode).
Data Window fields so you can audit:
abs distance to EMA/TEMA,
the effective min distance used on each side,
ATR%,
average absolute distances (for the AvgDist mode).
Alerts fire when a short/long signal is confirmed.
Optional debug panel to see the exact booleans & thresholds the bar had.
Quick mental model
Are we properly stretched away from the rail (by an adaptive threshold) and held on that side for a few bars?
Did MACD flip the way we want without price already tagging the rail that bar?
Have we avoided recent bounces off that rail (no fake-out)?
→ If yes, enter and aim for a tag back to the rail, with ATR/% stop and optional time stop.
If you want, I can add a simple on-chart “rating” (0–100) similar to your Python scorer (distance beyond min, MACD bucket, extension streak) so you can visually rank signals in TradingView too.