Trend Bars with Counter Table# TradingView Trend Bar Indicator Explained
## Indicator Overview
This is a TradingView indicator designed to identify and count **Trend Bars**. It not only visually marks strong bullish and bearish bars on the chart but also displays a data table in the upper right corner that tracks the distribution of trend bars across different periods, helping traders quickly assess market bias.
## Core Concept: What is a Trend Bar?
The indicator defines two types of trend bars:
### Bull Trend Bar
- **Condition**: Close > Open (bullish candle)
- **Strength Requirement**: Body size ≥ 75% of total candle range
```
Body Length = |Close - Open|
Total Candle Range = High - Low
Criteria: Body Length ≥ 0.75 × Total Candle Range
```
This means both upper and lower wicks are very short, representing a very strong bullish candle.
### Bear Trend Bar
- **Condition**: Close < Open (bearish candle)
- **Strength Requirement**: Body size ≥ 75% of total candle range
Similarly, this represents a strong bearish candle with minimal wicks and a full body.
## Visual Markers
The indicator marks qualifying candles with:
- **Green upward arrow**: Bull trend bar, appears below the candle
- **Red downward arrow**: Bear trend bar, appears above the candle
## Statistical Function
The indicator uses a **rolling array** (storing up to 1000 trend bars) to track historical data, then counts trend bar distribution across 5 different periods:
| Period | Statistical Range |
|--------|------------------|
| Group 1 | Last 7 trend bars |
| Group 2 | Last 15 trend bars |
| Group 3 | Last 21 trend bars |
| Group 4 | Last 29 trend bars |
| Group 5 | Last 35 trend bars |
**Note**: This counts "the last N trend bars," not "the last N candles." Only candles meeting the trend bar criteria are included.
## Data Table Interpretation
The table in the upper right corner contains 5 columns:
1. **Last N**: The set statistical range (7, 15, 21, 29, 35)
2. **Total**: Actual number of trend bars counted (may be less than target initially)
3. **Bull**: Number of bull trend bars (displayed in green)
4. **Bear**: Number of bear trend bars (displayed in red)
5. **Bias**: Market bias
- "bull" (green): More bull trend bars
- "bear" (red): More bear trend bars
## Practical Applications
### 1. Assess Short-term Momentum
Check the distribution of the last 7 trend bars. If bull trend bars dominate (e.g., 5:2), it indicates strong short-term buying pressure.
### 2. Identify Trend Strength
If multiple periods show the same Bias direction, the trend is very clear. For example, all 5 periods showing "bull" is a strong upward signal.
### 3. Spot Trend Reversals
When short-term bias (7 bars) opposes long-term bias (35 bars), it may signal a trend change in progress.
### 4. Combine with Other Indicators
Use this indicator alongside moving averages, support/resistance levels, and other tools to improve trading decision accuracy.
## Technical Highlights
- **Dynamic Array Management**: Uses `array.unshift()` to add new data at the array's beginning, ensuring the latest trend bars are always first
- **Efficient Statistics**: Quickly calculates bull/bear distribution through loop iteration over specified array ranges
- **Adaptive Display**: Shows actual available count when historical data is insufficient
- **Real-time Updates**: Only updates the table on the last bar to avoid unnecessary calculations
## Conclusion
The core value of this indicator lies in **quantifying price action**. By identifying strong candles with full bodies and clear direction, then tracking their distribution, traders can quickly grasp the balance of market forces and make more informed trading decisions. Whether for intraday trading or swing trading, this tool provides valuable reference information.
Candlestick analysis
Aroon RSI Logic — Customizable + No-Trade RSI ZoneThis indicator — **“Aroon RSI Logic — Customizable + No-Trade RSI Zone”** — is designed to help traders identify high-probability turning points in the market by combining **trend momentum (Aroon)** with **relative strength dynamics (RSI)**, while also protecting against emotional or impulsive trading through structured filters and psychological safeguards.
---
### 🧠 **Concept Overview**
At its core, the system balances **trend confirmation** with **momentum moderation**. It seeks to enter trades only when technical alignment suggests both exhaustion of a recent move and early signs of a potential reversal — while filtering out market noise and emotionally driven trades in neutral or extreme conditions.
This design encourages **discipline**, **patience**, and **objectivity**, three of the most critical psychological traits of successful traders.
---
### 📊 **Core Components**
#### 1. **Aroon Structure Awareness**
The Aroon indicator measures how recently price has reached a new high or low within a specific period, reflecting trend strength and potential exhaustion.
* When **Aroon Down** approaches the predefined target level, it suggests the market has not made new lows for several bars — an early indication that bearish momentum may be fading.
* Conversely, when **Aroon Up** nears the target, bullish strength may be waning.
This mechanism trains the trader’s mind to **look for transitions** — moments when dominant sentiment begins to lose control.
---
#### 2. **RSI Momentum Confirmation**
The RSI (Relative Strength Index) and its smoothed version act as dual filters to confirm emotional extremes and trend shifts in momentum.
* When RSI significantly diverges from its smoothed version, it often reflects **emotional spikes** or **unsustainable acceleration**.
* The system only allows trades when the RSI difference remains within a defined limit, fostering entries during **balanced, rational phases** of the market rather than moments of panic or euphoria.
This approach supports **emotional discipline**, discouraging entries when crowd psychology dominates decision-making.
---
#### 3. **No-Trade RSI Zone**
A critical safeguard is the **“No-Trade Zone”**, defined by specific RSI thresholds.
When RSI is too low (oversold) or too high (overbought), traders are often tempted to act impulsively — either out of fear or greed.
By preventing entries during these phases, the indicator helps traders **avoid psychological traps** such as:
* Chasing reversals prematurely.
* Getting caught in continuation moves driven by crowd emotion.
It reinforces a mindset of **restraint** and **selective participation**.
---
#### 4. **Time-Based Discipline Filter**
The session filters allow trading only within designated market hours (for example, morning and afternoon sessions).
This enforces **structured activity**, reducing exposure to low-volume, erratic periods when decision fatigue or overtrading tendencies often arise.
It mirrors the behavior of professional traders who work within time-framed playbooks rather than emotional impulses.
---
### 🟢 **Buy Logic**
Buy opportunities arise when:
* Downward momentum (Aroon Down) weakens near the target level,
* RSI behavior supports balanced momentum or mild recovery, and
* Emotional extremes are absent.
This combination reflects a **calm, data-driven reversal environment**, ideal for contrarian but controlled entries.
---
### 🔴 **Sell Logic**
Sell signals appear when:
* Upward momentum (Aroon Up) softens around the target,
* RSI confirms slowing bullish pressure, and
* Market sentiment shows fatigue without panic.
It aligns with a **psychologically sound exit or shorting scenario**, avoiding reactionary decisions.
---
### 🧩 **Psychological Philosophy**
This tool isn’t just a signal generator — it’s a **trader’s behavioral framework**.
By combining structured logic, volatility filters, and emotional control zones, it helps cultivate:
* **Patience** to wait for qualified setups.
* **Confidence** to act when all conditions align.
* **Detachment** from impulsive market movements.
It transforms trading from a reactive habit into a **strategic execution process** rooted in logic and emotional balance.
---
Momentum Squeeze Candle [Darwinian]# Momentum Squeeze Candle
Professional squeeze detection indicator with Wyckoff accumulation/distribution analysis and multi-method momentum signals.
## Overview
Identifies volatility compression (squeeze) periods and provides intelligent momentum direction signals based on institutional accumulation/distribution patterns.
## Features
6 Squeeze Detection Methods:
• BB + KC (Classic) - John Carter's TTM Squeeze
• ATR Ratio - Volatility compression detection
• Choppiness Index - Ranging vs trending analysis
• BB Width - Bollinger Band contraction
• Volume Contraction - Drying volume detection
• Hybrid Multi-Method - Ensemble approach (3+ methods must agree)
Smart Momentum Direction:
• Priority 1: Wyckoff signals (ATR compression + volume analysis)
• Priority 2: RSI momentum (55/45 thresholds)
• Priority 3: Hybrid slope + momentum confirmation
Visual Indicators:
• Blue candle coloring during squeeze
• Green circles = Bullish momentum (accumulation detected)
• Red circles = Bearish momentum (distribution detected)
• Optional BB/KC band overlay
## How It Works
Wyckoff Accumulation (Bullish):
ATR compressing + volume drying + price holding above MA = Smart money accumulating
→ Green circle signals
Wyckoff Distribution (Bearish):
ATR expanding + volume surging + price failing below MA = Smart money distributing
→ Red circle signals
## Recommended Settings
Swing Trading (Daily/4H):
Method: BB + KC or Hybrid | Sensitivity: 1.2-1.5
Day Trading (15m-1H):
Method: ATR Ratio or BB Width | Sensitivity: 0.8-1.0
Scalping (1m-5m):
Method: Volume Contraction | Sensitivity: 0.7-0.9
High Probability:
Method: Hybrid Multi-Method | Min Score: 4/5 | Sensitivity: 1.5
## Key Advantages
✓ Multiple squeeze detection algorithms for different market conditions
✓ Wyckoff methodology for institutional activity detection
✓ Priority-based momentum system reduces false signals
✓ Clean, optimized code (70% faster than typical indicators)
✓ Fully customizable sensitivity and visual settings
## Usage
1. Choose squeeze detection method based on your trading style
2. Watch for blue candles (squeeze active)
3. Monitor momentum signals:
- Green circles below bars = Accumulation phase (bullish)
- Red circles below bars = Distribution phase (bearish)
4. Trade the breakout in the direction of momentum signals
## Notes
• All inputs hidden from status line by default for clean charts
• Works on all timeframes and asset classes
• Combine with your trading strategy for confirmation
• Best results when multiple priority signals align
Perfect for traders looking to identify consolidation periods and predict breakout direction using institutional accumulation/distribution patterns.
鲨鱼交易指标(创始版)If you need more good indicators, please contact me.
需要更多无敌指标,请联系我:
钉钉:shayv888
wx:19117160239
tg:@SYSY11123
鲨鱼交易指标(创始版)If you need more good indicators, please contact me.
需要更多无敌指标,请联系我:
钉钉:shayv888
wx:19117160239
tg:@SYSY11123
RTH & Overnight ETH Levels (Configurable + Labels)Plots yesterday’s RTH high, low, close, today’s RTH open, and the latest overnight ETH high/low with fully customizable lines and floating labels.
Session High-Low Box,
Session High-Low Box Session High-Low Box indicatorSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low BoxSession High-Low Boxwrtvtrvwrtv4v2tr2Session High-Low Box24v2v2Session High-Low Box
Recent Swing High/Low Lines With Stats TableSwing-Based Volatility
This indicator measures volatility using the distance between recent swing highs and swing lows rather than fixed averages like ATR. Each swing captures a meaningful shift in market control, making this a structure-aware view of volatility.
The tool calculates and plots the average swing range over time, highlighting when the market is expanding (wide swings, high volatility) or contracting (tight swings, low volatility). These phases can help traders identify breakout potential, adjust stop-loss or profit targets, and align position sizing with current market conditions.
Large Order DetectionHow It Works:
Green diamonds appear below bullish candles (close > open) when large volume is detected
Red diamonds appear above bearish candles (close < open) when large volume is detected
Diamond size scales based on how much larger the volume is compared to the average:
Smallest: 2-2.5x average volume
Medium: 2.5-4x average volume
Larger: 4-6x average volume
Largest: 6x+ average volume
Features:
Customizable threshold - Default is 2x average volume, but you can adjust this
Adjustable lookback - Default 50 bars for calculating average volume
Size range control - Set minimum and maximum diamond sizes
Subtle background highlight - Shows when large orders occur
Built-in alerts - Can notify you when large orders are detected
Usage Tips:
Lower timeframes (1-5min) will show more frequent large orders
Increase threshold multiplier (2.5-3.0x) on high-volume assets to reduce noise
Watch for clusters of same-colored diamonds = strong directional pressure
Red diamonds at resistance + bearish EMAs = strong sell signal
Green diamonds at support + bullish EMAs = strong buy signal
Big Orders Detector (Smart Cluster v4)The Big Orders Detector (Smart Cluster v4) is a trading indicator designed to highlight unusually large market orders and potential institutional activity directly on price charts. It identifies candles with volumes significantly above the recent average and can detect clusters of consecutive high-volume bars that may indicate accumulation or distribution by large players. The indicator visualizes these events using circles, labels with estimated monetary values, and a mini dashboard showing the current status of market activity.
Potential ways to use this indicator:
Spotting large market moves: Traders can use it to identify sudden spikes in volume that might precede significant price movements.
Monitoring institutional activity: The “Smart Cluster” feature highlights potential clusters of high-volume bars, which may suggest institutional accumulation or distribution.
Supporting trade decisions: It can serve as an additional layer of information alongside other technical analysis tools, helping traders gauge market interest and momentum.
Alert setup: Users can configure alerts for large orders or clusters to stay informed without constantly monitoring the chart.
Important considerations:
Nothing in trading is certain. This indicator highlights volume anomalies and potential clusters, but it does not guarantee profits or predict market direction.
Trading always involves risk, including the loss of capital. Use this indicator as a supplementary tool rather than a standalone strategy.
Proper risk management, position sizing, and confirmation from other analyses are essential when making trading decisions.
In essence, this tool is for information and insight, helping traders observe where significant market activity occurs, while emphasizing caution and the inherent uncertainty of financial markets.
Inverse Fair Value Gaps (Wicks) v6 — StickyThis indicator marks iVFG and FVG for all the trading you need
Inverse Fair Value Gaps (Wicks) v6trade ivfg and fvg with theis indicator enjoy and goodluck trading fellows
Always In by Swing BreakIndicator: Always-In by Swing Break
Purpose:
This indicator tracks when the market transitions from one directional phase to another — the moment when it stops doing what it was doing and starts doing something new. It follows an “Always-In” logic inspired by Al Brooks’ price-action framework.
Always-In by Swing Break
Tracks directional shifts based on confirmed swing-high and swing-low breaks using ATR buffers. Highlights trend flips with yellow borders, paints directional bias (green/red), plots a customizable dashed “must-hold” line, and marks breakout failures (FS/FL).
Includes RTH/ETH bar numbering with OB/OS awareness and a live stats panel showing ATR, bar range, and RSI.
How to Use:
Follow the colored borders to stay aligned with the Always-In direction — green for long bias, red for short. A yellow border marks a possible trend flip when price breaks a confirmed swing level by the ATR buffer. Use the dashed flip-line as the “must-hold” level: if price closes back beyond it within the failure window, it signals a potential reversal (Failed short (FS) / Failed long (FL) marker). Watch RTH bar numbers and the RSI panel for context — when bar counts and RSI show overbought or oversold conditions the bar numbers change color, tighten profit targets or wait for a new swing break setup.
Bring the indicator to the front-
On the chart, hover over the indicator’s name in the top-left.
Click the three dots (⋯) menu.
Choose visual order “Move to” → “Bring to front”
FVG Session Break Strategy with ATR RR🧠 FVG Session Break Strategy with ATR RR — Timezone-Aware, Session-Savvy, and Risk-Calibrated
This strategy captures high-probability reversals and continuations by combining Fair Value Gap (FVG) imbalances with session-based breakout logic and ATR-calibrated risk management. It’s designed for traders who want to exploit structural inefficiencies during key market sessions — with precision and portability across global exchanges.
🔍 Core Logic:
Fair Value Gap Detection: Identifies bullish and bearish FVGs using a 3-bar displacement pattern.
Session Breakout Engine: Tracks session highs and lows (Asian, London, NY) and triggers trades only when price breaks these levels — ensuring trades occur at meaningful inflection points.
ATR-Based RR Control: Dynamically sizes stop-loss and take-profit levels using ATR × multiplier, maintaining consistent risk across volatility regimes.
🌐 Timezone-Aware Session Logic:
Session boundaries are defined in UTC-5 (e.g., NY: 0930–1600) but automatically converted to the exchange’s local timezone using timestamp("Etc/GMT+5", ...). This ensures:
Accurate session detection across all markets and assets
No manual timezone adjustments needed
Robust performance on crypto, forex, and global equities
📈 Visuals:
Session highs and lows plotted in orange
Bullish and bearish FVGs marked with green and red triangles
Strategy entries and exits shown on chart with full RR logic
This strategy is ideal for traders who want to combine structural edge with session context and disciplined risk.
Weekly 10W / 40W SMA CrossoverSMA cross over for the Weekly Chart
The 10 week and 40 Week cross over has been found to be the better judge of buy/sell signals over the last 5 years
RSI Curl Signals 70 / 60 / 40This Indicator Identifies the turning points on the RSI and plots a buy and sell signal on the chart It plots on crossing up above the 41 Level on the RSI and plots a sell curling below the 60 level use a standard RSI on chart if needed with alerts set at RSI curling up above value 40 Level and use an alert for curling below Level 60 use support and resistance for confirmation
Works with any timeframe Ans any asset
IKZ MAX# 📊 RSI + Volume Profile Integrated Indicator
## 🎯 **General Description**
An integrated indicator that combines the power of **RSI (Relative Strength Index)** and **Volume Profile** in one technical analysis tool. It blends momentum analysis with volume distribution to provide more accurate and reliable trading signals.
## 📈 **Main Components**
### 1. **RSI (Relative Strength Index)**
- **Function**: Measures the speed and magnitude of price changes
- **Levels**:
- 🟥 **Overbought (70)**: Potential selling area
- 🟩 **Oversold (30)**: Potential buying area
- ⚪ **Midline (50)**: Balance line
### 2. **Volume Profile**
- **Function**: Analyzes trading volume distribution across price levels
- **Components**:
- 🟡 **POC (Point of Control)**: Price level with highest trading volume
- 🔵 **Value Area**: Area containing 68% of trading volume around POC
## ⚡ **Trading Signals**
### 📊 **Traditional RSI Signals**
- 🟢 **RSI Buy Signal**: When RSI crosses above 30 level (oversold)
- 🔴 **RSI Sell Signal**: When RSI crosses below 70 level (overbought)
### 💪 **Strong Integrated Signals**
- 💚 **Strong Buy**: RSI in oversold + Price near POC
- 🖤 **Strong Sell**: RSI in overbought + Price near POC
## 🛠 **Adjustable Settings**
### ⚙️ **RSI Settings**
- `rsi_length`: Calculation period (default: 14)
- `rsi_overbought`: Overbought level (default: 70)
- `rsi_oversold`: Oversold level (default: 30)
- `rsi_src`: Data source (default: close price)
### 📊 **Volume Profile Settings**
- `vp_lookback`: Lookback period (number of candles)
- `vp_rows`: Number of rows (distribution precision)
- `show_vp_histogram`: Show volume histogram
- `show_poc`: Show Point of Control
- `show_value_area`: Show Value Area
## 🎨 **Visual Elements**
### 📉 **Chart Display**
- RSI line in blue color
- Colored areas for extremes (red/green)
- POC line with label
- Buy/sell signals as colored triangles
### 📋 **Information Table**
- Current RSI value and status
- Current POC price
- Value Area range
- Current active signal
- Current active volume
## 🔔 **Alert Systems**
- Alerts for traditional RSI signals
- Alerts for integrated strong signals
- Updates once per bar
## 💡 **Trading Applications**
### 1. **Support and Resistance Identification**
- POC forms strongest support/resistance levels
- Value Area defines main trading range
### 2. **Momentum and Trend Analysis**
- RSI determines current momentum strength
- Volume Profile confirms level strength
### 3. **Entry Timing**
- Enter when integrated signals converge
- Confirm momentum alignment with volume distribution
## 🚀 **Unique Features**
### ✅ **Smart Integration**
- Combines two powerful indicators in one interface
- Integrated signals provide stronger confirmation
### ✅ **Flexibility**
- Fully customizable settings
- Suitable for all timeframes
### ✅ **User-Friendly**
- Clear visual interface
- Direct and easy-to-read signals
## 📊 **Result Interpretation**
### 🟢 **Ideal Buy Scenario**
- RSI below 40 (potential upward momentum)
- Price near POC (strong support)
- Buy signal from both indicators
### 🔴 **Ideal Sell Scenario**
- RSI above 60 (potential downward momentum)
- Price near POC (strong resistance)
- Sell signal from both indicators
## ⚠️ **Important Notes**
### 🔧 For Daily Timeframe:
- `vp_lookback = 50` (lookback period)
- `rsi_length = 14` (RSI period)
### 🔧 For Hourly Timeframe:
- `vp_lookback = 100` (lookback period)
- `rsi_length = 14` (RSI period)
## 📝 **Usage Tips**
1. **Strong Signals**: Wait for confirmation from both indicators before entering trades
2. **Risk Management**: Use POC as support/resistance for stop-loss placement
3. **Timing**: Best signals occur when RSI crosses critical levels with Volume Profile confirmation
## ⚠️ **Warning**
This indicator is for educational and analytical purposes only, not financial advice. Always practice risk management and never trade more than you can afford to lose.
---
**📈 Enjoy Smart Trading!** 🚀
EMA Crossover with RSI Signals( Khalid)This script includes:
Key Features:
Strong Buy Signal: Green upward triangle below the bar when:
9 EMA crosses above 21 EMA
RSI is above 55
Strong Sell Signal: Red downward triangle above the bar when:
9 EMA crosses below 21 EMA
RSI is below 45
Visual Elements:
Yellow 9 EMA line
Orange 21 EMA line
Purple RSI line in a separate window
Clear buy/sell signals with labels
Background coloring when RSI is in buy/sell zones
Information table showing current RSI and EMA9 values
Customization:
You can adjust all parameters in the settings:
EMA lengths
RSI length
RSI buy/sell levels
How to use:
Copy this code into TradingView's Pine Editor
Add it to your chart
The signals will appear as triangles with "STRONG BUY" or "STRONG SELL" labels
Alerts will trigger when signals occur
The script also includes background coloring to help visualize when RSI is in favorable conditions for potential trades.
Trend Meter [MMT]The Trend Meter is a dynamic Pine Script indicator designed to provide traders with a clear, multi-dimensional view of market trends and momentum across different timeframes and metrics. By integrating Exponential Moving Averages (EMAs), Volume-Weighted Average Price (VWAP), higher timeframe (HTF) analysis, and Regular Trading Hours (RTH) breakouts, this indicator offers a comprehensive tool for identifying bullish, bearish, or neutral market conditions. Its customizable visual display and label system make it ideal for traders seeking actionable insights for trend-following, breakout, or reversal strategies.
Key Features:
1. Multi-Metric Trend Analysis:
- Trend Meter : Compares a Fast EMA (default: 9) and Slow EMA (default: 21) to determine short-term trend direction.
- Bias Meter : Uses a longer-term Bias EMA (default: 35) to assess the overall market bias based on the close price.
- VWAP Meter : Evaluates price position relative to the VWAP for dynamic support/resistance insights.
- HTF Meter : Analyzes higher timeframe (default: 60-minute) price action, detecting breakouts of previous highs/lows and candle direction.
- RTH Meter : Tracks price breakouts above/below the US Regular Trading Hours (09:30–16:00 EST) 15m opening range (09:30–09:45 EST).
2. Color-Coded Visuals:
- Each metric is displayed as a horizontal line with customizable colors (green for bullish, red for bearish, gray for neutral).
- Visual style options (dotted, dashed, or solid lines) allow for personalized chart clarity.
3. Dynamic Labels:
- Optional labels for each metric (Trend, Bias, VWAP, HTF, RTH) with customizable text, size (tiny to huge), and color.
- Labels update in real-time, providing clear identification of each meter’s role and current state.
4. Flexible Metric Selection:
- Toggle individual metrics (EMA, VWAP, HTF, RTH) on/off to focus on relevant indicators for your trading style.
- Option to use the previous bar’s close price for calculations, reducing noise in volatile markets.
5. RTH and Opening Range Analysis:
- Calculates the high/low of the opening range (09:30–09:45 EST) during RTH sessions.
- Signals bullish or bearish conditions when the price breaks above/below the opening range outside the initial 15-minute window.
6. Higher Timeframe Breakout Detection:
- Monitors HTF price action to identify breakouts of the previous candle’s high or low, combined with the HTF candle’s direction for trend confirmation.
How to Use:
- Trend Confirmation : Use the Trend and Bias Meters to confirm short-term and long-term market direction.
- Breakout Trading : Leverage the RTH Meter for breakout setups above/below the opening range during US trading hours.
- Support/Resistance : Utilize the VWAP Meter to identify dynamic price levels for entries or exits.
- Higher Timeframe Context : Monitor the HTF Meter for broader market trend alignment, ideal for swing or position trading.
- Customization : Adjust EMA lengths, toggle metrics, and customize visual styles and labels to suit your chart preferences.
Settings:
- Bias Settings :
- Fast EMA (default: 9), Slow EMA (default: 21), Bias EMA (default: 35).
- Higher Timeframe (default: 60-minute).
- Option to use previous close price for calculations.
- Enable/disable individual metrics (EMA, VWAP, HTF, RTH).
- Visual Settings :
- Bullish (green), bearish (red), and neutral (gray) colors.
- Line style (dotted, dashed, solid).
- Label Settings :
- Enable/disable labels.
- Customize label size (tiny, small, normal, large, huge) and text color.
- Custom text for each meter’s label (Trend, Bias, VWAP, HTF, RTH).
Notes:
- Optimized for intraday trading (e.g., 1m, 5m, 15m) but adaptable to any timeframe.
- RTH and opening range calculations are tailored for US markets (EST timezone); adjust session times in the code for other markets.
- Higher timeframe analysis enhances context for multi-timeframe strategies.
Ideal For:
- Intraday traders targeting RTH breakout opportunities.
- Swing traders aligning with higher timeframe trends.
- Traders using VWAP and EMA-based strategies for trend and momentum analysis.
- Those seeking a clean, customizable dashboard for multi-metric market analysis.
Heiken Ashi Buy/Sell Signals for EUR/USD European SessionUSING Heiken Ashi DURING SESSIONS EUR & USD Buy/Sell Signals for EUR/USD DURING European Session
Trend Engine [MMT]The Trend Engine is a versatile Pine Script indicator designed to identify trend direction, potential reversals, and key price levels using a combination of Exponential Moving Averages (EMAs), and Anchored Volume-Weighted Average Price (VWAP). This indicator provides traders with a clear visual representation of market bias, momentum, and key support/resistance levels, making it suitable for both trend-following and pullback trading strategies.
Key Features:
1. EMA Cloud System:
- Displays three customizable EMAs (Fast, Pullback, and Slow) with configurable lengths and visibility.
- Creates two cloud fills:
- Fast Cloud : Between the Fast EMA (default: 8) and Pullback EMA (default: 13).
- Slow Cloud : Between the Pullback EMA and Slow EMA (default: 21).
- Clouds are color-coded (green for bullish, red for bearish) based on EMA alignment, with adjustable transparency for clarity.
2. Bias EMA:
- A longer-term EMA (default: 35) indicates the overall market bias.
- Changes color based on whether the regular candle close is above (green) or below (red) the Bias EMA, providing a clear trend direction signal.
3. Heikin Ashi Signals:
- Utilizes Heikin Ashi candles to detect strong bullish or bearish momentum.
- Generates buy/sell signals when a Heikin Ashi candle confirms a trend (bullish HA candle closing above Bias EMA for buy, bearish HA candle closing below for sell).
- Signal arrows are currently disabled but can be enabled via settings for visual confirmation.
4. Anchored VWAP and Standard VWAP:
- Plots both a standard VWAP and an Anchored VWAP (anchored to the US RTH session, 09:30–16:00 EST).
- Customizable line styles (solid, cross, or circles) and colors for both VWAPs, aiding in identifying dynamic support/resistance levels.
5. Background and Candle Coloring:
- Optional background coloring reflects the market bias (green for bullish, red for bearish) based on the regular close relative to the Bias EMA.
- Optional Heikin Ashi candle coloring to visually distinguish bullish and bearish market conditions.
6. Regular Candle Close:
- Option to plot the regular (non-Heikin Ashi) close price with customizable styles (line, circles, or cross) for reference.
7. Alerts:
- Built-in alert conditions for bullish and bearish signals, allowing traders to receive notifications when a Heikin Ashi candle confirms a trend relative to the Bias EMA.
How to Use:
- Trend Identification : Use the Bias EMA and background color to determine the overall market direction.
- Pullback Trading : Monitor the EMA clouds for alignment (bullish or bearish) and use the Pullback EMA for entries during retracements.
- Support/Resistance : Leverage the VWAP and Anchored VWAP as dynamic levels for trade entries or exits.
- Signal Confirmation : Enable signal arrows (when fixed) to spot high-probability trend continuation or reversal setups.
- Customization : Adjust EMA lengths, colors, transparency, and visibility to suit your trading style and timeframe.
Settings:
- EMA Cloud : Customize lengths (default: 8, 13, 21), visibility, and cloud colors/transparency.
- Bias EMA : Adjust length (default: 35) and colors for above/below states.
- VWAP : Toggle standard and Anchored VWAP, with customizable styles and colors.
- Background/Candles : Enable/disable background and candle coloring for visual clarity.
- Regular Close : Show/hide the regular close price with style options.
Notes:
- Designed for use on any timeframe, but most effective on intraday (e.g., 5m, 15m) or daily charts.
- Best used in conjunction with other technical analysis tools for confirmation.
- Anchored VWAP is tailored for US markets (RTH session) but can be adjusted for other sessions by modifying the anchor time in the code.
Ideal For:
- Day traders and swing traders looking for trend direction and pullback opportunities.
- Traders using VWAP-based strategies for intraday support/resistance.
- Those seeking a clean, customizable visual aid for market bias and momentum.
This indicator is a powerful tool for traders aiming to capture trends and manage risk effectively, with extensive customization to adapt to various markets and trading styles.






















