Daily Close Breakout 20/10 + 200 (Signals)Daily Close Breakout 20/10 + 200 (Signals)
A simple “check once per day” breakout signal tool designed for the Daily (1D) chart.
Quickstart:
* Signals are confirmed at the daily candle close.
* If a triangle prints today, the earliest you act is the next day’s open (not the same candle).
* Green triangle = consider entering long.
* Red triangle = consider exiting.
* Long-only (no shorts).
How to use:
* Use on the Daily (1D) timeframe.
* Check the chart once per day after the daily candle closes.
* Do not act intraday on signals.
Rules (default settings 20 / 10 / 200):
* BUY: A green up triangle prints when the daily close is above the prior 20-day high and above the 200-day Simple Moving Average.
* SELL: A red down triangle prints when the daily close is below the prior 10-day low.
Lines and colors:
* Prior 20-day high (entry level): red
* Prior 10-day low (exit level): yellow
* 200-day Simple Moving Average: aqua
Notes:
* Best used on the Daily (1D) timeframe. Other timeframes may behave differently.
* This script plots signals and reference levels only. For performance metrics, use a matching strategy/backtest script.
* Educational use only. Not financial advice.
Swing
swing indicator Installation & Configuration - swing Indicator
⚙️ Parameter Configuration
"Settings" Group (General Parameters)
Show Moving Average: Show/hide the OI moving average
✅ Recommended: Enabled to visualize the trend
Helps identify if OI is above or below its average
MA Period: Moving average period (default: 20)
📊 Common values:
20: Short/medium term trend (responsive)
50: Medium term trend (balanced)
100: Long term trend (stable)
Compare with Volume: Display normalized volume in background
💡 Useful to compare OI evolution with volume
Helps identify divergences between Open interest (oi) and Volume
OI Significant Change Threshold: Detection threshold for significant changes
Available options: 10%, 15%, 20%, 25%, 30%, 40%
🎯 10-15%: High sensitivity (many signals, possible noise)
🎯 20-25%: Normal sensitivity (moderate signals, recommended)
🎯 30-40%: Low sensitivity (rare but very significant signals)
⚡ This threshold determines when green/red triangles appear
Manual OI Symbol (optional): Manually enter the OI symbol
📝 Leave empty for automatic detection
⚙️ Use only if your symbol is not automatically recognized
Manual example: COMEX:GC1!_OI for gold
"Visual Signals" Group
Show Triangles (Significant Changes): Show/hide triangles
▲ GREEN Triangle = Significant OI increase (> configured threshold)
▼ RED Triangle = Significant OI decrease (< -configured threshold)
✅ Recommended: Enabled to see important changes
💡 Disable if you find the chart too cluttered
Show Circles (MA Crossovers): Show/hide circles
● GREEN Circle = OI crosses MA upward
● RED Circle = OI crosses MA downward
✅ Recommended: Enabled if you use MA crossover strategy
💡 Disable if you focus only on OI variations
"Style" Group (Color Customization)
OI Color: Main Open Interest histogram color
Default: Blue
🎨 Customize according to your visual preferences
OI Rising: Histogram color when OI increases
Default: Transparent green
Subtle display of direction
OI Falling: Histogram color when OI decreases
Default: Transparent red
Subtle display of direction
MA Color: Moving average color
Default: Orange
Should contrast with OI color
Volume Color: Normalized volume background color
Default: Transparent gray
Discreet enough not to hinder reading
📊 Reading the Information Panel
The panel at the top right of the chart displays:
By: Alphaomega18
Indicator creator's signature
⚠️ WARNING: OI symbol not detected
Only appears if OI symbol is not automatically detected
Action: Check symbol or enter manually
Open Interest
Current Open Interest value
Format: number of contracts (e.g., 485.2K = 485,200 contracts)
Change
OI % change from previous bar
🟢 Green = OI increase
🔴 Red = OI decrease
Ex: +2.45% = OI increased by 2.45%
Threshold
Displays configured threshold for alerts
Ex: "25%" = alerts triggered at +25% or -25%
Yellow color for visibility
MA(20)
Current moving average value
Number in parentheses indicates period
Ex: MA(50) if you configured a 50 period
Signal
🟢 Strong Trend: OI > MA → Strong participation, solid trend
🔴 Weak Trend: OI < MA → Weak participation, fragile trend
🎯 Visual Signals on Chart
Triangles (Significant Changes)
▲ GREEN Triangle (bottom of chart)
Meaning: Significant OI increase
Trigger: OI increases more than configured threshold
Example: If threshold = 25%, triangle appears when OI +25% or more
📈 Interpretation: New contracts opened = growing interest
▼ RED Triangle (bottom of chart)
Meaning: Significant OI decrease
Trigger: OI decreases more than configured threshold
Example: If threshold = 25%, triangle appears when OI -25% or less
📉 Interpretation: Massive position closing = disengagement
Circles (Moving Average Crossovers)
🟢 GREEN Circle (bottom of chart)
Meaning: OI just crossed MA upward
Signal: Open interest back above its average
📊 Interpretation: Interest returning, potential trend start
🔴 RED Circle (top of chart)
Meaning: OI just crossed MA downward
Signal: Open interest back below its average
📊 Interpretation: Decreasing interest, potential weakening
🔔 Alert Configuration
Create an alert:
Right-click on chart → "Add Alert" (or ALT + A)
In "Condition", select "Open Interest"
Choose alert type from 4 available
Configure notification options
Click "Create"
Available alert types:
OI Significant Increase
Triggers when OI increases beyond configured threshold
Example: Threshold 25% → Alert if OI +25% or more
Use: Detect massive influx of new contracts
OI Significant Decrease
Triggers when OI decreases beyond configured threshold
Example: Threshold 25% → Alert if OI -25% or less
Use: Detect massive position closing
OI crosses MA up
Triggers when OI crosses its moving average upward
Condition: OI was below MA and crosses above
Use: Identify interest returning
OI crosses MA down
Triggers when OI crosses its moving average downward
Condition: OI was above MA and crosses below
Use: Identify decreasing interest
Notification configuration:
✉️ Email: Receive alert via email
📱 SMS: Receive alert via SMS (subscription required)
🔔 Popup: Notification on TradingView
📲 App: Notification on TradingView mobile app
🔗 Webhook: Send alert to external system
💡 Advanced Interpretation
Combined OI + Price Analysis:
Open InterestPriceInterpretationSuggested Action↑ Rising↑ Rising🟢 STRONG UptrendNew buyers entering, robust trend, consider long positions↑ Rising↓ Falling🔴 STRONG DowntrendNew sellers entering, bearish pressure, consider short positions↓ Falling↑ Rising📊 Short coveringClosing short positions, potentially temporary move↓ Falling↓ Falling📊 Long liquidationClosing long positions, potentially temporary move
OI vs Moving Average:
OI > MA (Signal: Strong Trend)
Open interest above its average
Market participation above normal
Trend supported by growing interest
✅ Increased confidence in market direction
OI < MA (Signal: Weak Trend)
Open interest below its average
Market participation below normal
Potentially fragile trend
⚠️ Caution: trend lacks conviction
OI vs Volume:
Rising OI + Rising Volume
New contracts + high trading activity
💪 Very strong trend signal
Falling OI + Rising Volume
Position closing + high activity
⚡ Potential reversal or massive profit-taking
Stable OI + Rising Volume
Transfer of positions between traders
🔄 Changing hands, no new commitments
🛠️ Troubleshooting
❌ Issue: "⚠️ WARNING - OI symbol not detected"
✅ Solutions:
Check contract symbol
Make sure you're on a continuous futures contract (e.g., GC1!, CL1!)
Not on a specific contract (e.g., GCZ2024)
Enter symbol manually
Go to Settings → Manual OI Symbol
Format: EXCHANGE:SYMBOL_OI
Examples:
Gold: COMEX:GC1!_OI
WTI Crude: NYMEX:CL1!_OI
Natural Gas: NYMEX:NG1!_OI
Check data availability
Not all markets have public OI data
Verify on TradingView if OI data exists
❌ Issue: No data displayed (empty chart)
✅ Solutions:
Change timeframe
OI is generally published daily
Switch to Daily (1D) or Weekly (1W)
Intraday timeframes may not have data
Check data connection
Refresh TradingView page
Check your TradingView subscription (some data requires subscription)
Test on another market
Try with gold (COMEX:GC1!) which always has OI data
If it works, problem comes from initial market
❌ Issue: Too many visual signals (cluttered chart)
✅ Solutions:
Increase detection threshold
Settings → OI Significant Change Threshold
Change from 20% to 30% or 40%
Fewer signals, but more significant
Disable some signals
Visual Signals → Uncheck "Show Triangles" or "Show Circles"
Keep only the most important signals for you
Adjust colors
Style → Reduce color opacity
Make signals more discreet visually
❌ Issue: Not enough signals
✅ Solutions:
Reduce detection threshold
Settings → OI Significant Change Threshold
Change to 10% or 15%
More signals, but beware of noise
Enable all signals
Visual Signals → Check "Show Triangles" AND "Show Circles"
Full display of all events
Reduce MA period
Settings → MA Period → Change from 20 to 10
More responsive MA = more crossovers
📈 Compatible Markets (Auto-detection)
✅ Energy (NYMEX)
CL, CL1!: WTI Crude Oil
BZ, BZ1!: Brent Crude
NG, NG1!: Natural Gas
RB, RB1!: RBOB Gasoline
HO, HO1!: Heating Oil
✅ Precious Metals (COMEX/NYMEX)
GC, GC1!: Gold
SI, SI1!: Silver
PL, PL1!: Platinum
PA, PA1!: Palladium
HG, HG1!: Copper
✅ Industrial Metals (LME)
ALI, ALI1!: Aluminum
ZNC, ZNC1!: Zinc
NI, NI1!: Nickel
✅ Agriculture - Grains (CBOT)
ZC, ZC1!: Corn
ZW, ZW1!: Wheat
ZS, ZS1!: Soybeans
ZM, ZM1!: Soybean Meal
ZL, ZL1!: Soybean Oil
ZO, ZO1!: Oats
ZR, ZR1!: Rice
✅ Agriculture - Softs (ICE)
SB, SB1!: Sugar
KC, KC1!: Coffee
CC, CC1!: Cocoa
CT, CT1!: Cotton
OJ, OJ1!: Orange Juice
✅ Livestock (CME)
LE, LE1!: Live Cattle
GF, GF1!: Feeder Cattle
HE, HE1!: Lean Hogs
✅ Other
LBS, LBS1!: Lumber (CME)
🎓 Usage Tips
For beginners:
Start with default parameters (threshold 25%, MA 20)
Enable all visual signals
Focus on liquid markets (gold, crude oil)
Observe how OI reacts to price movements
For intermediate traders:
Adjust threshold according to market volatility (15-30%)
Combine with other technical indicators
Create alerts for significant changes
Analyze OI/Price divergences
For advanced traders:
Use multiple MA periods (20, 50, 100)
Analyze OI/Volume/Price correlation
Configure alerts on multiple timeframes
Integrate into complete trading strategy
📊 Practical Example
Scenario: Gold Trading (COMEX:GC1!)
Initial setup:
Threshold: 20% (gold volatile)
MA: 20 days
All signals enabled
Timeframe: Daily (1D)
Observation:
Gold price: Uptrend
OI: ▲ Green triangle (increase of +22%)
Signal: 🟢 Strong Trend (OI > MA)
Interpretation:
New buyers massively entering
Uptrend supported by OI
Strong market conviction
Action:
✅ Long position validated by OI
Stop loss below technical support
Monitor if OI continues to increase
✨ Made by Alphaomega18
Intermarket Swing Projection [LuxAlgo]The Intermarket Swing Projection allows traders to plot price movement swings from any user-selected asset directly onto the chart in the form of zigzags and/or horizontal support and resistance levels.
This tool rescale the external asset price on the user chart, enabling traders to make direct comparisons.
It answers the question of how different the price behavior is between two assets, accounting for each asset's volatility.
🔶 USAGE
This tool is based on swing detection of two different assets: the chart and a user-selected asset. It allows traders to compare two assets on an equal footing while accounting for volatility and price behavior.
Traders can customize the detection by selecting a custom ticker, timeframe, the number of swings and length for swing detection. This makes the tool a Swiss army knife for asset comparison.
As we can see in the image below, the Show Last, Pivot Length, and Spread parameters are key to defining the final output of the tool.
"Show Last" defines how many pivots are displayed. "Pivot Length" is used for pivot detection; a larger value will detect larger market structures. "Spread" defines how far apart the horizontal levels will be from their original location in terms of volatility.
🔹 Comparing different assets
This image shows the Nasdaq 100 futures contract compared to four other futures contracts: S&P 500, gold, bitcoin, and euro/U.S. dollar.
Plotting all of these assets in Nasdaq 100 terms makes it easy to compare and analyze price behaviors and identify key levels.
In the top left chart, we have NQ vs. ES. It's no surprise that they are practically an exact match; a large portion of the S&P 500 is technology.
In the top right chart, NQ vs. GC, we see totally different behaviors. We can clearly see the summer consolidation in gold and the resumption of the uptrend, which took gold above 29,200 NQ points, up from 21,200.
In the bottom right chart, we see bitcoin making new highs, way above the Nasdaq in May, July, and October. However, the last high was way below the Nasdaq prices on October 27—the first lower high in a while. Sellers are pushing down.
Finally, the bottom left chart is NQ vs. 6E. We can see large volatility in the uptrend since February, with NQ unable to catch up until now. The last swing low was almost a match, and 6E is in a range.
As we can see, this tool allows us to perform intermarket analysis properly by accounting for each asset's volatility and price behavior. Then, we plot them on the same scale on equal terms, which makes performing this kind of analysis easy.
As we can see in the chart above, the assets are the same as in the previous image, but the timeframe is 1H with different settings.
Note the horizontal levels acting as support and resistance, as well as how NQ prices react to the zones marked with white circles. These levels are derived from custom assets selected by the user.
🔹 Displaying Elements
Zig-zag allows traders to clearly see the path that the selected asset's price took, as well as its turning points.
Horizontal levels are displayed from those turning points to the present and can be used as support or resistance. Traders can adjust the spread parameter in the settings panel to expand or contract those levels' volatility.
There are two color modes for the levels: average and pivots. In the first mode, green is used for levels below the average and red for levels above the average. The second uses green for swing lows and red for swing highs.
The backpaint feature is enabled by default and allows the swings to be displayed in the correct location. With this feature disabled, the swings will be displayed in the current location when a new swing is detected.
🔶 DETAILS
On a more technical note, the rescaling is formed by calculating three main elements from all the swings detected on the custom and chart assets:
The chart asset's average of all swing points
The chart asset's standard deviation of all swing points
The custom asset's z-score for each swing point
Then, the re-scaled swing point is calculated as the average plus the z-score multiplied by the standard deviation. This makes it possible to plot AAPL swings on an NQ chart, for example.
Thanks to re-scaling, we can directly compare the price behavior of two assets with different price ranges and volatility on the same chart.
🔶 SETTINGS
🔹 Trendlines
Ticker: Select the custom ticker.
Timeframe: Select a custom timeframe.
Show Last: Select how many swing points to display.
Pivot Length: Select the size for swing point detection.
Spread: Volatility multiplier for horizontal levels. Larger values mean the levels are farther apart.
Backpaint: Enable or disable the backpaint feature. When enabled, the drawings will be displayed where they were detected. When disabled, the drawings will be displayed at the moment of detection.
🔹 Style
Show ZigZag: Enable or disable the ZigZag display and choose a line style.
Show Levels: Enable or disable the levels display and choose a line style.
Color Mode: Choose between Average Mode, which colors all levels below the average bullish and all levels above bearish, and Pivot Mode, which colors swing highs bearish and swing lows bullish.
Bullish: Select a bullish color.
Bearish: Select a bearish color.
ZigZag: Select the ZigZag color.
DeM Trend Bias Strength with Alerts (RB Trading)This tool is built to help users understand trend direction, exhaustion, and momentum shifts on the daily timeframe. It highlights when a market is transitioning from weakness to strength or strength to weakness by displaying color-coded bias bars. The script does not forecast future outcomes and should be used as an analytical aid.
Intended Usage
• Timeframe: Daily
• Instruments: Works on most FX pairs and liquid markets
• Style: Trend and bias evaluation
• Purpose: Identify early signs of momentum recovery within ongoing trends
How It Works
Bias Rotation Engine
The script measures directional pressure and smooths it into a bar display that changes color as conditions shift.
• Green bars show rising strength conditions
• Red bars show declining strength conditions
• Transitional periods often appear near market turning points and consolidation zones
This helps users visually separate healthy directional trends from weakening phases.
Trend Alignment Filter
The bars are designed to be interpreted alongside moving averages or broader trend tools. When the bars turn higher while price respects an upward structure, it often supports continuation themes. When the bars weaken during downward phases, it highlights potential areas where the trend retains control.
Identifying Exhaustion and Recovery
Repeated cycles in the bar display can highlight areas where:
• Downside pressure is fading before an upswing
• Upside pressure is fading before a pullback
• Consolidation is forming before a breakout
These transitions tend to align with moments shown in the image where the arrows mark bias shifts occurring before price acceleration.
How to Use It
• Wait for a clear color rotation before making any decisions
• Confirm with the daily trend and price structure
• Avoid using the tool by itself for entries
• Combine with support and resistance, moving averages, and candle structure
• Not intended for scalping or intraday signals
Why Daily Chart Works Best
The daily timeframe smooths out noise and gives the strength bars enough data to reveal genuine trend transitions. Higher timeframes also reduce false rotations that are common in lower timeframes.
Notes
The script does not predict or guarantee price movement. It processes historical inputs to help the user understand directional conditions. Each trader should apply their own risk plan and confirm levels before acting on any idea.
Hash Ratings EngineHash Ratings Engine - Technical Consensus Strategy
A systematic trading strategy that harnesses TradingView's Technical Ratings to generate high-conviction entries with institutional-grade risk management.
What It Does
This strategy aggregates the consensus of 26+ technical indicators (RSI, MACD, Stochastics, multiple Moving Averages, etc.) into a single actionable signal. When enough indicators align bullish or bearish, the engine triggers an entry. Built-in trend filtering and ATR-based exits keep you on the right side of the market.
Key Features
Trend Filter - Only takes longs in uptrends, shorts in downtrends. This single filter typically improves results by 20-40% by avoiding counter-trend trades.
ATR-Based Risk Management - Stop loss and trailing stops adapt to current market volatility. Tight stops in calm markets, wider stops in volatile conditions.
Cooldown System - After a losing trade, the strategy waits before re-entering. This prevents the consecutive loss streaks that destroy accounts.
Clean Visuals - Fluorescent entry/exit signals with price level references. See exactly where you got in and out.
Settings Guide
Indicator Timeframe: Leave blank for current chart. Use higher timeframe for fewer, higher-quality signals.
Rating Source: "All" for balanced approach. "MAs" for trend-following. "Oscillators" for mean-reversion.
Entry Thresholds
Strong Signal Threshold: Higher = fewer trades but better conviction. Start at 0.5, test 0.4-0.6.
Risk Management
ATR Period: 12 is responsive, 14 is standard, 20+ is smoother.
Stop Loss: 2-3x ATR for tight stops, 3.5-4x for moderate, 5x+ for wide.
Trail Activation: How far price must move in profit before trailing begins.
Trail Offset: How closely the trail follows price.
Trend Filter
EMA Length: 150 works well on 4H charts. Use 100 for lower timeframes, 200 for daily.
Trade Timing
Cooldown: Keep enabled. 5 bars is a good starting point.
Best Practices
Start with default settings and backtest on your preferred instrument. Adjust the Strong Signal Threshold first - this has the biggest impact on trade frequency. Then tune the EMA length to match your timeframe. Finally, optimize the ATR multipliers for your risk tolerance.
Works on any liquid market - crypto, forex, stocks, futures. Higher timeframes (4H, Daily) tend to produce cleaner signals than lower timeframes.
Disclaimer
Past performance does not guarantee future results. Always backtest thoroughly and use proper position sizing. This strategy is for educational purposes - trade at your own risk.
US Market Long Horizon Momentum Summary in one paragraph
US Market Long Horizon Momentum is a trend following strategy for US index ETFs and futures built around a single eighteen month time series momentum measure. It helps you stay long during persistent bull regimes and step aside or flip short when long term momentum turns negative.
Scope and intent
• Markets. Large cap US equity indices, liquid US index ETFs, index futures
• Timeframes. 4h/ Daily charts
• Default demo used in the publication. SPY on 4h timeframe chart
• Purpose. Provide a minimal long bias index timing model that can reduce deep drawdowns and capture major cycles without parameter mining
• Limits. This is a strategy. Orders are simulated on standard candles only
Originality and usefulness
• Unique concept or fusion. One unscaled multiple month log return of an external benchmark symbol drives all entries and exits, with optional volatility targeting as a single risk control switch.
• Failure mode addressed. Fully passive buy and hold ignores the sign of long horizon momentum and can sit through multi year drawdowns. This script offers a way to step down risk in prolonged negative momentum without chasing short term noise.
• Testability. All parameters are visible in Inputs and the momentum series is plotted so users can verify every regime change in the Tester and on price history.
• Portable yardstick. The log return over a fixed window is a unit that can be applied to any liquid symbol with daily data.
Method overview in plain language
The method looks at how far the benchmark symbol has moved in log return terms over an eighteen month window in our example. If that long horizon return is positive the strategy allows a long stance on the traded symbol. If it is negative and shorts are enabled the strategy can flip short, otherwise it goes flat. There is an optional realised volatility estimate on the traded symbol that can scale position size toward a target annual volatility, but in the default configuration the model uses unit leverage and only the sign of momentum matters.
Base measures
Return basis. The core yardstick is the natural log of close divided by the close eighteen months ago on the benchmark symbol. Daily log returns of the traded symbol feed the realised volatility estimate when volatility targeting is enabled.
Components
• Component one Momentum eighteen months. Log of benchmark close divided by its close mom_lookback bars ago. Its sign defines the trend regime. No extra smoothing is applied beyond the long window itself.
• Component two Realised volatility optional. Standard deviation of daily log returns on the traded symbol over sixty three days. Annualised by the square root of 252. Used only when volatility targeting is enabled.
• Optional component Volatility targeting. Converts target annual volatility and realised volatility into a leverage factor clipped by a maximum leverage setting.
Fusion rule
The model uses a simple gate. First compute the sign of eighteen month log momentum on the benchmark symbol. Optionally compute leverage from volatility. The sign decides whether the strategy wants to be long, short, or flat. Leverage only rescales position size when enabled and does not change direction.
Signal rule
• Long suggestion. When eighteen month log momentum on the benchmark symbol is greater than zero, the strategy wants to be long.
• Short suggestion. When that log momentum is less than zero and shorts are allowed, the strategy wants to be short. If shorts are disabled it stays flat instead.
• Wait state. When the log momentum is exactly zero or history is not long enough the strategy stays flat.
• In position. In practice the strategy sits IN LONG while the sign stays positive and flips to IN SHORT or flat only when the sign changes.
Inputs with guidance
Setup
• Momentum Lookback (months). Controls the horizon of the log return on the benchmark symbol. Typical range 6 to 24 months. Raising it makes the model slower and more selective. Lowering it makes it more reactive and sensitive to medium term noise.
• Symbol. External symbol used for the momentum calculation, SPY by default. Changing it lets you time other indices or run signals from a benchmark while trading a correlated instrument.
Logic
• Allow Shorts. When true the strategy will open short positions during negative momentum regimes. When false it will stay flat whenever momentum is negative. Practical setting is tied to whether you use a margin account or an ETF that supports shorting.
Internal risk parameters (not exposed as inputs in this version) are:
• Target Vol (annual). Target annual volatility for volatility targeting, default 0.2.
• Vol Lookback (days). Window for realised volatility, default 63 trading days.
• Max Leverage. Cap on leverage when volatility targeting is enabled, default 2.
Usage recipes
Swing continuation
• Signal timeframe. Use the daily chart.
• Benchmark symbol. Leave at SPY for US equity index exposure.
• Momentum lookback. Eighteen months as a default, with twelve months as an alternative preset for a faster swing bias.
Properties visible in this publication
• Initial capital. 100000
• Base currency. USD
• Default order size method. 5% of the total capital in this example
• Pyramiding. 0
• Commission. 0.03 percent
• Slippage. 3 ticks
• Process orders on close. On
• Bar magnifier. Off
• Recalculate after order is filled. Off
• Calc on every tick. Off
• All request.security calls use lookahead = barmerge.lookahead_off
Realism and responsible publication
The strategy is for education and research only. It does not claim any guaranteed edge or future performance. All results in Strategy Tester are hypothetical and depend on the data vendor, costs, and slippage assumptions. Intrabar motion is not modeled inside daily bars so extreme moves and gaps can lead to fills that differ from live trading. The logic is built for standard candles and should not be used on synthetic chart types for execution decisions.
Performance is sensitive to regime structure in the US equity market, which may change over time. The strategy does not protect against single day crash risk inside bars and does not model gap risk explicitly. Past behavior of SPY and the momentum effect does not guarantee future persistence.
Honest limitations and failure modes
• Long sideways regimes with small net change over eighteen months can lead to whipsaw around the zero line.
• Very sharp V shaped reversals after deep declines will often be missed because the model waits for momentum to turn positive again.
• The sample size in a full SPY history is small because regime changes are infrequent, so any test must be interpreted as indicative rather than statistically precise.
• The model is highly dependent on the chosen lookback. Users should test nearby values and validate that behavior is qualitatively stable.
Legal
Education and research only. Not investment advice. You are responsible for your own decisions. Always test on historical data and in simulation with realistic costs before any live use.
Swing Trading System v5 - Dynamic SL/Targets with LabelsThe Swing Trading System v5 is a fully-automated swing-trend framework designed to identify high-confidence breakout entries, generate dynamic stop-loss and target levels, and visually label actionable trade zones on the chart.
It adapts to market conditions using structure breaks, EMA trend filters, candle confirmation, and volume expansion signals.
Core Features
1. Swing Breakout Engine (Structure-Based)
The system detects short-term swing highs/lows and evaluates whether price has broken out above resistance or broken down below support.
A directional bias is established using a structure-based confirmation variable and automatically updated trailing stop logic.
2. Trend Filter (EMA 20/50/200)
To avoid counter-trend trades, the engine uses:
EMA-200 for primary trend direction
EMA-20 and EMA-50 for near-term momentum
Signals align only when structure breaks AND the major trend confirm each other.
3. Candle Confirmation
Entry signals require classical reversal momentum patterns:
Bullish Engulfing for long trades
Bearish Engulfing for short trades
This filters out weak structure breaks and ensures institutional momentum.
4. Volume Confirmation
Volume must exceed a configurable SMA-based threshold.
This prevents false signals during low-liquidity or consolidation phases.
Signal Logic
Long Signal Triggers
A Buy signal is printed when:
Price crosses above the dynamic trailing stop (swing resistance)
Price is above EMA-200 (bull trend)
Candle forms a bullish engulfing confirmation
Volume > SMA(10) × Multiplier
Short Signal Triggers
A Sell signal occurs when:
Price crosses below the dynamic trailing stop (swing support)
Price is below EMA-200 (bear trend)
Candle forms a bearish engulfing confirmation
Volume expansion confirms downside momentum
Dynamic Stop-Loss & Profit Targets
When a signal triggers, the system automatically calculates:
Stop-Loss (SL):
Long trades: last swing low
Short trades: last swing high
Target 1 (TP1): 1.5R relative to swing distance
Target 2 (TP2): 3.0R for trend continuation moves
SL, TP1, and TP2 are displayed on-chart using extended line plots and right-side labels for clean visualization.
Labels for old signals are automatically deleted to keep the chart uncluttered.
Visual Components
The indicator provides:
BUY/SELL signal labels
Dynamic SL, TP1, TP2 lines with color coding
SL/TP labels positioned at the end of each new trade
Clean breakout detection based on structural pivots
All elements update automatically as new swings form.
Intended Use
This system is built for:
Swing Traders
Systematic Discretionary Traders
Trend Followers
Breakout/Momentum Traders
Works well on:
Stocks
Crypto
Forex
Indices
Commodities
Optimal timeframes: 1H, 4H, Daily, Weekly
Summary
The Swing Trading System v5 provides:
High-quality breakout entries
Trend-aligned signals
Volume-filtered confirmation
Automated risk-reward generation
Clean and dynamic chart labels
A complete, self-contained swing-trading solution for systematic execution and disciplined risk management.
ZynIQ Market Structure Master v2 - (Pro Pack)Overview
ZynIQ Market Structure Master v2 (Pro) maps structural shifts in price action using automated BOS/CHOCH detection, swing analysis and directional flow. It provides a clear view of when the market transitions between expansion, pullback and reversal phases.
Key Features
• Automated BOS (Break of Structure) and CHOCH detection
• Swing high/low mapping with optional filtering
• Directional flow logic for identifying trend vs reversal phases
• Optional EQ levels and mitigation markers
• Configurable structure sensitivity for different timeframes
• Clean labels and minimal clutter for fast interpretation
• Suitable for intraday and swing structure analysis
Use Cases
• Identifying key structural shifts in trend
• Spotting early reversal signals via CHOCH
• Assessing trend continuation vs distribution/accumulation
• Combining structure with liquidity, FVG or breakout tools
Notes
This tool provides structural context using break-of-structure and swing logic. It is not a trading system by itself. Use alongside your own confirmation and risk management.
Magic Swing Suite: Trend, Pullback & Risk DashboardMagic Swing Suite: Trend, Pullback & Risk Dashboard
This indicator is a complete Swing Trading System designed to identify high-probability trend continuation setups. It combines classic trend-following principles with a unique "3-Bar Retest" logic and provides a real-time Strategy Dashboard to help you manage positions without needing a separate strategy script.
How it Works:
The system looks for a "Confluence" of factors before generating a signal. It scores every bar out of 140 points based on the following criteria:
Trend Alignment: Price must be above EMA 10, and EMA 10 must be above EMA 20.
Momentum (RSI): RSI must be in the "Bullish Control Zone" (60-80) and above its SMA.
Volume: Volume must be significantly higher than the average (1.5x by default).
The "Magic" Retest: The script checks the last 2-5 bars to see if the price has pulled back to "kiss" the EMA 10. This ensures we are buying a dip in a trend, not chasing a top.
Breakout Confirmation: Checks for Darvas Box breakouts and price position relative to Pivot R1.
Features:
🎯 Virtual Strategy Dashboard: A table that mimics a strategy tester. It tracks Entry, Stop Loss (Trailing), Target 1, and Target 2 in real-time.
📊 Confluence Scorecard: A detailed table showing exactly why a signal was (or wasn't) generated (Trend, Retest, RSI, Volume, etc.).
🛡️ Risk Management: automatically calculates a Trailing Stop (EMA 10) and fixed Risk:Reward targets based on recent highs.
📉 Multi-Layered Overlays: Includes Auto-Pivots (Traditional, Fib, Woodie, etc.) and Darvas Boxes to identify support/resistance levels.
How to Use:
Wait for a Signal:
"FULL BUY SIGNAL" (Green): All conditions are met, including a recent retest of the EMA. This is the highest probability setup.
"BUY - NO RETEST" (Orange): Trend and momentum are strong, but price hasn't pulled back recently. Use caution, as this may be a breakout trade.
Monitor the Dashboard: Once a trade is active, the dashboard will change to "IN POSITION." Follow the "Action" row.
If the trend weakens, the Trailing Stop (EMA 10) will move up to protect profits.
Targets:
T1: Previous Swing High (or 5% if no high found).
T2: 1:1.6 Risk/Reward extension.
Settings:
Volume Spike Factor: Adjust how much volume is needed to confirm a move. Default is 1.2.
Retest Tolerance: Adjust how close the price needs to get to the EMA 10 to count as a "retest."
Dashboard Toggles: You can hide the tables if you prefer a clean chart.
Pivot Timeframes: customizable lookback for S/R levels.
FAQ:
Does this repaint?
No. All signals trigger only on confirmed bars.
Can I use this intraday?
Yes. Works great from 5m to 1D.
Are exits manual or automated?
The indicator tracks SL, T1, and T2, and marks them on the chart.
Does retest affect the buy signal?
Retest is optional. The buy logic does not require it, but adds weight to the score.
Disclaimer: This tool is for educational purposes only. The "Strategy Dashboard" is a simulation based on script calculations and does not execute real trades. Always manage your own risk.
FAD% - Futures vs Spot SpreadWealthcon Inspired FAD% - Futures vs Spot Spread. Helps find Arbitrage opportunity and reversal signals
[iQ]PRO Fractals in Dealing Range and Fib Levels+⚡️ PRO Combined Fractal & Dealing Range THEORY W QUADRANTS AND FIB LEVELS: Dynamic Price Structure Analysis
The PRO Combined Fractal & Dealing Range indicator is a proprietary, cutting-edge market structure analysis tool designed to give serious traders a tactical edge by merging advanced Fractal-based wave detection with a sophisticated Dynamic Dealing Range system. This professional-grade utility provides a crystal-clear, multi-layered view of key supply and demand zones, trend reversals, and structural boundaries.
Key Features & Proprietary Logic
This indicator is built on two harmoniously integrated engines, providing a comprehensive view that goes far beyond standard technical analysis.
📈 Adaptive Fractal Wave Engine
Our custom-tuned Fractal Engine employs a unique, multi-degree detection process to identify both Base Swings and Higher Degree Swings with unparalleled precision.
Proprietary Period Calculation: The engine utilizes a specialized formula based on the Golden Ratio (ϕ) to determine a refined higher-degree lookback period: Period
F
=floor(Period
Base
ϕ
). This adaptive logic helps filter market noise and highlight only the most significant structural turning points.
Dynamic Labeling: Automatically places visual markers on the chart to define confirmed Highs and Lows, simplifying the interpretation of market structure and potential directional shifts.
🎯 Dynamic Dealing Range System
This core component provides a detailed, automatically calculated framework of critical price levels, serving as a roadmap for potential entries, targets, and risk management.
Strategic Quadrant Mapping: Automatically establishes a significant Dealing Range based on a customizable lookback period, then divides it into four distinct Quadrants (Q1-Q4). These zones highlight areas of Premium, Equilibrium (Q2-Q3), and Discount, guiding trading decisions relative to the overall range.
Advanced Level Detection:
Fibonacci Retracement: Displays key Fibonacci levels (e.g., 50%, 61.8%, 78.6%) within a user-defined range, identifying high-probability reversal and reaction areas.
Liquidity & Pivots: The indicator incorporates a proprietary Liquidity Detection Algorithm using adaptive pivot sensitivity to identify significant historical support and resistance zones.
Inter-Timeframe Structure: Features a non-repainting method to display Important Highs/Lows (such as Monthly, Weekly, and Daily extremes) right on your current chart, bridging the gap between timeframes.
Professional Trader Utility
Clarity on Price Action: Instantly see the structure of the market and which direction the momentum is flowing based on the confirmed fractal swings.
Actionable Alerts: Receive timely and precise alerts when price approaches critical psychological and structural levels, including the Quadrant boundaries and the highly reactive Fibonacci 0.618 level.
Information at a Glance: A clean, professional table is displayed on the chart, summarizing the calculated range boundaries (Quadrant and Fibonacci Highs/Lows) for immediate reference.
The PRO Combined Fractal & Dealing Range is an indispensable tool for traders focused on market structure, institutional price action, and trading within clearly defined ranges. It is designed to minimize subjectivity and maximize clarity on your TradingView chart.
NO REPAINT ;)
Anchor SafeSwing Gold StrategyOverview:
The Anchor SafeSwing Gold Strategy is designed for users who prefer structured, rule-based swing trading on XAUUSD. It focuses on identifying high-quality trade setups rather than frequent entries.
This strategy analyzes the market using multiple technical indicators and methods—including trend analysis, multi-chart confirmation, and support/resistance evaluation—to identify potential swing points. It also incorporates a dynamic approach to risk management through adaptive stop-loss and take-profit logic.
How the Strategy Works
1. Multi-Chart & Trend Analysis:
The strategy evaluates trend direction using several indicators and multiple charts. This helps determine whether the trend favors long or short setups.
2. Buy/Sell Conditions:
a. Buy Conditions: When the broader trend is identified as bullish, the strategy waits for the formation of a strong support zone before considering a long position.
b. Sell Conditions: When the trend is bearish, it waits for a confirmed resistance zone before initiating short positions.
3. Dynamic Take-Profit Logic
The strategy uses adaptive take-profit behavior based on evolving market conditions. It monitors new support/resistance structures and various overbought/oversold signals to dynamically exit trades.
4. Dynamic and Configurable Stop-Loss:
A flexible stop-loss system adjusts according to volatility and market structure.
Users can modify the stop-loss threshold in the settings based on their own risk tolerance and account size.
Trading Frequency :
This strategy focuses on select, high-quality setups. As a result, trade frequency is relatively low and may vary depending on market conditions. Backtesting may show roughly several trades per month, but actual live performance can differ.
Important Notes
All trading involves risk, and users should evaluate the strategy and adjust settings according to their own risk management preferences.
Safe Supertrend Strategy (No Repaint)Overview
The Safe Supertrend is a repaint-free version of the popular Supertrend trend-following indicator.
Most Supertrend indicators appear perfect on historical charts because they flip intrabar and then repaint after the candle closes.
This version fixes that by using close-of-bar confirmation only, making every trend flip 100% stable, safe, and non-repainting.
Why This Supertrend Doesn’t Repaint
Most Supertrend indicators calculate their trend direction using the current bar’s data.
But during a live candle:
ATR expands and contracts
The upper/lower bands move
Price moves above/below the band temporarily
A false flip appears → then disappears when the candle closes
That is classic repainting.
This indicator avoids all of that by using:
close > upper
close < lower
This means:
Trend direction flips only based on the previous candle,
No intrabar calculations,
No flickering signals,
No “perfect but fake” historical performance.
Every signal you see on the chart is exactly what was available in real-time.
How It Works
Calculates ATR (Average True Range) and SMA centerline
Builds upper and lower volatility bands
Confirms trend flips only after the previous bar closes
Plots clear bull and bear reversal signals
Works on all markets (crypto, stocks, forex, indices)
No repainting, no recalc, no misleading flips.
Bullish Signal (Trend Up)
A bullish trend begins only when:
The previous candle closes above the upper ATR band,
And this flip is fully confirmed.
A green triangle marks the start of a new uptrend.
Bearish Signal (Trend Down)
A bearish trend begins only when:
The previous candle closes below the lower ATR band,
And the downtrend is confirmed.
A red triangle signals the start of a new downtrend.
Inputs
ATR Length - default 10
ATR Multiplier - default 3.0
Works on all timeframes and market
Simple, but powerful.
Why Use This Version Instead of a Regular Supertrend?
Most Supertrends:
Look great historically
But repaint continuously on live charts
Give false trend flips intrabar
Cannot be reliably used in strategies
This version:
Uses strict previous-bar logic
Never repaints trend direction
Works perfectly in live trading
Backtests accurately
Is ideal for algorithmic strategies
Ideal For:
Trend-following strategies
Breakout trading
Algo trading systems
Reversal detection
Filtering market noise
Swing trading & scalping
Final Note
This is a safer, more reliable Supertrend designed for real-world use — not perfect-looking repaint illusions.
If you use Supertrend in your trading system, this no-repaint version ensures your signals are trustworthy and consistent.
Average Directional Index infoAverage Directional Index (ADX) is a technical indicator created by J. Welles Wilder that measures trend strength (not direction!). Values range from 0 to 100.
This indicator is a supplementary tool for assessing whether trend strategies are worthwhile, monitoring changes in trend strength and avoiding weak, choppy movements
Value Interpretation:
0-25: Weak trend or sideways market
25-50: Moderate to strong trend
50-75: Very strong trend
75-100: Extremely strong trend (rare)
Important: ADX does not indicate trend direction (up/down), only its strength!
This script indicator includes additional features:
1. ADX Plot (purple line)
Basic ADX value showing current trend strength.
2. ADX Trend Analysis (arrows)
The script compares current ADX with its 10-period moving average with ±5% tolerance:
↑ (green): ADX rising → trend strengthening
↓ (red): ADX falling → trend weakening
⮆ (gray): ADX stable → trend strength unchanged
3. Information Table
Displays current ADX value with trend arrow in the top-right corner.
Parameters to Configure
Smoothing (default: 14) - Indicator smoothing period
Lower values (e.g., 7): more sensitive, more signals
Higher values (e.g., 21): more stable, less noise
Indicator Length (default: 14) - Period for calculating directional movement (+DI/-DI)
Wilder's standard value is 14
Trend Length (default: 10) - Period for moving average to analyze ADX dynamics
Determines how quickly changes in trend strength are detected
Practical Application
✅ Strategy 1: Trend Strength Filter
1. ADX > 25 → look for positions aligned with the trend
2. ADX < 25 → avoid trend strategies, consider oscillators
✅ Strategy 2: Entries on Strengthening Trend
1. ADX crosses above 25 + arrow ↑ → trend gaining momentum
2. Combine with other indicators (e.g., EMA) for direction confirmation
✅ Strategy 3: Exhaustion Warning
1. ADX > 50 + arrow ↓ → strong trend may be exhausting
2. Consider profit protection or trailing stop
Average True Range % infoATR% is a modified version of the classic Average True Range indicator that displays price volatility as a percentage of the instrument's value, rather than in absolute values. This allows you to easily compare the volatility of different assets (e.g., Bitcoin vs Tesla stock) regardless of their price.
Main Features
1. ATR% Chart
The red line shows the average volatility from the last N candles (default 14), expressed as a percentage. For example:
ATR% = 2.5% means that the average daily move is approximately 2.5% of the asset's value
Higher values = greater volatility (higher profit potential, but also greater risk)
Lower values = lower volatility (calmer market)
2. Volatility Trend Analysis
The indicator automatically detects whether volatility is rising, falling, or stable:
Up arrow (↑) - volatility is rising (price becomes more "nervous")
Down arrow (↓) - volatility is falling (market is calming down)
Horizontal arrow (⮆) - volatility is stable (within ±3% of the moving average)
3. Information Table
In the upper right corner of the chart you will see Current ATR% value and Trend arrow with color coding:
- Green = rising volatility
- Red = falling volatility
- Gray = stable volatility
Parameters to Configure
Indicator Length (default: 14) - How many candles back to include in calculations:
Lower values (5-10): more sensitive to sudden changes, reacts faster
Higher values (20-30): more smoothed, shows long-term volatility picture
Trend Length (default: 10) - Period to analyze whether volatility is rising/falling:
Lower values: faster trend change signals
Higher values: more reliable, but slower signals
Sample Interpretations
ATR% Volatility Asset Type/Situation
< 1% Very low Stable blue-chip stocks, calm market
1-3% Low-medium Typical stocks, normal conditions
3-5% Medium-high Volatile stocks, cryptocurrencies at rest
5-10% High Cryptocurrencies, penny stocks
> 10% Extremely high Market panic, crash, pump & dump
BBWW 2.0 Revised EN# Expert Review: BBWW 2.0 (Bollinger Bands Wing Waves)
**Verdict:** This is not just an indicator, but a full-fledged **system for visualizing market regimes**. Unlike standard Bollinger Bands, which only show volatility and deviation, BBWW 2.0 decodes **crowd psychology**, separating price movements into momentum phases (Fear/Greed) and decay phases (Correction).
This is a tool for **trend** and **swing** traders operating on volatility breakouts.
---
## How It Works: Under the Hood
At its core lies the classic mathematics of standard deviation, enhanced by advanced digital filters (Gaussian, Butterworth, SWMA).
The main "feature" of the indicator is the **Wing Waves** algorithm, which analyzes three vectors simultaneously:
1. Direction of the Basis (central line).
2. Dynamics of the Upper Band (expansion/contraction).
3. Dynamics of the Lower Band (expansion/contraction).
The combination of these vectors creates 4 market states:
### 1. Greed Impulse (Color: Olive)
* **Logic:** Basis rising + Channel expanding upwards.
* **Meaning:** Aggressive buying. Volatility is increasing in the direction of the trend. This is the most profitable phase for holding long positions. Shorting here is suicide.
### 2. Greed Correction (Color: Maroon)
* **Logic:** Basis is still rising, but the lower band has started to pull up (volatility contraction).
* **Meaning:** Buyers are exhausting, taking profits. Momentum has faded, the market is drifting or preparing for a reversal.
### 3. Fear Impulse (Color: Fuchsia)
* **Logic:** Basis falling + Channel expanding downwards.
* **Meaning:** Panic selling. Strong downward impulsive movement. The best time to hold shorts or stay out of the market (for spot).
### 4. Fear Correction (Color: Teal)
* **Logic:** Basis falling, but the upper band has started to decline (contraction).
* **Meaning:** "Dead cat bounce" or bottom stabilization. Sellers are closing positions, volatility is dropping. Dangerous to open new shorts.
---
## Trading Strategies and Recommendations
As a professional trader, I recommend using BBWW 2.0 as follows:
### Strategy 1: "Surfing the Waves" (Trend Following)
Works perfectly on 1H, 4H, and 1D timeframes.
* **ENTRY:** Enter a trade when a "Correction" phase changes to an "Impulse" phase.
* *Long:* Change from Maroon (Correction) → to Olive (Greed). This is a signal that consolidation is over and the trend has resumed.
* *Short:* Change from Teal (Correction) → to Fuchsia (Fear).
* **EXIT:** As soon as the color changes to a correction phase, tighten your stop-loss or take partial profits.
### Strategy 2: "The Squeeze"
BBWW excels at showing moments when the spring is coiling.
* If you see a prolonged period of "Correction" (bands narrowing), and price is squeezed between the Basis and one of the bands — get ready for a breakout.
* Use **Basis Line touches** during a trend as an entry point to add to a position. In a strong trend, price often tests the middle (Basis) and bounces off it.
### Strategy 3: Noise Filtering
* Enable **Gaussian** or **Butterworth** filter in settings instead of the standard SMA. This removes market noise and provides a smoother Basis Line, reducing false signals in sideways markets (flat).
---
## Nuances and Risks
1. **Sideways Market (Flat):** Like any trend tool, BBWW will give false signals in a narrow range. Colors will change frequently, and bands will be horizontal.
* *Solution:* Do not trade if the Basis Line is flat (horizontal). Wait for a slope.
2. **Lag:** Any MA (Moving Average) has lag. The signal for a phase change (e.g., start of Fear) comes when the move has already started. Do not try to catch the absolute tops and bottoms. Capture the "body" of the move.
3. **Period Settings:**
* For scalping (5m-15m): Reduce period to 14-16.
* For medium-term (4H-1D): Leave at 20 or increase to 50 to filter for the global trend.
### Summary
BBWW 2.0 is a powerful visual assistant. It removes the emotional component of trading by answering the main questions: *"Is it greed or fear right now?"* and *"Is volatility rising or falling?"*.
**Best Application:** Cryptocurrencies and volatile stocks, where pump and dump phases (volatility expansions) are most pronounced.
Timed Swing Points [Free +] | cephxsTimed Swing Points | cephxs
This indicator is published under the Mozilla Public License 2.0. © cephxs, © fstarcapital
1. OVERVIEW
Timed Swing Points (TSP) highlights the timing of recent confirmed swing highs and lows and annotates them with context-aware time labels. Instead of drawing traditional pivot shapes and cluttering the chart, this streamlined free edition focuses on the temporal structure: WHEN pivots occur, not just WHERE . It helps discretionary traders quickly scan for clustering of swings around repeating intraday minutes or higher‑timeframe day names.
2. WHAT IT DOES
Detects swing highs and lows using a sensitivity factor (len)
Adds a time (or day name on daily timeframe) label at each qualified swing
Optional filtering to only show labels during defined "key time" minute windows
Automatically adapts label content to timeframe:
Intraday: HH:MM (24h or 12h model depending future input extension)
Daily: Full or abbreviated weekday names
Respects a maximum number of displayed swing points to keep charts clean
3. CORE FEATURES
Swing Detection: Uses ta.pivothigh(len, len) / ta.pivotlow(len, len); a pivot is confirmed only after enough bars pass, avoiding repaint on the current bar.
Time Labeling: Places labels offset back to the pivot bar index (bar_index - len).
Key Time Filtering: When enabled, labels only show if the pivot's minute is inside one of three windows: 00–10, 24–36, 50–59 minutes. These windows target common liquidity / volatility phases.
Day Name Mode: On daily timeframe, labels display full (e.g., Monday) or abbreviated (e.g., Mon) day names depending on the Full Day Names setting.
Point Limiting: Oldest labels are removed once Maximum Points Displayed is exceeded.
Clean Visual Footprint: Shape markers and lines are disabled in this free build (internally set to constants). Focus remains on time annotation density rather than price level persistence.
4. INPUTS & PARAMETERS
Sensitivity (len): Default 2. Swing pivot width. Higher = fewer, broader swings
Maximum Points Displayed: Default 10. Caps number of recent swing labels retained
Show Time Labels: Default true. Master toggle for all time labels
Key Times Only: Default true. Restricts labels to predefined minute windows
Prefix: Default blank. Optional text prepended to each label
High Time Color: Default red. Text color for swing high labels
Low Time Color: Default blue. Text color for swing low labels
Text Size: Default Small. Controls label text size (Tiny → Huge)
Full Day Names: Default true. Show full weekday names on daily timeframe
Internal Constants (Not User-Adjustable):
Shape display flags (show_high, show_low) set false
Line display and deletion logic present but disabled
Timezone currently fixed to America/New_York in Automatic mode; DST handled by TradingView engine
5. HOW SWING TIME IS DETERMINED
For each bar the script evaluates pivot conditions
A pivot is confirmed only after the right width (len) bars complete—the label is then placed len bars back
Time extraction uses the pivot's bar timestamp and converts:
Intraday: Formats HH:MM (24-hour). Infrastructure exists for future 12h toggle
Daily: Converts timestamp to a weekday name
Key time filter checks the pivot's minute bucket. If outside defined windows and filter is active, the label is skipped
6. TIME WINDOWS LOGIC (KEY TIMES ONLY)
Minutes 00–10 → Opening sequence & initial liquidity sweep
Minutes 24–36 → Post initial rotation / mid-hour inflection zone
Minutes 50–59 → Pre hour close / micro-structure reshuffle
ICT Traders: View as macros and note when macros form swing points
This pattern helps isolate intraday zones where structural shifts frequently occur, reducing noise from less consequential pivot timings.
7. USAGE GUIDELINES
Start with Sensitivity = 2 or 3 for most liquid intraday symbols. Increase on higher timeframes to avoid excessive clustering
Key Times Only ON: Ideal for focusing on session rotation pivots. OFF: Use for full discovery when studying custom time behaviors
Combine with volume profile or divergence tools to qualify time-labeled swings (e.g., a swing forming at 09:30 NY vs. random mid-bar)
Apply on lower timeframes (1–15m) to map recurring patterns or on Daily to see weekly rhythm changes
8. PERFORMANCE & LIMITATIONS
Efficient: Only stores arrays of recent labels and prunes aggressively
No Alerts: Current version does not fire alerts (Future Pro+ variant may include swing-time alerting)
Timezone: Fixed to America/New_York
9. BEST PRACTICES
Use a neutral chart theme; contrasting label colors amplify swing clusters
When analyzing historical pattern reliability, temporarily raise Maximum Points Displayed to 50–100 then revert to lighter values for live trading
Prefix field: Add a tag like "T:" if mixing multiple custom time tools to differentiate label origin
10. FAQ
Q: Why do some expected swings not show?
If they confirm outside key minute windows and filtering is ON, they're intentionally suppressed.
Q: Can I get price levels drawn?
Not in this free build. Lines/shapes are disabled intentionally.
Q: Does it repaint?
Pivot confirmation waits for the right width; labels appear only after the swing is locked in. Past labels aren't retroactively moved.
Q: Can I monitor multiple symbols at once?
This version is single‑symbol; use layouts or Pro variants for multi-source overlays.
11. CHANGELOG
v1.0 (Initial Free Release): Core swing time labeling, key time filter, day name adaptation, performance improvements. More updates coming.
12. DISCLAIMER
This tool is an analytical overlay designed for timing context only. It is NOT a standalone buy/sell signal. Always validate swings with broader market structure, liquidity pools, and risk management. No guarantee of future performance.
If you find this useful and want advanced variants (alerts, multi‑timezone, clustering metrics), reach out via TradingView. Feedback drives improvements.
ATR Trend + RSI Pullback Strategy [Profit-Focused]This strategy is designed to catch high-probability pullbacks during strong trends using a combination of ATR-based volatility filters, RSI exhaustion levels, and a trend-following entry model.
Strategy Logic
Rather than relying on lagging crossovers, this model waits for RSI to dip into oversold zones (below 40) while price remains above a long-term EMA (default: 200). This setup captures pullbacks in strong uptrends, allowing traders to enter early in a move while controlling risk dynamically.
To avoid entries during low-volatility conditions or sideways price action, it applies a minimum ATR filter. The ATR also defines both the stop-loss and take-profit levels, allowing the model to adapt to changing market conditions.
Exit logic includes:
A take-profit at 3× the ATR distance
A stop-loss at 1.5× the ATR distance
An optional early exit if RSI crosses above 70, signaling overbought conditions
Technical Details
Trend Filter: 200 EMA – must be rising and price must be above it
Entry Signal: RSI dips below 40 during an uptrend
Volatility Filter: ATR must be above a user-defined minimum threshold
Stop-Loss: 1.5× ATR below entry price
Take-Profit: 3.0× ATR above entry price
Exit on Overbought: RSI > 70 (optional early exit)
Backtest Settings
Initial Capital: $10,000
Position Sizing: 5% of equity per trade
Slippage: 1 tick
Commission: 0.075% per trade
Trade Direction: Long only
Timeframes Tested: 15m, 1H, and 30m on trending assets like BTCUSD, NAS100, ETHUSD
This model is tuned for positive P&L across trending environments and volatile markets.
Educational Use Only
This strategy is for educational purposes only and should not be considered financial advice. Past performance does not guarantee future results. Always validate performance on multiple markets and timeframes before using it in live trading.
Liquidity Sweeps + Swing High/Low — SMC/ICT (@PueblaATH)Liquidity Sweeps + Swing High/Low — SMC/ICT (@PueblaATH) is a liquidity-driven Smart Money Concepts tool that automatically maps out key swing highs and lows, tracks how they evolve into liquidity pools, and highlights when those levels are swept and either respected or invalidated. This indicator is built to give traders a clean, event-driven view of stop runs and liquidity grabs across any timeframe, from scalping to higher-timeframe context.
What the Indicator Does
Swing Structure & Liquidity Pools
Detects swing highs and lows using a configurable swing length, projects levels forward in time, and builds a liquidity-pool database through pivot arrays used for sweep detection.
Liquidity Sweeps (Stop Runs)
Identifies bearish (upward) and bullish (downward) sweeps through prior liquidity levels using three modes: Any Touch, Wick + Close Back, and Retest Rejection.
Each sweep can generate projective lines, labeled markers, and alerts.
Scope, Rate Limiting & Clean Visuals
Controls minimum spacing between swings and sweeps, limits sweep duplication, auto-revokes invalidated sweeps, and restricts the maximum number of visible events.
Smart offset logic reduces label overlap and keeps charts clean even in dense price action.
Timeframe Filters & Utilities
Allows hiding all drawings between specific timeframes and optionally skipping calculations or clearing internal state when hidden.
Includes debug pivot markers and an optional TF/Bucket badge.
Timeframe Auto-Mode (Original Adaptive Engine)
This indicator features a fully original, seven-bucket Auto-Mode engine that adapts sensitivity to the active timeframe.
Bucket Classification (by seconds)
≤1m, >1m–15m, >15m–30m, >30m–1h, >1h–4h, >4h–1d, >1d.
Bucket-Specific Settings
Each bucket has unique sensitivity sets:
Swing/Sweep lengths
Projection distances
Line style and width
Rate-limiting gaps
Pivot count and bar-lookback windows
Overlap windows
Adaptive Behavior
Lower timeframes gain more reactive behavior, while higher timeframes apply smoother and more selective filters.
Manual Override
Auto-Mode can be disabled to use the Core manual settings for full customization.
How to Use It
Attach the indicator and choose whether to keep Auto-Mode ON or OFF.
Select the sweep mode (e.g., Wick + Close Back for ICT-style liquidity grabs).
Adjust label text, size, color, and offsets to your preference.
Use timeframe filters to show drawings only where you want them.
Enable alerts for bullish sweeps, bearish sweeps, or revocations.
Combine sweep events with your own confluence (sessions, bias, OBs/FVGs, etc.).
Originality & Credits Disclaimer
This script is an original work by @PueblaATH , created specifically for Liquidity Sweeps + Swing High/Low — SMC/ICT (@PueblaATH) under the MPL 2.0 license.
The concepts used (swing highs/lows, liquidity pools, sweeps, SMC/ICT behavior) are public and widely known—they do not belong to any author or protected script.
This indicator does not repackage or cosmetically modify existing code.
Its architecture—including the multi-bucket Auto-Mode engine, pivot/sweep management system, revocation logic, overlap-aware labeling, and TF-based hide/skip/clear controls—is uniquely implemented for this script.
If any future update reuses or adapts code from public sources, full credit will be given in both comments and description, with clear explanation of what was reused and what was originally added or improved.
Swing Trade AL/SAT + Güç Derecesi_huğurlu
Weak signal → MACD crossover only.
Moderate signal → MACD crossover + RSI confirmation.
Strong signal → MACD crossover + RSI + Stoch RSI confirmation.
BUY/SELL labels appear on the chart in different colors and sizes.
This way, you can instantly see which signal is more reliable.
Zayıf sinyal → sadece MACD kesişim var
Orta sinyal → MACD kesişim + RSI teyidi.
Güçlü sinyal → MACD kesişim + RSI + Stoch RSI teyidi.
cd_sfp_CxGeneral:
This indicator is designed to assist users who trade the Swing Failure Pattern ( SFP ).
In technical literature (various definitions exist), an SFP is a situation where the price violates a previous swing level but fails to close beyond that level.
• (Liquidity Sweep)
• (Buyer or seller dominance)
• (Stop hunt)
• (Turtle Soup)
The general strategy is built upon seeking trade opportunities after an SFP is formed and conviction is established that the market direction has changed.
Components used to gather confirmation:
• Determining Bias: Periodic SAR
• Obtaining Breakout/Reversal Confirmation: Change in State Delivery (CISD)
• Defining the Buyer/Seller Block (Supply/Demand Zones): Mitg Blocks (Mitigation Blocks), FVG (Fair Value Gaps), and Standard Deviation Projection
• Key Levels: Previous HTF (Higher Time Frame) levels
• Setting Targets: Standard Deviation Projection
• Trade Management: Anchored VWAP and opposing blocks
• Time-Based Context: Session Killzone times
• Notifications: An alarm/alert system will be utilized to stay informed.
________________________________________
Details:
Swing and Swing Failure Pattern:
Swing Sweep Types (Liquidity Sweep):
1. Single
2. Consecutive (The liquidity of the entity that swept the liquidity is being swept)
Bias Determination
We need to filter out the numerous SFPs that occur across all time frames. Our first strong filter will be the Bias. We will only look for trades aligned with our bias.
We will use Periodic SAR (Stop and Reverse) to determine the bias. We compare the price with the SAR value from a Higher Time Frame than the one we are trading on.
• Price > SAR => Bullish Bias
• Price < SAR => Bearish Bias
Depending on the pair, H1 SAR may be chosen for scalp trades, and Daily/Weekly SAR for intraday and swing trades.
Key Levels
Strategies looking for trades after a liquidity grab generally state that the sweep / stop hunt movement should occur at a significant price level.
The most fundamental Key Level levels are (User can customize):
• Previous Week High & Low
• Previous Day High & Low
• Previous H4 High & Low
• Previous H1 High & Low
• Asia Killzone High & Low
• London Killzone High & Low
• New York Killzone High & Low
• Monday Range High & Low values
We will prefer SFP formations that occur when these levels are swept. When Key Levels are violated, an information label appears on the screen.
Blocks / Zones
To strengthen our hand, we will use three types of blocks/zones, either with Key Levels or separately. When an SFP structure is formed in these areas (along with bias and breakout confirmation), our expectation is for the price to continue in our desired direction. These regions are:
1. Mitigation Blocks (Mtg)
o (Details can be found in the cd_VWAP_mtg_Cx indicator)
o In short: A second candle, following a bullish candle, crosses its high but fails to close above it. We call this a sweep / SFP. When the price, which was expected to go to the low, instead makes a new high/close, an Mtg block is formed. (Buyers are dominant)
2. FVGs (Fair Value Gaps)
o We use classic FVG structures.
3. Standard Deviation Projection Boxes
o When we get an SFP structure + breakout confirmation (CISD), we use the Standard Deviation Projection to determine our profit-taking and take-profit levels.
o Based on the idea that the price often respects the range between -2 and -2.5 of the projection values, we box this range and use it as our area of interest. (Our expectation is for the price to reverse after reaching this target).
o Let's mark it on the chart.
Confirmation
To summarize what has been explained so far: we look for the price to form an SFP structure in levels/zones we deem important, aligned with our bias, and for the breakout to be confirmed with a CISD.
No single component is strong on its own, but the success rate increases when they occur together.
We observe the following as additional confirmation along with the CISD: a new Mtg block forming in the direction of the breakout, high-volume movement (with FVG and a large body), and respect for VWAPs, the resistance/support line, and the defense block.
Additional Confirmations with Breakouts:
• Defence block, new mtg and VWAP
• Resistance / Support Line:
Indicator Signals
The indicator marks all formed sweeps, selected key levels, blocks, the projection, and CISD confirmations on the screen. The candle where the CISD confirmation occurs is indicated by an arrow.
• Arrows with double short lines signify a CISD that follows an SFP occurring at a Key Level.
• All other CISD candle indications are shown with single-line arrows.
Trade Management
When selecting profit targets in trades (preferably), the projection, opposing blocks, and structures that have formed are taken into account. Do not neglect to look at the structures that have formed against you when entering a trade.
Menu Settings:
• For Mtg blocks, the trading timeframe or a higher timeframe can be selected.
• FVGs formed in the current timeframe are displayed when the price creates an SFP (in "Fvg" option).
• Deviation boxes are displayed when the price creates an SFP (in box).
• The SAR HTF setting (H1) for scalp trades may vary depending on the pair. Users trying trades on higher timeframes should increase the HTF setting.
o Example: If you are looking for a trade with an SFP structure on H1, the SAR HTF setting should be H4 or higher.
• VWAP lines are refreshed starting from the candle that executed the sweep when the price forms an SFP. The only setting to adjust is the source selection setting (hlc3 is selected).
• Time frames and Killzone / Special Zone settings for Key Levels can be changed/should be checked.
Alarms / Alerts:
The conditions that will trigger an alert can be selected from the menu.
• To receive an alert aligned with the bias, the "Alignment with bias" checkbox must be selected.
• The alert should be set on the timeframe where you plan to enter the trade.
• The display options do not affect the alarm conditions. (Example: FVGs are monitored even when the menu selection is "off").
• If the necessary conditions are met, the alarm is triggered on the new candle that opens after the CISD confirmation.
• The alarm will not be triggered more than once at the same Key Level.
The user can preferably select alerts:
• Bias-aligned or Bias-independent
• Sweep (without waiting for CISD)
• Sweep + CISD (without looking for other conditions)
• Sweep + Key Level + CISD (the swept level is a Key Level)
• Sweep + Mtg / Fvg / Dev. + CISD (SFP formed in any of the blocks)
• Sweep + Mtg + CISD (SFP formed in the Mtg block)
• Sweep + Fvg + CISD (SFP formed inside the FVG)
• Sweep + Deviation Box + CISD (SFP formed inside the Dev. Box)
• Sweep + Key Level + Mtg / Fvg / Dev. + CISD (SFP formed simultaneously at a Key Level and any of the blocks)
Trade Example:
• Conditions: Bias-aligned + Sweep + Mtg/Fvg/Dev (at least one) + CISD
• Extra Confirmations: Respect for the Defense Block + Respect for VWAP
• Target (TP): Projection between -2 and -2.5
I welcome your thoughts and suggestions regarding my indicator, which I believe will be successful in the long run by adhering to uncompromising risk management and a strict trading plan.
Happy Trading!
MTF Trend Analyzer with Swing Pivots & S/R Levels [SmartFoxy]Indicator “Multi-Timeframe Trend Analyzer with Swing Pivots & S/R Levels”
📌 Overview
Trend & Pivot S/R Levels is a multi-timeframe market structure analyzer that identifies trend direction, detects swing highs/lows, and plots higher-timeframe support/resistance levels directly on your chart.
Designed for traders who want fast, clean, and accurate trend context without constantly switching timeframes.
________________________________________________________________________________
✨ Core Features
1. Multi-Timeframe Trend Analyzer .
Analyze up to five higher timeframes simultaneously — for example:
5m, 1H, 4H, 1D, 1W , etc.
For each timeframe, the indicator detects:
a) Trend direction:
🡕 Uptrend;
🡖 Downtrend.
b) Breakouts of recent pivot highs/lows to determine trend shifts.
c) Automatic graying-out of timeframes lower than the current chart TF .
d) A clean visual Trend Panel that shows:
Arrow direction;
Timeframe label (1D, 1W, etc.);
Trend color (bullish, bearish, neutral).
________________________________________________________________________________
2. Swing Pivot Detection (Current TF)
The script detects local swing points using customizable lookback parameters:
a) Pivot Type:
High/Low — classic swing structure;
Close — smoother swing detection using closing prices.
b) Left/Right Bars Lookback — the number of bars required on both sides to validate the pivot.
c) Multiple marker styles :
Built-in plot shapes (circle, cross, histogram, etc.);
Custom visual labels (▲▼, ◉, ✖, 🡇🡅, ◆, ◼, etc.).
This makes it easy to visually confirm that your swing settings are correct.
________________________________________________________________________________
3. Higher-Timeframe Support/Resistance
The indicator automatically draws HTF S/R lines based on the latest pivot highs/lows from each selected timeframe.
Each timeframe has:
Separate Support / Resistance colors ;
Adjustable line width ;
Selectable line style (solid, dashed, dotted, arrows);
Optional HTF labels displayed on the lines.
This allows you to see major market structure levels from higher timeframes without switching charts.
________________________________________________________________________________
4. Smart Timeframe Safety Checks
If a selected timeframe is lower than your current chart timeframe , its data is:
Disabled for S/R plotting ;
Shown in gray inside the Trend Panel;
Prevents invalid S/R calculations and ensures stable chart performance.
________________________________________________________________________________
⚙️ Customization Options :
Show/Hide the Trend Panel;
Panel placement anywhere on the chart;
Swing pivot type: High/Low or Close ;
Pivot lookback (left/right bars);
Choose five HTFs to analyze;
Enable/Disable HTF S/R;
Configure S/R color for each timeframe;
Line style + line width;
Pivot marker type + size;
Custom label styles + text scaling.
________________________________________________________________________________
✅ Benefits :
Perfect for traders who need instant multi-timeframe structure awareness ;
Reduces the need to constantly switch charts;
Works on all markets : crypto, stocks, forex, indices, futures;
Clean, modern, and intuitive visualization;
Helps confirm trend direction and key S/R levels at a glance.
________________________________________________________________________________
⚠️ Note
The indicator only displays S/R and trend data from higher timeframes relative to the current chart timeframe.
MTF Liquidity Levels Pro (D/W/M) [SmartFoxy]✅ SCRIPT DESCRIPTION (Premium MTF High-Low Levels)
Overview
This indicator automatically plots key High/Low levels across three major timeframes:
Daily (D) , Weekly (W) , and Monthly (M) .
It includes:
• Current period highs/lows (DH/DL, WH/WL, MH/ML);
• Previous period highs/lows (PDH/PDL, PWH/PWL, PMH/PML);
• Open levels (Day Open, Day True Open, Week Open, Month Open);
• Visual elements such as separators, period boxes, labels, and price markers;
• A fully customizable breakout alert system .
The indicator is designed for precise market structure analysis with a focus on liquidity, MTF mechanics, and clean price action.
________________________________________
How It Works
The script tracks historical High/Low levels on each timeframe and displays:
✅ Current High/Low Levels :
Daily;
Weekly;
Monthly.
✅ Previous High/Low levels from the previous day, week, and month:
PDH / PDL;
PWH / PWL;
PMH / PML.
You can select how many previous levels to display (1, 2, 3…).
✅ Open Levels:
Day Open;
Week Open;
Month Open.
Includes optional True Day Open with time offset.
✅ Visual Period Boxes highlighting each session (Day Box, Week Box, Month Box) to help identify intraday and intraperiod structure.
✅ Vertical Separators for the start of each day, week, and month.
✅ Customizable Labels & Price Markers with positions, sizes, and optional price display.
________________________________________
Alerts
A flexible alert module is built in:
✅ Breakout of Any Previous Level (D/W/M) •➤ Triggers when price breaks any previous High/Low:
PDH/PDL;
PWH/PWL;
PMH/PML.
✅ Breakout of Previous Level 1 (D/W/M) •➤ Triggers only for the closest previous levels:
PDH1/PDL1;
PWH1/PWL1;
PMH1/PML1.
✅ Custom Breakout •➤ Choose a specific level:
PDH / PDL;
PWH / PWL;
PMH / PML.
and select which level number (1, 2, 3…) the alert should track.
________________________________________
How to Use
Select which timeframes (D/W/M) to display.
Choose how many previous levels to plot.
Enable Open, Boxes, Separators, or Labels as needed.
Enable True Day Open with offset if required.
Activate Alerts and choose the breakout logic:
• All previous levels;
• Only the nearest level;
• Custom level selection.
Create an alert in TradingView using “Any alert() function call”.
________________________________________
Why This Indicator Is Useful
✅ Instantly reveals key High/Low liquidity zones across multiple timeframes
✅ Helps synchronize market structure across D/W/M levels
✅ Useful for identifying impulses, breakouts, reversals, and liquidity runs
✅ Highlights levels price frequently revisits
✅ Eliminates the need for additional MTF tools
✅ Alerts automate breakout detection for both intraday and swing traders
Suitable for all markets : Forex, Crypto, Indices, Stocks, Futures.






















