Moving Averages
EMA Pullback System 1:5 RRR [SL]EMA Trend Pullback System (1:5 RRR)
Summary:
This indicator is designed to identify high-probability pullback opportunities along the main trend, providing trade signals that target a high 1:5 Risk/Reward Ratio. It is a trend-following strategy built for patient traders who wait for optimal setups.
Strategy Logic:
The system is based on three Exponential Moving Averages (EMAs): 21, 50, and 200.
BUY Signal:
Trend (Uptrend): The price must be above the 200 EMA.
Pullback: The price must pull back into the "Dynamic Support Zone" between the 21 EMA and 50 EMA.
Confirmation: A strong Bullish Confirmation Candle (e.g., Bullish Engulfing) must form within this zone.
SELL Signal:
Trend (Downtrend): The price must be below the 200 EMA.
Pullback: The price must rally back into the "Dynamic Resistance Zone" between the 21 EMA and 50 EMA.
Confirmation: A strong Bearish Confirmation Candle (e.g., Bearish Engulfing) must form within this zone.
Key Features:
Clearly plots the 21, 50, and 200 EMAs on the chart.
Displays BUY and SELL labels when the rules are met.
Automatically calculates and plots Stop Loss (SL) and Take Profit (TP) levels for each signal.
The Risk/Reward Ratio for the Take Profit level is customizable in the settings (Default: 1:5).
How to Use:
Best suited for higher timeframes like H1 and H4.
It is crucial to wait for the signal candle to close before considering an entry.
While this is an automated tool, for best results, combine its signals with your own analysis of Price Action and Market Structure.
Disclaimer:
This is an educational tool and not financial advice. Trading involves substantial risk. Always use proper risk management. It is essential to backtest any strategy before deploying it with real capital.
Simplified STH-MVRVSTH-MVRV for MSTR
STH-MVRV compares the Market Value (current price × circulating supply) to the Realized Value (the total cost basis of coins held by short-term holders,
STD Fast vs Slow (Manual Bar Inputs)Kenny Camo
I need to write more, not really sure what to put. TradingView says I need a longer description.
Basically, attempting to not get wrekt by Kenny and Co.
CODEX#33CODEX#33 is a dynamic EMA-based system designed to visualize trend strength, volatility, and key market zones. It includes:
5 customizable EMAs (13, 21, 50, 200, 800)
Optional labels with future offset to keep charts clean
An EMA 50-based volatility cloud using standard deviation
Full control over visibility, colors, and label display
Built for clean execution and easy visual tracking of momentum shifts across all timeframes.
Simplicity is key!
RS Triple MA Confluence Signal (Lower Pane)This indicator outputs a binary signal (1 or 0) based on triple moving average confluence of an asset’s relative strength vs a benchmark (e.g., SPY, BTC, etc).
✅ A value of 1 indicates full confluence, where the asset's relative strength is above three customizable moving averages (short, medium, and long).
❌ A value of 0 indicates confluence is off.
This version is designed to be used in a lower pane for:
Quick visual scanning
Dashboard-style layouts
Systematic filtering or alerting
Pairs perfectly with the main overlay tool:
👉 Relative Strength Triple MA Confluence
Use that version for candle coloring and price-level signals, and this version for clean signal tracking and screening support.
Relative Strength Triple MA ConfluenceThis tool highlights moments of strong outperformance based on three customizable moving averages of an asset's relative strength vs a benchmark (SPY, BTC, etc).
✅ Green candles + triangle-up icon appear when relative strength is above all 3 MAs (short, medium, long)
❌ Red triangle-down appears when full confluence is lost
🔧 Fully customizable MA types (EMA or SMA), lengths, and benchmark
Ideal for traders seeking high-conviction confirmation based on stacked RS strength.
Combined ATR Bands + VWAP + Moving Averages🔥 Ultimate Trading Combo: ATR Bands + VWAP + Moving Averages
This comprehensive indicator combines three powerful technical analysis tools in one clean interface:
📊 Features:
• ATR Bands - Dynamic support/resistance levels with step-line styling
• VWAP - Volume Weighted Average Price with orange dotted visualization
• Moving Averages - 50, 100, 200 periods with customizable colors
⚙️ Customizable Settings:
Toggle each component on/off independently
Adjustable ATR periods and multipliers
Multiple VWAP anchor periods (Session, Week, Month, Quarter, Year)
Configurable MA sources and periods
Custom colors and transparency levels
🎯 Perfect For:
Day traders seeking dynamic support/resistance
Swing traders using multiple timeframe analysis
Anyone wanting clean, professional chart visualization
💡 Created with AI assistance (Claude Sonnet 4)
Open source - feel free to modify and improve!
🔥 المؤشر الشامل: نطاقات ATR + VWAP + المتوسطات المتحركة
هذا المؤشر الشامل يجمع ثلاث أدوات تحليل فني قوية في واجهة واحدة نظيفة:
📊 المميزات:
• نطاقات ATR - مستويات دعم ومقاومة ديناميكية بتصميم خطوط متدرجة
• VWAP - متوسط السعر المرجح بالحجم مع عرض نقطي برتقالي
• المتوسطات المتحركة - فترات 50، 100، 200 مع ألوان قابلة للتخصيص
⚙️ إعدادات قابلة للتخصيص:
تشغيل/إيقاف كل مكون بشكل مستقل
فترات ومضاعفات ATR قابلة للتعديل
فترات ربط VWAP متعددة (جلسة، أسبوع، شهر، ربع، سنة)
مصادر وفترات MA قابلة للتكوين
ألوان مخصصة ومستويات شفافية
🎯 مثالي لـ:
المتداولين اليوميين الباحثين عن دعم/مقاومة ديناميكية
متداولي التأرجح باستخدام تحليل الإطارات الزمنية المتعددة
أي شخص يريد عرض مخططات نظيف ومهني
💡 تم إنشاؤه بمساعدة الذكاء الاصطناعي (Claude Sonnet 4)
مفتوح المصدر - لا تتردد في التعديل والتحسين!
#ATR #VWAP #MovingAverages #TechnicalAnalysis #Support #Resistance #DayTrading #SwingTrading #OpenSource #AI #تحليل_فني #دعم_مقاومة #متوسطات_متحركة #تداول_يومي
Daily 10, 50, 150, 200 DMAIrrespective of the Chart, i.e be it weekly or monthly DMA will be displayed on Daily Values.
Do note that On a weekly chart, this gives you the DMA value from only one daily candle per week, usually Friday’s close. So if a DMA crossover (say, 10-DMA crossing 50-DMA) actually happens on Wednesday, you won’t see that reflected until Friday's value is displayed on the weekly chart. That causes crossover dates to appear wrong or delayed.
Relative Strength MA ConfluenceThis indicator highlights price candles when two custom moving averages of relative strength vs a benchmark (e.g., SPY or BTC) are both trending positively.
Full confluence: Occurs when the asset's relative strength is above both a short- and long-term MA (default: 21 & 50).
Green candles and a triangle-up icon mark when full confluence begins.
Red triangle-down marks when confluence is lost.
🔧 All settings — including MA type (SMA or EMA), lengths, benchmark symbol, and visual toggles — are fully customizable.
Ideal for swing traders seeking strong trend confirmation based on outperformance relative to a benchmark.
Benchmark Above MA SignalBenchmark Above MA Signal (Configurable Visual)
This tool provides a simple ON/OFF signal showing whether a selected benchmark asset (e.g., SPY, BTC, QQQ, etc.) is currently trading above a specified moving average.
🔧 Customizable Settings:
Choose the benchmark symbol
Set the timeframe (e.g., daily, 4H, weekly)
Select SMA or EMA type
Define the MA length (e.g., 21, 50, 200)
Pick between two display modes:
Stepline (default): plots a clean binary signal in the lower pane
Background Only: visually highlights confluence periods without a line plot
✅ Ideal for macro filters, trend confirmation, or dashboard-style layouts
📊 Common use case: staying aware of the daily trend of SPY while trading lower intraday timeframes
Macro Dashboard Multi-TickerThis indicator gives you a compact, high-impact overview of up to 10 custom assets — showing whether each is currently trading above or below a key moving average on a shared timeframe.
🟩 Above MA = colored bar
⬛ Below MA = dimmed bar
Features:
Monitor up to 10 symbols (stocks, crypto, ETFs, etc.)
Customize:
- Symbol
- Color
- Timeframe
- MA type (EMA/SMA)
- MA length
Shared logic keeps the layout clean and consistent.
Use Cases:
- Build a macro trend dashboard for SPY, QQQ, BTC, ETH, ARKK, IWM, DXY, VIX, etc.
- Confirm risk-on alignment
- Identify broad market rotation or weakness
- Pair with individual asset setups to stay in sync with the environment
This tool is ideal for traders who want a one-glance check on market strength without cluttering their main charts. It's fast, flexible, and highly visual.
SMA Trend BoxCalculates trend base on a short SMA and a long SMA and displays a text box with result on right-side of canvas.
Helpful when trading on intraday timeframes but you want to know what the bigger-picture trend is (i.e. if you always want to trade in the direction of primary trend).
Color Change EMA 200 (4H)200 Color Change EMA (4H Locked)
Overview
This indicator displays a 200-period Exponential Moving Average (EMA) that is locked to the 4-hour timeframe, regardless of what chart timeframe you're currently viewing. The EMA line changes color dynamically based on price action to provide clear visual trend signals.
Key Features
• Multi-Timeframe Capability : Always shows the 4H 200 EMA on any chart timeframe
• Dynamic Color Coding :
- Green: Price is above the 200 EMA (bullish condition)
- Red: Price is below the 200 EMA (bearish condition)
• Clean Visual Design : Bold 2-pixel line width for clear visibility
• Real-time Updates : Colors change instantly as price crosses above or below the EMA
How to Use
1. Add the indicator to any timeframe chart
2. The 4H 200 EMA will appear as a smooth line
3. Watch for color changes:
- When the line turns green, it indicates price strength above the key moving average
- When the line turns red, it suggests price weakness below the moving average
4. Use for trend identification, support/resistance levels, and entry/exit timing
Best Practices
• Combine with other technical analysis tools for confirmation
• Use the color changes as alerts for potential trend shifts
• Consider the 200 EMA as a major support/resistance level
• Works well for swing trading and position sizing decisions
Settings
• Length : Default 200 periods (customizable)
• Source : Default closing price (customizable)
Perfect for traders who want to keep the important 4H 200 EMA visible across all timeframes with instant visual trend feedback.
Smart Money Index (SMI) EnhancedSmart Money Index (SMI) Enhanced is an indicator that visualizes the behavior of "smart money" based on intraday price movements.
📌 Based on Don Hays’ classic formula:
SMI = Yesterday’s value – Morning movement + Late-day movement
🔍 Key Features:
Highlighted buy/sell zones for accumulation and distribution;
Alerts for crossovers between SMI and its moving average;
Supports multiple timeframes (hourly, daily, weekly).
✅ Useful for identifying institutional sentiment and potential market reversal points.
ℹ️ Works with stocks, indices, and cryptocurrencies.
This script is for educational purposes only and not financial advice.
21EMA Pullback (Simple)✅ Simplified 21EMA Pullback Screener (with Alert + Screener Output)
Criteria:
9EMA > 21EMA
21EMA > 50SMA
Price has either:
Touched the 21EMA (i.e., price's low ≤ 21EMA ≤ high), OR
Pierced and reclaimed (low < 21EMA and close > 21EMA)
Moving AveragesThis indicator allows you to seamlessly apply one or multiple moving averages simultaneously on your chart. You can easily select from predefined periods: 10, 20, 50, 100, and 200.
It is pre-configured to use Exponential Moving Averages (EMA) by default, so there’s no need to input or adjust the type manually—just enable the ones you need and you're ready to go.
Ideal for traders who rely on dynamic trend analysis and want a quick, clutter-free setup for multiple EMAs
10 EMA -3*ATRThis custom indicator plots the line calculated as 10-period Exponential Moving Average (EMA) minus 3 times the 14-period Average True Range (ATR). It helps traders identify dynamic support levels or pullback zones during strong trends by adjusting for market volatility. A falling line may signal increasing volatility or weakening momentum, while a rising line may indicate strengthening trend stability. Suitable for trend-following strategies and volatility-aware entries.
3x MTF EMA + VWAP + Daily CPR3x MTF EMA + VWAP + Daily CPR
A Complete Trend & Structure Toolkit for Informed Decisions
This all-in-one indicator blends the power of multi-timeframe analysis, volume-weighted price action, and daily structure zones to give you high-confidence entries and real-time market context.
📌 Key Features:
✅ 3x Multi-Timeframe EMAs
Plot up to three EMAs from any timeframe (e.g., 15m, 1H, Daily) on your current chart. Each EMA comes with:
Custom length
Custom source (close, hl2, etc.)
Independent timeframe
Color and visibility toggles
Use them for dynamic support/resistance, trend direction, and confluence zones.
✅ VWAP (Volume-Weighted Average Price)
Industry-standard intraday VWAP to track the true average traded price. Essential for:
Volume-weighted mean reversion
Institutional support/resistance
Intraday directional bias
Auto-hides on higher timeframes for precision.
✅ Daily CPR (Central Pivot Range)
Maps out key market structure levels for the day:
Central Pivot (P)
Top Central (TC)
Bottom Central (BC)
Widely used by pros for reversal zones, trend continuation, and opening range setups.
🎯 Why Use This Script?
Whether you're scalping intraday or swinging higher timeframes, this indicator gives you:
Instant clarity on market structure
High-probability trend confluence
Reliable institutional price zones
Perfect for SMC, ICT, VWAP traders, or anyone seeking an edge with precision levels.
⚙️ Fully Customizable
Toggle visibility for each layer (EMA, VWAP, CPR)
Adjust EMA sources, lengths, timeframes
Lightweight & optimized for performance [/
AWR Pearsons R & LR Oscillator MTF1. Overview
This indicator is designed to analyze the correlation between a price series (or any custom indicator) and the bar index using Pearson’s correlation coefficient. It performs multiple linear regressions over shifted periods and then aggregates these results to create an oscillator. In addition, it integrates a multi-timeframe (MTF) analysis by retrieving the same calculations on 3 different time intervals, providing a more comprehensive view of the trend evolution.
2. User Parameters
The indicator offers several configurable parameters that allow the user to adjust both the calculations and the display:
Source (Linear Regression): The data source on which the regressions are applied (by default, the closing price).
Number of Linear Regressions (numOfLinReg): Allows choosing the number of correlation calculations (up to 10) to be carried out on different shifted periods.
Start Period (startPeriod) and Period Increment (periodIncrement): These parameters define the reference window for each regression. The calculation starts with a base period and then increases with each regression by a fixed increment, creating several time windows to assess the relationship between price evolution and time progression.
Deviation (def_deviation): Although defined, this parameter is intended to control the sensitivity of the calculations. It can be used in further developments of the indicator.
For Multi Time Frames analysis, three additional timeframes are provided through inputs in addition of the current period:
Sum up :
Timeframe 1 = current
Timeframe 2 = 30-minute (default settings)
Timeframe 3 = 1-hour (default settings)
Timeframe 4 = 4-hour (default settings)
These different timeframes allow you to obtain consistent or divergent signals over multiple resolutions, thereby enhancing the confidence of trading decisions.
3. Calculation Logic
At the core of the indicator is the f_calcConditions() function, which performs several essential tasks:
Calculating Pearson's Coefficients For each linear regression, the script uses ta.correlation() to measure the correlation between the chosen source (for example, the closing price) and the chronological index (bar_index). Up to 10 coefficients are computed over shifted windows, providing an evolving view of the linear relationship over different intervals.
Averaging the Results Once the coefficients are calculated, they are stored in an array and averaged to produce a global correlation value called avgPR_local.
Applying Moving Averages
The resulting average is then smoothed using several moving averages (SMA):
A short-term SMA (period of 14),
An intermediate SMA (period of 100),
A long-term SMA (period of 400).
These moving averages help to highlight the underlying trend of the oscillator by indicating the direction in which the correlation is moving.
Defining Trading Conditions Based on avgPR_local and its associated SMAs, multiple conditions are set to generate buy or sell signals:
Simple SMA Conditions :
Small signal :
Light blue below bar signal :
When the averaged coefficients lie between -1 and -0.63, are above the short-term SMA (14 periods), and are increasing, it may indicate a bullish dynamic (buy signal).
Orange above bar signal :
Conversely, when the value is higher (between 0.63 and 1) and below its SMA (14 periods), and are decreasing the trend is considered bearish (sell signal).
Medium signal :
Dark green signal
When the averaged coefficients lie between -1 and -0.45, are above the short-term SMA (14 periods), and are increasing, and also the average 100 is increasing. It may indicate a bullish dynamic (buy signal).
Light red signal :
Conversely, when the value is higher (between 0.45 and 1) and below its SMA (14 periods), the trend and are decreasing, and also the average 100 is decreasing. It may indicate a bearish dynamic(sell signal).
Light green signal :
When the averaged coefficients lie between -1 and -0.15, are above the short-term SMA (14 periods), and are increasing, and also the average 100 & 400 is increasing . It may indicate a bullish dynamic (buy signal).
Dark red signal :
Conversely, when the value is higher (between 0.45 and 1) and below its SMA (14 periods), the trend and are decreasing, and also the average 100 & 400 is decreasing. It may indicate a bearish dynamic(sell signal).
These additional conditions further refine the signals by verifying the consistency of the movement over longer periods. They check that the trends from the respective averages (intermediate and long-term) are in line with the direction indicated by the initial moving average.
These conditions are designed to capture moments when the oscillator's dynamics change, which can be interpreted as opportunities to enter or exit a trade.
4. Multi-Timeframes and Display
One of the main strengths of this indicator is its multi-timeframe approach.
This offers several advantages:
Comparative Analysis: Compare short-term dynamics with broader trends.
Enhanced Signal Reliability: A signal confirmed across multiple timeframes has a higher probability of success.
To visually highlight these signals on the chart, the indicator uses the plotchar() function with distinct symbols for each timeframe:
Current Timeframe: Signals are represented by the character "1"
30-Minute Timeframe: Displayed with the character "2".
1-Hour Timeframe: Displayed with the character "3".
4-Hour Timeframe: Displayed with the character "4".
The colors used are various shades of green for buy signals and shades of red/orange for sell signals, making it easy to distinguish between the different alerts.
5. Integrated Alerts
To avoid missing any trading opportunities, the indicator includes an alert condition via the alertcondition() function. This alert is triggered if any buy or sell signal is generated on any of the analyzed timeframes. The message "MTF valide" indicates that multiple timeframes are confirming the signal, enabling more informed decision-making.
6. How to Use This Indicator
Installation and Configuration: Copy the script into the TradingView Pine Script editor and add it to your chart. The default parameters can be tuned according to market behavior or personal preferences regarding sensitivity and responsiveness.
Interpreting the Signals:
Watch for the symbols on the chart corresponding to each timeframe.
A buy signal appears as a specific symbol below the bar (indicating a bullish condition based on a rising or less negative correlation), while a sell signal appears above the bar.
Multi-Timeframe Analysis: By comparing signals across timeframes, you can filter out false signals. For example, if the short-term timeframe shows a buy signal but the 4-hour timeframe indicates a bearish trend, you may need to reassess your position.
Adjusting the Settings: Depending on the asset type or market volatility, you might need to tweak the periods (startPeriod, periodIncrement) or the number of linear regressions to generate signals that better align with the price dynamics.
Using Alerts: Activate the built-in alert feature so that TradingView notifies you as soon as a multi-timeframe signal is detected. This ensures you stay informed even if you are not continuously monitoring the chart.
In Conclusion
The AWR Pearsons R & LR Oscillator MTF is a powerful tool for traders seeking a detailed understanding of market trends by combining statistical rigor (via Pearson's correlation coefficient) with a multi-timeframe approach. It is capable of generating clear entry and exit signals, visualized with specific symbols and colors depending on the timeframe. By adjusting the parameters to match your trading strategy and leveraging the alert system, you now have a robust instrument for making well-informed market decisions.
Feel free to dive deeper into each component and experiment with different configurations to see how the oscillator integrates with your overall technical analysis strategy. Enjoy exploring its potential and refining your trading approach!
4 EMADisplays Exponential Moving Averages at four different strengths simultaneously, providing both rapid momentum shift signals and slower, for more reliable trend confirmations.
3-SMA/EMA Ribbon### 3-MA Ribbon (EMA / SMA Switchable)
**What it is**
The 3-MA Ribbon overlays three configurable moving averages (Fast, Mid, Slow) and colours the space between them to show both *trend strength* and *trend clarity* at a glance. A single dropdown lets you choose whether those MAs are **EMAs** (react faster) or **SMAs** (smoother).
---
#### How the colour logic works
| MA order (Fast > Mid > Slow) | Ribbon | Meaning |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
| **Fast > Mid > Slow** | **Vivid Green** | Strong bullish stack |
| **Fast < Mid < Slow** | **Vivid Red** | Strong bearish stack |
| Any other order | Upper gap is soft green/red if the *upper* MA is above/below the *lower* one; lower gap is evaluated separately. Mixed colours = indecision / transition phase. | |
Opacity is lower (more solid) when the stack is perfect, higher (more transparent) when it’s mixed, so you instantly see how clean the trend structure is.
---
#### Visual cues
* **Fast MA** – dotted line (circles)
* **Mid MA** – dashed-look (crosses)
* **Slow MA** – solid line
All three line colours are separately customisable and are chosen to stay readable over both red and green fills.
Tiny ▲/▼ markers optionally call out the exact bar where a full bullish or bearish stack first appears.
---
#### Inputs
* **Moving-average type** – *EMA* or *SMA*
* **Fast / Mid / Slow lengths** – default 21 / 50 / 200
* **Ribbon colours** – bullish, bearish, neutral
* **Opacity (stacked / mixed)** – adjust how strong the fills appear
* **Line colours** – fast, mid, slow
---
#### Typical uses
1. **Trend confirmation** – Trade only when the ribbon is vivid green (long) or red (short) to filter whipsaws.
2. **Early warning** – Mixed fills flag potential transitions before a full MA cross completes.
3. **Dynamic S/R** – Each MA can act as a moving support or resistance level.
4. **Multi-time-frame stacking** – Apply the ribbon to higher TFs (e.g., 4 h) while trading lower ones for structural bias.
---
#### Tips
* Short-term traders might prefer 9-21-55 lengths; long-term swing traders often use 20-50-200.
* If price chops sideways, the gaps will flip soft green/red frequently—treat this as a signal to stay patient.
* Combine with volume or momentum oscillators for added confirmation.
---
> **Disclaimer:** This script is for educational purposes only and should not be taken as financial advice. Always test thoroughly in a demo environment and use proper risk management.