Tomato Multi EMA + VWAP + SMA + RSI TableTomato Multi EMA + VWAP + SMA + RSI Table
Here are the following:
12, 27, 50, 135, 200, 405 EMAs
Blue, Red, Purple, Light Blue, Yellow, Green
White: VWAP
200, 400 SMA
Dotted Orange Line, Dotted Red Line
1, 2, 3, 5, 10, 13, 15, 30 Multitimeframe RSI table with RSI-MA 45 (EMA 45)
指标和策略
High Breakout PRO Huy Hoang Trader
High Breakout PRO - Strategy Description
## 🚀 Overview
**High Breakout PRO** is a professional-grade Trend Following strategy designed to capture major market moves while strictly managing risk. Built on the core philosophy of "Price Action Breakouts," this script enhances the classic Donchian Channel breakout method with modern risk management tools like the **Hybrid Exit** and **EMA Trend Filter**.
This strategy is optimized for **Gold (XAUUSD)**, **Bitcoin (BTC)**, and **Major Stocks (AAPL, AMZN)** on **H4 and Daily** timeframes.
## 💎 Key Features
1. **Trend Filter (EMA):** Only takes long positions when the price is above the 200-period EMA. This filters out counter-trend noise and significantly improves winning probability.
2. **Hybrid Exit Mechanism ("Holy Grail"):** A unique dynamic trailing stop that combines:
* **Price Structure:** Uses the lowest low of the last Y bars (Donchian Support).
* **Volatility:** Uses ATR-based trailing (Chandelier Exit logic).
* *Logic:* The system automatically chooses the **tighter** (higher) stop level between the two, ensuring you lock in profits rapidly during strong volatility while giving the trade room to breathe during accumulation.
3. **Professional Visuals:** A refined "Wealth & Earth" themes (Gold/Silver/Brown) specifically designed to reduce eye strain and provide clear, professional signal visibility without chart clutter.
## 🛠 Strategy Logic
### entry rules
* **Breakout:** Price closes above the Highest High of the last `X` bars (Default: 20).
* **Trend Confirmation:** Closing Price > EMA 200 (Configurable).
### Exit Rules
* **Dynamic Stop Loss:** The trade is closed when price breaches the **Hybrid Trailing Stop**.
* The Trailing Stop never moves down. It only moves up as price increases.
* It effectively adapts to both slow-grinding trends and explosive spikes.
## ⚙️ Best Settings (Recommended)
* **Timeframe:** H4 (Swing Trading) or Daily (Position Trading).
* **Entry Period (X):** 20
* **Exit Period (Y):** 10
* **Trend Filter:** ON (EMA 200)
* **Risk Management:** Hybrid Mode (ATR Multiplier 3.0)
## ⚠️ Disclaimer
This strategy follows trends. It may experience drawdowns during choppy/sideways markets. Always use proper risk management (position sizing) and backtest on your specific asset before live trading.
---
*Developed by Huy Hoang Trader. Empowering traders with institutional-grade tools.*
Contact for work: www.facebook.com
MIZAN v15.5: KEMAL (Ontological Synthesis)Title: Mizan v15.5: KEMAL (Ontological Synthesis & Psi Score)
Description:
This indicator represents the culmination of the "Mizan" philosophy, combining a custom Physics Engine (Cosmic Cloud) with an Organic Soul Engine (Psi Score).
Key Concepts developed in this script:
Psi Score (Soul): Unlike traditional RSI, the Psi Score calculates the intrinsic energy of an asset using a unique "Ontological Half-Life" of 136 bars and a "Resonance Period" of 43 bars. This filters out market noise and reveals the true intent of price action.
Cosmic Cloud (Physics): A volume-weighted gravity model. The cloud expands based on uncertainty (Psi entropy) and projects future price direction based on mass (Volume) and spacetime curvature (VWAP).
The Synthesis: The strategy only takes trades when the Physics (Cloud position) and the Soul (Psi energy) are in alignment, protected by a Trend Shield.
How to Use:
Green Cloud: Bullish Gravity.
Red Cloud: Bearish Gravity.
Dashboard: Provides real-time data on Gravity (g), Psi Energy %, and Next Price Targets.
Developed by Murat Kavak
Bitterroot Trader RelVol vs SPYHelp understand specific stock momentum verses the market (SPY). This shows the relative volume at time and also the average trade range number.
MarketStructureLab - SR Zones (Free)📌 MarketStructureLab — SR Zones is a structure-based indicator that automatically identifies key support and resistance zones using market structure logic, not subjective manual levels.
The indicator analyzes:
• local highs and lows (pivot points),
• clusters nearby price extremes,
• builds S/R zones based on their strength (number of price reactions).
🔍 What the indicator shows
• 🟢 Support zones — areas of increased demand
• 🔴 Resistance zones — areas of increased supply
• Price labels with level value and distance from the current price in %
The more reactions price has within a zone, the more significant it becomes.
⚙️ Key features
• Based on market structure, not fixed levels
• Works on any instrument (stocks, futures, crypto, FX)
• Suitable for all timeframes
• No repainting
• Supports alerts on level breaks
⚠️ Important
This indicator does not generate trade signals and does not make predictions.
It is designed to help traders analyze market context and make independent decisions.
Recommended to use with
• market state analysis (Trend / Range),
• volume,
• proper risk management.
📎 Updates and future developments
This indicator is part of the MarketStructureLab project.
Follow the author’s profile to stay updated on new tools and improvements.
FX-CLINIC/ICT/IFVGICT Indicator
Show IFVG
Automatic update
direct create if break FVG by candle body100%
direct delete if break IFVG by candle body 100%
Created by FX-CLINIC
Accumulation & Distribution Days HistogramWHAT IT TRACKS:
• Distribution Days (Selling Pressure): Price closes down >0.2% on higher volume than previous day
• Accumulation Days (Buying Pressure): Price closes up >0.2% on higher volume than previous day
HOW IT WORKS:
The histogram displays a rolling count of distribution and accumulation days within your chosen lookback period (default: 20 bars). Green bars show accumulation days above the zero line, while red bars show distribution days below the zero line. A white line plots the net difference (accumulation minus distribution) to show the overall balance.
SETTINGS:
• Lookback Period: Number of bars to count (default: 20)
• Price Threshold: Minimum % move required (default: 0.2%)
• Colors: Fully customizable histogram colors
USAGE:
Use this to gauge the balance between buying and selling pressure. When accumulation exceeds distribution, it suggests bullish pressure. When distribution exceeds accumulation, it suggests bearish pressure.
The indicator can also serve as a market health filter:
• 0-3 Distribution Days: Bullish market condition - healthy for long positions
• 4-5 Distribution Days: Cautious - monitor for potential trend change
• 6+ Distribution Days: Bearish signal - institutional selling intensifying
Other potential uses to explore:
• Divergence analysis: Price making new highs while distribution days cluster
• Sector rotation: Compare distribution/accumulation across different sectors
• Entry timing: Wait for accumulation to exceed distribution before entering
• Risk management: Reduce position size as distribution days increase
Experiment with different lookback periods and thresholds to match your trading timeframe and style.
If you discover effective ways to use this indicator, please share in the comments below - your insights could help others, enjoy.
Relative Strength Leadership Engine v2.0Relative Strength Leadership Engine v2.0OverviewThe Relative Strength Leadership Engine v2.0 is a context-first diagnostic tool designed to identify true market leadership. Instead of simple ratio lines, this script employs a multi-layered scoring model to determine if a symbol is truly outperforming its benchmark (e.g., SPY) or simply riding market beta.The Problem It SolvesMany relative strength indicators fail to distinguish between idiosyncratic leadership and market correlation. A stock might look strong simply because it is a high-beta names moving in lockstep with a rising index. This engine uses Pearson Correlation Filtering and Volatility Normalization to decouple these factors.How It Works (The Math)To ensure full transparency for the TradingView community, the "Leadership Score" (0–100) is calculated based on four proprietary technical pillars:Baseline Alignment (30 pts): Measures if the $Price / Benchmark$ ratio is above its 21-period EMA.Volatility-Normalized Momentum (25 pts): We calculate a Z-score of the RS slope and divide it by the asset's ATR % of price. This ensures momentum is measured by "clean" price action rather than high-beta volatility spikes.Beta-Decoupling (20 pts): Using ta.correlation, the script penalizes "Market Huggers." Points are awarded when a stock shows strength independent of the benchmark's immediate fluctuations.Freshness & Highs (25 pts): Points are awarded for proximity to 252-day relative strength highs, identifying stocks entering a "Power Zone" of leadership.Interpreting the StatesThe dashboard in the bottom-right identifies three distinct permission states:ENGAGE (Score 80+): Full leadership permission. The asset is outperforming with idiosyncratic strength and clean momentum (See FDX example in the gallery).OBSERVE (Score 50–79): Leadership is present but aging or overly correlated to the market (See MU example in the gallery).STAND DOWN (Score <50): Leadership is broken; the asset is a relative laggard (See CBLL example in the gallery).Technical FeaturesMulti-Timeframe Validation: Optional Weekly/Monthly RS confirmation to filter out "noise."Benchmark Timing Filter: A built-in gate that checks if the broader market (Benchmark) is in a "Risk-Off" regime.Non-Repainting: All security calls use lookahead=barmerge.lookahead_off to ensure historical accuracy.Customizable UI: Toggle the dashboard on/off via the "Style" menu for a cleaner workspace.DisclaimerThis script is an informational diagnostic tool and does not generate trade signals, entries, or exits. Educational use only.
[COG] NautilusOverview
This indicator combines multiple technical analysis tools to identify high-probability entry points in trending markets. It uses moving average crossovers for trend direction, Bollinger Bands for mean reversion opportunities, and optional filters to reduce false signals and avoid choppy market conditions.
What Makes This Indicator Unique
Heiken Ashi Toggle:
All calculations can be performed on either regular or Heiken Ashi candles with a single click
Multi-Layer Filtering System: Four independent filters work together to improve signal quality
First Entry Detection: Automatically identifies and labels the first signal after a trend change
Anti-Overtrading Protection: Built-in cooldown mechanism prevents signal spam
Core Components
1. Trend Detection (EMA/SMA Crossover)
The indicator uses a 15-period EMA and 50-period SMA to determine market direction. Buy signals only occur when EMA > SMA, and sell signals only when EMA < SMA.
// Trend Detection
bullishTrend = ema15 > sma50
bearishTrend = ema15 < sma50
2. Bollinger Bands Mean Reversion
Entry signals trigger when price touches or penetrates the Bollinger Bands, indicating potential reversal or pullback opportunities within the established trend.
//Bollinger Band Touch Detection
lowerBandTouch = selectedLow <= bbLower
upperBandTouch = selectedHigh >= bbUpper
// Base Entry Conditions
baseBuySignal = bullishTrend and lowerBandTouch and bullishClose
baseSellSignal = bearishTrend and upperBandTouch and bearishClose
3. Candle Confirmation
Signals require a bullish candle close (close > open) for buy signals and bearish candle close (close < open) for sell signals, ensuring momentum alignment.
// Candle Close Type
bullishClose = selectedClose > selectedOpen
bearishClose = selectedClose < selectedOpen
Optional Filters (All Toggleable)
Filter 1: StochRSI Momentum
Ensures entries occur during oversold/overbought conditions. Buy signals require StochRSI < 20, sell signals require StochRSI > 80.
// StochRSI Calculation
rsi = ta.rsi(stochRSISource, rsiLength)
stochRSI_K = ta.sma(ta.stoch(rsi, rsi, rsi, stochRSILength), stochKSmooth)
// Filter Conditions
stochRSIOversoldCondition = stochRSI_K < stochRSIOversold
stochRSIOverboughtCondition = stochRSI_K > stochRSIOverbought
Filter 2: MA Separation (Anti-Chop)
Blocks signals when moving averages are too close together, indicating sideways/choppy market conditions. Default threshold is 1% separation.
// Calculate percentage separation between EMA and SMA
maSeparationPct = (math.abs(ema15 - sma50) / sma50) * 100
// MA separation filter condition
maSeparationValid = maSeparationPct >= maSeparationThreshold
Why this matters: When the 15 EMA and 50 SMA are very close (< 1% apart), the market is typically consolidating. Signals in these conditions have lower win rates.
Filter 3: Cooldown Period
Prevents over-trading by blocking new signals for a specified number of bars (default: 10) after a signal occurs. Buy and sell cooldowns are tracked separately.
// Variables to track the bar index of the last signal
var int lastBuySignalBar = na
var int lastSellSignalBar = na
// Calculate bars since last signal
barsSinceLastBuy = na(lastBuySignalBar) ? 999999 : bar_index - lastBuySignalBar
// Cooldown filter condition
buyCooldownValid = barsSinceLastBuy >= cooldownBars
// Update tracking when signal fires
if buySignal
lastBuySignalBar := bar_index
Advanced Features
Heiken Ashi Mode
Toggle between regular candles and Heiken Ashi candles for all calculations. Heiken Ashi candles smooth price action and can reduce false signals in volatile markets.
// Fetch Heiken Ashi OHLC values
= request.security(
ticker.heikinashi(syminfo.tickerid),
timeframe.period,
)
// Select which OHLC to use based on toggle
selectedClose = useHeikenAshi ? haClose : close
First Entry Detection
Automatically identifies and labels the first signal after a trend change with "1. Trend Cycle Entry" text. This helps traders distinguish between fresh trend entries and continuation signals.
// Detect trend changes
trendChangedToBullish = bullishTrend and not bullishTrend
// Reset tracking when trend changes
if trendChangedToBullish
hadBuySignalInCurrentBullTrend := false
// Identify first signal in new trend
isFirstBuyInTrendCycle = buySignal and not hadBuySignalInCurrentBullTrend
How Signals Are Generated
The indicator uses a layered approach where each condition must be satisfied:
// Apply all filters
buySignal = enableBuySignals and baseBuySignal and
(not enableStochRSIFilter or stochRSIOversoldCondition) and
(not enableMASeparationFilter or maSeparationValid) and
(not enableCooldownFilter or buyCooldownValid)
Buy Signal Requirements:
✅ 15 EMA above 50 SMA (bullish trend)
✅ Candle low touches or goes below lower Bollinger Band
✅ Candle closes bullish (green)
✅ (Optional) StochRSI < 20
✅ (Optional) MA separation > threshold %
✅ (Optional) Cooldown period expired
Sell Signal Requirements:
✅ 15 EMA below 50 SMA (bearish trend)
✅ Candle high touches or goes above upper Bollinger Band
✅ Candle closes bearish (red)
✅ (Optional) StochRSI > 80
✅ (Optional) MA separation > threshold %
✅ (Optional) Cooldown period expired
Customization Options
Moving Averages:
Adjustable EMA length (default: 15)
Adjustable SMA length (default: 50)
Source selection (Close, Open, High, Low, HL2, HLC3, OHLC4)
Bollinger Bands:
Adjustable length (default: 20)
MA type selection (SMA, EMA, SMMA, WMA, VWMA)
Adjustable standard deviation multiplier (default: 2.0)
StochRSI Filter:
Adjustable RSI length (default: 14)
Adjustable Stochastic length (default: 14)
Customizable oversold/overbought levels (default: 20/80)
MA Separation Filter:
Adjustable minimum separation percentage (default: 1.0%)
Cooldown Filter:
Adjustable cooldown period in bars (default: 10)
Visual Settings:
Customizable colors for all elements
Adjustable line widths
Toggle first entry labels on/off
How to Use
Basic Setup: Apply the indicator to your chart. By default, it shows moving averages, Bollinger Bands, and entry signals.
Choose Your Mode: Enable Heiken Ashi mode if you prefer smoother signals and are willing to accept some lag.
Enable Filters: Start with all filters disabled to see raw signals. Then enable filters one by one:
Start with MA Separation filter to avoid choppy markets
Add StochRSI filter to catch better momentum conditions
Add Cooldown filter to prevent over-trading
Adjust Parameters: Tune the parameters based on your timeframe and trading style:
Lower timeframes: Consider shorter cooldown periods
Higher timeframes: May want tighter MA separation requirements
Watch for First Entry Labels: The "1. Trend Cycle Entry" label highlights the highest-probability signals occurring right after trend changes.
Important Notes
⚠️ This indicator does not repaint. All signals appear on closed candles only.
⚠️ Past performance is not indicative of future results. This indicator should be used as part of a complete trading strategy with proper risk management.
⚠️ Filters reduce signal frequency: Enabling multiple filters will significantly reduce the number of signals. This is intentional to improve quality over quantity.
⚠️ Heiken Ashi mode considerations: While HA mode smooths signals, it can also introduce lag. Test both modes on your preferred timeframe.
Best Practices
Always backtest on your preferred timeframe before live trading
Start conservative with tighter filters, then loosen if needed
Pay special attention to "First Entry" signals for highest probability setups
Use appropriate position sizing and stop losses
Consider market conditions: trending vs ranging
Disclaimer
This indicator is for educational purposes only and should not be considered financial advice. Trading involves substantial risk of loss. Always do your own research and consider your risk tolerance before trading.
Moving Average Exponential//@version=6
indicator(title="Moving Average Exponential", shorttitle="EMA", overlay=true, timeframe="", timeframe_gaps=true)
len = input.int(9, minval=1, title="Length")
src = input(close, title="Source")
offset = input.int(title="Offset", defval=0, minval=-500, maxval=500, display = display.data_window)
out = ta.ema(src, len)
plot(out, title="EMA", color=color.blue, offset=offset)
// Smoothing MA inputs
GRP = "Smoothing"
TT_BB = "Only applies when 'SMA + Bollinger Bands' is selected. Determines the distance between the SMA and the bands."
maTypeInput = input.string("None", "Type", options = , group = GRP, display = display.data_window)
var isBB = maTypeInput == "SMA + Bollinger Bands"
maLengthInput = input.int(14, "Length", group = GRP, display = display.data_window, active = maTypeInput != "None")
bbMultInput = input.float(2.0, "BB StdDev", minval = 0.001, maxval = 50, step = 0.5, tooltip = TT_BB, group = GRP, display = display.data_window, active = isBB)
var enableMA = maTypeInput != "None"
// Smoothing MA Calculation
ma(source, length, MAtype) =>
switch MAtype
"SMA" => ta.sma(source, length)
"SMA + Bollinger Bands" => ta.sma(source, length)
"EMA" => ta.ema(source, length)
"SMMA (RMA)" => ta.rma(source, length)
"WMA" => ta.wma(source, length)
"VWMA" => ta.vwma(source, length)
// Smoothing MA plots
smoothingMA = enableMA ? ma(out, maLengthInput, maTypeInput) : na
smoothingStDev = isBB ? ta.stdev(out, maLengthInput) * bbMultInput : na
plot(smoothingMA, "EMA-based MA", color=color.yellow, display = enableMA ? display.all : display.none, editable = enableMA)
bbUpperBand = plot(smoothingMA + smoothingStDev, title = "Upper Bollinger Band", color=color.green, display = isBB ? display.all : display.none, editable = isBB)
bbLowerBand = plot(smoothingMA - smoothingStDev, title = "Lower Bollinger Band", color=color.green, display = isBB ? display.all : display.none, editable = isBB)
fill(bbUpperBand, bbLowerBand, color= isBB ? color.new(color.green, 90) : na, title="Bollinger Bands Background Fill", display = isBB ? display.all : display.none, editable = isBB)
Bullish Divergent Bar DCA Strategy [Skyrexio]Overview
Bullish Divergent Bar DCA Strategy is a long-only, multi-layer Dollar-Cost Averaging (DCA) strategy that builds positions around bullish divergent bars formed below the Williams Alligator. It detects potential local bottoms and then scales into the move using up to four pyramiding entries, each with its own size and price threshold. The strategy optionally incorporates Market Facilitation Index (MFI) and Awesome Oscillator (AO) momentum to strengthen reversal confirmation and uses ATR-based take profit on the averaged entry price.
Unique Features
Layered DCA entries with equity-based sizing . It supports up to four DCA layers, where each additional layer is opened only after a configurable percentage drawdown from the first entry and position size is computed as a fraction of current equity via a geometric weighting scheme.
Optional AO and MFI confirmation . Users can require Awesome Oscillator momentum divergence, MFI/volume “squat” bars, or both to confirm that the reversal bar is accompanied by capitulation and weakening downside momentum.
ATR-based dynamic take profit . Take profit is defined as a multiple of ATR added to the current average entry price, automatically adjusting exits to prevailing volatility.
Built-in DCA visualization . The script can plot the initial entry level and all DCA thresholds to make the averaging structure and risk visually transparent on the chart.
Methodology
The core entry logic starts from a bullish divergent bar definition: the bar must close above its midpoint (close > hl2) and be the lowest low within the user-defined lookback window, flagging a local swing low. On top of this, the bar must form entirely below all three Alligator lines, ensuring that the pattern appears after a sustained downside move rather than inside noise.
If enabled, AO adds a momentum filter by requiring the Awesome Oscillator difference to be negative (descending bar on AO histogram), signaling fading downside momentum at the potential bottom. If the MFI filter is enabled, the bar (or one of the last two bars) must be a “squat” bar where spread narrows while volume increases, approximating effort vs. result exhaustion.
Once a valid bullish reversal bar is detected and the time is within the configured trading window, the strategy opens the first DCA layer using a stop entry at the bar’s high (confirmation level), only entering if price actually breaks the bar high. Additional layers (second, third, and fourth entries) are only allowed if price trades below percentage thresholds from the first entry price and a new valid bullish reversal bar forms, thereby averaging down into deep pullbacks while still requiring fresh reversal evidence.
While any DCA position is open, the strategy continuously recalculates the take profit as the current volume-weighted average entry price plus ATR multiplied by a user-defined factor. All individual entries share the same take profit level through separate strategy exit calls, so the entire stacked position exits together once price has moved sufficiently above the averaged entry.
Strategy settings
In the inputs window, users can configure the following strategy settings:
sourceUuid / secretToken: Identifiers used to format JSON alerts for automated execution through webhooks.
Trade Start Date/Time: Beginning of the backtest/live-trading window.
Trade Stop Date/Time: End of the backtest/live-trading window.
Show DCA Levels (default = false): Toggles plotting of the initial entry level and all three DCA thresholds on the chart.
Enable MFI (default = false): Enables the MFI-style volume/spread filter.
Enable AO (default = false): Enables Awesome Oscillator confirmation.
Number Of Bar For Lowest Bar (default = 7): Lookback window used to identify the lowest low bar for the bullish reversal bar condition.
Layer 2 Threshold Percent (default = 4.0): Percentage drop from the first layer price that must be reached to allow the second DCA entry.
Layer 3 Threshold Percent (default = 10.0): Percentage drop from the first layer price required to unlock the third DCA layer.
Layer 4 Threshold Percent (default = 22.0): Percentage drop from the first layer price required to unlock the fourth DCA layer.
Position Size Multiplier (default = 2.0): Multiplier used in the geometric weighting scheme to determine how much equity is allocated to each additional DCA layer.
Number Of ATR For Take Profit (default = 2.0): ATR multiple added to the current average entry price to calculate the shared take profit for all open layers.
Users can refine these parameters during backtesting to fit the volatility profile and structure of the specific asset and timeframe.
Justification of Methodology
Before understanding why this particular combination of indicator has been chosen let's briefly explain what is Williams Alligator, MFI and AO.
let’s start with the Williams Alligator. Developed by Bill Williams, the Alligator is a technical indicator that identifies trends and potential market reversals. It consists of three smoothed moving averages:
Jaw (Blue Line): The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead.
Teeth (Red Line): The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward.
Lips (Green Line): The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward.
When the lines diverge and align in order, the "Alligator" is "awake," signaling a strong trend. When the lines overlap or intertwine, the "Alligator" is "asleep," indicating a range-bound or sideways market. This indicator helps traders determine when to enter or avoid trades.
The Awesome Oscillator (AO), developed by Bill Williams, is a momentum indicator designed to measure market momentum by contrasting recent price movements with a longer-term historical perspective. It helps traders detect potential trend reversals and assess the strength of ongoing trends.
The formula for AO is as follows:
AO = SMA5(Median Price) − SMA34(Median Price)
where:
Median Price = (High + Low) / 2
SMA5 = 5-period Simple Moving Average of the Median Price
SMA 34 = 34-period Simple Moving Average of the Median Price
The Market Facilitation Index (MFI) is a technical indicator that measures the price movement per unit of volume, helping traders gauge the efficiency of price movement in relation to trading volume. Here's how you can calculate it:
MFI = (High−Low)/Volume
MFI can be used in combination with volume, so we can divide 4 states. Bill Williams introduced these to help traders interpret the interaction between volume and price movement. Here’s a quick summary:
Green Window (Increased MFI & Increased Volume): Indicates strong momentum with both price and volume increasing. Often a sign of trend continuation, as both buying and selling interest are rising.
Fake Window (Increased MFI & Decreased Volume): Shows that price is moving but with lower volume, suggesting weak support for the trend. This can signal a potential end of the current trend.
Squat Window (Decreased MFI & Increased Volume): Shows high volume but little price movement, indicating a tug-of-war between buyers and sellers. This often precedes a breakout as the pressure builds.
Fade Window (Decreased MFI & Decreased Volume): Indicates a lack of interest from both buyers and sellers, leading to lower momentum. This typically happens in range-bound markets and may signal consolidation before a new move.
For our purposes we are interested in squat bars. This is the sign that volume cannot move the price easily. This type of bar increases the probability of trend reversal. In this indicator we added to enable the MFI filter of reversal bars. If potential divergent bar or two preceding bars have squat state this bar can be interpret as a reversal one.
The strategy intentionally focuses on bullish divergent bars forming at local lows and below the Alligator to catch potential exhaustion points in downtrends where risk/reward becomes asymmetric. The Alligator (Jaw, Teeth, Lips) acts as a dynamic structure filter: requiring price to be below all three lines before reversal helps avoid chasing minor pullbacks inside an ongoing uptrend and instead concentrates entries on deeper corrections where mean reversion potential is higher.
The custom bullish divergent bar rule (close above midpoint and being the lowest low over N bars) approximates a local capitulation candle, which often precedes short squeezes or at least strong reactions. By combining this with AO and MFI-style filters, the strategy further increases the likelihood that the pattern coincides with downside momentum(as a confirmation that current trend is downward, AO difference < 0) and effort vs. result anomalies (squat bars), which is common signatures of trend exhaustion.
The DCA structure is designed to deploy capital progressively rather than all at once: the first entry is triggered only if price confirms the reversal by breaking above the bar’s high, while subsequent layers require both a deeper discount relative to the initial entry and a new bullish reversal signal. Percentage thresholds from the first entry ensure that each additional allocation is made at meaningfully better prices, improving the blended entry level and reducing the break-even distance.
Finally, using ATR as the basis for take profit aligns exits with current volatility. A fixed-percentage target can be too tight in volatile regimes or too loose in quiet markets, whereas ATR-based targets scale with average bar range. Applying ATR to the evolving average entry price of all open layers keeps the risk/reward framework consistent across different volatility regimes and DCA configurations.
Backtest Results
Operating window: Date range of backtests is 2025.01.01 - 2026.01.01. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
Initial capital: 10000 USDT
Maximum Single Position Loss: -6.56%
Maximum Single Profit: +4.92%
Net Profit: +934.08 USDT (+9.34%)
Total Trades: 121 (82.64% win rate)
Profit Factor: 2.948
Maximum Accumulated Loss: 624.72 USDT (-6.15%)
Average Profit per Trade: 7.72 USDT (+0.37%)
Average Trade Duration: 60 hours
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
You should run your own backtests on the target asset and timeframe (for example, BTC/USDT on intraday charts) and adjust threshold percentages, layer sizing, and ATR take profit factor to match your risk tolerance and market conditions.
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart.
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
Disclaimer:
Educational and informational tool reflecting Skyrex commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation
Multi-MA Crossover Alert by Funded RelayMulti-MA Crossover Alert is a simple yet powerful trend-following indicator that combines three moving averages to help identify trend direction and potential reversal points.
What it shows:
• Fast SMA (default 20 periods) – reacts quickly to price changes
• Medium EMA (default 50 periods) – smoother medium-term trend
• Slow SMA (default 200 periods) – long-term trend reference (often called the "death/golden cross" level)
Features:
• Dynamic coloring: Lines turn green when above the slow SMA (bullish bias) or red when below (bearish bias). The slow SMA stays gray for clear reference.
• Background tint: Light green/red background highlights the overall trend based on Fast SMA vs Slow SMA.
• Crossover alerts: Triggers notifications when the Medium EMA crosses above/below the Slow SMA (classic trend change signal).
How to interpret the signals:
• Bullish trend: Fast and Medium lines are green and above the Slow SMA → price is in an uptrend. Look for buying opportunities on pullbacks.
• Bearish trend: Fast and Medium lines are red and below the Slow SMA → price is in a downtrend. Look for selling/short opportunities on rallies.
• Bullish crossover (alert): Medium EMA crosses ABOVE Slow SMA → potential start of stronger uptrend or reversal from downtrend.
• Bearish crossover (alert): Medium EMA crosses BELOW Slow SMA → potential start of stronger downtrend or reversal from uptrend.
How to use it correctly:
1. Add the indicator to your chart via "Indicators" → Community Scripts.
2. Adjust the input lengths to match your timeframe and style:
- Shorter periods (e.g. 10/30/100) → better for intraday / scalping
- Longer periods (e.g. 50/100/200) → better for swing / position trading
3. Enable "Enable Crossover Alerts" if you want TradingView notifications (set alerts via the alert menu: condition = "alert() function calls only").
4. Use in combination with:
- Support/resistance levels
- Volume confirmation
- Other indicators (RSI for overbought/oversold, candlestick patterns)
5. Best on higher timeframes (1H, 4H, Daily) to reduce noise. On very low timeframes, false signals increase — always confirm with price action.
Important notes:
• This is NOT a standalone "buy/sell" system — no indicator is 100% accurate. Always use risk management (stop-loss, position sizing).
• Backtest on your assets/timeframes before live trading.
• Works on all markets: stocks, forex, crypto, futures, etc.
Open-source and free — feel free to modify and improve!
Happy trading!
JOWY LA VERDADERA ESTRUCTURABasically it is an indicator that perfectly represents the typical BoS Market structure in the fastest way. It is advisable to study several temporalities at the same time and not focus on just one.
Alg0 Hal0 RSI 4555
The Alg0 ۞ Hal0 RSI 4555 is a trend-following momentum indicator designed to capture high-probability entries during market pullbacks. It combines a customizable Trend Filter (Moving Average) with a specialized "Armed & Triggered" RSI logic to avoid choppy markets and fakeouts.
1. How the Logic Works
This indicator uses a two-step process to generate signals, ensuring you only enter when momentum is confirmed.
The Trend Filter: The background color tells you the primary trend. If the price is above the Moving Average, the background is Green (Bullish). If below, it is Red (Bearish).
The "Arming" Phase: To prevent chasing "overbought" prices, the script must first see a pullback.
Longs: RSI must drop below 40 while the trend is Bullish.
Shorts: RSI must rise above 60 while the trend is Bearish.
The Trigger: Once "Armed," the script waits for a momentum shift.
LONG Signal: RSI crosses above 55.
SHORT Signal: RSI crosses below 45.
2. Key Visual Features
Dynamic Background: Instantly identifies the macro trend based on your chosen MA (SMA, EMA, HMA, WMA, or ALMA).
Momentum Labels: "LONG" and "SHORT" labels appear directly on the chart when all conditions are met.
Divergence Detection: Automatically plots Bullish and Bearish divergences to warn you of potential trend exhaustion.
Customizable Levels: The four key RSI levels (60, 55, 45, 40) are fully adjustable to fit different assets or timeframes.
3. Settings Guide
RSI Settings: Adjust the RSI length (default is 14) and toggle Divergence labels on/off.
Background Logic: Choose your preferred Moving Average style. ALMA is recommended for the smoothest trend filtering, while SMA/EMA are better for classic trend following.
Custom Levels: Fine-tune the 45/55 trigger points. For more aggressive entries, move these closer to the 50-midline. For more conservative entries, spread them further apart.
4. Best Practices
The "Neutral Zone": The area between 45 and 55 is the "No Man's Land." Wait for a clean candle close and a label before entering a trade.
Risk Management: Use the Recent Swing High/Low or the Trend MA as a logical stop-loss level.
Buyside & Sellside Liquidity (5m & 15m)liquidity blocks
sellside liquidity
buyside liquidity
inverse liquidity blocks
Custom Step Bar CountHere is a professional description for your TradingView script, suitable for the "Description" field when publishing.
I have provided two versions: a **Standard Version** (detailed and professional) and a **Short Version** (concise).
### Option 1: Standard Version (Recommended for Publishing)
**Title:** Custom Step Bar Count
**Description:**
This indicator is an advanced bar counting tool designed for traders who need to track time cycles or specific bar sequences with custom arithmetic progressions. Unlike standard counters that simply display "1, 2, 3," this script allows you to decouple the **display frequency** from the **displayed value**.
The counter automatically resets at the beginning of every new trading day.
**Key Features:**
* **Custom Display Interval:** Choose how often a label appears (e.g., every 5 bars).
* **Custom Number Increment:** Define the value step for the displayed numbers (e.g., count by 3s).
* **Daily Reset:** The count restarts automatically at the beginning of each session.
* **Visual Customization:** Adjust label size and text color to fit your chart theme.
**How it works (Example):**
If you want to track a cycle where every **5th** bar represents a value of **3**:
1. Set **Display Every X Bars** to `5`.
2. Set **Number Increment** to `3`.
**Result:**
* Bar 5 shows label "**3**"
* Bar 10 shows label "**6**"
* Bar 15 shows label "**9**"
This is particularly useful for specific time-based strategies, Gann analysis, or backtesting setups that require non-linear counting.
---
### Option 2: Short Version (Concise)
**Title:** Custom Step Bar Count
**Description:**
A flexible bar counting utility that resets daily. This script allows you to customize both the frequency of the labels and the numeric step value.
**Settings:**
* **Display Every X Bars:** Controls the gap between labels (e.g., every 5th bar).
* **Number Increment:** Controls the number sequence (e.g., increments of 3).
**Example:**
With an interval of **5** and an increment of **3**, the script will display:
* 5th Bar: **3**
* 10th Bar: **6**
* 15th Bar: **9**
Includes options for text color and label size. Updated for Pine Script v6.
BTC - Sentiment (Posts weighted) LSMABTC - Sentiment (Posts Weighted) LSMA | RM
Concept
In the current 2026 market regime, Bitcoin has transitioned into a mature institutional asset. However, retail "Social Liquidity" remains the primary driver of local volatility and blow-off tops. This script serves as a deterministic proxy for crowd conviction, utilizing the LUNARCRUSH:BTC_SENTIMENT feed to identify when social hype has decoupled from fundamental value.
Data Source: LunarCrush Integration
This model utilizes the native LunarCrush data prefix. Unlike simple "mention counts," the BTC_SENTIMENT metric is a percentage-based value (0-100%) representing the "Sentiment of positive posts weighted by interactions."
• Interactions vs. Volume: By weighting sentiment by interactions (likes, shares, comments), the data filters out bot-driven "spam" and focuses on what real participants are actually engaging with.
• Meaning of the Value: 100% indicates that every single interaction-weighted post is positive; 0% indicates total negativity. Historically, BTC sentiment rarely drops below 60% or stays above 90% for long, creating a predictable mean-reverting corridor.
Technical Architecture
• The LSMA Denoising Engine Raw social data is inherently "jittery." To extract a tradable signal, we apply a Least Squares Moving Average (LSMA) with a 28-day lookback.
• Mathematical Advantage: Unlike a Simple Moving Average (SMA), the LSMA calculates a linear regression line for each period to find the "best fit." This allows the indicator to track the velocity of sentiment shifts with significantly less lag, which is critical for identifying "Social Exhaustion" before a price reversal occurs.
• The Social Heat Index (SHI) Calculation: To align this data with the broader Rob Maths ecosystem, we normalize the LSMA output into a standardized 0–10 score using a Linear Feature Scaling (Min-Max) formula: SHI = ((Current LSMA - 65) / 25) * 10 ; This formula treats 65% as the "Floor" (Apathy) and 90% as the "Ceiling" (Hysteria). This 0–10 scale allows for immediate comparison against other institutional risk metrics.
Regime Audits & Usage
• Accumulation (Blue Zone / <72.5%): Social Despair. Retail interest is at a mathematical minimum. Historically, these periods of "Social Apathy" coincide with major local bottoms as institutional "Smart Money" absorbs the lack of retail demand.
• Neutral Zone (Grey): Sustainable growth. Sentiment is within the normal distribution.
• Distribution (Red Zone / >82.5%): Overheated. The crowd is in a state of maximum FOMO. When the SHI exceeds 8.5/10, the risk of a "Liquidity Flush" increases significantly.
Visual Scaling
To ensure the curve is readable, the indicator pane is hard-locked to a 65–90 scale. This prevents the "flat line" effect often seen in 0-100 oscillators and highlights the subtle divergences that occur at cycle peaks.
Disclaimer
Past performance does not guarantee future results. Social metrics are alternative data points and should be used in conjunction with price action and risk management. This is a mathematical model, not financial advice.
Tags
Rob Maths, Rob_Maths, robmaths, Bitcoin, Sentiment, LunarCrush, Quant, LSMA, OnChain, Social Liquidity
1k EMA Clouds1k EMA Clouds
This indicator is a multi-EMA cloud system designed to give clear trend structure, momentum context, and higher-timeframe bias directly on your chart.
It plots five EMA cloud pairs using short and long moving averages, allowing you to visually identify trend alignment, trend shifts, and areas of dynamic support and resistance. When the fast EMA is above the slow EMA, the cloud reflects bullish conditions. When it’s below, the cloud reflects bearish conditions.
The script also includes:
An optional VWAP with session anchoring and standard deviation bands for intraday mean-reversion and institutional reference
Optional 200 MA and 100 MA for higher-timeframe trend confirmation
Clean visual hierarchy so price action remains readable during scaling and chart movement
This tool is intended to be used alongside price action, structure, and risk management, not as a standalone signal generator.
Credits
EMA cloud logic is inspired by and credited to Ripster’s EMA Clouds
Modified and extended for personal workflow, visual clarity, and intraday trading use
EZ Trend Indicator**EZ Trend Indicator (ElectZA)**
EZ Trend Indicator is a clean, lightweight trend tool built around the classic **EMA 50 / EMA 200** relationship. It plots both moving averages directly on price and automatically shades the chart background to quickly show whether the market is in a **bullish** or **bearish** environment. It also includes alert conditions for trend state changes so you can monitor direction without staring at the screen.
### What it shows
* **EMA 50 (Blue):** faster trend line (shorter-term direction)
* **EMA 200 (Red):** slower trend line (longer-term direction)
* **Background shading:**
* **Green** when EMA50 is above EMA200 (bullish trend)
* **Red** when EMA50 is below EMA200 (bearish trend)
### How to use
* **Trend filter (simple & effective):**
* When the background is **green**, prioritize **buy/long setups** and avoid counter-trend sells.
* When the background is **red**, prioritize **sell/short setups** and avoid counter-trend buys.
* **Crossover confirmation:**
* A shift from red → green suggests a potential bullish trend transition.
* A shift from green → red suggests a potential bearish trend transition.
* **Alerts:**
* Use **Bull Trend** alerts to get notified when the script detects a bullish trend state.
* Use **Bear Trend** alerts to get notified when the script detects a bearish trend state.
* **Best practice tip:**
* Combine this with your entry model (price action, support/resistance, MACD/RSI, etc.)—use EZ Trend Indicator as the **direction filter**, not the only trigger.
---
### Disclaimer
This indicator/script is provided for **educational and informational purposes only** and does **not** constitute financial, investment, or trading advice. Trading involves **significant risk**, and you may lose some or all of your capital. Past performance is **not** indicative of future results. Always do your own research, backtest on your market/timeframe, and apply proper risk management. By using this script, you accept full responsibility for all trading decisions and outcomes.
DF Advanced Sector & RS AnalysisDF Advanced Sector & RS Analysis
Overview
This indicator is an all-in-one dashboard designed to give you an instant "health check" on any asset. Instead of opening multiple charts to check the market trend, sector performance, and fundamentals, this tool brings all that data into a single table on your screen.
It automatically detects if you are looking at a Stock, Crypto, or Forex pair and adjusts its benchmarks accordingly.
Key Features
1. Smart Asset Detection
Stocks: Compares performance against the S&P 500 (SPY).
Crypto: Compares performance against Bitcoin (BTC).
Forex: Compares performance against the US Dollar Index (DXY).
2. Sector Intelligence (Stocks Only)
If you are trading a stock, the indicator automatically identifies its sector (e.g., Technology, Energy, Finance) and compares the stock against that specific sector ETF.
Sector Trend: Tells you if the sector is in an Uptrend or Downtrend.
vs Sector: Shows if your stock is outperforming its own industry.
3. Relative Strength (RS) & Alpha
RS Rating (0-100): A score derived from RSI logic that measures how strong the asset is compared to the benchmark. A score above 70 is bullish.
Alpha: Shows how much the asset is beating (or lagging) the market over the last 20 days.
4. Fundamental Snapshot
Growth: Displays EPS (Earnings) and Revenue growth. You can toggle these between TTM (Trailing 12 Months) for a smoother view or Quarterly for recent performance.
Valuation: Displays the P/E Ratio (TTM). This is always calculated using Trailing Twelve Month data to provide a standard valuation metric.
5. The "Verdict" Score
The indicator combines Technicals, Fundamentals, and Sector Strength into a final 0-100 Score:
STRONG (Green): High probability setup (Score > 70).
NEUTRAL (Grey): Mixed signals (Score 50-70).
RISK (Red): Weak performance or fundamentals (Score < 50).
How to Use
Add to Chart: The table will appear in the corner of your screen.
Check the Score: Look for assets with a "STRONG" verdict.
Analyze the RS: Ensure the RS Rating is high (green) to confirm the asset is a market leader.
Check the Sector: For stocks, it is safer to buy when the "Sector Trend" is UP.
Settings
Table Position: Move the dashboard to any corner of the screen.
Text Size: Adjust the size to fit your screen resolution.
Financials Mode:
TTM: Uses 12-month data (Smoother, standard for long-term analysis).
Quarterly: Uses the most recent quarter vs. the same quarter last year (More volatile, good for earnings plays).
Note: P/E Ratio is always TTM regardless of this setting.
Disclaimer
This tool is for informational purposes only and does not constitute financial advice. Always do your own research before trading.






















