Chart patterns
Custom Buy/Sell Indicator with AlertsGives buy and sell indicators based on VWAP and order imbalance
[Mustang Algo] Channel Strategy# Mustang Algo Channel Strategy - Universal Market Sentiment Oscillator
## 🎯 ORIGINAL CONCEPT
This strategy employs a unique market sentiment oscillator that works on ALL financial assets. It uses Bitcoin supply dynamics combined with stablecoin market capitalization as a macro sentiment indicator to generate universal timing signals across stocks, forex, commodities, indices, and cryptocurrencies.
## 🌐 UNIVERSAL APPLICATION
- **Any Asset Class:** Stocks, Forex, Commodities, Indices, Crypto, Bonds
- **Market-Wide Timing:** BTC/Stablecoin ratio serves as a global risk sentiment gauge
- **Cross-Market Signals:** Trade any instrument using macro liquidity conditions
- **Ecosystem Approach:** One oscillator for all financial markets
## 🧮 METHODOLOGY
**Core Calculation:** BTC Supply / (Combined Stablecoin Market Cap / BTC Price)
- **Data Sources:** DAI + USDT + USDC market capitalizations
- **Signal Generation:** RSI(14) applied to the ratio, double-smoothed with WMA
- **Timing Logic:** Crossover signals filtered by overbought/oversold zones
- **Multi-Timeframe:** Configurable timeframe analysis (default: Daily)
## 📈 TRADING STRATEGY
**LONG Entries:** Bullish crossover when market sentiment is oversold (<48)
**SHORT Entries:** Bearish crossover when market sentiment is overbought (>55)
**Universal Timing:** These macro signals apply to trading any financial instrument
## ⚙️ FLEXIBLE RISK MANAGEMENT
**Three SL/TP Calculation Modes:**
- **Percentage Mode:** Traditional % based (4% SL, 12% TP default)
- **Ticks Mode:** Precise tick-based calculation (50/150 ticks default)
- **Pips Mode:** Forex-style pip calculation (50/150 pips default)
**Realistic Parameters:**
- Commission: 0.1% (adjustable for different asset classes)
- Slippage: 2 ticks
- Position sizing: 10% of equity (conservative)
- No pyramiding (single position management)
## 📊 KEY ADVANTAGES
✅ **Universal Application:** One strategy for all asset classes
✅ **Macro Foundation:** Based on global liquidity and risk sentiment
✅ **False Signal Filtering:** Overbought/oversold zones reduce noise
✅ **Flexible Risk Management:** Multiple SL/TP calculation methods
✅ **No Lookahead Bias:** Clean backtesting with realistic results
✅ **Cross-Market Correlation:** Captures broad market risk cycles
## 🎛️ CONFIGURATION GUIDE
1. **Asset Selection:** Apply to stocks, forex, commodities, indices, crypto
2. **Timeframe Setup:** Daily recommended for swing trading
3. **Sentiment Bounds:** Adjust 48/55 levels based on market volatility
4. **Risk Management:** Choose appropriate SL/TP mode for your asset class
5. **Direction Filter:** Select Long Only, Short Only, or Both
## 📋 BACKTESTING STANDARDS
**Compliant with TradingView Guidelines:**
- ✅ Realistic commission structure (0.1% default)
- ✅ Appropriate slippage modeling (2 ticks)
- ✅ Conservative position sizing (10% equity)
- ✅ Sustainable risk ratios (1:3 SL/TP)
- ✅ No lookahead bias (proper historical simulation)
- ✅ Sufficient sample size potential (100+ trades possible)
## 🔬 ORIGINAL RESEARCH
This strategy introduces a revolutionary approach to financial markets by treating the BTC/Stablecoin ratio as a global risk sentiment gauge. Unlike traditional indicators that analyze individual asset price action, this oscillator captures macro liquidity flows that affect ALL financial markets - from stocks to forex to commodities.
## 🎯 MARKET APPLICATIONS
**Stocks & Indices:** Risk-on/risk-off sentiment timing
**Forex:** Global liquidity flow analysis for major pairs
**Commodities:** Risk appetite for inflation hedges
**Bonds:** Flight-to-safety vs. risk-seeking behavior
**Crypto:** Native application with direct correlation
## ⚠️ RISK DISCLOSURE
- Designed for intermediate to long-term trading across all timeframes
- Market sentiment can remain extreme longer than expected
- Always use appropriate position sizing for your specific asset class
- Adjust commission and slippage settings for different markets
- Past performance does not guarantee future results
## 🚀 INNOVATION SUMMARY
**What makes this strategy unique:**
- First to use BTC/Stablecoin ratio as universal market sentiment indicator
- Applies macro-economic principles to technical analysis across all assets
- Single oscillator provides timing signals for entire financial ecosystem
- Bridges traditional finance with digital asset insights
- Combines fundamental liquidity analysis with technical precision
Unified Sentiment Candles Overlay (SMA)Unified Sentiment Candles (SMA) Indicator
The Unified Sentiment Candles (SMA) is a custom overlay indicator designed to provide a smoothed visualization of market sentiment by plotting synthetic candles based on the Simple Moving Average (SMA) of open, high, low, and close prices. It helps traders identify trend direction and potential reversals more clearly.
How to Use:
- Observe Candle Colors: Green candles indicate bullish sentiment (close ≥ open), while red candles suggest bearish sentiment (close < open).
- Trend Identification: Consistent green candles point to an uptrend, whereas consistent red candles may signal a downtrend.
- Support & Resistance Zones: The SMA-based candles smooth out short-term volatility, assisting in spotting key support and resistance levels.
- Entry & Exit Signals: Look for color changes or candle pattern formations within the synthetic candles to time entries and exits more effectively.
Settings:
SMA Length : Adjust this parameter to control the smoothing period. A shorter length makes the indicator more responsive, while a longer length smooths out more noise.
This indicator is best used in conjunction with other technical analysis tools to confirm signals and improve trading accuracy.
This script is open-source and licensed under the Mozilla Public License 2.0. Use and modify it at your own discretion.
HTF CandlesThis indicator helps to visualize what is happening on the higher timeframe on your current chart without having to change intervals. Quickly see gaps, imbalances, trends on the higher timeframe while you are trading. Works excellent for seeing 5m or 15m trend on a 1m chart for example.
1-Min Change of State Buy/Sell SignalBuy & Sell Indicator. Calls a signal based on break of structure, momentum and trend
Unified Strategy
Traffic Light + Trend Trader
Description:
The Trend Trader strategy leverages the power of moving averages (MAs) and MACD to identify market trends and capitalize on momentum shifts. This indicator is ideal for traders seeking consistent signals for both entry and exit points, making it versatile across various markets, including stocks, forex, and commodities.
Key Features:
Dynamic Trend Detection:
Short and long-term moving averages (MAs) provide insights into the current market trend.
Crossovers between MAs signal potential buy or sell opportunities.
MACD Confirmation:
Combines MA crossovers with MACD for double confirmation of trend changes.
Color-coded background highlights bullish or bearish momentum during active trading sessions.
Session Customization:
Allows traders to focus on specific trading hours by customizing session times.
Ensures the strategy aligns with your preferred trading schedule.
Instrument-Specific Targeting:
Tailored targets for popular instruments like US30, NDX100, GER40, and GOLD.
Adaptable to different volatility profiles and market behaviors.
How to Use:
Buy Signal: When the short MA crosses above the long MA, confirmed by MACD trending upward.
Sell Signal: When the short MA crosses below the long MA, confirmed by MACD trending downward.
Background Colors: Green indicates bullish momentum; red highlights bearish momentum during the session.
Benefits:
Enhances trend-following strategies by reducing noise and false signals.
Suitable for both short-term scalping and long-term trend trading.
Highly customizable for different trading styles and instruments.
Tags:
Trend Trader, Moving Average Crossover, MACD, Forex, Stocks, Scalping, Swing Trading, Long, Short, TradingView Indicator.
Additional Instructions:
Ensure session times and target levels are tailored to your trading strategy.
SMA Cross 20x50 CryptoSMA 20 SMA 50, whenever they cross the chart will display a GOLDEN CROSS or CROSS of DEATH.
The user will have the option to choose the SMA values as well as, the option to show crosses or text is available.
MACD with Colored HistogramA script specifying the difference between convergence and divergence indicated with an icon.
DR SessionsDR/IDR concept sessions with multiple ways to view the session to best suit your needs.
Each session, ADR, ODR, RDR can be turned on/off, and displayed 3 different ways. Lines, will highlight each DR and IDR line, and will color the side that breaks out. Zones, will fill in the gap between the DR and the IDR lines and will color the breakout side. Finally range will fill the entire range from DR to DR with a single color that will change to the breakout color once price closes outside of the range.
5DMA Optional HMA Entry📈 5DMA Optional HMA Entry Signal – Precision-Based Momentum Trigger
Category: Trend-Following / Reversal Timing / Entry Optimization
🔍 Overview:
The 5DMA Optional HMA Entry indicator is a refined price-action entry tool built for traders who rely on clean trend alignment and precise timing. This script identifies breakout-style entry points when price gains upward momentum relative to short-term moving averages — specifically the 5-day Simple Moving Average (5DMA) and an optional Hull Moving Average (HMA).
Whether you're swing trading stocks, scalping ETFs like UVXY or VXX, or looking for pullback recovery entries, this tool helps time your long entries with clarity and flexibility.
⚙️ Core Logic:
Primary Condition (Always On):
🔹 Close must be above the 5DMA – ensuring upward short-term momentum is confirmed.
Optional Condition (Toggled by User):
🔹 Close above the HMA – adds slope-responsive trend filtering for smoother setups. Enable or disable via checkbox.
Bonus Entry Filter (Optional):
🔹 Green Candle Wick Breakout – optional pattern logic that detects bullish momentum when the high pierces above both MAs, with a green body.
Reset Mechanism:
🔁 Signal resets only after price closes back below all active MAs (5DMA and HMA if enabled), reducing noise and avoiding repeated signals during chop.
🧠 Why This Works:
This indicator captures the kind of setups that professional traders look for:
Momentum crossovers without chasing late.
Mean reversion snapbacks that align with fresh bullish moves.
Avoids premature entries by requiring clear structure above moving averages.
Optional HMA filter allows adaptability: turn it off during choppy markets or range conditions, and on during trending environments.
🔔 Features:
✅ Adjustable HMA Length
✅ Enable/Disable HMA Filter
✅ Optional Green Wick Breakout Detection
✅ Visual “Buy” label plotted below qualifying bars
✅ Real-time Alert Conditions for automated trading or manual alerts
🎯 Use Cases:
VIX-based ETFs (e.g., UVXY, VXX): Catch early breakouts aligned with volatility spikes.
Growth Stocks: Time pullback entries during bullish runs.
Futures/Indices: Combine with macro levels for intraday scalps or swing setups.
Overlay on Trend Filters: Combine with RSI, MACD, or VWAP for confirmation.
🛠️ Recommended Settings:
For smooth setups in volatile names, use:
HMA Length: 20
Keep green wick filter ON
For fast momentum trades, disable the HMA filter to act on 5DMA alone.
⭐ Final Thoughts:
This script is built to serve both systematic traders and discretionary scalpers who want actionable signals without noise or lag. The toggleable HMA feature lets you adjust sensitivity depending on market conditions — a key edge in adapting to volatility cycles.
Perfect for those who value clean, non-repainting entries rooted in logical structure.
Candle StrengthCandle Strength Indicator
Candle Strength Indicator helps traders identify strong bullish or bearish candles based on their body-to-range ratio and volume conditions. The indicator calculates the strength of each candle using the formula:
Candle Strength = (Close – Open) / (High – Low)
A value close to +1 indicates strong buying pressure.
A value close to –1 indicates strong selling pressure.
A value near 0 suggests indecision or weak movement.
To improve signal quality, the indicator filters candles by volume — only highlighting those with volume greater than the moving average.
When a strong candle is detected:
Upward green arrows appear for strong bullish candles.
Downward red arrows appear for strong bearish candles.
You can customize:
Timeframe of candle data.
Volume lookback period.
Strength threshold for signal display.
S&P Power Hour Liquidity Sweep StrategyThis indicator is designed for intraday traders who want to take advantage of liquidity grabs, break of structure (BOS), and optimal entry points during the most volatile hours of the trading day: the NYSE Power Hours (09:30–10:30 AM and 02:30–04:00 PM EST).
Key Features:
Power Hour Detection:
Automatically identifies the two most liquid hours of the trading session.
Liquidity Sweep Detection:
Highlights when price sweeps a recent swing high or low — a common trap before reversals.
Break of Structure (BOS):
Confirms trend shift after a liquidity sweep with smart money-style BOS markers.
Fair Value Gap (FVG) Highlighting: (Optional)
Spot institutional imbalances between candles to fine-tune trade entries.
How It Works:
Wait for price to sweep a swing high or low during the power hours.
Look for a break of structure (BOS) in the opposite direction.
Enter on the next candle or FVG retest.
The indicator will plot a yellow circle for entry, a red line for stop, and a green line for the target (based on your RR setting).
Customizable Inputs:
Swing sensitivity (lookback bars)
Risk-to-reward ratio
Optional FVG visibility
Best Used With:
Higher timeframe bias (15m/1H)
Order blocks or volume analysis
Avoiding major news events
Whether you're a scalper or precision-based intraday trader, this tool helps you spot high-probability reversal setups with clean visuals and clear confirmations.
The Mended Collective: London High/Low KillzonesThis indicator automatically tracks the London session range from 3:00 AM to 8:00 AM EST, plotting the session high and low on your chart. It visually highlights the active killzone and places end-of-session labels to mark the completed range.
🚨 Includes real-time alert conditions to notify traders when price breaks above or below the London session high/low; perfect for breakout or liquidity-based strategies.
🔧 Features:
Automatic London session detection (EST time zone)
High/Low tracking and plotting during the session
Background shading during the session
Labels for session high and low after session ends
Alert conditions for breakout events
1-Min Change of State Buy/Sell SignalBuy & Sell Indicator. signals a trade based on BOS (Break of Structure), Momentum, and trend
180 Phase ChangerThis is a Trend Tracker.
The Idea is to Identify Phase Changer or Reversal/Pullbacks in the trend based on 8 and 20 EMA.
Open Lines (Bruins.J)Session breaks, open lines, each trading session hour can be marked with an independant open line.
ORB Breakout Indicator - NQ1!The purpose of this indicator is to assist traders in rapidly identifying high-probability Opening Range Breakout (ORB) setups on the NQ1! 1-minute time frame (Nasdaq Futures)
Key Features:
Opening Range: Automatically plots the high and low of the 1st 15min of the (NYSE session) (09:30–09:45 EST)
Breakout Signals : Illustrates the first candle that breaks upward or downward and:
Green arrow for a bullish breakout
Red arrow for a bearish breakout
Clean Visuals: Dynamic lines show the high and low of the ORB window for easy reference.
(DON'T USE THIS ONLY FOR ENTRY SIGNALS, PAIR THIS WITH OTHER INFLUENCES TO GET HIGH PROBABILITY BREAKOUTS)
Trend - Wave - EMA & Pin BarThis is a Trend indicator.
This calculates the signals based on the Reversals and prints a signal based on the Bullish and bearish Pin bar.
Pip Badan Candle Terakhir//@version=5
indicator("Pip Badan Candle Terakhir", overlay=true)
badan = math.abs(close - open)
pip = badan * 100
textPip = str.tostring(pip, "#.0") + " pip"
var label lbl = na
if not na(lbl)
label.delete(lbl)
lbl := label.new(bar_index, (high + low) / 2, textPip,
style=label.style_label_up,
textcolor=color.white,
size=size.normal,
color=close > open ? color.green : color.red)
Gap + Open & Close Price Marker (HK)Designed for HK Market :
- Show Previous Day Session Open + Close
- Show Gap Up / Gap Down
- Show Gap in points
- Customizable Gap Threshold
Default Color Setting :
Small Gap Up -> Cyan
Middle Gap Up -> Green
Small Gap Down -> Purple
Middle Gap Down -> Pale Red
Big Gap Up/Down => Yellow
GOLD Strategy + 押し目買い戻り売り + ATRベースSLTPThank you for viewing.
This script is exclusively for the GOLD currency pair.
For usage instructions, please contact me via LINE.