指标和策略
Kewme//@version=5
indicator("EMA 9/15 + ATR TP/SL Separate Boxes (No Engulfing)", overlay=true, max_lines_count=500, max_boxes_count=500)
// ===== INPUTS =====
atrLen = input.int(14, "ATR Length")
slMult = input.float(1.0, "SL ATR Multiplier")
rr = input.float(2.0, "Risk Reward")
// ===== EMA =====
ema9 = ta.ema(close, 9)
ema15 = ta.ema(close, 15)
plot(ema9, color=color.green, title="EMA 9")
plot(ema15, color=color.red, title="EMA 15")
// ===== TREND STATE =====
var int trendState = 0
// ===== ATR =====
atr = ta.atr(atrLen)
// ===== Indecision =====
bodySize = math.abs(close - open)
candleRange = high - low
indecision = bodySize <= candleRange * 0.35
// ===== SIGNAL CONDITIONS (NO Engulfing) =====
buySignal =
ema9 > ema15 and
trendState != 1 and
indecision and
close > ema9
sellSignal =
ema9 < ema15 and
trendState != -1 and
indecision and
close < ema9
// ===== UPDATE TREND STATE =====
if buySignal
trendState := 1
if sellSignal
trendState := -1
// ===== SL & TP =====
buySL = close - atr * slMult
buyTP = close + atr * slMult * rr
sellSL = close + atr * slMult
sellTP = close - atr * slMult * rr
// ===== PLOTS =====
plotshape(buySignal, text="BUY", style=shape.labelup, location=location.belowbar, color=color.green, size=size.tiny)
plotshape(sellSignal, text="SELL", style=shape.labeldown, location=location.abovebar, color=color.red, size=size.tiny)
// ===== VARIABLES =====
var line buySLLine = na
var line buyTPLine = na
var line sellSLLine = na
var line sellTPLine = na
var box buySLBox = na
var box buyTPBox = na
var box sellSLBox = na
var box sellTPBox = na
// ===== BUY SIGNAL =====
if buySignal
// Delete previous
if not na(buySLLine)
line.delete(buySLLine)
line.delete(buyTPLine)
box.delete(buySLBox)
box.delete(buyTPBox)
// Draw lines
buySLLine := line.new(bar_index, buySL, bar_index + 15, buySL, color=color.red, width=2)
buyTPLine := line.new(bar_index, buyTP, bar_index + 15, buyTP, color=color.green, width=2)
// Draw separate boxes
buySLBox := box.new(bar_index, buySL - atr*0.1, bar_index + 15, buySL + atr*0.1, border_color=color.red, bgcolor=color.new(color.red,70))
buyTPBox := box.new(bar_index, buyTP - atr*0.1, bar_index + 15, buyTP + atr*0.1, border_color=color.green, bgcolor=color.new(color.green,70))
// ===== SELL SIGNAL =====
if sellSignal
// Delete previous
if not na(sellSLLine)
line.delete(sellSLLine)
line.delete(sellTPLine)
box.delete(sellSLBox)
box.delete(sellTPBox)
// Draw lines
sellSLLine := line.new(bar_index, sellSL, bar_index + 15, sellSL, color=color.red, width=2)
sellTPLine := line.new(bar_index, sellTP, bar_index + 15, sellTP, color=color.green, width=2)
// Draw separate boxes
sellSLBox := box.new(bar_index, sellSL - atr*0.1, bar_index + 15, sellSL + atr*0.1, border_color=color.red, bgcolor=color.new(color.red,70))
sellTPBox := box.new(bar_index, sellTP - atr*0.1, bar_index + 15, sellTP + atr*0.1, border_color=color.green, bgcolor=color.new(color.green,70))
ATR Units + % (Watermark)A clean and simple indicator for displaying ATR (Average True Range) volatility directly on the chart, without any lines, panels, or visual clutter.
The indicator shows:
ATR in price units (how much the asset moves in absolute terms)
ATR as a percentage (%) of the current price
The values are displayed as a text watermark on the chart, allowing you to quickly see the volatility level at a glance without interfering with price analysis.
Customization Options:
Set ATR length
Choose text size
Choose text color
Control transparency (for a true watermark look)
Choose full chart position:
Vertical: Top / Middle / Bottom
Horizontal: Left / Center / Right
Disclaimer
This indicator is provided for educational and informational purposes only.
It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
The ATR values shown (both units and percentage) reflect historical price volatility only and do not predict future market behavior.
All trading decisions are the sole responsibility of the user.
Trading involves risk. Always use proper risk management, and consult a licensed financial professional if needed before making trading decisions.
GOLD QUANTUM MASTER🥇 GOLD QUANTUM MASTER 🥇
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A high-performance technical analysis suite engineered for institutional-grade precision on Gold (XAUUSD) and Bitcoin (BTCUSD). This Core Edition focuses on raw analytical power without external API overhead.
🚀 KEY FEATURES:
• INSTITUTIONAL FOOTPRINT: Advanced volume-to-MA filters to identify "Big Money" participation.
• HTF REVERSAL SCANNER: Specialized logic for 30m, 1H, and 4H charts to detect Pinbar and Engulfing reversals.
• LIQUIDITY FLOW ANALYTICS: Detects and highlights Previous Day High (PDH) and Low (PDL) sweeps.
• TREND EXHAUSTION FILTERS: Built-in RSI divergence logic to prevent entries at trend peaks or bottoms.
• PREMIUM DATA LABELS: Real-time on-chart display of Signal Mode, Quality Score, and dynamic targets.
• NEON VISUAL SYSTEM: High-contrast, glassmorphic layout for maximum clarity during trading sessions.
BEST FOR: Technical Analysts, Manual Traders, and High-Performance Charting.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The best work on Higher time frames, I still not tested on lower time frames, but should be also precise.
Feel free to adjust the settings to your own needs.
Make your own decisions when you trade, do not put all confidence into a script, it may fail also.
WoAlgo x DBG v3 Premium**WoAlgo x DBG v3 Premium - Breakout & Trailing System**
## Overview
WoAlgo x DBG v3 Premium is a comprehensive trading indicator that combines breakout detection, EMA crossover signals, and an intelligent trailing stop mechanism. This indicator is designed to identify potential entry points and manage trades with dynamic exit strategies.
## How It Works
The indicator operates using a multi-component approach:
**Entry Mechanism (3 Modes)**
1. **Breakout Mode**: Detects when price breaks above recent highs or below recent lows, simulating pending stop orders
2. **EMA Cross Mode**: Generates signals based on fast/slow EMA crossovers (default: 10/21)
3. **Both Mode**: Combines breakout and EMA signals for confluence-based entries
**Trailing Stop System**
The core feature of this indicator is its trailing stop mechanism:
- Activates when trade reaches minimum profit threshold (default: 0.6 points)
- Moves stop loss progressively as price moves favorably (default step: 0.2 points)
- Locks in profits while allowing trades to capture extended moves
- Provides dynamic exit rather than fixed take profit only
**Time Filter**
- Customizable trading window with timezone conversion
- Day-of-week filters to avoid specific trading days
- Automatic pending order cancellation outside trading hours
## Key Features
- **Non-Repainting Signals**: All signals confirmed on bar close only
- **Real-Time Dashboard**: Displays win rate, profit factor, trade statistics, and exit type breakdown
- **Visual Trade Management**: Shows entry, TP, SL, and trailing stop levels on chart
- **Pending Zone Visualization**: Displays potential breakout trigger levels
- **Comprehensive Alerts**: Separate alerts for entries, TP hits, SL hits
## Parameters
| Parameter | Default | Description |
|-----------|---------|-------------|
| Entry Mode | Breakout | Signal generation method |
| Breakout Period | 1 | Candles for high/low calculation |
| Breakout Buffer | 0.3 | Distance from high/low for pending |
| Fast EMA | 10 | Fast moving average period |
| Slow EMA | 21 | Slow moving average period |
| Take Profit | 5.0 | Points for TP level |
| Stop Loss | 8.0 | Points for SL level |
| Trail Start | 0.6 | Minimum profit to activate trailing |
| Trail Step | 0.2 | Trailing stop movement increment |
## How to Use
1. **Apply to Chart**: Add indicator to your preferred timeframe
2. **Configure Time Filter**: Set your trading session hours and timezone offset
3. **Monitor Signals**:
- Green triangle = potential long entry
- Red triangle = potential short entry
4. **Track Active Trades**: Dashboard shows current position status and statistics
5. **Review Performance**: Check win rate, profit factor, and exit type distribution
## Dashboard Statistics
The real-time dashboard displays:
- Total trades, wins, and losses
- Win rate percentage
- Profit factor calculation
- Exit type breakdown (TP / Trailing / SL hits)
- Net profit and maximum drawdown
- Current position status
## Best Practices
- **Timeframe Selection**: Test on multiple timeframes to find optimal settings for your trading style
- **Parameter Optimization**: Adjust TP/SL/Trailing parameters based on instrument volatility
- **Time Filter Usage**: Enable time filter to avoid low-liquidity periods
- **Confluence Approach**: Consider using "Both" entry mode for higher probability setups
- **Risk Management**: Always use position sizing appropriate to your account
## Limitations
- Indicator performance varies across different market conditions
- Historical statistics shown do not guarantee future results
- Backtest results may differ from live trading due to slippage and spread
- Works best on liquid markets with consistent price action
## Important Disclaimer
**This indicator is for educational and analytical purposes only.**
- This is not financial advice or a recommendation to trade
- Past performance does not guarantee future results
- Trading involves substantial risk of loss
- Always use proper risk management strategies
- Consider your financial situation and risk tolerance before trading
- Seek advice from qualified financial professionals if needed
If you find this indicator helpful for your analysis, please consider giving it a **Boost** (👍) to support future development and help other traders discover it.
For more trading tools, educational content, and indicator updates, feel free to **follow @ionmarpie** on TradingView. Your support motivates continued improvement and new releases!
Happy trading and always manage your risk wisely! 📈
Table - Trend Multi TF+RSI+Stoch-ByBankTHTable
Trend+RSI+Stoch
---------------------------------------
EDUVEST QQE Grade System - S/A/B/C Signal ClassificationEDUVEST QQE Grade System - S/A/B/C Signal Classification
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ ORIGINALITY
This indicator introduces a unique grading system (S/A/B/C) for QQE signals, combining traditional QQE analysis with SMC (Smart Money Concepts) price zones and trading session filters. Unlike standard QQE indicators that show all signals equally, this version classifies signals by quality to help traders focus on the highest probability setups.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ WHAT IT DOES
- Generates BUY/SELL signals with S/A/B/C grade classification
- Automatically detects asset type and applies optimized QQE factors
- Integrates SMC price zones (support/resistance) for grade enhancement
- Filters signals by trading session time
- Displays real-time session and market status
Grade Hierarchy:
- S (Gold/Orange): Signal near SMC zone + active trading hours - Highest quality
- A (Green/Red): Score 70+ during trading hours - High quality
- B (Darker): Score 50-69 during trading hours - Medium quality
- C (Gray, small): Outside trading hours or weak signal - Low quality
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW IT WORKS
【QQE Core Calculation】
The QQE (Quantitative Qualitative Estimation) is calculated as:
1. RSI with configurable period (default: 14)
2. EMA smoothing of RSI (Smoothing Factor: 5)
3. Dynamic bands using Wilder's smoothing: RSI ± (ATR of RSI × QQE Factor)
QQE Factor is auto-adjusted per asset:
- USD/JPY: 4.238
- EUR/USD: 3.8
- Gold (XAU/USD): 8.0
- NASDAQ/US100: 9.0
【Signal Generation】
- BUY: QQE line crosses above its trailing stop (QQExlong == 1)
- SELL: QQE line crosses below its trailing stop (QQExshort == 1)
【Internal Scoring System】
Score components (0-100):
- Signal Base: +25 points when signal occurs
- QQE Strength: +10 to +20 based on RSI distance from 50
- Volatility: +15 (optimal ATR ratio 1.1-2.0), -10 (low volatility)
- Volume Confirmation: +10 (high volume), -5 (low volume)
- Session Bonus: +5 during London/NY sessions
- Base: +20 points
【Grade Assignment】
- Grade S: Signal near user-defined SMC price zone (within tolerance %) AND during trading hours
- Grade A: Internal score >= 70 AND during trading hours
- Grade B: Internal score >= 50 AND during trading hours
- Grade C: Outside trading hours OR score < 50
【SMC Price Zone Integration】
Users can set support/resistance levels for each asset. When price is within the tolerance percentage of these levels, signals are upgraded to S-grade, indicating confluence with institutional price levels.
【Trading Session Filter】
Configurable active trading hours (JST timezone):
- Default: 15:00 - 01:00 JST (London + NY overlap)
- Signals outside this window receive C-grade
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW TO USE
【Recommended Settings】
- Timeframe: 15M, 1H, 4H
- Best on: USD/JPY, EUR/USD, Gold, NASDAQ
- Focus on: S and A grade signals
【Trading Strategy】
- S-Grade (Gold/Orange): Highest conviction - consider larger position
- A-Grade (Green/Red): Strong signal - standard position
- B-Grade: Valid but use additional confirmation
- C-Grade: Avoid or use minimal size
【Setting Up SMC Zones】
1. Identify key support/resistance on higher timeframe
2. Input prices in SMC Price Settings
3. Adjust tolerance % (default: 0.15%)
4. S-grade appears when signal occurs near these levels
【Info Panel】
Top-right panel shows:
- Asset name and detection mode (Auto/Manual)
- Current session (Tokyo/London/NY)
- Trading hours status
- SMC zone proximity
【Alert Setup】
1. Enable alerts in settings
2. Create alert with "Any alert() function call"
3. Alerts include grade, price, and session info
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ SETTINGS
Basic Settings:
- Enable Alerts: Turn on/off notifications
- Time Filter: Activate trading hour filter
- Start/End Hour: Define active trading window (JST)
QQE Settings:
- RSI Period: RSI calculation period
- RSI Smoothing: EMA smoothing factor
- Auto QQE Factor: Auto-detect optimal factor per asset
- Manual QQE Factor: Override when auto is disabled
SMC Price Settings:
- Support/Resistance levels for each asset
- Tolerance %: How close to SMC line for S-grade
Display Settings:
- Grade Only: Hide QQE lines, show only signals
- Show SMC Lines: Display support/resistance on chart
- Show Debug: Display asset detection info
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ CREDITS
QQE concept originally developed by John Ehlers.
SMC (Smart Money Concepts) integration and grading system by EduVest.
License: Mozilla Public License 2.0
KCP VWAP + Previous Day High/Low + CPR [Dr.K.C.Prakash]KCP VWAP + PDH/PDL + CPR Indicator
This indicator combines VWAP, Previous Day High (PDH), Previous Day Low (PDL), and CPR (Pivot, BC, TC) levels for intraday trading.
VWAP shows the fair price and intraday trend direction
PDH & PDL act as strong support and resistance
CPR levels help identify range, breakout, and reversal zones
Displays only today’s levels with clean right-side labels
Best suited for index and stock intraday trading
Use:
Above VWAP → bullish bias | Below VWAP → bearish bias
Price near CPR → range | Break from CPR → trending move
[RoyalNeuron] RSI-SMA-PIVOT [WidowMaker v2.0]Hey guys 👋
Spent a bit of time tinkering with the original WidowMaker and figured the next logical step was adding price pivot, and honestly, it’s made a decent difference when you use it right.
Thinking out of the box here, and it looks good.
The core is still the same clean, zero-lag smoothed RSI (pick SMA or EMA) with green/red momentum histogram that helps you see real strength or weakness without all the usual rubbish.
What’s new in v2.0:
- Price pivots (high/low) now show up, but only when RSI is in the right zone
- Pivot High only appears when RSI > 65 (overbought area)
- Pivot Low only when RSI < 35 (oversold area)
- This filters out a ton of fake pivots and keeps things useful
Quick way I’ve been using it:
Look for overbought/oversold areas first (faint red/green shading helps spot them fast).
Then wait for the pivot to print in that zone.
If you time it correctly (with price action or structure), the combo works really nicely – especially on 1H and above.
It’s still 100% free, open-source, colours fully customisable, and I’m using it myself every day.
Would love your honest take: does the pivot filter help you? Any pairs/timeframes it shines on? Anything you’d change?
Cheers for checking it out – more updates coming soon!
© RoyalNeuron 2025 | Open Source (CC BY-NC-SA 4.0)
9/21 EMA Strategy"Disclaimer: I am not a SEBI Registered Investment Advisor. This script is for educational purposes only and should not be considered financial advice. Trading involves significant risk. Please consult your financial advisor before making any investment decisions based on this tool."Trading involves significant risk. This tool is for educational purposes and should be used alongside your own analysis.
Multi-Timeframe FVG (1H, 4H, Daily) - Color ShadesFVG charting in real time upon candle close. 1Hr, 4 Hr, Daily.
! hour darkest, 4 hour mid, daily lightest shade of color.
EMA Slope + Pullback Pro IndicatorEMA Slope + Pullback Pro Indicator
Core: EMA trend analysis with automated pullback detection.
Key Features:
3-EMA Slope System (9,20,50) with trend signals
Smart Pullback Monitor with visual alerts
Complete Data Table showing all metrics
Multi-Filter System (timeframe + volume)
What It Does:
Shows EMA trends and strength
Detects price pullbacks to EMA levels
Gives entry signals at EMA support/resistance
Filters signals with higher timeframe trend
Visual:
EMA lines on chart
Pullback zones (colored)
Entry arrows
Data table with live metrics
For: Trend + pullback traders wanting automated EMA analysis.
Long Wick Detector + Highlight + AlertWick set at 9 ticks..the longer the better..cut loss at lower of the wick..wait for candle completion in TF 5
Daily Trend Scanner (Single Symbol)This indicator tracks the current selected symbol/ticker and looks at the Previous Day High/Low and Pre-Market High/Low.
Data is provided in a small table for visualization.
If the price is above the PDH and PMH the ticker will be displayed as bullish. If the price is below PDL and PML the ticker will be displayed as bearish. Otherwise it will show neutral.
The Pre-Market High and Low values can also be displayed in the table and toggled in the settings.
Adjust table position and text size in the settings.
This indicator is useful for visually tracking how a ticker may be trending for the current day.
Dynamic ATR-based Renko Overlay - Non repaintingDaily ATR-Based Renko Overlay
Overview
This Pine Script v5 indicator creates a dynamic Renko overlay on your time-based charts (optimized for 1-minute timeframes), using the previous period's ATR from a user-specified higher timeframe (default: 1-hour) to determine brick sizes. Unlike traditional Renko charts, this is an overlay that draws Renko bricks directly on top of your existing candles, allowing you to combine the noise-filtering power of Renko with the full features of time-based charts.
It's designed for traders who want Renko's trend-clarity benefits without switching chart types, especially useful for intraday trading in volatile markets like forex, stocks, or crypto.
Key Features
- Adaptive Brick Sizing: Brick size is calculated as a percentage (default 40%) of the previous period's ATR (Average True Range, default length 14) from the selected higher timeframe (default: 1-hour). This makes bricks volatility-adjusted—larger in high-vol periods to reduce noise, smaller in low-vol for more detail.
- Periodic Recalculation: Resets brick size at the start of each new period based on the user-specified reset timeframe (default: daily), using the prior period's ATR from the chosen timeframe. This ensures relevance without unwanted disruptions.
- Traditional Renko Logic: Uses 1-box reversal (a full brick against the trend to reverse). Bricks form based on closing prices, ignoring time and minor fluctuations.
- Visual Style: Stepped lines with green (up) and red (down) fills for a box-like appearance. Semi-transparent for easy overlay on candles.
- Customizable Inputs:
- ATR Length: Adjust the ATR period (default: 14).
- Percentage of ATR: Fine-tune brick sensitivity (default: 0.4 or 40%; range 0-1).
- ATR Timeframe: Specify the timeframe for ATR calculation (default: "60" for 1-hour; enter as a string like "240" for 4-hour, "D" for daily, etc.).
- Reset Timeframe: Specify the period for recalculating the brick size (default: "D" for daily; enter as a string like "W" for weekly, "M" for monthly, etc.).
How It Works
1. Fetches ATR from the user-specified timeframe via `request.security` for higher-timeframe volatility data.
2. On new periods based on the reset timeframe (or first load), sets brick size to `percent * ATR_HTF`.
3. Tracks Renko "close" and "previous close" to calculate bricks:
- Upward moves add green bricks in multiples of the size.
- Downward moves add red bricks.
- Reversals require a full brick against the direction.
4. Plots and fills create the overlay, updating on each 1-min bar close.
Add it to a 1-minute chart for best results—bricks will adapt periodically while you retain full candle visibility.
Why This Indicator is Helpful
TradingView's native Renko charts are powerful but come with limitations that can frustrate serious traders:
- No Bar Replay: Native Renko doesn't support TradingView's bar replay feature, making it hard to simulate historical trading sessions.
- Inaccurate/Repainting Strategy Testing: Strategies on native Renko can repaint or lack precision due to the non-time-based nature, leading to unreliable backtests.
- Limited Data History: Fast Renko timeframes (e.g., small bricks) often load very little historical data, restricting long-term analysis.
This overlay solves these by building Renko on a time-based chart:
- Full Bar Replay Support: Replay sessions as usual on your 1-min chart—the Renko follows along.
- Accurate, Non-Repainting Testing: Test strategies on the underlying time chart without repainting issues, as Renko is derived from closes.
- Unlimited Data Depth: Access TradingView's full historical data for 1-min charts (up to years of bars), not limited by Renko's data constraints.
- Hybrid Analysis: Overlay Renko on candles to spot trends while using volume, indicators (e.g., RSI, MAs), or drawing tools that don't work well on native Renko.
It's a game-changer for trend-following, breakout strategies, or filtering noise in short-term trades. No more switching charts—get the best of both worlds!
Usage Tips
- Best on 1-min charts for intraday precision, but experiment with others.
- Tune the percentage lower (e.g., 0.3) for more bricks/sensitivity, higher (e.g., 0.5) for fewer/false-signal reduction.
- Adjust the ATR timeframe to match your strategy—e.g., "240" for longer-term volatility or "15" for shorter.
- Customize the reset timeframe for different recalculation frequencies—e.g., "W" for weekly resets to capture broader market shifts, or "240" for every 4 hours.
- Combine with alerts: right now I am experimenting with 90 period EMA and the Renko brick pullbacks to find some EDGE
If you find this useful, give it a thumbs up or share your tweaks in the comments. Feedback welcome—happy trading! 🚀
1H ETH Volume Breakout [ADX Filtered]Title: 1H ETH Volume Breakout w/ ADX Filter
Description:
🚀 Strategy Overview
This strategy is a high-precision Volatility Breakout system designed specifically for Ethereum (ETH) on the 1H timeframe. It focuses on catching explosive moves while aggressively filtering out market noise and "chop" to protect capital.
Unlike standard breakout strategies that get wrecked in sideways markets, this script uses a multi-layer confirmation system (Volume + Trend + Momentum + ADX) to ensure high-probability entries.
🧠 The Logic (How it works)
Keltner Channel Breakout: We use Keltner Channels (Length 22, Multiplier 2.0) instead of Bollinger Bands because they adapt better to ETH's unique volatility, reducing fake-outs.
Volume Confirmation: A trade is only taken if the current volume spikes above the moving average. "No Volume = No Trade."
Trend Filter (220 EMA): We only trade Long when price is above the 220 EMA, and Short when below. We trade with the dominant trend, never against it.
The "Chop Killer" (ADX Filter): An added ADX filter ensures the trend has real strength before entering. If the market is flat (ADX < 20), the strategy sits on the sideline.
🛡️ Risk Management (The "Fee Crusher")
Dynamic Stop Loss: Uses ATR (4.0) to give trades room to breathe without getting wicked out.
Trailing Stop: Activates after a 3% gain to lock in profits during big pumps.
Money Management: Includes a built-in Compounding feature (Optional).
⚙️ Recommended Settings
Coin: ETH/USD or ETH/USDT
Timeframe: 1 Hour (1H)
Leverage: 2x (Recommended)
Exchange Fees: Tuned for 0.1% fees.
⚠️ Disclaimer
Past performance is not indicative of future results. Please backtest with your own exchange settings before using real capital. This is an open-source tool for educational purposes.
Macro Risk Sentiment - Intermarket Timing SignalOverview
This indicator builds a composite macro sentiment score by analyzing intermarket relationships between bonds, credit spreads, the US dollar, and volatility. The core premise is that these markets often signal shifts in risk appetite before equities react, providing a timing edge for managing exposure.
When macro conditions favor risk assets, the indicator signals RISK-ON (green). When conditions deteriorate, it signals RISK-OFF (red). This is not a predictive tool but rather a systematic way to assess the current macro environment.
The Problem It Solves
Markets do not move in isolation. Before major equity drawdowns, stress often appears first in credit markets, bonds, and volatility. By monitoring these leading indicators systematically, we can identify periods when holding equity exposure carries elevated risk.
The goal is not to catch every move but to avoid the worst drawdowns by stepping aside when multiple macro factors align negatively.
How It Works
Step 1: Data Collection
The indicator pulls daily data from four key markets:
Risk-On Inputs (positive for equities when rising):
- TLT (20+ Year Treasury Bonds): Rising bonds can signal improving liquidity or flight-to-safety ending
- JNK (High-Yield Corporate Bonds): Rising junk bonds indicate credit conditions improving and risk appetite increasing
Risk-Off Inputs (negative for equities when rising):
- DXY (US Dollar Index): Strong dollar tightens global financial conditions and signals risk-off flows
- VIX (Volatility Index): Elevated VIX indicates fear and hedging demand
Step 2: Z-Score Normalization
Each input trades at different absolute levels, so direct comparison is impossible. The indicator converts each to a z-score: how many standard deviations the current value is from its 252-day (1 year) average.
A z-score of +1 means "unusually high relative to recent history." A z-score of -1 means "unusually low." This puts all inputs on the same scale.
Step 3: Composite Calculation
The macro score combines the normalized inputs:
Macro Score = (TLT z-score + JNK z-score) - (DXY z-score + VIX z-score)
The result is clamped between -1.5 and +1.5 to prevent outliers from dominating, then smoothed with an EMA to reduce noise.
Step 4: Signal Generation
Seven different methods are available for determining when conditions shift:
1. EMA Cross: Classic crossover between smoothed macro and its signal line
2. Slope: Simple direction of the macro trend
3. Momentum: Rate of change exceeding a threshold
4. Session Delta: Comparing today's reading to yesterday's
5. Pivot: Market structure analysis (higher lows vs lower highs)
6. Acceleration: Second derivative (is momentum increasing?)
7. Multi-Confirm: Requires 4 or more methods to agree
Why These Specific Markets?
Bonds (TLT)
Treasury bonds often lead equities at turning points. When institutions rotate into bonds, it signals caution. When they rotate out, it signals risk appetite returning.
Credit (JNK)
High-yield bonds price credit risk faster than equities. Widening credit spreads (falling JNK) often precede equity weakness by days or weeks.
Dollar (DXY)
A strong dollar creates headwinds for multinational earnings, tightens global USD liquidity, and signals defensive positioning globally.
Volatility (VIX)
The options market prices fear before it manifests in price. Sustained elevated VIX readings indicate hedging demand and uncertainty.
Research Application: Weekly Put Selling
One application of this indicator is timing premium-selling strategies. I tested using the EMA Cross method to filter 7-day-to-expiration (7DTE) put sales on ES futures with 90% Profit Target and 600% Stop Loss, only selling puts when the indicator showed RISK-ON.
Results with Macro Filter (2020-2025):
- Trades: 200
- Win Rate: 96.0%
- Total P/L: +$33,636
- Max Drawdown: 2.91%
- Profit Factor: 3.51
Results without Filter (same period):
- Trades: 357
- Win Rate: 96.1%
- Total P/L: +$63,492
- Max Drawdown: 10.30%
- Profit Factor: 2.90
Key Insight:
The filtered approach made less total profit (fewer trades) but reduced maximum drawdown by 72% (from 10.30% to 2.91%). This significantly improves risk-adjusted returns and allows for potentially higher position sizing with confidence.
Note: These results are from external backtesting on actual options data, not the TradingView backtest engine. Past performance does not guarantee future results.
Features
Seven configurable signal methods for different trading styles
Adjustable weights for each data source
Z-score normalization puts all inputs on equal footing
Visual info table showing all metrics at a glance
Background coloring for quick regime identification
Alert conditions for signal changes
Secondary plot showing method-specific metrics
Settings Guide
Macro Settings
Z-Score Lookback (default 252): Period for calculating standard deviations. 252 equals approximately one trading year. Longer periods are more stable but slower to adapt.
Macro EMA (default 7): Smoothing for the raw composite score. Lower values give faster but noisier signals.
Signal EMA (default 8): Secondary smoothing for the signal line. Used primarily in EMA Cross method.
Signal Method
EMA Cross : Recommended starting point. Signals when smoothed macro crosses its signal line.
Slope : Simpler approach based purely on trend direction.
Momentum : Requires rate of change to exceed a threshold.
Session Delta : Compares today to yesterday (daily timeframe focus).
Pivot : Uses market structure (higher lows for bullish, lower highs for bearish).
Acceleration : Measures change in slope (second derivative).
Multi-Confirm : Conservative approach requiring 4+ methods to agree.
Data Sources
Each source can be enabled/disabled and weighted from 0 to 3
Default is equal weighting (1.0) for all four sources
Experiment with emphasizing sources most relevant to your trading (tested on SPX)
How to Use
Basic Interpretation:
Green background / RISK-ON: Macro conditions favor equity exposure
Red background / RISK-OFF: Macro conditions suggest caution
Arrow markers indicate regime changes
For Risk Management:
Use RISK-OFF signals to reduce position size or hedge
Use RISK-ON signals to resume normal exposure
Consider the indicator as one input among many, not a complete system
For Options Strategies:
Avoid selling premium during RISK-OFF periods
Resume premium selling when RISK-ON returns
This approach trades frequency for reduced tail risk
Alert Setup:
Set alerts on "Bullish Turn" and "Bearish Turn" conditions
Receive notifications when the macro regime changes
Research Ideas
This indicator is designed as a research framework. Consider testing:
Different signal methods for your specific strategy
Adding or removing data sources based on what you trade
Varying the z-score lookback for different market regimes
Combining with price-based filters (moving averages, support/resistance)
Using the multi-confirm method for higher-conviction signals only
Limitations
The indicator uses daily data, so intraday signals may lag
Overnight gaps from surprise news cannot be anticipated
False signals will occur, especially in choppy, range-bound markets
The z-score lookback creates a recency bias; what was "normal" a year ago may not be relevant today
Not all drawdowns are preceded by macro deterioration; some come from idiosyncratic events
Past intermarket relationships may not persist in the future
Disclaimer
This indicator is for educational and research purposes only. It does not constitute financial advice.
Past performance does not guarantee future results
The research results shared are from historical backtesting and may not reflect actual trading conditions
Always conduct your own research and due diligence
Consider your personal risk tolerance before making any trading decisions
Never risk more than you can afford to lose
Credits
Intermarket analysis concepts draw from established macro trading principles. The multi-signal approach is original work designed to give users flexibility in how they interpret the macro data.
Auction Context Engine ( Value Area, VWAP & Regime)📌 Indicator Name
Auction Context Engine (Value Area, VWAP & Regime)
Short name: ACE Context
🧠 Description
Auction Context Engine (ACE) is a professional market context and structure indicator based on Auction Market Theory.It is designed to help traders understand where the market is positioned, not to generate trade signals.
ACE focuses on:
• Developing Value Area (VAH / VAL)
• Developing Point of Control (POC)
• Session VWAP positioning
• Volatility regime expansion
• Opening Range context
• Failed auction / trap detection
• Market bias and environment quality
This indicator provides context only and is intended to be used alongside a separate execution strategy or system.
🎯 What This Indicator Is
✔ A context engine
✔ A market structure filter
✔ A bias alignment tool
✔ A regime and environment classifier
❌ What This Indicator Is NOT
✘ Not a signal generator
✘ Not a buy/sell system
✘ Not a strategy
✘ Not a profitability promise
📊 How To Use
Use ACE to answer:
• Is price accepting or rejecting value?
• Is the market in balance or expansion?
• Is VWAP supporting or opposing price?
• Is this a breakout environment or a trap?
• Is volatility expanding?
• Is the market trending or ranging?
You may then use your own execution strategy aligned with this context.
🟢 Core Components
Developing Value Area
• VAH / VAL dynamically update through the session
• POC tracks highest traded volume area
VWAP Position
• Above VWAP = bullish bias
• Below VWAP = bearish bias
Opening Range Context
• Detects breakouts or balance after session open
Volatility Regime
• Identifies expansion vs normal conditions
Failed Auction Detection
• Highlights trap conditions near value extremes
Market Quality
• Strong / Mixed / Weak environment classification
Context Table
• Clean 1-column vertical dashboard with color-coded bias
🔵 Visual Elements
• Developing VAH, VAL, POC lines
• Session VWAP
• Small context dots when environment turns READY
• Compact professional context table
⚙️ Settings
• Value Area bin size
• Value area percentage
• Opening range duration
• Regime expansion factor
• Line colors and thickness
• Context table ON/OFF
• Context dots ON/OFF
🧩 Best Use Case
This indicator is ideal for:
• Intraday trading
• Index futures and equities
• Options context filtering
• Trend / range regime identification
• Professional discretionary traders
⚠️ Disclaimer
This script is provided for educational and informational purposes only.It does not constitute financial or investment advice.Trading involves risk. Always use proper risk management.
Basic Key Levels | Feng FuturesKey Levels | Feng Futures (Basic) automatically plots the most essential daily reference levels used by futures traders to establish intraday context and structure.
This lightweight version focuses on the three levels that matter most for session bias and liquidity reference:
Previous Day High (PDH)
Previous Day Low (PDL)
Session Open (18:00 NY for futures)
These levels are commonly used by professional and institutional participants as decision points for:
directional bias
continuation vs. reversal context
risk definition and invalidation
Features:
• Auto-plotted PDH and PDL
• Futures session open (18:00 NY)
• Clean, non-repainting levels
• Lines extend forward for intraday use
• Optional price labels pinned to the right edge
• Minimal design to reduce chart clutter
• Full color, width, and label customization
• Optimized for intraday futures trading
This indicator does not provide trade signals or alerts.
It is designed to support planning, execution, and review within your own trading framework.
Best used on:
ES, NQ, RTY, YM (intraday timeframes)
PDH / PDL levels can be used as take profit targets or to help form bias. For example, if we break out of PDH, we may look for longs.
Disclaimer:
This indicator is for educational purposes only and does not constitute financial advice. Trading futures involves significant risk and may not be suitable for all investors. Always do your own research and use proper risk management.
Big Trades Detector [Adjusted LookBack] By HFThis indicator is simply an adjustment to the one published by HK, so that the Lookback can be less than 5 periods.
ULTIMATE SMC FUSION HIGHER TIME FRAMES🔥 ULTIMATE SMC FUSION ADAPTED FOR HIGH TIME FRAMES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The high-performance, refined edition of the v4.1 Fusion suite. This Core version brings the signature "Balanced Entry" logic to your charts with enhanced HTF optimization and a zero-latency interface.
🚀 KEY FEATURES:
• BALANCED SIGNAL ENGINE: A proven mix of structure breaks and momentum-based institutional entries.
• HTF TURN DETECTION: Enhanced logic for Higher Timeframes to find major swing reversal opportunities.
• ON-CHART PERFORMANCE PANEL: Live tracking for win rates and growth stats to keep you in the flow.
• DYNAMIC ATR TARGETS: Take Profit and Stop Loss levels that adapt automatically to market volatility.
• OPTIMIZED SMC OVERLAYS: Clean, professional structure lines and order block visualizers.
• PURE LOCAL PROCESSING: No external API overhead—maximum responsiveness for fast decision making.
BEST FOR: Forex Scalp/Swing, Professional Charting, and Multi-Asset Analysis.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Feel free to adjust the settings to your own needs.
Make your own decisions when you trade, do not put all confidence into a script, it may fail also.






















