75-min RSI-EMA Crossover Alertnsdjcnisdncjsndcncnscj
dcsdcjsbcjbccbsc
dncjbsdscbscbshb
ncjsdcbsdhc sdc
Moving Averages
Triple EMA Bundle (50, 100, 200) - Osbrah CRG📈 Advanced EMA Indicator – 50/100/200
This custom-built indicator displays the 50, 100, and 200 Exponential Moving Averages (EMAs), giving traders a powerful visual tool to identify key trend directions, dynamic support/resistance levels, and potential market reversals.
Designed for both beginners and advanced users, this tool offers extensive customization options:
* Select which EMAs to display (50, 100, 200)
* Adjust colors, line styles, and thickness
* Choose between different price sources (close, open, hl2, etc.)
* Set custom EMA lengths to fit your strategy
Use Cases:
* Spot trend direction and strength at a glance
* Identify key zones of support and resistance
* Confirm entries/exits based on EMA crossovers or rejections
* Align your trades with higher timeframe trends
Whether you're a swing trader or a scalper, this indicator helps you stay in sync with the market by bringing clarity to long-term momentum zones.
Golden Cross Weekly - The Sign of GloryCalculates the golden cross on the weekly timeframe (when the 50 EMA crosses above the 200 EMA).
Displays the result on any chart timeframe, so you can monitor higher-timeframe signals without switching views.
When a golden cross occurs, it draws a green vertical beam on the bar where the crossover happened — making it clearly visible across all timeframes.
This allows you to track the significance of a weekly golden cross while trading on lower timeframes, helping you stay aligned with long-term bullish momentum.
Daily Golden Cross - The Sign of GloryCalculates the golden cross on the daily timeframe (when the 50 EMA crosses above the 200 EMA).
Displays the result on any chart timeframe, so you don’t need to switch timeframes manually.
When a golden cross is detected, it draws a green vertical beam on the exact bar where it occurred — making it instantly visible no matter what timeframe you're viewing.
This is useful for tracking the impact of a daily golden cross while trading intraday or zoomed in, helping you align lower timeframe trades with higher timeframe bullish momentum.
4H Golden Cross - The Sign of GloryCalculates the golden cross on the 4-hour timeframe
Displays the result on any timeframe
Draws a green vertical beam (a vertical line or background stripe) on the bar where the golden cross happened, so it’s clearly visible regardless of your chart timeframe
This is used to see the effectiveness of the 4h golden cross without having to change timeframes continually
3MA Signal Flow📘【概要 / Overview】
3本の移動平均線(短期・中期・長期)の「並び順」と「方向」が同時に揃ったとき、シグナル(▲)を表示するシンプルなトレンド補助インジケーターです。
- 上昇シグナル:短期 > 中期 > 長期 & すべて上向き
- 下降シグナル:短期 < 中期 < 長期 & すべて下向き
- それ以外:ノーシグナル
This indicator shows a triangle signal (▲) **only when both the correct order and direction** of short/mid/long moving averages align:
- Bullish: short > mid > long **AND** all sloping upward
- Bearish: short < mid < long **AND** all sloping downward
- Otherwise: no signal
---
🔧【用途 / Use Cases】
- トレンド初動の検出
- 押し目・戻り目後の再加速ポイント確認
- MACDなど他インジとの併用で精度向上
- マルチタイム分析にも対応(1分足〜日足OK)
- Detect early trends
- Confirm trend continuation after pullbacks
- Combine with indicators like MACD
- Works on all timeframes (1min to daily)
---
🤝【他のインジケーターや裁量との併用例 / Example Combinations】
このインジケーター単体でもシンプルに使えますが、以下のような併用例が実戦的に役立ちます:
▶ **MACDヒストグラムとの組み合わせ**
シグナル出現時にMACDが拡大傾向であれば、モメンタムが伴っていると判断しやすいです。
弱ければロット調整やスルーの判断材料に。
▶ **トレンドラインブレイクとの併用(裁量)**
自分で引いたトレンドラインを明確に抜けた直後に▲シグナルが出現するケースでは、初動キャッチの根拠となりやすく、エントリー検討の優先度が高まります。
This tool works best when combined with other context:
▶ **With MACD histogram**
A strong expanding histogram reinforces the signal.
Weak or flat? Consider skipping or reducing size.
▶ **With manual trendline breaks**
If a signal appears just after your own trendline is broken, it may indicate a trend initiation zone with high reliability.
---
⚙️【カスタマイズ可能な設定 / Adjustable Settings】
- MAの期間(デフォルト:25, 75, 200)
- シグナルの色やサイズ
- ラベル表示ON/OFFなど
- MA periods (default: 25 / 75 / 200)
- Signal colors & size
- Toggle label display
---
💬【メッセージ / Final Note】
このインジケーターは私自身の経験をもとに設計していますが、手法や使い方は人それぞれです。
ご自身の視点で活用した結果などをコメント欄で共有いただけたら嬉しいです。
お互いの知見を深めるきっかけになれば幸いです。
This indicator reflects my personal trading logic, but I welcome others to explore it in their own way.
If you find a unique or effective use case, I’d be happy to hear it.
Let’s grow together as traders.
Pump Detector - EMA 4H + Retest H1 (Valid 10x4H bars)📈 Pump Detector – EMA 12/21 on 4H + Retest on H1
This indicator is designed to detect sudden bullish moves ("pumps") on the 4-hour timeframe, and alert traders of potential retest entry points on the 1-hour timeframe.
🔍 Pump activation conditions (on 4H):
EMA 12 crosses above EMA 21
Current volume exceeds the 20-period SMA of volume (on 4H)
When both conditions are met, a pump alert is triggered and a time window opens.
📉 Retest detection logic (on H1):
For the next 10 bars on the 4H chart (~40 hours), the indicator monitors price behavior on the 1H timeframe
If the LOW of any H1 candle touches or drops below EMA 12 or 21 (on H1), a second alert is triggered
✅ Key Features:
Draws EMA 12/21 from the 4H timeframe directly on the chart
Enforces 4H and H1 timeframes, regardless of the chart the script is applied to
One-time detection per pump window: once the 10-bar window expires, the retest alert is disabled until a new pump is detected
Ideal for capturing momentum breakouts followed by technical pullbacks
⚠️ Recommended for:
Traders looking for scalping or swing trading setups on crypto, forex, or stocks. Helps identify post-breakout entry opportunities using a structured and disciplined approach.
Ind JDV 2.2 PRO🛡️ Ind JDV 2.0 PRO – Chandelier Exit + FVG + EMA (Precise Entry)
Description:
Ind JDV 2.0 PRO is an advanced indicator that combines three powerful confirmations to find the best trading opportunities:
Chandelier Exit: Filters trade direction based on volatility breakouts controlled by ATR.
Fair Value Gap (FVG): Detects price inefficiency zones at their very first appearance.
EMA (Exponential Moving Average): Acts as a trend filter to ensure trading with the dominant market flow.
🔍 Key Features:
Marks only one precise signal on the candle where the FVG starts.
Confirms the trend using a 150-period EMA (fully adjustable).
Optionally draws Take Profit and Stop Loss target lines for clear visual guidance.
Background color changes (green or red) to reflect the active market trend.
Built-in automatic alerts for buy or sell opportunities.
Optimized code for maximum speed across all timeframes.
✅ Perfect for trading indices, forex, cryptocurrencies, and stocks.
✅ Compatible with all timeframes (5m, 15m, 1H, 4H, Daily).
✅ Fully customizable to fit scalping, intraday, or swing trading styles.
⚙️ Default Parameters:
ATR Period: 10
ATR Multiplier: 3.0
EMA Period: 150
FVG Lookback: 3 candles
Take Profit: 100 points
Stop Loss: 50 points
(All values are adjustable in settings.)
📈 How it works:
The indicator analyzes price structure.
Detects a valid Fair Value Gap (FVG) formation.
Confirms the breakout with a Chandelier Exit signal.
Verifies price alignment with the EMA trend.
Triggers a single entry signal (BUY or SELL) exactly on the first candle that meets all conditions.
🚀 Optimize your trading by focusing on high-probability zones, supported by solid confirmations and clean visual signals.
Add Ind JDV 2.0 PRO to your trading arsenal and take your strategy to the next level! 🔥
Order Block with BoSHere’s a professional and concise description you can use for publishing your **TradingView script** titled **"Order Block with BoS"**:
---
### 📌 **Description for TradingView Publication:**
**"Order Block with Break of Structure (BoS)"** is a powerful price action-based indicator designed to identify potential reversal zones and momentum shifts using **Order Block** detection combined with **Break of Structure (BoS)** confirmation.
### 🔍 **Key Features:**
* **Order Block Detection**: Highlights bullish and bearish order blocks using precise candle structure logic.
* **Break of Structure (BoS)**: Confirms structural breaks above swing highs or below swing lows to validate potential trend continuation or reversal.
* **Dynamic ATR Filter**: Uses a 14-period ATR with dynamic thresholds to confirm significant moves, filtering out weak breakouts.
* **Visual Aids**:
* Color-coded **boxes** to mark detected Order Blocks.
* **Arrows** at BoS confirmation points when ATR confirms strong momentum.
* Optional **dashed BoS lines** to show where price broke structure.
### ⚙️ **Customizable Inputs**:
* `Swing Length`: Defines the sensitivity of swing high/low detection.
* `Show Break of Structure`: Toggle on/off BoS confirmation lines.
* `Candle Lookback`: Number of historical candles to consider.
This indicator is ideal for traders who incorporate **smart money concepts**, **market structure analysis**, or **institutional order flow** strategies.
---
Would you like me to help write the **strategy** version of this or translate the description into another language for international audiences?
Volume MAs Supertrend | Lyro RS📊 Volume MAs Supertrend | Lyro RS is an advanced trading tool that combines volume-adjusted moving averages with a dynamic Supertrend system. This indicator provides a robust framework for identifying market trends and entry/exit points.
✨ Key Features :
📈 Volume-Weighted Moving Averages (VWMA): Integrates price and volume data to provide a more accurate moving average, allowing for better trend analysis.
🔧 Multiple MA Types: Choose from SMA, EMA, WMA, VWMA, DEMA, TEMA, RMA, HMA, ALMA to suit your preferred trading strategy.
📊 Dual-Multiplier Supertrend System: Uses ATR to dynamically calculate upper and lower bands for long and short trends, with distinct multipliers for each.
🎨 Customizable Color Schemes: Choose from Classic, Mystic, Accented, and Royal color palettes or customize your own colors for bullish and bearish trends.
🔍 Visual Enhancements: Color-coded Supertrend lines, candlesticks, and bars for quick trend identification.
⏰ Alert System: Alerts for long and short signals based on trend changes.
🔧 How It Works :
The Supertrend line is calculated using ATR over a user-defined period, with separate multipliers for long and short positions.
📈 A bullish trend is signaled when the price crosses above the upper band, and a bearish trend is signaled when the price crosses below the lower band.
🎨 The Supertrend line changes color to reflect trend direction, with candlesticks and bars matching the trend's color for visual clarity.
⚙️ Customization Options :
🛠️ Moving Average Settings: Select your preferred moving average type (SMA, EMA, VWMA, etc.) and adjust the length for smoother or more responsive trend signals.
📐 Supertrend Parameters: Define the ATR period and adjust multipliers to fine-tune sensitivity for long and short signals.
🎨 Color Configuration: Choose from predefined color palettes or create your own custom scheme for trend signals.
📈 Use Cases :
✅ Confirm market trends before entering trades.
🚪 Identify potential entry/exit points as trend directions shift.
👀 Visually analyze market conditions with color-coded candlesticks and bars.
⚠️ Disclaimer :
This indicator should not be used as a standalone tool for making trading decisions. Always combine with other forms of analysis and risk management practices.
VWAP Predictive Breakout + RSI + OB + Trend/Chop📈 VWAP Predictive Breakout + RSI + Order Blocks + Trend/Chop Filter
This multi-layered day trading and scalping tool is designed to predict price direction after a VWAP breakout, rather than react to it. It combines volume, RSI, candlestick structure, order blocks, and trend/chop analysis to improve the accuracy of intraday signals.
🔍 Core Features
VWAP Predictive Breakout
Signals are generated when price breaks above/below VWAP with strength (volume spike + strong candle body), supported by trend confirmation.
RSI Momentum Filter
Uses RSI divergence behavior to validate breakouts, filtering out weak or exhausted moves.
Order Block Detection
Marks bullish and bearish engulfing patterns and checks for proximity to these zones as confirmation for breakouts.
Trend vs Chop Detection
Uses ADX, ATR, EMA distance, Bollinger Band width, and candlestick cleanliness to dynamically identify whether the market is trending or choppy.
Clean Candle Behavior
Filters out noisy or indecisive candles by analyzing wick-to-body ratio and ATR-based body size.
📌 Visual Markers
🟢 Buy Signal: Green triangle below bar
🔴 Sell Signal: Red triangle above bar
🟢⚪ Bullish Order Block: Green circle
🔴⚪ Bearish Order Block: Red circle
🟩 Trending Background: Light green
🟥 Choppy Background: Light red
🛎 Alerts Included
Long signal: VWAP breakout + RSI + Order Block + Clean Candle
Short signal: VWAP breakdown + RSI + Order Block + Clean Candle
🧠 Best Use Cases
Scalping high-probability VWAP reversals or continuations
Day trading in markets where trend clarity is critical
Filtering noise in sideways conditions using real-time chop detection
Heikinisi Candle (With MA + Smoothing + Buy/Sell with Cooldown)This custom Heikinisi Candle (With MA + Smoothing + Buy/Sell with Cooldown) indicator combines the advantages of Heikin-Ashi candles with the flexibility of multiple moving averages and smoothing options. The built-in buy/sell signals with cooldown functionality help traders avoid overtrading while capturing trend reversals and momentum shifts. Whether you're a day trader, swing trader, or long-term investor, this indicator offers powerful tools for analyzing price action and making informed trading decisions.
Note: Disable the regular candle to get better visualization.
Key Features:
Custom Heikin-Ashi Candles:
The core feature of this script is the Heikin-Ashi candles, which are known for smoothing price action and helping traders identify market trends more clearly.
Unlike traditional Heikin-Ashi, this version adjusts the Heikin-Ashi close based on specific price action patterns, including rejection signals and engulfing patterns.
The custom Heikin-Ashi open also incorporates momentum, adjusting dynamically based on recent price changes.
Price Action Measurements:
The indicator measures key price action components, including:
Body: The absolute difference between the open and close.
Candle Range: The total range from high to low.
Upper Wick: The distance from the highest price to the maximum of open or close.
Lower Wick: The distance from the lowest price to the minimum of open or close.
These measurements help detect bullish and bearish conditions, as well as price rejection signals.
Buy/Sell Signal Logic:
Buy Signal: Triggered when the Heikin-Ashi close is above the chosen moving average (MA1), with a cooldown period to avoid too frequent signals.
Sell Signal: Triggered when the Heikin-Ashi close falls below the MA1 after a buy signal has already been issued.
The cooldown period ensures that buy and sell signals are spaced apart by a specific number of bars, preventing excessive signal generation during periods of price consolidation.
Multiple Moving Averages (MA):
This script supports up to three customizable moving averages (MA1, MA2, MA3), each of which can be set to different types and lengths, including:
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Weighted Moving Average (WMA)
Volume Weighted Moving Average (VWMA)
Volume Weighted Moving Price (VWMP)
Least Squares Moving Average (LSMA)
Hull Moving Average (HMA)
Double Exponential Moving Average (DEMA)
Triple Exponential Moving Average (TEMA)
Users can adjust the length and type of each MA for tailored analysis.
Smoothing Options for MAs:
Users can smooth the output of MAs using various types of smoothing algorithms (SMA, EMA, LSMA, WMA, Gaussian) and a customizable length. This helps to reduce noise in the moving average lines and provides clearer signals.
Gaussian Filter (Advanced Smoothing):
A Gaussian Filter is available as a smoothing option for MAs. This filter reduces noise and makes the moving averages smoother, which can be particularly helpful in volatile or choppy markets.
Alerts and Visualization:
The script allows users to plot buy and sell signals on the chart with distinctive markers. A Buy Signal is shown below the bar with a lime green marker and text "Buy," while a Sell Signal is shown above the bar with a red marker and text "Sell."
Traders can also set up alerts based on the buy/sell signals to get notified in real time.
Indicator Configuration:
Heikin-Ashi Candle Configuration:
Automatically adjusts Heikin-Ashi candles based on rejection signals, engulfing patterns, and momentum. It uses custom formulas for the Heikin-Ashi open and close, making it more sensitive to price action than standard Heikin-Ashi candles.
Moving Averages (MA) Configuration:
You can select from multiple moving average types and lengths (MA1, MA2, MA3) for trend-following analysis.
Choose between SMA, EMA, WMA, VWMA, VWMP, LSMA, HMA, DEMA, and TEMA.
Smoothing Options:
Enable or disable smoothing for the moving averages.
Select from different smoothing types, including SMA, EMA, RMA, WMA, LSMA, and Gaussian.
Cooldown Period:
Control the number of bars that must pass before a new buy/sell signal is triggered. This cooldown period helps prevent excessive trading signals in quick succession.
How to Use:
Analyze Price Action with Heikin-Ashi Candles:
The custom Heikin-Ashi candles are ideal for spotting market trends, reversals, and price rejection. Use the candle patterns to gauge the market sentiment.
Use MAs for Trend Confirmation:
The moving averages (MA1, MA2, MA3) can help identify the prevailing trend. A price above a rising MA indicates an uptrend, while a price below a falling MA suggests a downtrend.
Trigger Buy and Sell Signals:
When the Heikin-Ashi close crosses above MA1, a buy signal is triggered.
When the Heikin-Ashi close crosses below MA1 after a buy signal, a sell signal is triggered.
The cooldown period ensures that signals are spaced out, preventing overtrading.
Use Smoothing for Clearer Signals:
If you are trading in a volatile market, you can use the smoothing options to make the MAs smoother and reduce noise.
US30 HMA Signal v2.8Indicator Description – US30 HMA Signal v2.8
Overview:
The US30 HMA Signal indicator is designed to generate Buy and Sell signals based on the crossover of three Hull Moving Averages (HMAs). The indicator focuses on identifying momentum shifts and directional bias using the 9, 21, and 50 HMA structures, optimised for the US30 (Dow Jones) index.
⸻
Indicator Components:
1. Hull Moving Averages (HMAs):
• 9 HMA (Green): Fastest HMA, responds quickly to price changes.
• 21 HMA (Amber): Medium-term HMA, acts as a transitional filter.
• 50 HMA (Red): Slowest HMA, defines the broader trend direction.
⸻
Logic and Signal Conditions:
1. Session Filter:
• Signals are only generated during the US session, defined as starting at 13:30 BST.
2. Directional Bias:
• Bullish Bias: Occurs when both the 9 HMA and 21 HMA are above the 50 HMA.
• Bearish Bias: Occurs when both the 9 HMA and 21 HMA are below the 50 HMA.
3. Crossover Logic:
• Buy Signal: Prints when the 9 HMA crosses above the 21 HMA while the directional bias is bullish.
• Sell Signal: Prints when the 9 HMA crosses below the 21 HMA while the directional bias is bearish.
4. Minimum Bar Spacing:
• To avoid signal clustering, a minimum bar spacing of 5 bars is implemented between consecutive signals.
⸻
Plotting:
• Buy Signal: Displays as a green label below the candle with the text “BUY.”
• Sell Signal: Displays as a red label above the candle with the text “SELL.”
⸻
Purpose and Usage:
• The indicator is designed for traders looking to capture momentum shifts in the US30 index using HMA crossovers.
• It is best applied on the 5-minute timeframe to balance signal frequency and reliability.
• The strict session filter ensures signals are only generated during the most volatile period, aligning with US market activity.
Support BandsSupport Bands – Discount Zones for Bitcoin
⚡Overview:
-The Support Bands indicator identifies one of the most tested and respected support zones for Bitcoin using moving averages from higher timeframes.
-These zones are visualized through colored bands (blue, white, and violet), simplifying the decision making process especially for less experienced traders who seek high-probability areas to accumulate Bitcoin during retracements.
-Band levels are based on manual backtesting and real-world price behavior throughout Bitcoin’s history.
-Each zone reflects a different degree of support strength, from temporary pullback zones to historical bottoms.
⚡️ Key Characteristics:
-Highlights discount zones where Bitcoin has historically shown strong reactions.
-Uses 3 different levels of supports based on EMA/SMA combinations.
-Offers a clean, non-intrusive overlay that reduces chart clutter.
⚡ How to Use:
-Open your chart on the 1W timeframe and select the BTC Bitstamp or BLX symbol, as they provide the most complete historical data, ensuring optimal performance of the indicator.
-Use the bands as reference zones for support and potential pullbacks.
- Level 3 (violet band) historically marks the bottom of Bitcoin bear markets and is ideal for long-term entries during deep corrections.
- Level 2 (white band) often signals macro reaccumulation zones but usually requires 1–3 months of consolidation before a breakout. If the price closes below and then retests this level as resistance for 1–2 weekly candles, it often marks the start of a macro downtrend.
-Level 1 (blue band) acts as short-term support during strong bullish moves, typically after a successful rebound from Level 2.
⚡ What Makes It Unique:
- This script merges moving averages per level into three simplified bands for clearer analysis.
-Reduces chart noise by avoiding multiple overlapping lines, helping you make faster and cleaner decisions.
- Built from manual market study based on recurring Bitcoin behavior, not just random code.
-Historically backtested:
-Level 3 (violet band) until today has always marked the bitcoin bearmarket bottom.
- Level 2 (white band) is the strongest support during bull markets; losing it often signals a macro trend reversal.
- Level 1 is frequently retested during impulsive rallies and can act as short-term support or resistance.
⚡ Disclaimer:
-This script is a visual tool to assist with market analysis.
-It does not generate buy or sell signals, nor does it predict future movements.
-Historical performance is not indicative of future results.
-Always use independent judgment and proper risk management.
⚡ Why Use Support Bands:
-Ideal for traders who want clarity without dozens of lines on their charts.
- Helps identify logical zones for entry or reaccumulation.
- Based on actual market behavior rather than hypothetical setups.
-If the blue band (Level 1) doesn't hold as support, the price often moves to the white band (Level 2), and if that fails too, the violet band (Level 3) is typically the last strong support. By dividing your capital into three planned entries, one at each level,you can manage risk more effectively compared to entering blindly without this structure.
HMA 200 + EMA 20 Crossover StrategyThis strategy combines a long-term trend filter using the Hull Moving Average (HMA 200) with a short-term entry trigger using the Exponential Moving Average (EMA 20).
📈 Entry Logic:
Buy Entry: When price is above the HMA 200 and crosses above the EMA 20.
Sell Entry: When price is below the HMA 200 and crosses below the EMA 20.
The strategy closes the current position and reverses on the opposite signal.
⚙️ Strategy Settings (Backtest Configuration):
Position size: 10% of equity per trade
Commission: 0.1% per trade (to simulate broker fees)
Slippage: 2 ticks (to reflect realistic fill conditions)
✅ Purpose:
This script is designed to identify high-probability trades in the direction of the overall trend, avoiding whipsaw conditions. It is useful for traders looking for a dynamic crossover-based system that filters trades based on longer-term momentum.
🔎 Make sure to test across multiple assets and timeframes. For best results, apply this strategy to liquid trending markets like major FX pairs, indices, or high-cap stocks.
Moving Volume-Weighted Avg Price, % Channel, BBsThis script includes:
- Moving Volume-Weighted Average Price line.
- User-defined % band above and below, very useful for "breakout" signals, and mentally adjusting to the magnitude of price swings when viewing an automatic scale on the price axis.
- Volume-Weighted Bollinger Bands, which are more sensitive to volume.
More detail:
- This is like TV's basic VWAP in concept, except the major flaw in that is that it has reset periods that you can't override, and the volume is cumulative until the next hard reset. The 'reset' is OK for securities trading, that resets every day anyway. But not for crypto - and not if/when securities trading goes 24/7. Also, the denominator accumulating over the entire period is also *not* OK, because then what is shown means something different as the day progresses - which kind of makes it useless. In other words, it starts out very sensitive to volume, and gets progressively more numb to it as they day progresses, and starts flattening out.
- This fixes both problems, by using a user-definable moving window for the average. Essentially combining SMA with volume-weighting.
- You may also find an invaluable trading aid, in the % bands above and below.
- What can optionally be shown is standard deviation bands, aka Bollinger bands. The advantage over regular BB is that it's volume-weighted. Since it is already calculated on a moving average, the period for the standard deviation has been shortened by default, and the magnitude increased, to better approximate regular Bollinger Bands - but it's still more responsive to volume.
Granville's 8 Rules Visualizer 🧠 Granville’s 8 Rules Indicator
I’ve created a Pine Script indicator that visually implements **Granville’s Eight Rules**, one of the foundational theories for price movement relative to a moving average (MA). This tool helps traders better time entries and exits based on momentum shifts and MA behavior.
---
### 📈 What is Granville’s Law?
Joseph Granville’s theory suggests that **price and moving average (typically SMA)** interactions produce **8 recurring signals**:
* **4 Buy signals** (B1–B4)
* **4 Sell signals** (S1–S4)
These rules help identify the beginning or continuation of bullish and bearish trends.
---
### 🔍 Indicator Logic
This indicator uses a simple 20-period SMA (modifiable) and tracks price action in relation to it. Each signal is drawn as a triangle with a label (`B1` to `B4` or `S1` to `S4`), based on the following rules:
#### ✅ Buy Signals:
* **B1**: Price crosses above a rising MA (classic breakout)
* **B2**: Price pulls back below a rising MA, then begins rising again
* **B3**: Price bounces off a falling MA
* **B4**: Price is above a rising MA but temporarily drops
#### ❌ Sell Signals:
* **S1**: Price crosses below a falling MA
* **S2**: Price pulls back above a falling MA, then starts dropping again
* **S3**: Price bounces down off a rising MA
* **S4**: Price is below a falling MA but temporarily rises
---
### 🛠 How to Use It:
1. **Trend Confirmation**: Use the moving average slope (rising or falling) as your trend filter.
2. **Entry Timing**: Look for Buy signals (B1–B4) in uptrends and Sell signals (S1–S4) in downtrends.
3. **Avoid Noise**: Combine with volume or volatility filters (e.g. ATR or squeeze) to eliminate weak setups.
4. **Customize**: Adjust the MA type or length to fit your market (e.g. EMA for crypto, SMA for FX).
---
### 💡 Example Strategies:
* Pair **B1 + rising volume** for early trend entries
* Use **B2/B4** for retracement-based entries
* Exit on **S3/S4** for profit taking or stop logic
Happy trading!
Functionally Weighted Moving AverageOVERVIEW
An anchor-able moving average that weights historical prices with mathematical curves (shaping functions) such as Smoothstep , Ease In / Out , or even a Cubic Bézier . This level of configurability lends itself to more versatile price modeling, over conventional moving averages.
SESSION ANCHORS
Aside from VWAP, conventional moving averages do not allow you to use the first bar of each session as an anchor. This can make averages less useful near the open when price is sufficiently different from yesterdays close. For example, in this screenshot the EMA (blue) lags behind the sessionally anchored FWMA (yellow) at the open, making it slower to indicate a pivot higher.
An incrementing length is what makes a moving average anchor-able. VWAP is designed to do this, indefinitely growing until a new anchor resets the average (which is why it doesn't have a length parameter). But conventional MA's are designed to have a set length (they do not increment). Combining these features, the FWMA treats the length like a maximum rather than a set length, incrementing up to it from the anchor (when enabled).
Quick aside: If you code and want to anchor a conventional MA, the length() function in my UtilityLibrary will help you do this.
Incrementing an averages length introduces near-anchor volatility. For this reason, the FWMA also includes an option to saturate the anchor with the source , making values near the anchor more resistant to change. The following screenshot illustrates how saturation affects the average near the anchor when disabled (aqua) and enabled (fuchsia).
AVERAGING MATH
While there's nothing special about the math, it's worth documenting exactly how the average is affected by the anchor.
Average = Dot Product / Sum of Weights
Dot Product
This is the sum of element-wise multiplication between the Price and Weight arrays.
Dot Product = Price1 × Weight1 + Price2 × Weight2 + Price3 × Weight3 ...
When the Price and Weight arrays are equally sized (aka. the length is no longer incrementing from the anchor), there's a 1-1 mapping between Price and Weight indices. Anchoring, however, purges historical data from the Price array, making it temporarily smaller. When this happens, a dot product is synthesized by linearly interpolating for proportional indices (rather than a 1-1 mapping) to maintain the intended shape of weights.
Synthetic Dot Product = FirstPrice × FirstWeight + ... MidPrice × MidWeight ... + LastPrice × LastWeight
Sum of Weights
Exactly what it sounds like, the sum of weights used by the dot product operation. The sum of used weights may be less than the sum of all weights when the dot product is synthesized.
Sum of Weights = Weight1 + Weight2 + Weight3 ...
CALCULATING WEIGHTS
Shaping functions are mathematical curves used for interpolation. They are what give the Functionally Weighted Moving Average its name, and define how each historical price in the look back period is weighted.
The included shaping functions are:
Linear (conventional WMA)
Smoothstep (S curve)
Ease In Out (adjustable S curve)
Ease In (first half of Ease In Out)
Ease Out (second half of Ease In Out)
Ease Out In (eases out and then back in)
Cubic Bézier (aka. any curve you want)
In the following screenshot, the only difference between the three FWMA's is the shaping function (Ease In, Ease In Out, and Ease Out) illustrating how different curves can influence the responsiveness of an average.
And here is the same example, but with anchor saturation disabled .
ADJUSTING WEIGHTS
Each function outputs a range of values between 0 and 1. While you can't expand or shrink the range, you can nudge it higher or lower using the Scalar . For example, setting the scalar to -0.2 remaps to , and +0.2 remaps to . The following screenshot illustrates how -0.2 (lightest blue) and +0.2 (darkest blue) affect the average.
Easing functions can be further adjusted with the Degree (how much the shaping function curves). There's an interactive example of this here and the following illustrates how a degrees 0, 1, and 20 (dark orange, orange, and light orange) affect the average.
This level of configurability completely changes how a moving average models price for a given length, making the FWMA extremely versatile.
INPUTS
You can configure:
Length (how many historical bars to average)
Source (the bar value to average)
Offset (horizontal offset of the plot)
Weight (the shaping function)
Scalar (how much to adjust each weight)
Degree (how much to ease in / out)
Bézier Points (controls shape of Bézier)
Divisor & Anchor parameters
Style of the plot
BUT ... WHY?
We use moving averages to anticipate trend initialization, continuation, and termination. For a given look back period (length) we want the average to represent the data as accurately and smoothly as possible. The better it does this, the better it is at modeling price.
In this screenshot, both the FWMA (yellow) and EMA (blue) have a length of 9. They are both smooth, but one of them more accurately models price.
You wouldn't necessarily want to trade with these FWMA parameters, but knowing it does a better job of modeling price allows you to confidently expand the model to larger timeframes for bigger moves. Here, both the FWMA (yellow) and EMA (blue) have a length of 195 (aka. 50% of NYSE market hours).
INSPIRATION
I predominantly trade ETF derivatives and hold the position that markets are chaotic, not random . The salient difference being that randomness is entirely unpredictable, and chaotic systems can be modeled. The kind of analysis I value requires a very good pricing model.
The term "model" sounds more intimidating than it is. Math terms do that sometimes. It's just a mathematical estimation . That's it. For example, a regression is an "average regressing" model (aka. mean reversion ), and LOWESS (Locally Weighted Scatterplot Smoothing) is a statistically rigorous local regression .
LOWESS is excellent for modeling data. Also, it's not practical for trading. It's computationally expensive and uses data to the right of the point it's averaging, which is impossible in realtime (everything to the right is in the future). But many techniques used within LOWESS are still valuable.
My goal was to create an efficient real time emulation of LOWESS. Specifically I wanted something that was weighted non-linearly, was efficient, left-side only, and data faithful. Incorporate trading paradigms (like anchoring) and you get a Functionally Weighted Moving Average.
The formulas for determining the weights in LOWESS are typically chosen just because they seem to work well. Meaning ... they can be anything, and there's no justification other than "looks about right". So having a variety of functions (aka. kernels) for the FWMA, and being able to slide the weight range higher or lower, allows you to also make it "look about right".
William Cleveland, prominent figure in statistics known for his contributions to LOWESS, preferred using a tri-cube weighting function. Using Weight = Ease Out In with the Degrees = 3 is comparable to this. Enjoy!
CRT Finder (WanHakimFX)📈 Liquidity Grab Indicator with MTF Confluence & Alerts
🔍 Overview:
The Liquidity Grab Indicator is designed to detect precise moments when price sweeps liquidity — either by wicking below recent lows (bullish LQH) or above recent highs (bearish LQL) — followed by a clear rejection. It combines this logic with multi-timeframe confirmation and trend filters, making it a powerful tool for identifying high-probability reversal setups.
⚙️ How It Works:
✅ Liquidity Sweep Logic (LQH / LQL)
Bullish (LQH):
Current candle wicks below the previous low
Closes above the previous candle body
Confirms potential bullish reversal
Bearish (LQL):
Current candle wicks above the previous high
Closes below the previous candle body
Confirms potential bearish reversal
✅ Additional Conditions:
Must occur during London or New York sessions.
Requires trend confluence:
LQH = Price must be above SMMA 60/100/200
LQL = Price must be below SMMA 60/100/200
🧠 Multi-Timeframe Confluence:
The indicator scans for LQH/LQL sweeps across:
Daily
4H
1H
30M
15M
If a sweep occurs on any of these timeframes, an alert is triggered and a triangle marker appears on the chart for real-time visual confluence.
📊 Visual Features:
Green/Red labels for active timeframe sweeps.
Dotted wick lines to show liquidity zones from the previous candle.
Colored triangle markers for MTF sweep alerts.
🛠 Strategy Usage:
This indicator is best used as a trigger tool in a confluence-based strategy:
Use higher-timeframe MTF LQH/LQL markers for directional bias.
Wait for matching sweep on your entry timeframe (e.g., M1/M5).
Enter on confirmation candle or break of structure.
Target imbalances, FVGs, or previous highs/lows.
Risk-managed entries using sweep candle's high/low as stop.
📢 Alerts:
✅ Bullish Sweep (LQH) on any timeframe
✅ Bearish Sweep (LQL) on any timeframe
SuperTrade ST1 StrategyOverview
The SuperTrade ST1 Strategy is a long-only trend-following strategy that combines a Supertrend indicator with a 200-period EMA filter to isolate high-probability bullish trade setups. It is designed to operate in trending markets, using volatility-based exits with a strict 1:4 Risk-to-Reward (R:R) ratio, meaning that each trade targets a profit 4× the size of its predefined risk.
This strategy is ideal for traders looking to align with medium- to long-term trends, while maintaining disciplined risk control and minimal trade frequency.
How It Works
This strategy leverages three key components:
Supertrend Indicator
A trend-following indicator based on Average True Range (ATR).
Identifies bullish/bearish trend direction by plotting a trailing stop line that moves with price volatility.
200-period Exponential Moving Average (EMA) Filter
Trades are only taken when the price is above the EMA, ensuring participation only during confirmed uptrends.
Helps filter out counter-trend entries during market pullbacks or ranges.
ATR-Based Stop Loss and Take Profit
Each trade uses the ATR to calculate volatility-adjusted exit levels.
Stop Loss: 1× ATR below entry.
Take Profit: 4× ATR above entry (1:4 R:R).
This asymmetry ensures that even with a lower win rate, the strategy can remain profitable.
Entry Conditions
A long trade is triggered when:
Supertrend flips from bearish to bullish (trend reversal).
Price closes above the Supertrend line.
Price is above the 200 EMA (bullish market bias).
Exit Logic
Once a long position is entered:
Stop loss is set 1 ATR below entry.
Take profit is set 4 ATR above entry.
The strategy automatically exits the position on either target.
Backtest Settings
This strategy is configured for realistic backtesting, including:
$10,000 account size
2% equity risk per trade
0.1% commission
1 tick slippage
These settings aim to simulate real-world conditions and avoid overly optimistic results.
How to Use
Apply the script to any timeframe, though higher timeframes (1H, 4H, Daily) often yield more reliable signals.
Works best in clearly trending markets (especially in crypto, stocks, indices).
Can be paired with alerts for live trading or analysis.
Important Notes
This version is long-only by design. No short positions are executed.
Ideal for swing traders or position traders seeking asymmetric returns.
Users can modify the ATR period, Supertrend factor, or EMA filter length based on asset behavior.
MA Dispersion+MA Dispersion+ — read the “breathing space” between your moving-averages
Get instant feedback on trend strength, volatility expansion and mean-reversion — across any timeframe.
MA Dispersion+ turns the humble moving-average stack into a single, easy-to-read oscillator that tells you at a glance whether price is coiling or fanning out.
🧩 What it does
Plugs into your favourite MA setup
• Pick the classic 5 / 20 / 50 / 200 lengths or disable any combination with one click.
• Choose the MA engine you trust — SMA, EMA, RMA, VWMA or WMA.
• Works on any timeframe thanks to TradingView’s security() engine.
Measures “spread”
For every bar it calculates the absolute distance of each selected MA from their average.
The tighter the stack, the lower the value; the wider the fan, the higher the value.
Adds professional-grade controls
• Weighting — let short-term MAs dominate (Inverse Length), keep everything equal, or dial in your own custom weights.
• Normalisation — convert the raw distance into a percentage of price, ATR multiples, or scale by the MAs’ own mean so you can compare symbols of any price or volatility.
🔍 How traders use it
Trend confirmation – rising dispersion while price breaks out = momentum is genuine.
Volatility squeeze – dispersion parking near zero warns that a big move is loading.
Multi-TF outlook – drop one pane per timeframe (e.g. 5 m, 1 h, 1 D) and see which layer of the market is driving.
Mean-reversion plays – spikes that fade quickly often coincide with exhaustion and snap-backs.
⚙️ Quick-start
Add MA Dispersion+ to your chart.
Set the pane’s timeframe in the first input.
Tick the MA lengths you actually use.
(Optional) Pick a weighting scheme and a normaliser.
Repeat the indicator for as many timeframes as you like — each instance keeps its own settings.
✨ Why you’ll love it
Zero clutter – one orange line tells you what four separate MAs whisper.
Configurable yet bullet-proof – all lengths are hard-coded constants, so Pine never complains.
Context aware – normalisation lets you compare BTC’s $60 000 chaos with EURUSD’s four--decimals calm.
Lightweight – no labels, no drawings, no background processing — perfect for mobile and multi-pane layouts.
Give MA Dispersion+ a try and let your charts breathe — you’ll never look at moving-average ribbons the same way again.
Happy trading!
NeuroTrendNeuroTrend is an advanced, self-adjusting trend analysis system that continuously adapts to changing market conditions using volatility-aware smoothing, momentum weighting, and intelligent trend classification. It provides real-time trend detection, confidence scoring, early reversal warnings, and slope projection, all delivered through a coaching dashboard and structured rule-based commentary system.
At its core, NeuroTrend uses two EMAs whose smoothing lengths change automatically based on current volatility, measured by the ATR relative to price, and momentum bias, measured by RSI displacement from the neutral level. These adaptive EMAs create a flexible baseline that adjusts to the pace of the market. From these EMAs, the system calculates angular slope and derives a slope power score, which reflects directional momentum weighted by volatility.
NeuroTrend classifies each bar into one of five market phases: Impulse, Cooling, Reversal Risk, Stall, or Neutral. This classification is based on slope strength, slope variability, and RSI behavior. Each phase offers specific context for whether to enter, continue, or avoid a position.
The indicator uses what is referred to as a neural memory engine, which is inspired by the idea of memory but is not a neural network or machine learning model. Instead, it is a statistical recalibration system that adjusts thresholds using recent ATR conditions and slope standard deviation. This allows the indicator to remain aligned with the current market environment without the need for manual tuning.
Although NeuroTrend is fully adaptive, it includes inputs for the base fast and slow EMAs. These inputs define the central anchor points around which the adaptive logic operates. This gives the trader the ability to control the default behavior of the indicator while still benefiting from real-time responsiveness to volatility and momentum.
To assess the strength of a trend, NeuroTrend computes a confidence score based on four elements: DMI trend strength, directional bias from DI+ and DI–, slope normalization, and volatility efficiency measured by ATR in relation to EMA distance. This score is used to inform alerts, commentary, and dashboard visualization.
The indicator also includes a slope projection engine that estimates near-term direction based on slope change and acceleration. This projection is scaled and clamped using a dynamic volatility factor to prevent unrealistic or unstable values.
Reversal and stall detection are built in. Reversal detection is based on slope collapsing, sign flipping, and RSI weakness. Stall detection is triggered when slope magnitude is low, RSI is flat, and ATR is compressed. These filters help prevent entries in low-quality or high-risk environments.
The system also includes AI-style commentary. This feature is not powered by machine learning or natural language processing. It is rule-based, using prioritized conditions to generate clear statements that reflect the current market state. Messages such as "Strong trend forming" or "Reversal risk rising" are created by predefined logic that adapts to the market.
A visual dashboard is provided on the chart. It displays the current phase, trend direction, slope score, confidence level, reversal status, stall condition, and projected slope angle. This helps traders interpret market behavior at a glance without scanning multiple indicators.
Alerts are triggered only when specific conditions are met: trend strength must be in the impulse phase, confidence must be high, and there must be no active reversal or stall conditions. This ensures alerts are reserved for high-quality setups with strong directional alignment.
Disclaimer:
This script is intended for educational and informational use only. It does not constitute financial advice. The author accepts no responsibility for any trading or investment decisions made using this tool. Always do your own research and consult a licensed financial advisor before making financial decisions.