6/20 EMA with shade between6/20 EMA, I added a shaded area so they are easy to see despite whatever else you have on the chart. I use this for the 620 cross for entry and exit.
المتوسطات المتحركة
Finger Print.Finger Print.
Isolates and Accumulates the "True" components of each candle:
- True Upper Wick (buying pressure beyond the body)
- True Body (conviction from open to close)
- True Lower Wick (selling pressure beyond the body).
By measuring each non-overlapping extension (true wicks) and the directional body separately, the indicator reveals building Pressure (wick accumulation) versus actual Conviction (body momentum) over a user-defined sum of bars.
Three cumulative lines track these Raw forces, while three Smoothing agents highlight sustained momentum and trend strength.
Dual Background Flashes highlight Historical extremes measured as Percentile given the Lookback period. Source any Component / Smoother line from Zero % Line, or Wick-to-Wick / Smoother-to-Smoother Spread – flagging unusually wide/tight conviction gaps or pressure imbalances.
The result is a clean, pressure-focused oscillator that separates noise from genuine directional force, helping traders spot Accumulation , Exhaustion , or Hidden Strength before price confirms it.
7 Custom Moving Averages (SMA / EMA / HMA)Key Features
✅ 7 Moving Averages at Once
✅ You can choose the type of each moving average (SMA / EMA / HMA)
✅ Each moving average has its own length and color
✅ Direct overlay on the price chart
✅ Pine Script v6 (latest)
SMAs (10,50,100,150,200) by Vega updated by YogiI just took the script created by Vega and added 150 sma.
3 MA Smart Money System v6 (No Repaint)✅ INDICATOR SPECIFICATIONS
🎯 Moving Average Type
SMA – Simple Moving Average
EMA – Exponential Moving Average
HMA – Hull Moving Average
🔥 Complete Features
✔ 3 moving averages in 1 indicator
✔ SMA/EMA/HMA options
✔ Turn each moving average on/off
✔ Multi-Timeframe (MTF)
✔ Auto Color Trend
✔ MA labels on the chart
✔ Alerts for all moving average combinations
✔ Color fill between moving averages (trend zones)
✔ Automatic MA crossover strategy (Buy/Sell)
✔ Smart Money + Moving Average (major trend filter)
✔ Moving average as automatic support & resistance
✔ NO REPAINT (safe for backtesting & live use)
🧠 SYSTEM LOGIC
MA 3 = Smart Money MA (main trend)
BUY
MA1 crosses UP MA2
Price above MA3
SELL
MA1 MA2 crosses down
Price below MA3
The MA3 zone is considered dynamic support/resistance.
Created by Dr. Trade
Minervini TT + IBD RS + ENTRY What this script does (overall)
This indicator implements a Minervini-style stock selection and entry system with mechanical risk control:
Trend Template (TT)
Uses 50 / 150 / 200 SMA alignment
Requires price to be above key moving averages
Ensures the stock is sufficiently above its 52-week low and not too far from its 52-week high
Relative Strength (IBD-style proxy vs TOPIX)
Compares the stock’s performance against TOPIX
Requires RS to be rising and making new relative highs
Detects RS breakdowns as “no-add / exit watch” warnings
ENTRY conditions (Pivot + Volume + VCP)
Breakout above a pivot high
Volume expansion on breakout
Volatility contraction using ATR% (VCP-like behavior)
Visual signals
BUY label: quality conditions pass
ENTRY label: valid breakout entry
RS BREAK label: relative strength deterioration
What was newly added / updated (important)
🔴 Mechanical stop-loss logic (NEW)
After each ENTRY signal, the script now:
Draws two horizontal stop-loss lines
SL -5% from the ENTRY bar’s high
SL -8% from the ENTRY bar’s high
Lines extend to the right automatically
Detects stop-loss touches
When price (low or close, configurable) crosses below:
SL -5% → SL5 trigger
SL -8% → SL8 trigger
Displays an upward arrow on the bar where each SL is touched
Sends alerts with fixed (const) messages
Handles multiple trades cleanly
If a stop-loss was hit and a new ENTRY appears later:
The previous SL lines are grayed out and dotted
Past exit markers (arrows) remain visible
Prevents inconsistent calculations by evaluating crossunders on every bar
👉 This enables fully mechanical, Minervini-style loss control without discretionary judgment.
MTF EMA + MACD Single Signal Line (Enhanced)zerodha intraday trading strategy with 3 inbuilt indicators like ema, macd. 25 ema in 1 hour timeframe and 25 ema in 5 min timeframe and 15 min macd for better direction forecast
HMA Velocity OscMomentum oscillator based on the delta of the low-lag Hull Moving Average (HMA).
Best used by swing traders as a supporting tool alongside support–resistance levels, fibonacci and chart patterns.
S&P Trend [GIF]This trend indicator is based on the S&P Info Tech Stocks that are above the 50-Day (SKFI) and the 200-Day Average(SKTH). I personally like to use SKTH the most.
Why Info Tech Stocks?
The S&P 500 is weighted by the total market value of its constituent companies, so larger companies (like those in Tech) have a greater impact. Information Technology is by far the largest sector, influencing overall index performance significantly. As of early 2026, Information Technology as a whole is approximately 35% of the weighted S&P 500.
How It Works
Select whether you'd like the trend indicator to use SKTH or SKFI and the timeframe you'd like to use. Please keep in mind that SKTH and SKFI update daily and you cannot use a timeframe less than that.
Candle Colors
The candles will paint based on the following criteria:
Yellow = Extreme (both SKTH and SKFI are below 15)
Green = SKTH or SKFI are above 50 (based on selection)
Red = SKTH or SKFI are below 50 (based on selection)
When candles are green the upward trend is in tact. When candles turn red the trend has been lost and caution should be taken. When candles turn yellow we are at extremes and often times a reversal or dead-cat bounce can follow.
IMPORTANT NOTE:
Data for SKTH and SKFI only go back to 2015 in Tradingview. Candles before 2015 will paint red as there is no data.
Dual MA Trendline with Angle Lock"Dual MA Trendline with Angle Lock + Multiplier Bands" is a trend-following overlay indicator that combines two moving averages (MAs), each with a special "angle lock" mechanism.
Key mechanics: Instead of plotting the raw MA directly as the main trend line, it creates a piecewise-linear trendline for each MA.
The trendline locks its slope (angle) and starting value whenever the MA's recent slope changes significantly (more than the user-defined angleThreshold).
Between these "slope reset" points, the trendline continues with constant slope (straight line segments), producing flatter, more persistent trend representations than a curving MA.
Around the locked trendline, it draws symmetric bands:Base band (1×) — always shown
Optional multiplier bands (2×, 4×, 8×) — configurable
Bands can be in percentage (volatility-adaptive) or fixed points (useful for forex/crypto with small price units or tick-based instruments).
It also plots fills between the two MAs' bands/trendlines → visually highlights:Upper zone (greenish fill)
Middle zone (blueish fill)
Lower zone (reddish fill)
In short: two independent "locked-angle trend ribbons" with multiplier deviation bands + inter-ribbon fills.
Main Use Cases
Trend direction & strength visualization
The locked-slope trendlines stay straighter and change direction less frequently than normal MAs → clearer visual read of the prevailing trend (especially useful on noisy charts).
Dynamic support/resistance zones
1× bands act as near-term dynamic S/R.
2× / 4× / 8× bands serve as progressively stronger support/resistance or "overextended" levels.
→ Many traders watch for price rejection, bounces, or acceleration once price reaches 2×–4× bands.
Mean-reversion / pullback entries (especially in ranging or mildly trending markets)
Price touching or exceeding outer multiplier bands + returning toward the trendline often signals good mean-reversion setups.
Trend-continuation / breakout filtering Price riding above the upper bands in uptrend → strong momentum continuation. Price breaking and closing outside 4×–8× bands → potential acceleration or trend exhaustion signal.
Dual-timeframe / dual-speed MA comparison MA 1 is usually longer/slower (default 128), MA 2 is shorter/faster (default 14).
The fills between them act like a "trend tunnel" — wide middle fill = strong trend, narrowing = consolidation, color changes = possible reversal.
Clean chart alternative to channels / regression / envelopes
The angle-locking creates straighter, less whipsaw-prone lines than typical Bollinger Bands, Keltner Channels, or regression channels, while still adapting to price.
Typical settings example MA1: longer period (50–200), small angle threshold → persistent major trend
MA2: shorter period (9–34), larger angle threshold → more responsive minor trend
Use percentage bands on stocks/indices, fixed points on forex/crypto with small pip values.
Overall → very popular style among traders who like clean, low-repaint trend + deviation band systems (similar spirit to SuperTrend + envelopes, but with custom slope-locking logic).
KPRSI - Hidden DivergenceThis indicator does the following steps.
1) Plots EMA(20) and checks its slope (trend)
2) Detects RSI divergence (with tolerance)
It checks divergence between the last two pivots:
3) Adds filters to create “DivBuy / DivSell” signals
A divergence alone isn’t enough. It also requires EMA alignment:
DivBuy
• Bullish divergence
• EMA slope up (emaUp)
• Price above EMA (close > ema20)
DivSell
• Bearish divergence
• EMA slope down (emaDown)
• Price below EMA (close < ema20)
EMA Crossover Candle Color - 9/21A simple visual trend highlighter for intraday/day trading. This overlay indicator plots a fast 9-period EMA (orange) and a slower 21-period EMA (blue). Candles turn green on the exact bar where the 9 EMA crosses above the 21 EMA (bullish momentum shift), and red when the 9 EMA crosses below the 21 EMA (bearish shift). Otherwise, candles remain default. Great for spotting quick trend changes, momentum entries, or filtering chop on 5-min charts (or any timeframe). Pairs well with VWAP, volume, or price action for confluence.
MTF Session Range FibonacciMTF Session Range Fibonacci is a multi-timeframe indicator designed to map high-probability price reaction levels using a fixed intraday session range and Fibonacci projections.
The indicator first identifies a user-defined session window and records the session high and low. Once the session completes, it builds a complete Fibonacci structure from that range, including retracements and extensions above and below the session boundaries. These levels act as support, resistance, targets, and extreme reaction zones, commonly used for intraday and swing trading.
All calculations can be sourced from a higher or custom timeframe, allowing traders to project higher-timeframe structure onto lower-timeframe charts. This helps align entries with broader market context rather than relying on isolated chart data.
To provide trend confirmation, the indicator includes:
A Parabolic Weighted Moving Average (PWMA) to highlight directional bias and momentum strength.
A 50 / 200 EMA crossover system to identify potential trend shifts and dominant market direction.
Visual elements such as color-coded Fibonacci levels, informative tooltips, crossover markers, and optional fills between price and PWMA improve readability while keeping the chart structured.
This indicator is best suited for traders who rely on session-based structure, Fibonacci reactions, and multi-timeframe trend alignment, particularly in indices, forex, and futures markets.
EMA CloudEMA Cloud
Description
EMA Cloud is a clean, highly customizable indicator that visualizes the relationship between 8-period and 21-period moving averages as a dynamic cloud overlay. Perfect for identifying trends, momentum shifts, and potential entry/exit zones at a glance.
🔑 Key Features
Dual EMA Support – Choose between EMA or SMA for both moving averages
Visual Cloud Overlay – Shaded cloud between EMA 8 and EMA 21 with customizable colors:
🟢 Bullish Cloud (green) when EMA 8 > EMA 21
🔴 Bearish Cloud (red) when EMA 8 < EMA 21
Adjustable Parameters – Customize EMA lengths, line widths, and cloud transparency
Toggle Display Options – Show/hide the cloud or EMA lines independently
Comprehensive Alert System – Get notified on:
EMA 8 crossing above/below EMA 21
Price crossing above/below EMA 8
Price crossing above/below EMA 21
📈 How to Use
Trend Identification – Green cloud indicates bullish momentum; red cloud signals bearish momentum
Entry Signals – Look for cloud color changes (crossovers) as potential entry points
Support/Resistance – The EMA lines within the cloud can act as dynamic support/resistance levels
Confirmation Tool – Combine with price action or other indicators for confluence
⚙️ Settings
Setting Description
EMA Type EMA or SMA
EMA 8 & 21 Length Customizable period lengths
Cloud Transparency Adjust opacity (0-100%)
Line Width Thickness of EMA lines
Colors Fully customizable bullish/bearish colors
Alerts 6 configurable alert conditions
💡 Best Practices
Works on all timeframes and all assets (stocks, forex, crypto, futures)
Lower timeframes: Use for scalping and intraday trades
Higher timeframes: Ideal for swing trading and trend following
Combine with volume analysis for stronger signals
x5-smooth-ema[t90]Overview
The x5 Smoothed EMA Flow is a trend-visualization tool designed to filter out market "noise" by applying a secondary smoothing layer to a base Exponential Moving Average (EMA).
How to Use
Trend Filtering: The "Flow" helps identify the true trend. When the ribbon is expanding and colored for a bullish trend, it signals strong, sustained momentum.
Noise Reduction: Unlike a standard EMA which can "whipsaw" during consolidation, the double-smoothed layers stay smoother for longer, helping traders stay in a position during minor pullbacks.
Trend Confirmation: Use the alignment of all smoothing layers to confirm a trend. When all layers transition to the same color, it indicates a high-probability trend shift.
Dynamic Support/Resistance: The ribbon acts as a depth-based support or resistance zone. Price often reacts to the "core" of the flow before continuing its primary move.
Settings
Source: Choose the price source (Close, HL2, etc.) for the initial calculation.
Base Length: Adjust the sensitivity. Shorter lengths are better for scalping; longer lengths are optimized for swing trading.
Color Settings: Fully customizable Bull and Bear colors to match your chart theme.
Disclaimer: This indicator is for educational purposes only. Moving averages are lagging indicators and should be used in conjunction with other forms of analysis. Past performance is not indicative of future results.
The Bitterroot Trader Checklist//@version=5
indicator("Syntax-Safe Confluence Gauge", overlay=true)
// --- 1. INPUTS ---
col_ema9 = input.color(#00bcd4, "9 EMA Color")
col_ema20 = input.color(#ff9800, "20 EMA Color")
col_ema60 = input.color(#f44336, "60 EMA Color")
col_vwap = input.color(color.gray, "VWAP Color")
// --- 2. 48-HOUR DATA ---
h48 = ta.highest(high, 100)
l48 = ta.lowest(low, 100)
v48_avg = ta.sma(volume, 100)
// --- 3. CALCULATIONS ---
= ta.macd(close, 12, 26, 9)
e9 = ta.ema(close, 9), e20 = ta.ema(close, 20), e60 = ta.ema(close, 60)
v_wap = ta.vwap(close)
// --- 4. SCORING & CHECKLIST LOGIC ---
bool c1 = macdLine > signalLine
bool c2_bull = (volume > v48_avg and close > open)
bool c2_bear = (volume > v48_avg and close < open)
bool c3 = (e9 > e20 and e20 > e60)
bool c4_bull = close > h48
bool c4_bear = close < l48
bool c5 = close > v_wap
// Final Scoring
float s2 = c2_bull ? 1.0 : c2_bear ? -1.0 : 0.0
float s4 = c4_bull ? 1.0 : c4_bear ? -1.0 : 0.0
float live_mean = ((c1 ? 1 : -1) + s2 + (c3 ? 1 : -1) + s4 + (c5 ? 1 : -1)) / 5.0
// Count active checks for Alerts
int bull_checks = (c1 ? 1 : 0) + (c2_bull ? 1 : 0) + (c3 ? 1 : 0) + (c4_bull ? 1 : 0) + (c5 ? 1 : 0)
int bear_checks = (macdLine < signalLine ? 1 : 0) + (c2_bear ? 1 : 0) + (e9 < e20 and e20 < e60 ? 1 : 0) + (c4_bear ? 1 : 0) + (close < v_wap ? 1 : 0)
// --- 5. ALERTS ---
alertcondition(bull_checks >= 4, title="Strong Bullish Confluence", message="4+ Bullish Checks Aligned!")
alertcondition(bear_checks >= 4, title="Strong Bearish Confluence", message="4+ Bearish Checks Aligned!")
// --- 6. COLOR ENGINE ---
bool macd_curling_up = hist > hist
bool macd_curling_down = hist < hist
color final_c = #808080
if live_mean <= -0.1
final_c := (live_mean <= -0.8) ? #ff0000 : #8b0000
if macd_curling_up
final_c := #d84315
else if live_mean >= 0.1
final_c := (live_mean >= 0.8) ? #00ff00 : #006400
if macd_curling_down
final_c := #9e9d24
else
final_c := #808080
// --- 7. REWRITTEN NEEDLE LOGIC (Fixes the Mismatched Input Error) ---
string needle = switch
live_mean <= -1.0 => "┃ "
live_mean <= -0.6 => " ┃ "
live_mean <= -0.2 => " ┃ "
live_mean == 0.0 => " ┃ "
live_mean <= 0.4 => " ┃ "
live_mean <= 0.8 => " ┃ "
=> " ┃"
// --- 8. TABLE DISPLAY ---
var table gauge = table.new(position.top_right, 1, 1)
if barstate.islast
string check1 = "MACD: " + (c1 ? "✅" : "❌")
string check2 = "VOL: " + (s2 > 0 ? "✅" : s2 < 0 ? "❌" : "➖")
string check3 = "EMA: " + (c3 ? "✅" : "❌")
string check4 = "48H: " + (s4 > 0 ? "✅" : s4 < 0 ? "❌" : "➖")
string check5 = "VWAP: " + (c5 ? "✅" : "❌")
string display_text = "48H MEAN: " + str.tostring(live_mean, "#.#") + " " +
" " +
" " + needle + " " +
"------------------ " +
check1 + " | " + check2 + " " +
check3 + " | " + check4 + " " +
check5 + " | CURL: " + (macd_curling_up ? "UP" : "DN")
table.cell(gauge, 0, 0, display_text, bgcolor=color.new(final_c, 85), text_color=final_c, text_size=size.large)
// --- 9. PLOTS ---
plot(h48, "48H High", color=color.new(#00ff00, 50), style=plot.style_stepline)
plot(l48, "48H Low", color=color.new(#ff0000, 50), style=plot.style_stepline)
EMA with RSI Color (Custom Lengths)本指标将指数移动平均线(EMA)与相对强弱指标(RSI)相结合,用于辅助判断市场的趋势方向与超买 / 超卖状态。
用户可自定义 EMA 的长度(如 20 / 60 / 120),并灵活选择 EMA 的计算周期:
(1) 使用当前图表周期,或
(2) 使用指定的高 / 低周期(如 1m、5m、1h、4h、1D、1W)
RSI 默认采用 14 周期,并支持自定义超买与超卖阈值:
(1) 当 RSI 低于超卖阈值(如 30)时,对应时间段内的 EMA 将自动变为绿色,提示可能存在超卖反弹机会;
(2) 当 RSI 高于超买阈值(如 70)时,对应时间段内的 EMA 将自动变为红色,提示可能存在超买回调风险;
(3) 当 RSI 处于中性区间时,EMA 显示为用户设定的默认颜色。
此外,RSI 的计算周期也可选择:
(1) 与 EMA 使用相同的周期(用于多周期趋势确认),或
(2) 使用当前图表周期(用于短周期动量判断)。
This indicator combines Exponential Moving Averages (EMA) with the Relative Strength Index (RSI) to assist in identifying trend direction and overbought/oversold conditions.
Users can define custom EMA lengths (e.g., 20 / 60 / 120) and flexibly choose the EMA calculation timeframe:
(1) Use the current chart timeframe, or
(2) Use a specified higher or lower timeframe (e.g., 1m, 5m, 1h, 4h, 1D, 1W).
The RSI uses a default 14-period setting, with customizable overbought and oversold levels:
(1) When RSI falls below the oversold threshold (e.g., 30), the EMA segments corresponding to that period are automatically colored green, indicating potential oversold rebound opportunities;
(2) When RSI rises above the overbought threshold (e.g., 70), the EMA segments turn red, signaling potential overbought pullback risk;
(3) When RSI remains within the neutral zone, EMA lines retain their user-defined default colors.
The RSI calculation timeframe can also be selected:
(1) The same timeframe as EMA (for multi-timeframe trend confirmation), or
(2) The current chart timeframe (for short-term momentum analysis).
MARKET REGIME INDICATOR The indicator’s main function is to apply a moving average (MA) from a different symbol. It can be used to identify the broader trend in crypto or stocks.
For the selected symbol, the chart turns:
Green when price is above the MA
Red when price is below the MA
You can choose:
The type of MA
The length (period)
The indicator also plots the highest and lowest levels on the selected symbol to help identify potential turning points.
It also includes an optional trend confirmation feature:
Off
On
MTF EMA Trend Table (50/100/200)Using the MTF EMA Trend Table for Supply & Demand Trading
This document explains how to use the Multi‑Timeframe EMA Trend Table as part of a supply and demand trading strategy.
The indicator displays the trend direction (Bullish or Bearish) for EMA 50, 100, and 200 across the following timeframes: 5m, 15m, 30m, 1h, 4h, 1d, and 1w.
---------------------------------------------
1. What the Indicator Shows
---------------------------------------------
The EMA Trend Table instantly reveals whether price is trading above or below the EMA 50/100/200 on multiple timeframes.
• Price above EMA = Bullish trend
• Price below EMA = Bearish trend
This allows you to identify trend alignment across all key timeframes.
---------------------------------------------
2. Why EMAs Matter in Supply & Demand Trading
---------------------------------------------
Supply & Demand zones show where institutions previously bought or sold aggressively. To trade these zones effectively, you must confirm higher‑timeframe trend direction.
The EMA table prevents low‑probability trades by keeping you aligned with institutional flow.
---------------------------------------------
3. How to Use the Indicator for Supply & Demand Trading
---------------------------------------------
Step 1 — Identify Higher‑Timeframe Bias (4H, 1D, 1W)
• Bullish alignment (all green) → Trade demand zones only.
• Bearish alignment (all red) → Trade supply zones only.
Step 2 — Use 1H, 30M, 15M for Setup Timing
These mid‑timeframes help you determine when a pullback is nearing completion.
Step 3 — Trigger Entry on the 5M EMA Flip
Once price enters a supply or demand zone, wait for the 5m EMA trend to flip in your direction before entering.
---------------------------------------------
4. How to Judge Zone Strength Using EMAs
---------------------------------------------
Strong Demand Zone Characteristics:
• Price above EMA200 on 1H+
• Zone forms above EMA200
• Pullback touches EMA50 or EMA100
Strong Supply Zone Characteristics:
• Price below EMA200 on 1H+
• Zone forms below EMA200
• Pullback touches EMA50 or EMA100
---------------------------------------------
5. Full Trade Example
---------------------------------------------
Higher timeframes are bullish: 1W, 1D, 4H all green.
Price pulls back into a 15m demand zone.
5m flips from Bearish → Bullish.
This is the entry confirmation.
---------------------------------------------
6. Why This Indicator Improves Your Trading
---------------------------------------------
• Confirms trend direction
• Shows alignment across timeframes
• Helps avoid counter‑trend traps
• Improves zone accuracy and confidence
• Enhances timing using the 5m EMA flip
This combination is ideal for institutional‑style supply and demand trading.
SMA Squeeze Oscillator█ OVERVIEW
SMA Squeeze Oscillator is a momentum oscillator based on the relationship between multiple SMA moving averages. It combines volatility compression analysis (Squeeze), wave-style momentum structure, trend filtering, breakout signals, and divergence detection.
The indicator is designed to identify periods of market compression (low volatility), which are often followed by dynamic price moves. Additionally, it visualizes momentum and trend structure in a clean and readable way, without using a classic histogram.
█ CONCEPT
The core of the indicator is built on three SMA moving averages with different lengths. The distance between them (spread) is compared to ATR, which allows the detection of volatility compression (Squeeze).
- When the SMA spread is smaller than ATR × multiplier, the market is considered to be in Squeeze
- When the spread expands beyond this threshold, the market exits the Squeeze – often signaling the beginning of an impulse
Momentum is calculated from the relationship between the faster SMA and the slower SMAs, then smoothed. Instead of a traditional histogram, the indicator displays continuous momentum waves above and below the zero line, making changes in momentum structure easier to read.
An optional SMA trend filter can be used to limit signals to the direction of the current trend.
█ FEATURES
Calculations
- three SMA moving averages
- ATR as a volatility measure
- Squeeze detection based on SMA spread
- wave-based momentum oscillator with smoothing
- optional SMA trend filter
Visualization
- momentum waves above / below the zero line
- bullish / bearish trend fills
- separate fill and color for Squeeze phases
- thick zero line reflecting current trend
- wave-style candle coloring based on momentum
- first wave markers after exiting Squeeze
- bullish and bearish divergence visualization
Signals
- momentum zero-line cross (Bull / Bear Cross)
- first momentum wave after Squeeze
- classic bullish and bearish divergences
Alerts
- Bull Cross
- Bear Cross
- First Bullish after Squeeze
- First Bearish after Squeeze
- Bullish Divergence
- Bearish Divergence
█ HOW TO USE
Adding the indicator
Paste the code into Pine Editor or search for “SMA Squeeze Oscillator” on TradingView.
Main settings
- SMA 1 / 2 / 3 – lengths of SMAs used for Squeeze and momentum
- ATR Length / Multiplier – Squeeze detection sensitivity
- ATR Multiplier = 0 → the indicator does not display Squeeze zones
- Momentum Smoothing – smoothing of momentum waves
- Enable SMA Filter – trend filter
- the current trend is reflected by the zero-line color
- price below SMA → bearish trend
- price above SMA → bullish trend
- when enabled, it filters Bull / Bear Cross and First Bullish / Bearish after Squeeze signals, allowing only those aligned with the trend
- Enable candle coloring – wave-style candle coloring
- Enable Divergence – divergence detection
█ APPLICATION
Squeeze & Breakout
Squeeze phases indicate low volatility and energy accumulation. A breakout from Squeeze often leads to a strong directional move.
The SMA filter is not required – instead, users may apply:
- a more advanced trend filter
- structural confirmation (level break, correction completion)
- additional price-action tools
Momentum trading
The direction and slope of momentum waves help assess impulse strength and loss of momentum.
A momentum reversal can act as an early signal of a correction or potential trend change, often before it becomes visible on price.
Divergences
The indicator detects classic bullish and bearish divergences.
Important notes:
- divergences appear with a delay equal to the pivot length required for detection, by default, this delay is two candles
- divergences forming on small momentum waves or inside a Squeeze are often misleading and should be treated with caution
█ NOTES
- the indicator works best when used in market context
- Squeeze reflects volatility, not direction
- it is not a standalone trading system
Fibonacci EMA/SMA SystemFibonacci EMA/SMA System
Overview
A clean, customizable moving average indicator built around Fibonacci-based EMA and SMA stacks. Designed for trend identification across multiple timeframes using mathematically harmonious period lengths. Enable one or more stacks based on your trading timeframe. Use Fast + Core for intraday/swing. Add Macro for higher timeframe context.
Stacks
Fast (8/13/21) — Momentum, short-term trend
Core (21/34/55) — Pullbacks, swing trading
Full Trend (13/21/34/55/89) — Trend strength, compression/expansion
Macro (55/89/144) — Position trading, regime context
Standard (20/50/100/200) — Traditional reference levels
Options
MA Type — EMA or SMA
Price Source — Close, HL2, HLC3, OHLC4, etc.
Uniform Color — Apply single color to all active lines
Individual Colors — Set unique color per line in each stack
Line Style — Solid or Dotted
Line Width — 1–4 pixels
Fill — Shaded area between outer EMAs
Labels — Period numbers displayed at line ends






















