Medie mobili
Distance from SMA DisplayThis indicator shows the percentage distance of the price from a selected SMA (e.g., SMA 20) and uses a red or green emoji to indicate whether the price is above or below that SMA. This makes it easier to spot stocks that are far below the SMA for potential long setups, or far above it for potential short setups. In other words, it provides a quick visual way to identify overextended or underextended price conditions relative to the chosen moving average.
In addition, the indicator can display the percentage distance from the daily SMA 150, which is commonly used to determine the broader trend direction. The main purpose of this is to quickly see whether the higher-timeframe trend is bullish (price above the daily SMA 150) or bearish (price below it), helping traders align short-term opportunities with the overall market trend.
Swing a jeanmiche-au dessus de ça smma 100
-stochastique qui croise sous 25
-volume au dessus de la moyenne.
multiple SMAs (up to 5)This indicator lets you display up to five separate Simple Moving Averages (SMAs) in a single script. Each SMA can be independently enabled, disabled, resized, and recolored, allowing full control over how your chart looks—without needing multiple indicators.
Benefits
Saves screen space: Instead of loading 5 different SMA indicators, everything is organized into one tool.
Ideal for free TradingView users: Lets you use multiple SMAs without consuming several indicator slots, which is helpful if you’re limited to only a few indicators at once.
Quick visual analysis: Multiple SMAs make it easier to spot trend strength, crossovers, and dynamic support/resistance levels.
Customization
Turn each SMA on or off
Adjust length (period)
Change color
Change line size
Apply to any source (close, open, etc.)
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).






















