EMA Crossover + RSI Confirmation (Buy/Sell)This indicator provides buy and sell signals based on EMA9 and EMA21 crossover with confirmation from RSI
Moving Averages
EMA Crossover + RSI Confirmation (Buy/Sell)Updated version for EMA crossover stategy with RSI confirmation
🔁 EMA 3/21 Crossover Strategy — Exit on Opposite SignalEMA 3/21 Crossover Strategy — Exit on Opposite Signal
This strategy enters trades based on a crossover between two exponential moving averages:
Buy Entry: When the 3-period EMA crosses above the 21-period EMA
Sell Entry: When the 3-period EMA crosses below the 21-period EMA
Exit Rule: Positions are exited only when an opposite signal occurs (i.e., a new crossover in the other direction)
Key Features:
Designed for trend-following setups
Uses ATR-based SL/TP lines for visual reference only (trades do not auto-close at SL/TP)
Suitable for manual or automated trading logic with high trade clarity
Can be applied on any timeframe and any liquid instrument (Forex, crypto, indices, etc.)
Recommended Use:
Combine with volume or session filters for improved signal quality
Ideal for traders seeking clear entry/exit rules with minimal noise
Best on trending instruments and medium timeframes (USDJPY; Daily)
SMA 5/10/30 close🧊
SMA 5/10/30 close
SMA 5/10/30 close
SMA 5/10/30 close
SMA 5/10/30 close
SMA 5/10/30 close
SMA Background & Table Indicator# SMA Background & Table Indicator - User Guide
## What is this Indicator?
The **SMA Background & Table Indicator** is a powerful TradingView Pine Script tool that provides instant visual feedback about a stock's position relative to key Simple Moving Averages (SMAs). Instead of cluttering your chart with multiple SMA lines, this indicator uses background colors and a clean table to show you everything you need to know at a glance. You can also set custom time frame for SMA (i.e. Daily chart for SMA calculation) while watching price action in 15 min chart. You will quickly know if SMA200 losses its level on a daily without you having a need to switch back and worth between time frames. A very cool feature.
## Key Features
### 🎨 Smart Background Colors
- **Green Background**: Price is above SMA200 - Bullish trend
- **Red Background**: Price is below SMA200 - Bearish trend
- **Orange Background**: Price is near SMA200 - Caution zone (within 1% threshold)
### 📊 Clean SMA Status Table
Located in the bottom-right corner, showing:
- **SMA5, SMA20, SMA50, SMA100, SMA200** values
- **Color-coded dots** for each SMA:
- 🟢 **Green**: Price is above this SMA (bullish)
- 🟠 **Orange**: Price is close to this SMA (within 0.5%)
- 🔴 **Red**: Price is below this SMA (bearish)
### ⏰ Flexible Timeframe Options
- **Chart Timeframe**: Calculate SMAs from your current chart timeframe
- **Custom Timeframe**: Choose any timeframe (1m, 5m, 1H, 1D, 1W, etc.) for SMA calculations
### 🎨 Full Customization
- **Table Text Size**: Tiny, Small, Normal, Large, or Huge
- **Table Background Color**: Any color you prefer
- **Table Font Color**: Customize text color to match your theme
- **Background Transparency**: Adjust from 0% (opaque) to 100% (transparent)
## How to Use
### Basic Usage
1. **Add the indicator** to any stock chart
2. **Watch the background color** for overall trend direction:
- Green = Bullish (above SMA200)
- Red = Bearish (below SMA200)
- Orange = Neutral/Transition zone
3. **Check the table** for detailed SMA analysis
### Advanced Usage
#### Timeframe Selection
1. Click on the indicator name in the chart
2. Click the **settings gear icon**
3. Enable **"Use Custom Timeframe for SMAs"**
4. Select your preferred **"Custom Timeframe"**
**Example**: You're trading on a 15-minute chart but want to see daily SMA levels:
- Set Custom Timeframe to "1D"
- Now you'll see how the current price relates to daily SMAs while still viewing 15-minute price action
#### Customizing Appearance
In the indicator settings:
- **Table Text Size**: Choose readability preference
- **Table Background Color**: Match your chart theme
- **Table Font Color**: Ensure good contrast
- **Background Transparency**: Balance visibility with chart clarity
## Trading Applications
### Trend Identification
- **Green background** = Look for long opportunities
- **Red background** = Look for short opportunities
- **Orange background** = Wait for clearer direction
### Support/Resistance Levels
- **Green dots** in table = SMAs acting as support
- **Red dots** in table = SMAs acting as resistance
- **Orange dots** = Key levels to watch for breakouts
### Multi-Timeframe Analysis
- Set custom timeframe to higher timeframe (e.g., daily)
- Trade on lower timeframe with higher timeframe SMA context
- Example: Day trading with daily SMA guidance
## Pro Tips
1. **Clean Charts**: This indicator eliminates the need for multiple SMA lines, keeping your chart clean while providing all essential information
2. **Quick Assessment**: One glance tells you the overall trend (background) and detailed SMA relationships (table)
3. **Multi-Timeframe Strategy**: Use daily SMAs on intraday charts for better trend context
4. **Customization**: Adjust colors and transparency to match your trading platform's theme for optimal visibility
5. **Threshold Understanding**:
- Background changes use 1% threshold (reduces noise)
- Table dots use 0.5% threshold (more sensitive)
This indicator transforms complex SMA analysis into simple, actionable visual information - perfect for both beginner and advanced traders!
Trend 13/25/32 EMA SignalA simple script which fires of a signal on the first close above or below the 13/25/32 ema trend
Anchored EMA with Timeframe SelectionLet's you choose a date and time to start tracking EMAs. I am attempting to use it in tandem with Wyckoff Analysis to "indicate" a BUEC or Fall through ice.... Not sure if it works but publishing for the fun of it.
Fibo_Ma with Toggleable 200 EMA Filter Fibo_MA with Toggleable 200 EMA Filter
Description:
This multi-functional indicator blends Fibonacci-based moving averages with customizable filters and visual enhancements to support various trading strategies. It offers traders the flexibility to analyze trend dynamics and potential reversal zones using multiple tools in one script.
Key Features:
🔹 Fibonacci MA Framework
Leverage a range of Fibonacci numbers (from 1 to 233) to visualize trend-based EMA lines with optional smoothing. Users can choose the moving average method (SMA, EMA, RMA, WMA, VWMA, etc.) and adjust the smoothing length for fine-tuned analysis.
🔹 VWAP and Dynamic EMA Tools
Includes VWAP and a color-coded 200 EMA that updates based on trend slope. These help visualize key dynamic support and resistance levels.
🔹 Multi-Timeframe Support
Option to switch the data source to a higher timeframe for broader trend confirmation.
🔹 Signal Highlights
Bullish and bearish signal markers based on crossovers with optional filters.
Background highlights show whether the current price is above or below a smoothed EMA line.
🔹 Customizable Filters
Enable or disable filters like:
200 EMA Position Filter (only signal when price is above or below the 200 EMA)
ATR Filter (filter out low-volatility candles)
Volume Filter (signal only on sufficient volume)
🔹 Cross Alerts & Labels
Built-in alert conditions for crossovers and customizable signal display options—labels, shapes, and background highlights.
🔹 Advanced Options
Toggle forecast line visibility and offset
Fine-tune alerts using price action relative to the smooth trend line
Optional tail and cross label display for deeper chart customization
How to Use:
This tool can support trend-following, breakout, and pullback strategies. Customize the MA types, filters, and timeframe settings to match your trading style. The script is designed for visual clarity while offering rich configurability for discretionary and system-based traders.
Hull MA CloudHULL MA is an established moving average that users can research more, this script is creating a cloud based on 2 hull moving averages. The default values are 9 and 49 for scalping, but can be adjusted based users requirements. I would suggest to tweak the settings to help optimize for your timeframe and commodity.
Hidden Markov ModelDescription
This model uses a Hidden Markov Model to detect potential tops and bottoms. It is designed to probabilistically identify market regime changes and predict potential reversal point using a forward algorithm to calculate the probability of a state.
State 0: (Normal Trading): Market continuation patterns, balanced buying/selling
State 1: (Top Formation): Exhaustion patterns at price highs
State 2: (Bottom Formation): Capitulation patterns at price lows
Background: The HMM assumes that market behavior follows hidden states that aren't directly observable, but can be inferred from observable market data (emissions). The model uses a (somewhat simplified) Bayesian inference to estimate these probabilities.
How to use
1) Identify the trend (you can also use it counter-trend)
2) For longing, look for a green arrow. The probability values should be red. For shorting, look for a red arrow. The probability values should be green
3) For added confluence, look for high probability values
Triple Configurable VWAPTriple Configurable VWAP Indicator
This advanced VWAP (Volume Weighted Average Price) indicator displays three independently configurable VWAP lines on your chart, providing multiple timeframe perspectives for better trading decisions.
Key Features:
• Three Customizable VWAP Periods: Configure each VWAP independently with periods ranging from 1 to 365 days
Default: 10-day (Green), 30-day (Red), 365-day (Blue)
• Dynamic Visual Elements:
Color-coded lines for easy identification
Smart labels at the current price level with matching colors
Contrasting text colors for optimal readability
• Interactive Information Table:
Toggle on/off display
Repositionable to any corner or side of the chart
Shows each VWAP period with corresponding color indicators
Larger, easy-to-read font size
• Professional Calculation Method:
Uses daily timeframe data for accurate VWAP calculations
Anchored VWAP starting from your specified lookback periods
Proper volume weighting for institutional-grade accuracy
Use Cases:
Short-term Trading: 10-day VWAP for recent price action analysis
Medium-term Analysis: 30-day VWAP for monthly trend assessment
Long-term Perspective: 365-day VWAP for yearly institutional levels
Perfect for traders who need multiple VWAP timeframes simultaneously to identify key support/resistance levels, trend direction, and institutional price points across different time horizons.
EMA 11/22/5 + MACD Zero Cross Buy/SellStrategy to identify entry and sell points using EMA 11/22/5 + MACD Zero Cross Buy/Sell
EMA 21 Distance Hist - Diamonds V3White Bars- Extreme Distance. Set close stops
Red - Change of Momentum
Green- chop but on the buy side. Stay long
Pink- chop on sell side. stay short
B/S indiates change in monetum backed by EMA cross
Diamond- 8/21 Cross
EMA 21 Distance Hist - Diamonds V2EMA distnce with 8/21 cross . Also shows mometum and 8/21 based Buy or sell
EMA 21 Distance Hist - DiamondsIt shows distance from EMA. purple bars show the continuation of momentum and changes red bars to purple. Diamonds show 8/21 EMA cross.
9 EMA vs 21 EMA Cloud (Anchored)ema cloud 9 ema and 21 ema. whenever 9 ema is above 21 ema the trend is bulish and vice versa. when ema is below 21 ema trend bearish
EMA 21 Distance Histogram - TOS Style V2This script displays the distance from EMA. if momentum is on the same side, the following red bar paints as purple to show the continuation of the momentum.
Hull For LoopHull For Loop is a sophisticated trend-following indicator that combines the smoothness of Hull Moving Averages with advanced trend detection algorithms and robust confirmation mechanisms.
## How It Works
At its foundation, Hull For Loop employs a custom-calculated Hull Moving Average using weighted moving average for-loops to achieve optimal smoothness and responsiveness. The system operates through three distinct layers: Hull MA calculation with adjustable smoothing multipliers, advanced trend detection using ATR-based slope thresholds, and multi-bar trend confirmation to filter false breakouts.
The logic flow is elegantly simple yet powerful:
- Hull Calculation combines half-period and full-period weighted moving averages, then applies square-root smoothing for enhanced responsiveness
- Trend Detection analyzes Hull slope against dynamic ATR-based thresholds, classifying market direction as bullish, bearish, or neutral
- Confirmation System requires sustained directional movement across multiple bars before triggering signals, dramatically reducing whipsaws
When Hull slope exceeds the positive threshold, bullish conditions emerge. When it falls below the negative threshold, bearish momentum takes control. The multi-bar confirmation ensures only sustained moves generate actionable signals, making this system ideal for trend-following strategies across volatile markets.
The advanced slope analysis mechanism adapts to market volatility through ATR integration, ensuring sensitivity remains optimal during both high-volatility breakouts and low-volatility consolidations, delivering consistent performance across varying market conditions.
## Features
- Custom Hull Implementation : For-loop calculations for precise weighted moving average control and enhanced smoothness
- Dynamic Trend Detection : ATR-based slope analysis automatically adjusts sensitivity to market volatility conditions
- Multi-Bar Confirmation : Configurable confirmation periods (1-5 bars) eliminate false signals and reduce trading noise
- Advanced Visual System : Dynamic color coding, optional arrows, and statistics table for comprehensive market visualization
- Optimized for Bitcoin : Extensively backtested parameters delivering 128.58% returns with 55% drawdown reduction versus buy-and-hold
- Flexible Configuration : Hull length (1-200), smoothing multiplier (0.1-3.0), sensitivity (1-10), and confirmation settings
- Professional Alerts : Comprehensive alert system for trend changes and entry signals with strength percentages
- Real-time Analytics : Optional statistics table displaying trend direction, strength, Hull value, and current price
## Signal Generation
Hull For Loop generates multiple signal types for comprehensive trend analysis and precise entry/exit timing:
Primary Signals : Confirmed trend changes from bullish to bearish or vice versa - highest probability directional moves
Entry Signals : Initial trend confirmation after multi-bar validation - optimal position entry points
Strength Indicators : Real-time trend strength percentages based on directional momentum over lookback periods
Visual Confirmations : Color-coded Hull line providing instant visual trend status
The confirmation system adds crucial reliability - signals must persist through the specified confirmation period before activation, ensuring only sustained moves trigger trading decisions rather than temporary price fluctuations.
## Visual Implementation
The indicator employs sophisticated visual elements for immediate trend comprehension and professional chart presentation:
- Dynamic Hull Line : Color-changing line (green/red/gray) with configurable width reflecting current trend status
- Optional Directional Arrows : Triangle markers below/above bars marking confirmed trend changes and entry points (disabled by default)
- Statistics Panel : Optional real-time table showing trend direction, strength percentage, Hull value, and current price
- Professional Color Scheme : Customizable bullish (green), bearish (red), and neutral (gray) color system
## Alerts
Hull For Loop includes comprehensive alert conditions for automated trading integration:
- Hull Trend Change - Confirmed trend direction shift with strength percentage
- Hull BUY Signal - Bullish trend confirmation with price and strength data
- Hull SELL Signal - Bearish trend confirmation with price and strength data
- Alert Frequency - Once per bar to prevent spam while maintaining accuracy
All alerts include contextual information: trend direction, current price, and trend strength percentage for informed decision-making.
## Use Cases
Trend Following : Optimized for sustained directional moves with superior drawdown protection compared to buy-and-hold strategies
Swing Trading : Multi-bar confirmation eliminates false breakouts while capturing significant trend changes
Position Trading : Smooth Hull calculation provides stable signals for longer-term directional positioning
Risk Management : Advanced confirmation system dramatically reduces whipsaw trades and false signals
Crypto Trading : Specifically optimized for Bitcoin with parameters delivering exceptional historical performance
The system demonstrates exceptional performance across volatile assets.
EMA 21 Distance IndicatorSImple Indicator which displays the price difference from 21 EMA as Red and green to easily identify if the price is reaching any extreme.
Multi-Indicator Switch PanelThe Multi-Indicator Switch Panel is a powerful all-in-one TradingView toolkit that allows traders to toggle multiple popular indicators on and off from a single, intuitive control panel — without cluttering the chart or reloading scripts.
This panel gives you real-time control over the following indicators (configurable per version):