Your MAsJust a set of moving averages — nothing fancy, just effective.
Fully & highly customizable to fit your strategy.
Plus, it saves your indicator slots!
Indicatori e strategie
MA & EMA 20 / 60 / 120**Indicator Overview**
This script plots six moving-average lines on the main price chart—three exponential moving averages (EMAs) and three simple moving averages (SMAs)—with fully adjustable periods (default 20 / 60 / 120). It is designed for traders who want to visualize short-, mid-, and long-term trends in a single, lightweight overlay.
---
### Key Features
1. **Dual MA Package**
• EMAs: 20 / 60 / 120
• SMAs: 20 / 60 / 120
2. **Customizable Lengths**
Each period can be modified in the settings panel to suit any trading style or time-frame.
3. **Clear Color Coding**
* **EMAs**: yellow (short), lime (mid), fuchsia (pink) (long)
* **SMAs**: orange (short), blue (mid), red (long)
Distinct colors make it easy to distinguish between average types and horizons.
4. **Overlay Ready**
Plots directly on the price chart without creating a separate pane, keeping your workspace clean.
5. **Pine Script v5**
Uses TradingView’s latest engine for maximum performance and forward compatibility.
---
### How to Use
1. **Add to Chart**
Click *“Add to Chart”* after saving the script in TradingView’s Pine Editor.
2. **Adjust Periods**
Open the indicator’s *Settings* dialog to change the short, mid, and long lengths.
3. **Trading Ideas**
* **Trend Filtering**: Trade in the direction of the long SMA/EMA slope.
* **Crossover Signals**: Look for short-term EMA crosses above/below the mid- or long-term SMA lines.
* **Dynamic Support/Resistance**: Use the long SMA (default 120) as a major trend boundary.
Feel free to fork or modify the script—just keep this header so others understand what it does. Happy trading!
myLMAsLibrary "myLMAs"
SMA(sourceData, maxLength)
Dynamic SMA
Parameters:
sourceData (float)
maxLength (int)
EMA(src, length)
Dynamic EMA
Parameters:
src (float)
length (int)
DEMA(src, length)
Dynamic DEMA
Parameters:
src (float)
length (int)
TEMA(src, length)
Dynamic TEMA
Parameters:
src (float)
length (int)
WMA(src, length)
Dynamic WMA
Parameters:
src (float)
length (int)
HMA(src, length)
Dynamic HMA
Parameters:
src (float)
length (int)
VWMA(src, volsrc, length)
Dynamic VWMA
Parameters:
src (float)
volsrc (float)
length (int)
SMMA(src, length)
Dynamic SMMA
Parameters:
src (float)
length (int)
LSMA(src, length, offset)
Dynamic LSMA
Parameters:
src (float)
length (int)
offset (int)
RMA(src, length)
Dynamic RMA
Parameters:
src (float)
length (int)
ALMA(src, length, offset_sigma, sigma)
Dynamic ALMA
Parameters:
src (float)
length (int)
offset_sigma (float)
sigma (float)
ZLSMA(src, length)
Dynamic ZLSMA
Parameters:
src (float)
length (int)
FRAMA(src, length)
Parameters:
src (float)
length (int)
KAMA(src, length)
Dynamic KAMA
Parameters:
src (float)
length (int)
JMA(src, length, phase)
Dynamic JMA
Parameters:
src (float)
length (int)
phase (float)
T3(src, length, volumeFactor)
Dynamic T3
Parameters:
src (float)
length (int)
volumeFactor (float)
Alternate Hourly HighlightAlternate Hourly Highlight
This indicator automatically highlights every alternate one-hour window on your chart, making it easy to visually identify and separate each trading hour. The background alternates color every hour, helping traders spot hourly cycles, session changes, or develop time-based trading strategies.
Works on any timeframe.
No inputs required—just add to your chart and go!
Especially useful for intraday traders who analyze price action, volatility, or volume by the hour.
For custom colors or session windows, feel free to modify the script!
Portfolio-Übersicht (3 Assets)Title: Portfolio Overview (3 Assets)
Description:
This simple indicator allows you to display a quick and clear portfolio overview of up to three different assets (stocks, ETFs, etc.) directly on your TradingView chart.
It is ideal for investors who want to keep an eye on their core positions without constantly switching to their broker.
Features:
Clear Table View: Displays all key metrics in a clean table at the bottom left of the chart.
Profit & Loss Calculation: Calculates the total purchase value, current value, and the resulting profit or loss for each position and the total portfolio.
Color-Coding: Profits are displayed in green and losses in red for immediate visual feedback.
Stable and Reliable: The code is intentionally kept simple to ensure stable functionality.
How to Use:
Add the indicator to your chart.
Open the indicator's settings (the gear icon).
For each of the three positions, enter the following data:
Symbol: The ticker symbol (e.g., NASDAQ:AAPL or GETTEX:EUNL).
Quantity: The number of shares you own.
Purchase Price: Your average purchase price per share.
The script will automatically update the table with the latest closing prices.
📊 52-Week Price % Distance (Advanced Table)This TradingView Pine Script displays a compact, informative table showing how far the current price is from the 52-week high and low, expressed as percentages.
EMA và SMA kết hợp
SMA 20 (Simple Moving Average – a slower and more stable average)
EMA 34 (Exponential Moving Average – a faster and more responsive average)
These help traders analyze the price trend:
When the EMA crosses above the SMA → it can be a buy signal.
When the EMA crosses below the SMA → it can be a sell signal.
Multi Timeframe 50EMA CloudDescription:
The Multi Timeframe 50EMA Cloud is a powerful tool for multi-timeframe trend analysis. This indicator allows you to display the 50-period Exponential Moving Average (EMA) and its volatility "cloud" from several higher timeframes directly on any chart.
Features:
* See the 50EMA cloud from multiple timeframes at once: 15m, 1H, 4H, and 1D.
* Flexible controls: Easily turn each timeframe’s cloud on or off in the settings - overlay as many as you want.
* Distinct colors: Each timeframe has customizable colors for its EMA line, cloud and borders to keep your chart clear and organized.
* Universal perspective: Great for identifying higher timeframe support and resistance, confluence zones and market structure without switching charts.
How it works:
Each enabled EMA cloud is plotted with a band above and below the EMA line, showing ± one-quarter standard deviation (stdev) of price. This "cloud" highlights short-term volatility around the higher timeframe EMA, making it easier to spot dynamic support, resistance and trend strength.
Best for:
* Day traders and swing traders who want to track key EMAs from multiple timeframes on a single chart
* Identifying multi-timeframe confluence, trend direction and volatility zones
Tip:
Try overlaying the 15m, 1H, and 4H EMA clouds on lower timeframe charts (e.g., 1m, 5m, or 15m) for deeper market insight and better trade timing.
⚠️ Important Notice
This tool is provided for educational and informational purposes only . It is designed to assist in technical analysis learning and visual chart study.
It is not intended to be used as financial advice, a buy/sell signal, or any form of investment recommendation .
By using this indicator, you acknowledge that all actions you take are your own and you assume full responsibility for any decisions made.
Kyber Cell's – TTM Squeeze Pro
Kyber Cell's TTM Squeeze Pro is an all-in-one overlay that rebuilds John Carter’s TTM Squeeze, then layers on two extra confirmation tools—ALMA trend and a scroll-aware VWAP—so you can track contraction, momentum, trend and value without stacking indicators.
⸻
What each visual means
• Candles = Momentum histogram
Instead of a separate lower pane, every bar is tinted by a linear-regression slope:
• Rising & above zero → aqua→blue (bullish strength)
• Falling & below zero → yellow→red (bearish strength)
• Dots above the bars = Squeeze status
I’ve modernized Carter’s original black→red→orange→green sequence (it didn't feel natural to me):
• Blue “Cool” – bands wide apart, no compression yet
• Orange “Warming” – loose compression building
• Red “Ready” – tightest compression, watch for release
• Green “GO!” – first bar the squeeze fires (breakout begins)
• I added a Red/Green Backdrop that tracks the squeeze so you can easily identify the entry and exit based on the squeeze momentum. Appears only after a squeeze fires. Stays green while momentum remains > 0, red while it is < 0. Clears when momentum flips or a new squeeze starts.
• ALMA ribbon
A 50-period Arnaud Legoux moving average (user-tunable).
Price and ribbon rising above it → bullish tilt; price under a falling ribbon → bearish tilt.
• VWAP with optional σ bands
Anchored to the left-most visible bar every time you pan/zoom, so it always reflects the range on your screen. Staying above VWAP supports longs; below supports shorts.
• Entry labels
A triangle ▲/▼ or arrow ↑/↓ (your choice) prints on the exact bar a squeeze fires. Color, size and ATR padding are adjustable.
Key inputs you can adjust
• Squeeze length, Bollinger σ, three Keltner multipliers (High/Mid/Low).
• ALMA length, offset (0 = fast, 1 = smooth) and sigma.
• VWAP on/off, deviation-band σ (set to 0 to hide bands).
• Marker shape, size, colours and vertical padding in ATR multiples.
Typical workflow
1. Watch dot color: blue → orange → red.
2. When the dot flips green, momentum bar confirms aqua/blue (bull) or yellow/red (bear).
3. Enter in the direction of the bar color if price is also on the supportive side of ALMA and/or VWAP.
4. Trail until momentum changes side, the backdrop disappears, or your target is hit.
Disclaimer — This script is for educational purposes only and is not financial advice. Test thoroughly and manage risk before live trading.
50/100 EMA Crossover with Candle Confirmation📘 **50/100 EMA Crossover with Candle Confirmation – Strategy Description**
The **50/100 EMA Crossover with Candle Confirmation** is a trend-following strategy designed to filter high-probability entries by combining exponential moving average (EMA) crossovers with strong price action confirmation. This strategy aims to reduce false signals commonly associated with EMA-only systems by requiring a **candle close confirmation in the direction of the trend**, making it more reliable for intraday or swing trading across Forex, crypto, and stock markets.
---
### 🔍 **Core Logic**
* The strategy is based on the interaction of the **50 EMA** (fast-moving average) and the **100 EMA** (slow-moving average).
* **Trend direction** is determined by the crossover:
* **Bullish Trend**: When the 50 EMA crosses **above** the 100 EMA.
* **Bearish Trend**: When the 50 EMA crosses **below** the 100 EMA.
* To **filter out false breakouts**, a **candle confirmation** is used:
* For a **Buy signal**: After a bullish crossover, wait for a strong bullish candle (e.g., full-body green candle) to **close above both EMAs**.
* For a **Sell signal**: After a bearish crossover, wait for a strong bearish candle to **close below both EMAs**.
---
### ✅ **Entry Conditions**
**Buy Entry:**
* 50 EMA crosses above 100 EMA.
* Latest candle closes **above both EMAs**.
* Candle must be bullish (green/full body preferred).
**Sell Entry:**
* 50 EMA crosses below 100 EMA.
* Latest candle closes **below both EMAs**.
* Candle must be bearish (red/full body preferred).
---
### 🛑 **Exit or Take-Profit Options**
* **Fixed TP/SL**: 1:2 or 1:3 risk-reward.
* **Trailing Stop**: Based on recent swing highs/lows or ATR.
* **EMA Exit**: Exit trade when the candle closes on the opposite side of 50 EMA.
---
### ⚙️ **Best Settings**
* **Timeframes**: 5M, 15M, 1H, 4H (works well on most).
* **Markets**: Forex, Crypto (e.g., BTC/ETH), Indices (e.g., NASDAQ, NIFTY50).
* **Recommended filters**:
* Use with RSI divergence or volume confirmation.
* Avoid using during high-impact news (especially on lower timeframes).
---
### 🧠 **Why This Works**
The 50/100 EMA crossover provides a **medium-term trend signal**, reducing noise seen in fast EMAs (like 9 or 21). The candle confirmation adds a **momentum filter**, ensuring price supports the directional bias. This makes it suitable for traders who want a balance of trend and entry precision without overcomplicating with too many indicators.
---
### 📈 **Advantages**
* Simple yet effective for identifying trends.
* Filters out fakeouts using candle confirmation.
* Easy to automate in Pine Script or other trading bots.
* Can be combined with support/resistance or SMC zones for better confluence.
---
### ⚠️ **Limitations**
* May lag slightly in ranging markets.
* Late entries possible due to confirmation candle.
* Works best with additional volume or volatility filter.
Previous-Day High–Low BoxThe indicator automatically plots a translucent box covering the entire previous trading day’s high-to-low range—with dashed extension lines at those levels and a date watermark centered inside—so you can instantly see yesterday’s key price boundaries on any intraday chart.
Custom Spread Linesthis indicator is designed to mimic the spread of the price for the brokers.
by using this indicator you can see two parallel lines indication the price spread
CerberusFX Custom Time LineCerberusFX Custom Time Line
🧠 How it works:
Detects when time passes the target.
Sets a should_plot flag.
Waits for the next bar, even on Renko.
Plots the line once, then resets.
🧪 Tested on:
Renko
Heikin Ashi
1min–1D regular timeframes
PK's Buffer Zones with Extra Zone + EMA + VWAPuse as support and resistance. for any market and stocks.
3-Bar Compression Reversal Pattern//@version=5
indicator("3-Bar Compression Reversal Pattern", overlay=true)
// Get candle OHLCs
open1 = open
close1 = close
body1 = math.abs(close1 - open1)
open2 = open
close2 = close
body2 = math.abs(close2 - open2)
// 2nd candle body < 50% of 1st
secondSmall = body2 < (0.5 * body1)
// 3rd candle engulfs both 1st and 2nd
lowAll = math.min(low , low )
highAll = math.max(high , high )
engulfAll = (high > highAll) and (low < lowAll)
// Final condition
patternDetected = secondSmall and engulfAll
// Plot signal
plotshape(patternDetected, location=location.belowbar, color=color.green, style=shape.labelup, size=size.small, title="Pattern Signal")
alertcondition(patternDetected, title="3-Bar Reversal Alert", message="3-Bar Compression Reversal Pattern Detected!")
Intraday buy sell stratergy for goldThe optimized Pine Script strategy titled "Intraday Buy Sell Strategy for Gold" is designed for intraday trading based on a combination of opening range breakout, Fibonacci pivot levels, EMA filtering, and time-specific signal candles. Here's a breakdown of its key components and improvements:
Volatility Radar + Classic StochVolatility Radar + Classic Stoch
This indicator detects volatility squeezes by measuring Bollinger Bands tightness relative to recent history and confirms potential breakout strength using multiple factors:
Bollinger Bands bandwidth percentile to identify tight and super-tight squeezes
TTM Squeeze confirmation via Keltner Channels
Volume spikes indicating rising market interest
ADX trend strength to gauge directional momentum
Classic Stochastic oscillator to signal overbought/oversold conditions
A composite volatility score ranks the overall setup strength with intuitive color-coded background and a real-time label.
Use this tool to anticipate volatility expansions and improve timing for breakout trades.
📊 Bollinger Band Strategy v1.0这份 Bollinger Band 工具脚本用于在图表上可视化布林带结构,并识别市场即将爆发的「低波动压缩区」(squeeze)、上下轨突破时机以及潜在的假突破反转信号。用户在 TradingView 图表中加载该脚本后,可以通过观察橙色小圆圈(表示布林带带宽低于阈值)、绿色/红色三角(价格突破上/下轨)以及紫色/青色叉号(free bar 回归)来辅助判断入场、出场或规避信号,从而提高波段交易的胜率与风控能力。适合结合 RSI、MACD 等动能指标进一步增强信号有效性。
// This Bollinger Band tool script is designed to visualize the Bollinger Band structure on a chart,
// identify potential "low volatility squeeze zones", breakout opportunities, and false breakout reversal signals.
// Once loaded in a TradingView chart, the user can monitor:
// - Orange circles: indicate that the Bollinger Band bandwidth has dropped below the defined threshold (squeeze signal),
// - Green/Red triangles: signal when price breaks above or below the Bollinger Bands,
// - Purple/Cyan crosses: suggest a possible fake breakout where price reverts back inside the band (free bar).
// These visual cues help traders better time entries and exits, avoid traps, and improve overall win rate in swing trading.
// This script is best used in combination with momentum indicators such as RSI and MACD to further increase accuracy.
BB Squeeze Flash (Overlay)SDC BB Squeeze Indicator - tells you when the BBs are getting super tight - made for GME but can be used anywhere i guess - TV told me i need to write more here to publish the indicator so here i am typing away ok hope this is enough characters
Quantum Dip Hunter | AlphaNattQuantum Dip Hunter | AlphaNatt
🎯 Overview
The Quantum Dip Hunter is an advanced technical indicator designed to identify high-probability buying opportunities when price temporarily dips below dynamic support levels. Unlike simple oversold indicators, this system uses a sophisticated quality scoring algorithm to filter out low-quality dips and highlight only the best entry points.
"Buy the dip" - but only the right dips. Not all dips are created equal.
⚡ Key Features
5 Detection Methods: Choose from Dynamic, Fibonacci, Volatility, Volume Profile, or Hybrid modes
Quality Scoring System: Each dip is scored from 0-100% based on multiple factors
Smart Filtering: Only signals above your quality threshold are displayed
Visual Effects: Glow, Pulse, and Wave animations for the support line
Risk Management: Automatic stop-loss and take-profit calculations
Real-time Statistics: Live dashboard showing current market conditions
📊 How It Works
The indicator calculates a dynamic support line using your selected method
When price dips below this line, it evaluates the dip quality
Quality score is calculated based on: trend alignment (30%), volume (20%), RSI (20%), momentum (15%), and dip depth (15%)
If the score exceeds your minimum threshold, a buy signal arrow appears
Stop-loss and take-profit levels are automatically calculated and displayed
🚀 Detection Methods Explained
Dynamic Support
Adapts to recent price action
Best for: Trending markets
Uses ATR-adjusted lowest points
Fibonacci Support
Based on 61.8% and 78.6% retracement levels
Best for: Pullbacks in strong trends
Automatically switches between fib levels
Volatility Support
Uses Bollinger Band methodology
Best for: Range-bound markets
Adapts to changing volatility
Volume Profile Support
Finds high-volume price levels
Best for: Identifying institutional support
Updates dynamically as volume accumulates
Hybrid Mode
Combines all methods for maximum accuracy
Best for: All market conditions
Takes the most conservative support level
⚙️ Key Settings
Dip Detection Engine
Detection Method: Choose your preferred support calculation
Sensitivity: Higher = more sensitive to price movements (0.5-3.0)
Lookback Period: How far back to analyze (20-200 bars)
Dip Depth %: Minimum dip size to consider (0.5-10%)
Quality Filters
Trend Filter: Only buy dips in uptrends when enabled
Minimum Dip Score: Quality threshold for signals (0-100%)
Trend Strength: Required trend score when filter is on
📈 Trading Strategies
Conservative Approach
Use Dynamic method with Trend Filter ON
Set minimum score to 80%
Risk:Reward ratio of 2:1 or higher
Best for: Swing trading
Aggressive Approach
Use Hybrid method with Trend Filter OFF
Set minimum score to 60%
Risk:Reward ratio of 1:1
Best for: Day trading
Scalping Setup
Use Volatility method
Set sensitivity to 2.0+
Focus on Target 1 only
Best for: Quick trades
🎨 Visual Customization
Color Themes:
Neon: Bright cyan/magenta for dark backgrounds
Ocean: Cool blues and teals
Solar: Warm yellows and oranges
Matrix: Classic green terminal look
Gradient: Smooth color transitions
Line Styles:
Solid: Clean, simple line
Glow: Adds depth with glow effect
Pulse: Animated breathing effect
Wave: Oscillating wave pattern
💡 Pro Tips
Start with the Trend Filter ON to avoid catching falling knives
Higher quality scores (80%+) have better win rates but fewer signals
Use Volume Profile method near major support/resistance levels
Combine with your favorite momentum indicator for confirmation
The pulse animation can help draw attention to key levels
⚠️ Important Notes
This indicator identifies potential entries, not guaranteed profits
Always use proper risk management
Works best on liquid instruments with good volume
Backtest your settings before live trading
Not financial advice - use at your own risk
📊 Statistics Panel
The live statistics panel shows:
Current detection method
Support level value
Trend direction
Distance from support
Current signal status
🤝 Support
Created by AlphaNatt
For questions or suggestions, please comment below!
Happy dip hunting! 🎯
Not financial advice, always do your own research
Session Highs and Lows Indicator (DST + Editable Times)Session Highs and Lows Indicator (DST + Editable Times)