Scalping Strategy (by Plan-F7)Scalping Strategy (by Plan-F7)
A powerful scalping indicator optimized for lower timeframes (5-min and 15-min).
It combines multiple technical indicators for high-probability entries:
RSI & Stochastic RSI for overbought/oversold signals
MACD for trend confirmation
EMA 9 & EMA 21 to define trend direction
ADX to filter trades based on trend strength
ATR for dynamic Take Profit and Stop Loss levels
How to use:
Green arrow with "BUY" label = Buy Signal
Red arrow with "SELL" label = Sell Signal
TP and SL levels are automatically plotted
Best used on 5-min or 15-min charts for fast entries
Supports visual and audio alerts
مؤشر سكالبينج (Scalping Strategy by Plan-F7)
مصمم خصيصًا للتداول السريع على الفريمات الصغيرة (5 دقائق و15 دقيقة).
يعتمد على دمج عدة مؤشرات فنية قوية:
RSI و Stochastic RSI لتحديد مناطق التشبع الشرائي/البيعي
MACD لتأكيد الاتجاه
المتوسطات المتحركة (EMA 9 و 21) لتحديد الاتجاه العام
ADX لتأكيد قوة الاتجاه قبل الدخول
ATR لحساب الأهداف (Take Profit) ووقف الخسارة (Stop Loss) بشكل ديناميكي
طريقة الاستخدام:
إشارات الشراء تظهر بسهم أخضر وكلمة "BUY"
إشارات البيع تظهر بسهم أحمر وكلمة "SELL"
تظهر خطوط على الشارت تمثل الأهداف ووقف الخسارة
يمكن استخدامه على فريم 5 أو 15 دقيقة لتحقيق صفقات سريعة بدقة عالية
يدعم تنبيهات بصرية وصوتية
Media mobile esponenziale (EMA)
Zacks EMAs&MAs//@version=6
indicator(title="ZzzTrader EMAs&MAs", shorttitle="Zacks_crypt0", overlay=true)
// === Inputs ===
// ema13
ema13Source = input.source(close, "EMA13 Source")
ema13Length = input.int(13, "EMA13 Length", minval=1)
// ema25
ema25Source = input.source(close, "EMA25 Source")
ema25Length = input.int(25, "EMA25 Length", minval=1)
// ema32
ema32Source = input.source(close, "EMA32 Source")
ema32Length = input.int(32, "EMA32 Length", minval=1)
// ma100
ma100Source = input.source(close, "MA100 Source")
ma100Length = input.int(100, "MA100 Length", minval=1)
// ema200 - actually SMMA99
ema200Source = input.source(close, "EMA200 Source")
ema200Length = input.int(99, "EMA200 Length", minval=1)
// ma300
ma300Source = input.source(close, "MA300 Source")
ma300Length = input.int(300, "MA300 Length", minval=1)
// === Calculations ===
// Moving Averages
ma100 = ta.sma(ma100Source, ma100Length)
ma300 = ta.sma(ma300Source, ma300Length)
ema13 = ta.ema(ema13Source, ema13Length)
ema25 = ta.ema(ema25Source, ema25Length)
ema32 = ta.ema(ema32Source, ema32Length)
EMA200() =>
var float ema200 = 0.0
ema200 := na(ema200 ) ? ta.sma(ema200Source, ema200Length) : (ema200 * (ema200Length - 1) + ema200Source) / ema200Length
ema200
h4ema200 = request.security(syminfo.tickerid, "240", EMA200())
// === Plotting ===
// Draw lines
plot(series=ema13, title="EMA13", color=color.new(#6f20ee, 0), linewidth=1)
plot(series=ema25, title="EMA25", color=color.new(#1384e1, 0), linewidth=1, style=plot.style_stepline)
plot(series=ema32, title="EMA32", color=color.new(#ea4e2f, 0), linewidth=1, style=plot.style_circles)
plot(series=ma100, title="MA100", color=color.new(#47b471, 0), linewidth=1, style=plot.style_circles)
plot(series=ma300, title="MA300", color=color.new(#7f47b4, 0), linewidth=1, style=plot.style_cross)
plot(series=EMA200(), title="EMA200", color=color.new(#8d8a8a, 0), linewidth=1, style=plot.style_stepline)
// === Labels ===
// Initialize labels
var label ema13_label = na
var label ema25_label = na
var label ema32_label = na
var label ma100_label = na
var label ma300_label = na
var label ema200_label = na
// Calculate label position (offset to the right)
label_x = time + (ta.change(time) * 5)
show_prices = true
ema13_p_str = show_prices ? " - " + str.tostring(math.round_to_mintick(ema13)) : ""
ema25_p_str = show_prices ? " - " + str.tostring(math.round_to_mintick(ema25)) : ""
ema32_p_str = show_prices ? " - " + str.tostring(math.round_to_mintick(ema32)) : ""
ma100_p_str = show_prices ? " - " + str.tostring(math.round_to_mintick(ma100)) : ""
ma300_p_str = show_prices ? " - " + str.tostring(math.round_to_mintick(ma300)) : ""
ema200_p_str = show_prices ? " - " + str.tostring(math.round_to_mintick(EMA200())) : ""
h4ema200_p_str = show_prices ? " - " + str.tostring(math.round_to_mintick(h4ema200)) : ""
labelpadding = " "
ema13_label_txt = "EMA13" + ema13_p_str + labelpadding
ema25_label_txt = "EMA25" + ema25_p_str + labelpadding
ema32_label_txt = "EMA32" + ema32_p_str + labelpadding
ma100_label_txt = "MA100" + ma100_p_str + labelpadding
ma300_label_txt = "MA300" + ma300_p_str + labelpadding
ema200_label_txt = "EMA200" + ema200_p_str + labelpadding
// Delete previous labels to prevent duplicates
if not na(ema13_label )
label.delete(ema13_label )
if not na(ema25_label )
label.delete(ema25_label )
if not na(ema32_label )
label.delete(ema32_label )
if not na(ma100_label )
label.delete(ma100_label )
if not na(ma300_label )
label.delete(ma300_label )
if not na(ema200_label )
label.delete(ema200_label )
// Create new labels (no background/border)
ema13_label := label.new(
x=label_x,
y=ema13,
text=ema13_label_txt,
xloc=xloc.bar_time,
yloc=yloc.price,
textcolor=color.new(#6f20ee, 0),
style=label.style_none,
textalign=text.align_left
)
ema25_label := label.new(
x=label_x,
y=ema25,
text=ema25_label_txt,
xloc=xloc.bar_time,
yloc=yloc.price,
color=color.white,
textcolor=color.new(#1384e1, 0),
style=label.style_none,
textalign=text.align_left
)
ema32_label := label.new(
x=label_x,
y=ema32,
text=ema32_label_txt,
xloc=xloc.bar_time,
yloc=yloc.price,
color=color.white,
textcolor=color.new(#ea4e2f, 0),
style=label.style_none,
textalign=text.align_left
)
ma100_label := label.new(
x=label_x,
y=ma100,
text=ma100_label_txt,
xloc=xloc.bar_time,
yloc=yloc.price,
color=color.white,
textcolor=color.new(#47b471, 0),
style=label.style_none,
textalign=text.align_left
)
ma300_label := label.new(
x=label_x,
y=ma300,
text=ma300_label_txt,
xloc=xloc.bar_time,
yloc=yloc.price,
color=color.white,
textcolor=color.new(#7f47b4, 0),
style=label.style_none,
textalign=text.align_left
)
ema200_label := label.new(
x=label_x,
y=EMA200(),
text=ema200_label_txt,
xloc=xloc.bar_time,
yloc=yloc.price,
color=color.white,
textcolor=color.new(#8d8a8a, 0),
style=label.style_none,
textalign=text.align_left)
MA Crossover [AlchimistOfCrypto]🌌 MA Crossover Quantum – Illuminating Market Harmonic Patterns 🌌
Category: Trend Analysis Indicators 📈
"The moving average crossover, reinterpreted through quantum field principles, visualizes the underlying resonance structures of price movements. This indicator employs principles from molecular orbital theory where energy states transition through gradient fields, similar to how price momentum shifts between bullish and bearish phases. Our implementation features algorithmically optimized parameters derived from extensive Python-based backtesting, creating a visual representation of market energy flows with dynamic opacity gradients that highlight the catalytic moments where trend transformations occur."
📊 Professional Trading Application
The MA Crossover Quantum transcends the traditional moving average crossover with a sophisticated gradient illumination system that highlights the energy transfer between fast and slow moving averages. Scientifically optimized for multiple timeframes and featuring eight distinct visual themes, it enables traders to perceive trend transitions with unprecedented clarity.
⚙️ Indicator Configuration
- Timeframe Presets 📏
Python-optimized parameters for specific timeframes:
- 1H: EMA 23/395 - Ideal for intraday precision trading
- 4H: SMA 41/263 - Balanced for swing trading operations
- 1D: SMA 8/44 - Optimized for daily trend identification
- 1W: SMA 32/38 - Calibrated for medium-term position trading
- 2W: SMA 17/20 - Engineered for long-term investment signals
- Custom Settings 🎯
Full parameter customization available for professional traders:
- Fast/Slow MA Length: Fine-tune to specific market conditions
- MA Type: Select between EMA (exponential) and SMA (simple) calculation methods
- Visual Theming 🎨
Eight scientifically designed visual palettes optimized for neural pattern recognition:
- Neon (default): High-contrast green/red scheme enhancing trend transition visibility
- Cyan-Magenta: Vibrant palette for maximum visual distinction
- Yellow-Purple: Complementary colors for enhanced pattern recognition
- Specialized themes (Green-Red, Forest Green, Blue Ocean, Orange-Red, Grayscale): Each calibrated for different market environments
- Opacity Control 🔍
- Variable transparency system (0-100) allowing seamless integration with price action
- Adaptive glow effect that intensifies around crossover points - the "catalytic moments" of trend change
🚀 How to Use
1. Select Timeframe ⏰: Choose from scientifically optimized presets based on your trading horizon
2. Customize Parameters 🎚️: For advanced users, disable presets to fine-tune MA settings
3. Choose Visual Theme 🌈: Select a color scheme that enhances your personal pattern recognition
4. Adjust Opacity 🔎: Fine-tune visualization intensity to complement your chart analysis
5. Identify Trend Changes ✅: Monitor gradient intensity to spot high-probability transition zones
6. Trade with Precision 🛡️: Use gradient intensity variations to determine position sizing and risk management
Developed through rigorous mathematical modeling and extensive backtesting, MA Crossover Quantum transforms the fundamental moving average crossover into a sophisticated visual analysis tool that reveals the molecular structure of market momentum.
RSI - 5UP Overview
The "RSI - 5UP" indicator is a versatile tool that enhances the traditional Relative Strength Index (RSI) by adding smoothing options, Bollinger Bands, and divergence detection. It provides a clear visual representation of RSI levels with customizable bands and optional moving averages, helping traders identify overbought/oversold conditions and potential trend reversals through divergence signals.
Features
Customizable RSI: Adjust the RSI length and source to fit your trading style.
Overbought/Oversold Bands: Visualizes RSI levels with intuitive color-coded bands (red for overbought at 70, white for neutral at 50, green for oversold at 30).
Smoothing Options: Apply various types of moving averages (SMA, EMA, SMMA, WMA, VWMA) to the RSI, with optional Bollinger Bands for volatility analysis.
Divergence Detection: Identifies regular bullish and bearish divergences, with visual labels ("Bull" for bullish, "Bear" for bearish) and alerts.
G radient Fills: Highlights overbought and oversold zones with gradient fills (green for overbought, red for oversold).
How to Use
1. Add to Chart: Apply the "RSI - 5UP" indicator to any chart. It works well on timeframes from 5 minutes to daily.
2. Configure Settings:
RSI Settings:
RSI Length: Adjust the period for RSI calculation (default: 14).
Source: Choose the price source for RSI (default: close).
Calculate Divergence: Enable to detect bullish/bearish divergences (default: disabled).
Smoothing:
Type: Select the type of moving average to smooth the RSI ("None", "SMA", "SMA + Bollinger Bands", "EMA", "SMMA (RMA)", "WMA", "VWMA"; default: "SMA").
Length: Set the period for the moving average (default: 14).
BB StdDev: If "SMA + Bollinger Bands" is selected, adjust the standard deviation multiplier for the bands (default: 2.0).
3.Interpret the Indicator:
RSI Levels: The RSI line (purple) oscillates between 0 and 100. Levels above 70 (red band) indicate overbought conditions, while levels below 30 (green band) indicate oversold conditions. The 50 level (white band) is neutral.
Gradient Fills: The background gradients (green above 70, red below 30) highlight overbought and oversold zones for quick reference.
Moving Average (MA): If enabled, a yellow MA line smooths the RSI. If "SMA + Bollinger Bands" is selected, green bands appear around the MA to show volatility.
Divergences: If "Calculate Divergence" is enabled, look for "Bull" (green label) and "Bear" (red label) signals:
Bullish Divergence: Indicates a potential upward reversal when the price makes a lower low, but the RSI makes a higher low.
Bearish Divergence: Indicates a potential downward reversal when the price makes a higher high, but the RSI makes a lower high.
4. Set Alerts:
Use the "Regular Bullish Divergence" and "Regular Bearish Divergence" alert conditions to be notified when a divergence is detected.
Notes
The indicator does not provide direct buy/sell signals. Use the RSI levels, moving averages, and divergence signals as part of a broader trading strategy.
Divergence detection requires the "Calculate Divergence" option to be enabled and may not work on all timeframes or assets due to market noise.
The Bollinger Bands are only visible when "SMA + Bollinger Bands" is selected as the smoothing type.
Credits
Developed by Marrulk. Enjoy trading with RSI - 5UP! 🚀
Scalping Strategy with DCA - V3# Enhanced Scalping Strategy with DCA - V3
## Strategy Overview
This strategy combines multiple technical indicators with a structured Dollar Cost Averaging (DCA) approach to create a comprehensive trading system for cryptocurrency markets. Unlike simple indicator mashups, this strategy integrates several confirmation layers for entries while implementing a sophisticated risk management system based on the 1-2-6 DCA ratio.
## What Makes This Strategy Unique
1. **Multi-Layered Entry Confirmation System**:
- Uses EMA crossover as the primary trigger
- Adds RSI momentum confirmation
- Integrates MACD for trend strength
- Includes RSI divergence for reversal potential
- Incorporates higher timeframe confirmation for trend alignment
2. **Structured Risk Management**:
- Implements a 1-2-6 DCA ratio to strategically average into positions
- Uses percentage-based stop losses that adapt based on DCA status
- Features a two-tiered take profit system (25% at TP1, 50% at TP2)
- Optional breakeven stop loss after second take profit target
- Initial risk limited to a small percentage of account (1-3%)
3. **Versatile Market Adaption**:
- Additional entry opportunities during oversold/overbought Bollinger Band touches
- Customizable filters that can be enabled/disabled based on market conditions
- Higher timeframe confirmation to ensure alignment with larger trends
## How The Components Work Together
### Entry System Components
1. **48 EMA** serves as the primary trend filter and entry trigger. Price crossing above/below this EMA signals a potential trend change.
2. **RSI (Relative Strength Index)** confirms momentum in the intended direction:
- For longs: RSI > 20 shows bullish momentum
- For shorts: RSI < 80 shows bearish momentum
3. **MACD (Moving Average Convergence Divergence)** filters out weak trends:
- For longs: MACD line crosses above signal line
- For shorts: MACD line crosses below signal line
4. **RSI Divergence Detection** identifies potential reversals where price makes a new high/low but RSI fails to confirm, suggesting momentum is weakening.
5. **Higher Timeframe Confirmation** ensures the trade aligns with the larger trend structure by checking EMA and RSI on a higher timeframe (default is daily).
6. **Bollinger Bands** provide additional entry triggers during strong oversold/overbought conditions:
- Long entry when price touches lower band with RSI < 20
- Short entry when price touches upper band with RSI > 80
### The DCA Mechanism
The strategy employs a 1-2-6 ratio for Dollar Cost Averaging:
- **Initial position**: 1 unit based on account risk percentage
- **First DCA level**: Adds 2 units when price moves against initial entry by the first DCA level percentage (default 1%)
- **Second DCA level**: Adds 6 units when price moves further against entry by the second DCA level percentage (default 2%)
This structured approach reduces average entry price during temporary adverse price movements, potentially converting losing trades into winners when the expected price movement eventually occurs.
### Exit Strategy
The strategy uses multiple exit mechanisms:
1. **Tiered Take Profits**:
- First TP at takeProfitPercent1 from entry (default 0.5%) - closes 25% of position
- Second TP at takeProfitPercent2 from entry (default 1.0%) - closes 50% of position
- Remaining 25% runs with trailing stop loss or until stopped out
2. **Stop Loss Management**:
- Initial SL set at stopLossPercent from entry (default 1.5%)
- After full DCA deployment, SL adjusts to fixedSLPercent from entry (default 1.3%)
- Optional breakeven SL after second take profit hits
## Backtesting Settings & Recommendations
For realistic backtesting, please configure the following in the strategy Properties panel:
- **Commission**: 0.075% (typical for major cryptocurrency exchanges)
- **Slippage**: 0.05% (accounts for execution delays and spread)
- **Initial Capital**: $10,000 (realistic starting capital for the average trader)
- **Date Range**: January 2024 to present (provides sufficient sample size)
These settings ensure backtesting results closely match real trading conditions. The strategy is designed to never risk more than 3% of account equity on any trade, with typical risk between 1-2%.
## Recommended Markets & Timeframes
This strategy performs best in:
1. **Markets**:
- Cryptocurrency markets with high liquidity
- Assets with market capitalization > $1 billion
- Coins with holder ratio > 7% (reducing manipulation risk)
2. **Timeframes**:
- Primary: 1-hour and 4-hour charts
- Secondary: 15-minute charts for faster execution
- Higher timeframe confirmation: Daily chart
## Parameter Customization Guide
The strategy offers multiple customization options to adapt to different trading styles and market conditions:
1. **Risk Settings**:
- initialRiskPercent: Adjust between 0.5-2% for conservative to moderate approaches
- stopLossPercent: 1-3% based on volatility of the asset
- takeProfitPercent1/2: Can be adjusted based on average volatility
2. **Entry Filters**:
- Enable/disable MACD filter for additional confirmation
- Enable/disable RSI divergence for reversal trading
- Enable/disable higher timeframe confirmation for trend alignment
3. **DCA Settings**:
- dcaLevel1/2: Adjust based on asset volatility (higher for more volatile assets)
- Change the 1-2-6 ratio by modifying the position size calculations
## Visual Outputs Explained
The strategy displays the following visual elements:
1. **Indicator plots**:
- 48 EMA (blue line): Main trend filter
- Bollinger Bands (upper: red, middle: yellow, lower: green): Volatility and overbought/oversold levels
2. **Trade management levels**:
- Stop Loss level (red circles): Current SL price
- Take Profit levels (green circles): TP1 and TP2 targets
3. **Information panel**:
- Displays strategy settings and current mode
- Shows active filters and risk parameters
- Reminds about market cap and holder ratio requirements
## Real-World Trading Tips
When implementing this strategy in real trading:
1. Start with conservative risk settings (0.5-1%)
2. Trade only in favorable market conditions initially
3. Consider reducing position size during high market uncertainty
4. Monitor higher timeframe trends before taking entries
5. Always check market cap and holder ratio before trading a coin
6. Set up proper alerts for EMA crosses with RSI confirmation
7. Regularly review and adjust parameters based on recent performance
## How to Use This Strategy
1. Add the strategy to your chart
2. Configure risk parameters appropriate for your account
3. Set commission and slippage in the Properties panel
4. Enable/disable the filters based on your trading style
5. Monitor higher timeframe for overall trend direction
6. Use the strategy's signals for entry and the recommended take profit/stop loss levels
7. Consider manual intervention during extreme market events
This strategy provides a systematic approach to scalping with proper risk management through DCA, making it suitable for both beginner and experienced traders in cryptocurrency markets.
3 EMAs w G/D Cross// This script plots three Exponential Moving Averages (EMAs): 20, 50, and 200.
// It highlights key trend signals by detecting:
// 🔹 Golden Cross – when the 50 EMA crosses above the 200 EMA (bullish signal)
// 🔹 Death Cross – when the 50 EMA crosses below the 200 EMA (bearish signal)
//
// A green cross will appear above the bar for a Golden Cross,
// and a red cross will appear below the bar for a Death Cross.
//
// These crossovers are commonly used to identify long-term trend shifts in the market.
// Suitable for trend-following strategies and identifying entry/exit zones.
//
// Script developed for educational and analytical use on TradingView. bu BusMart
EMA ConditionsThis indicator was developed with the intention to display current market conditions according to the EMAs. There's a little box in the top right to display the conditions. I wanted to design something that shows already established market conditions, which is why I chose to use EMAs and candle closes as the source for identifying market conditions.
Personally, I scalp momentum in trending market conditions, so having an already established trend lets me know when it's appropriate for me to apply my edge on my lower time frame. I use a 5m time frame for my setups and this is where I apply this indicator. I designed the indicator to function off any time frame, so you can use this indicator with whatever time frame you want.
There are 5 conditions that I've set in place for this indicator, they're as follows:
1. Bullish conditions are met when price has closed 3+ consecutive candles over both EMAs (9 and 20 EMAs by default, but you can also choose what EMAs you want).
2. Bearish conditions are met when price has closed 3+ consecutive candles below both EMAs.
3. Reversal conditions are met when EMAs have crossed, and it will show those reversal conditions for the following 4 bars after the EMA cross over has taken place. Once there have been 4 bars closed, it will then show whatever condition is currently present.
4. Wait conditions are met when price is above/below (depending on direction of trend) the 9 ema.
- So in a bull trend, if price is below the 9 ema, it'll show "Wait"
5. Flat conditions are met when both EMAs are showing minimal changes in value over a specified number of candles. This indicates that EMAs are moving sideways and volatility is low. Likely in range bound or chop environments.
- The Flat threshold is adjustable. I have it set to 0.03% with a candle look back of 2 bars. This works the best for my edge, but you can set them to what you want.
The Flat and Wait conditions will override all other conditions. The Reversal conditions will override both Bullish and Bearish conditions. This way, when the indicator is showing Bullish or Bearish conditions, you'll know that nothing else is present.
Since I only trade in trending market conditions, I only trade when Bullish or Bearish conditions are met. If anything else is there then I'm not looking for my setups at that time. But you can use this however you'd like. If you like trading ranges, then trade when EMAs show flat. If you want to fade reversals and trade mean reversion, wait for a reversal condition to show and then look to fade that move. Get creative with it and with your edge. Don't put yourself in a box.
This indicator was made using Grok AI since I have no clue how to write code. I'll make the script available for everyone, so you can make adjustments yourself and do your own thing with it if you want.
If you have any questions or suggestions on how to improve the indicator, feel free to contact me on X: x.com
EMA6–EMA18 Trend Signal SystemThis is a dual-timeframe trend-following indicator designed for intraday traders.
It combines exponential moving averages (EMAs) from two timeframes:
1-hour EMA6 and EMA18 are used to define the major trend direction.
If EMA6 > EMA18 on the hourly chart, the background turns green (indicating an uptrend).
If EMA6 < EMA18, the background turns red (indicating a downtrend).
Entry signals are triggered only on the 15-minute chart:
A long signal appears when EMA6 crosses above EMA18 during an hourly uptrend.
A short signal appears when EMA6 crosses below EMA18 during an hourly downtrend.
Signal arrows are plotted directly on the chart:
Green triangle up = Long signal
Red triangle down = Short signal
Both EMA6 and EMA18 are plotted for visual reference.
This setup helps align lower timeframe entries with higher timeframe trend confirmation, offering traders more precise entry points and reducing noise.
—
The script is intended for use on 15-minute charts and works best in trending markets.
© All rights reserved. Author: hank552
Multi-Timeframe EMA Signal - StyledTrend reminder, what is based on the 39 MA. Looking after 14 CLOSED candles. The minute TF is calculated from the 1m chart, the 1H, 4h, 1D is calculated from the 1h TF.
If you go higher on the minute TF you see that the calculation goes bad, so you dont see the minute TF-s trend if you are on the 5m or on the 15M or higher TF. It's ok for my needs i usualy trade on the 1m chart so i see everything.
It's simple.
I was looking for a srcipt like this, and did not find anything.
It's not my work, its Veronika's script from chatGPT based on my needs. :)
21 EMA Multi-Timeframe + VWAPMultiple timeframe EMA for 21 EMA. allows you to see 5, 15, 30m and 1 hr 4hr + daily on one chart. Benefit to this is you can easily see when your means are stacked bearish. And if you are on mobile and only have one screen
Combined EMA/Smiley & DEM System## 🔷 General Overview
This script creates an advanced technical analysis system for TradingView, combining multiple Exponential Moving Averages (EMAs), Simple Moving Averages (SMAs), dynamic Fibonacci levels, and ATR (Average True Range) analysis. It presents the results clearly through interactive, real-time tables directly on the chart.
---
## 🔹 Indicator Structure
The script consists of two main parts:
### **1. EMA & SMA Combined System with Fibonacci**
- **Purpose:**
Provides visual insights by comparing multiple EMA/SMA periods and identifying significant dynamic price levels using Fibonacci ratios around a calculated "Golden" line.
- **Components:**
- **Moving Averages (MAs)**:
- 20 EMAs (periods from 20 to 400)
- 20 SMAs (also from 20 to 400)
- **Golden Line:**
Calculated as the average of all EMAs and SMAs.
- **Dynamic Fibonacci Levels:**
Key ratios around the Golden line (0.5, 0.618, 0.786, 1.0, 1.272, 1.414, 1.618, 2.0) dynamically adjust based on market conditions.
- **Fibonacci Labels:**
Labels are shown next to Fibonacci lines, indicating their numeric value clearly on the chart.
- **Table (Top Right Corner):**
- Displays:
- **Input:** EMA/SMA periods sorted by their current average price levels.
- **AVG:** The average of corresponding EMA & SMA pairs.
- **EMA & SMA Values:** Individual EMA/SMA values clearly marked.
- **Dynamic Highlighting:** Highlights the row whose average (EMA+SMA)/2 is closest to the current price, helping identify immediate price action significance.
- **Sorting Logic:**
Each EMA/SMA pair is dynamically sorted based on their average values. Color coding (red/green) is used:
- **Green:** EMA/SMA pairs with shorter periods when their average is lower.
- **Red:** EMA/SMA pairs with longer periods when their average is lower.
- **Star (⭐):** Represents the "Golden" average clearly.
---
### **2. DEM System (Dynamic EMA/ATR Metrics)**
- **Purpose:**
Provides detailed ATR statistics to assess market volatility clearly and quickly.
- **Components:**
- **Moving Averages:**
- SMA lines: 25, 50, 100, 200.
- **Bollinger Bands:**
- Based on 20-period SMA of highs and standard deviation of lows.
- **ATR Analysis:**
- ATR calculations for multiple periods (1-day, 10, 20, 30, 40, 50).
- **ATR Premium:** Average ATR of all calculated periods, providing an overarching volatility indicator.
- **ATR Table (Bottom Right Corner):**
- Displays clearly structured ATR values and percentages relative to the current close price:
- Columns: **ATR Period**, **Value**, and **% of Close**.
- Rows: Each specific ATR (1D, 10, 20, 30, 40, 50), plus ATR premium.
- The ATR premium is highlighted in yellow to signify its importance clearly.
---
## 🔹 Key Features and Logic Explained
- **Dynamic EMA/SMA Sorting:**
The script computes the average of each EMA/SMA pair and sorts them dynamically on each bar, highlighting their relative importance visually. This allows traders to easily interpret the strength of current support/resistance levels based on moving averages.
- **Closest EMA/SMA Pair to Current Price:**
Calculates the absolute difference between the current price and all EMA/SMA averages, highlighting the closest one for quick reference.
- **Fibonacci Ratios:**
- Dynamically calculated Fibonacci levels based on the "Golden" EMA/SMA average give clear visual guidance for potential targets, supports, and resistances.
- Labels are continuously updated and placed next to levels for clarity.
- **ATR Volatility Analysis:**
- Provides immediate insight into market volatility with absolute and relative (percentage-based) ATR values.
- ATR premium summarizes volatility across multiple timeframes clearly.
---
## 🔹 Practical Use Case:
- Traders can quickly identify support/resistance and critical price zones through EMA/SMA and Fibonacci combinations.
- Useful in assessing immediate volatility, guiding stop-loss and take-profit levels through detailed ATR metrics.
- The dynamic highlighting in tables provides intuitive, real-time decision support for active traders.
---
## 🔹 How to Use this Script:
1. **Adjust EMA & SMA Lengths** from indicator settings if different periods are preferred.
2. **Monitor dynamic Fibonacci levels** around the "Golden" average to identify possible reversal or continuation points.
3. **Check EMA/SMA table:** Rows highlighted indicate immediate significance concerning current market price.
4. **ATR table:** Use volatility metrics for better risk management.
---
## 🔷 Conclusion
This advanced Pine Script indicator efficiently combines multiple EMAs, SMAs, dynamic Fibonacci retracement levels, and volatility analysis using ATR into a comprehensive real-time analytical tool, enhancing traders' decision-making capabilities by providing clear and actionable insights directly on the TradingView chart.
ScalpSwing Pro SetupScript Overview
This script is a multi-tool setup designed for both scalping (1m–5m) and swing trading (1H–4H–Daily). It combines the power of trend-following , momentum , and mean-reversion tools:
What’s Included in the Script
1. EMA Indicators (20, 50, 200)
- EMA 20 (blue) : Short-term trend
- EMA 50 (orange) : Medium-term trend
- EMA 200 (red) : Long-term trend
- Use:
- EMA 20 crossing above 50 → bullish trend
- EMA 20 crossing below 50 → bearish trend
- Price above 200 EMA = uptrend bias
2. VWAP (Volume Weighted Average Price)
- Shows the average price weighted by volume
- Best used in intraday (1m to 15m timeframes)
- Use:
- Price bouncing from VWAP = reversion trade
- Price far from VWAP = likely pullback incoming
3. RSI (14) + Key Levels
- Shows momentum and overbought/oversold zones
- Levels:
- 70 = Overbought (potential sell)
- 30 = Oversold (potential buy)
- 50 = Trend confirmation
- Use:
- RSI 30–50 in uptrend = dip buying zone
- RSI 70–50 in downtrend = pullback selling zone
4. MACD Crossovers
- Standard MACD with histogram & cross alerts
- Shows trend momentum shifts
- Green triangle = Bullish MACD crossover
- Red triangle = Bearish MACD crossover
- Use:
- Confirm swing trades with MACD crossover
- Combine with RSI divergence
5. Buy & Sell Signal Logic
BUY SIGNAL triggers when:
- EMA 20 crosses above EMA 50
- RSI is between 50 and 70 (momentum bullish, not overbought)
SELL SIGNAL triggers when:
- EMA 20 crosses below EMA 50
- RSI is between 30 and 50 (bearish momentum, not oversold)
These signals appear as:
- BUY : Green label below the candle
- SELL : Red label above the candle
How to Trade with It
For Scalping (1m–5m) :
- Focus on EMA crosses near VWAP
- Confirm with RSI between 50–70 (buy) or 50–30 (sell)
- Use MACD triangle as added confluence
For Swing (1H–4H–Daily) :
- Look for EMA 20–50 cross + price above EMA 200
- Confirm trend with MACD and RSI
- Trade breakout or pullback depending on structure
6 EMA CryptoThis script plots six customizable Exponential Moving Averages (EMA) with default lengths of 9, 12, 21, 50, 100, and 200 periods.
It is designed for traders who want to track both short-term momentum and long-term trends on any asset, including crypto, forex, and stocks.
Each EMA can be individually enabled or disabled and customized with different colors.
Ideal for identifying trend strength, pullbacks, and potential reversals across multiple timeframes.
RSI in pane and 3 EMAs on chartCustom RSI in Pane + 3 EMAs on Chart — with Optional RSI Divergence Detection
Combines RSI in a separate pane with 3 EMAs on the chart and optional RSI-based divergence detection. Useful for analyzing both momentum and trend structure.
Features
RSI Pane
Custom RSI calculation (not built-in ta.rsi) with adjustable source and length
Overlay optional moving average (SMA, EMA, SMMA/RMA, WMA, VWMA, or Bollinger Bands) Overbought/oversold gradient fill for visual clarity (70 / 30 zones)
Midline (50) for neutral RSI territory
RSI Divergence Detection
Optional: toggle on/off with one input
Regular Bullish Divergence : Price makes a lower low, RSI makes a higher low
Regular Bearish Divergence : Price makes a higher high, RSI makes a lower high
Customizable lookback for pivot detection
Visual markers and labels plotted on RSI
Built-in alert conditions for both divergence types
3 EMA Trend Indicators on Price Chart
Three customizable EMAs (default: 20, 50, 200)
Color-coded and clearly plotted on main chart
Use to determine short/mid/long-term trend bias
No repainting or smoothing artifacts
Why use this script?
Gives a full view of trend + momentum without cluttering the main price chart, and it helps confirm entries and exits by observing RSI behavior alongside EMAs. The optional divergence detection can act as a signal for potential exhaustion or reversal (not entry signals on their own). It is a Good fit for traders who use RSI zones, divergences, and EMA structure in their decision-making, both for intra-day and swing trades (where it performs best).
How to use
Add this script to your chart. EMAs will appear on the main price chart; RSI and divergence will appear in a separate pane.
Adjust RSI and MA settings to fit your trading style (e.g., fast RSI for scalping, slower for swing)
Enable "Show Divergence" if you want visual alerts and markers
Use alerts to get notified when a divergence occurs without watching the chart
Always check the divergences on different time frames to validate the setup, and do not consider them valid on small time frames (<15 minutes).
Built for traders who want both momentum and trend context in a single tool — without clutter, repainting, or noise. I created this script to streamline my own analysis and avoid switching between multiple indicators. It's not meant to be a "signal generator" but a visual assistant for making better decisions. If you find it useful or have feedback, feel free to reach out.
ES1! vs ZB1! Exponentially Weighted CorrelationES1! vs ZB1! Exponentially Weighted Correlation
This indicator calculates and visualizes the exponentially weighted correlation between the S&P 500 E-mini futures (ES1!) and the 30-Year U.S. Treasury Bond futures (ZB1!) over a user-defined lookback period. By using an exponential moving average (EMA) approach, it emphasizes recent price movements, providing a dynamic view of the relationship between these two key financial instruments.
Features:
- Customizable Inputs: Adjust the lookback length (default: 60) and alpha (default: 0.1) to fine-tune the sensitivity of the correlation calculation.
- Exponentially Weighted Correlation: Measures the strength and direction of the relationship between ES1! and ZB1! prices, with more weight given to recent data.
- Visual Clarity: Displays correlation as colored bars (green for positive, red for negative) for quick interpretation, with reference lines at 0, +1, and -1 for context.
- Non-Overlay Design: Plotted in a separate panel below the chart to avoid cluttering price data.
How It Works:
The indicator fetches closing prices for ES1! and ZB1!, applies an EMA to smooth the data, and computes the exponentially weighted covariance and variances. The correlation is then derived and plotted as a histogram, helping traders identify whether the two markets are moving together (positive correlation), in opposite directions (negative correlation), or independently.
Use Cases:
- Market Analysis: Gauge the relationship between equity and bond markets to inform trading strategies.
- Risk Management: Monitor correlation shifts to adjust portfolio exposure.
- Intermarket Insights: Identify trends or divergences in the stock-bond dynamic for macroeconomic analysis.
Ideal for traders and analysts tracking intermarket relationships, this indicator offers a clear, responsive tool for understanding ES1! and ZB1! correlation in real-time.
Visualisation tendancesThis script allows you to visualize the current trend of a financial asset.
It has two colors:
- Green for bullish phases
- Red for bearish phases
This allows you to instantly position yourself in the direction of the trend.
It also integrates Bollinger Bands, a volatility indicator.
This allows you to display two different indicators in a single indicator.
RSI Full [Titans_Invest]RSI Full
One of the most complete RSI indicators on the market.
While maintaining the classic RSI foundation, our indicator integrates multiple entry conditions to generate more accurate buy and sell signals.
All conditions are fully configurable, allowing complete customization to fit your trading strategy.
⯁ WHAT IS THE RSI❓
The Relative Strength Index (RSI) is a technical analysis indicator developed by J. Welles Wilder. It measures the magnitude of recent price movements to evaluate overbought or oversold conditions in a market. The RSI is an oscillator that ranges from 0 to 100 and is commonly used to identify potential reversal points, as well as the strength of a trend.
⯁ HOW TO USE THE RSI❓
The RSI is calculated based on average gains and losses over a specified period (usually 14 periods). It is plotted on a scale from 0 to 100 and includes three main zones:
Overbought: When the RSI is above 70, indicating that the asset may be overbought.
Oversold: When the RSI is below 30, indicating that the asset may be oversold.
Neutral Zone: Between 30 and 70, where there is no clear signal of overbought or oversold conditions.
⯁ ENTRY CONDITIONS
The conditions below are fully flexible and allow for complete customization of the signal.
______________________________________________________
🔹 CONDITIONS TO BUY 📈
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND/OR .
📈 RSI Conditions:
🔹 RSI > Upper
🔹 RSI < Upper
🔹 RSI > Lower
🔹 RSI < Lower
🔹 RSI > Middle
🔹 RSI < Middle
🔹 RSI > MA
🔹 RSI < MA
📈 MA Conditions:
🔹 MA > Upper
🔹 MA < Upper
🔹 MA > Lower
🔹 MA < Lower
📈 Crossovers:
🔹 RSI (Crossover) Upper
🔹 RSI (Crossunder) Upper
🔹 RSI (Crossover) Lower
🔹 RSI (Crossunder) Lower
🔹 RSI (Crossover) Middle
🔹 RSI (Crossunder) Middle
🔹 RSI (Crossover) MA
🔹 RSI (Crossunder) MA
🔹 MA (Crossover) Upper
🔹 MA (Crossunder) Upper
🔹 MA (Crossover) Lower
🔹 MA (Crossunder) Lower
📈 RSI Divergences:
🔹 RSI Divergence Bull
🔹 RSI Divergence Bear
______________________________________________________
______________________________________________________
🔸 CONDITIONS TO SELL 📉
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND/OR .
📉 RSI Conditions:
🔸 RSI > Upper
🔸 RSI < Upper
🔸 RSI > Lower
🔸 RSI < Lower
🔸 RSI > Middle
🔸 RSI < Middle
🔸 RSI > MA
🔸 RSI < MA
📉 MA Conditions:
🔸 MA > Upper
🔸 MA < Upper
🔸 MA > Lower
🔸 MA < Lower
📉 Crossovers:
🔸 RSI (Crossover) Upper
🔸 RSI (Crossunder) Upper
🔸 RSI (Crossover) Lower
🔸 RSI (Crossunder) Lower
🔸 RSI (Crossover) Middle
🔸 RSI (Crossunder) Middle
🔸 RSI (Crossover) MA
🔸 RSI (Crossunder) MA
🔸 MA (Crossover) Upper
🔸 MA (Crossunder) Upper
🔸 MA (Crossover) Lower
🔸 MA (Crossunder) Lower
📉 RSI Divergences:
🔸 RSI Divergence Bull
🔸 RSI Divergence Bear
______________________________________________________
______________________________________________________
🤖 AUTOMATION 🤖
• You can automate the BUY and SELL signals of this indicator.
______________________________________________________
______________________________________________________
⯁ UNIQUE FEATURES
______________________________________________________
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Plot Labels in the Graph Above: BUY/SELL
Automate and Monitor Signals/Alerts: BUY/SELL
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Plot Labels in the Graph Above: BUY/SELL
Automate and Monitor Signals/Alerts: BUY/SELL
______________________________________________________
📜 SCRIPT : RSI Full
🎴 Art by : @Titans_Invest & @DiFlip
👨💻 Dev by : @Titans_Invest & @DiFlip
🎑 Titans Invest — The Wizards Without Gloves 🧤
✨ Enjoy the Spell!
______________________________________________________
o Mission 🗺
• Inspire Traders to manifest Magic in the Market.
o Vision 𐓏
• To elevate collective Energy 𐓷𐓏
RSI + MA + Divergence + SnR + Price levelOverview
This indicator combines several technical analysis tools to give traders a comprehensive view based on the RSI indicator. Its main features include:
RSI & Moving Averages on RSI:
RSI: Calculates the RSI based on the closing price (or a user-selected source) with a configurable period (default is 14).
EMA and WMA: Computes and plots an Exponential Moving Average (EMA with a period of 9) and a Weighted Moving Average (WMA with a period of 45) on the RSI, helping to smooth out signals and better identify trends.
Price Ladder Based on RSI:
Draws horizontal lines at specified target RSI levels (from targetRSI1 to targetRSI7, default levels ranging from 20 to 80).
Calculates a target price based on the price change relative to the averaged gains and losses, providing an estimated price level when the RSI reaches those critical levels.
Divergence Detection:
Identifies divergence between price and RSI:
Bullish Divergence: Detected when the price forms a lower low but RSI fails to confirm with a corresponding lower low, with the RSI falling under a configurable threshold (d_below).
Bearish Divergence: Detected when the price forms a higher high while the RSI does not, with the RSI exceeding a configurable upper threshold (d_upper).
Optionally displays labels on the chart to alert the trader when divergence signals are detected.
Auto Support & Resistance on RSI:
Automatically calculates and plots support and resistance lines based on the RSI over different lookback periods (e.g., 34, 89, 200 bars).
Helps traders identify key RSI levels where price reversals or breakouts might occur.
Benefits for the Trader
This indicator is designed to assist traders in their decision-making process by integrating multiple technical analysis elements:
Identifying Market Trends:
By combining the RSI with its moving averages (EMA, WMA), traders can better assess market trends and the strength of these trends, thereby improving trade entry accuracy.
Early Reversal Signals via Divergence:
Divergence signals (both bullish and bearish) can help forecast potential reversals in the market, allowing traders to adjust their strategies timely.
Determining RSI-Based Support/Resistance Levels:
Automatic identification of support and resistance levels on the RSI provides key areas where a price reversal or breakout may occur, assisting traders in setting stop-loss and take-profit levels strategically.
Price Target Forecasting with the Price Ladder:
The target price labels calculated at important RSI levels provide insights into potential price objectives, aiding in risk management and profit planning.
Flexible Configuration:
Traders can customize key parameters such as the RSI period, lengths for EMA and WMA, target RSI levels, divergence conditions, and support/resistance settings. This flexibility allows the indicator to adapt to different trading styles and strategies.
How to read data
Some use-cases
Used to estimate price according to the RSI level.
When you trade using RSI, you want to set your stop-loss or take-profit levels based on RSI. By looking at the price ladder, you know the corresponding price level to enter a trade.
Used to determine the entry zone.
RSI often reacts to its own previously established support/resistance levels. Use the Auto SnR feature to identify those zones.
Used to determine the trend.
RSI and its moving averages help identify the price trend:
Uptrend: 3 lines separate and point upward.
Downtrend: 3 lines separate and point downward.
Use WMA45 to determine the trend:
Uptrend: WMA45 is moving upward or trading above the 50 level.
Downtrend: WMA45 is moving downward or trading below the 50 level.
Sideways: WMA45 is trading around the 50 level.
Use EMA9 to confirm the trend: A crossover of EMA9 through WMA45 confirms the formation of a new trend.
Configuration
The script allows users to configure a number of important parameters to suit their analytical preferences:
RSI Settings:
RSI Length (rsiLengthInput): The number of periods used to compute the RSI (default is 14, adjustable as needed).
RSI Source (rsiSourceInput): Select the price source (default is the closing price).
RSI Color (rsiClr): The color used to display the RSI line.
Moving Averages on RSI:
EMA Length (emaLength): The period for calculating the EMA on RSI (default is 9).
WMA Length (wmaLength): The period for calculating the WMA on RSI (default is 45).
EMA Color (emaClr) and WMA Color (wmaClr): Customize the colors of the EMA and WMA lines.
Price Ladder Settings:
Toggle Price Ladder (showPrice): Enable or disable the display of the price ladder.
Target RSI Levels: targetRSI1 through targetRSI7: RSI values at which target prices are calculated (default values range from 20, 30, 40, 50, 60, 70 to 80).
Price Label Color (priceColor): The text color for displaying the target price labels.
Divergence Settings:
Divergence Toggle (calculateDivergence): Option to enable or disable divergence calculation and display.
Divergence Conditions:
d_below: RSI level below which bullish divergence is considered.
d_upper: RSI level above which bearish divergence is considered.
Display Divergence Labels (showDivergenceLabel): Option to display labels on the chart when divergence is detected.
Auto Support & Resistance on RSI:
Toggle Auto S&R (enableAutoSnR): Enable or disable automatic plotting of support and resistance levels.
Lookback Periods for Support/Resistance:
L1_lookback: Lookback period for level 1 (e.g., 34 bars).
L2_lookback: Lookback period for level 2 (e.g., 89 bars).
L3_lookback: Lookback period for level 3 (e.g., 200 bars).
Support and Resistance Colors:
rsiSupportClr: Color for the support line.
rsiResistanceClr: Color for the resistance line.
Alerts:
Divergence Alerts: Alert conditions are set up to notify the trader when bullish or bearish divergence is detected, aiding in timely decision-making.
Pino Trend Pack (SMA/EMA + Bollinger)🔹 Pino Trend Pack is a compact trend-following and volatility indicator that includes:
📈 Moving Averages:
- SMA 10, SMA 30
- EMA 21, EMA 55, EMA 89
(All configured for short-term to mid-term trend analysis by default, but fully adjustable for user preference.)
📊 Bollinger Bands:
- Period: 20
- Standard Deviation: 2.0
- Includes Upper Band, Lower Band, and Basis (SMA 20)
This pack is designed for traders who want a clean visual of price dynamics across multiple short-term trend layers, combined with volatility tracking. It helps you identify compression, expansion, and trend shifts at a glance.
🧠 Ideal for swing trading, short- to mid-term setups, or as a supporting tool in any confluence-based strategy.
EMA-Based Squeeze Dynamics (Gap Momentum & EWMA Projection)EMA-Based Squeeze Dynamics (Gap Momentum & EWMA Projection)
🚨 Main Utility: Early Squeeze Warning
The primary function of this indicator is to warn traders early when the market is approaching a "squeeze"—a tightening condition that often precedes significant moves or regime shifts. By visually highlighting areas of increasing tension, it helps traders anticipate potential volatility and prepare accordingly. This is intended to be a statistically and psychologically grounded replacement of so-called "fib-time-zones," which are overly-deterministic and subjective.
📌 Overview
The EMA-Based Squeeze Dynamics indicator projects future regime shifts (such as golden and death crosses) using exponential moving averages (EMAs). It employs historical interval data and current market conditions to dynamically forecast when the critical EMAs (50-period and 200-period) will reconverge, marking likely trend-change points.
This indicator leverages two core ideas:
Behavioral finance theory: Traders often collectively anticipate popular EMA crossovers, creating a self-fulfilling prophecy (normative social influence), similar to findings from Solomon Asch’s conformity experiments.
Bayesian-like updates: It utilizes historical crossover intervals as a prior, dynamically updating expectations based on evolving market data, ensuring its signals remain objectively grounded in actual market behavior.
⚙️ Technical & Mathematical Explanation
1. EMA Calculations and Regime Definitions
The indicator uses three EMAs:
Fast (9-period): Represents short-term price movement.
Medial (50-period): Indicates medium-term trend direction.
Slow (200-period): Defines long-term market sentiment.
Regime States:
Bullish: 50 EMA is above the 200 EMA.
Bearish: 50 EMA is below the 200 EMA.
A shift between these states triggers visual markers (arrows and labels) directly on the chart.
2. Gap Dynamics and Historical Intervals
At each crossover:
The indicator records the gap (distance) between the 50 and 200 EMAs.
It tracks the historical intervals between past crossovers.
An Exponentially Weighted Moving Average (EWMA) of these intervals is calculated, weighting recent intervals more heavily, dynamically updating expectations.
Important note:
After every regime shift, the projected crossover line resets its calculation. This reset is visually evident as the projection line appears to move further away after each regime change, temporarily "repelled" until the EMAs begin converging again. This ensures projections remain realistic, grounded in actual EMA convergence, and prevents overly optimistic forecasts immediately after a regime shift.
3. Gap Momentum & Adaptive Scaling
The indicator measures how quickly or slowly the gap between EMAs is changing ("gap momentum") and adjusts its forecast accordingly:
If the gap narrows rapidly, a crossover becomes more imminent.
If the gap widens, the next crossover is pushed further into the future.
The "gap factor" dynamically scales the projection based on recent gap momentum, bounded between reasonable limits (0.7–1.3).
4. Squeeze Ratio & Background Color (Visual Cues)
A "squeeze ratio" is computed when market conditions indicate tightening:
In a bullish regime, if the fast EMA is below the medial EMA (price pulling back towards long-term support), the squeeze ratio increases.
In a bearish regime, if the fast EMA rises above the medial EMA (price rallying into long-term resistance), the squeeze ratio increases.
What the Background Colors Mean:
Red Background: Indicates a bullish squeeze—price is compressing downward, hinting a bullish reversal or continuation breakout may occur soon.
Green Background: Indicates a bearish squeeze—price is compressing upward, suggesting a bearish reversal or continuation breakout could soon follow.
Opacity Explanation:
The transparency (opacity) of the background indicates the intensity of the squeeze:
High Opacity (solid color): Strong squeeze, high likelihood of imminent volatility or regime shift.
Low Opacity (faint color): Mild squeeze, signaling early stages of tightening.
Thus, more vivid colors serve as urgent visual warnings that a squeeze is rapidly intensifying.
5. Projected Next Crossover and Pseudo Crossover Mechanism
The indicator calculates an estimated future bar when a crossover (and thus, regime shift) is expected to occur. This calculation incorporates:
Historical EWMA interval.
Current squeeze intensity.
Gap momentum.
A dynamic penalty based on divergence from baseline conditions.
The "Pseudo Crossover" Explained:
A key adaptive feature is the pseudo crossover mechanism. If price action significantly deviates from the projected crossover (for example, if price stays beyond the projected line longer than expected), the indicator acknowledges the projection was incorrect and triggers a "pseudo crossover" event. Essentially, this acts as a reset, updating historical intervals with a weighted adjustment to recalibrate future predictions. In other words, if the indicator’s initial forecast proves inaccurate, it recognizes this quickly, resets itself, and tries again—ensuring it remains responsive and adaptive to actual market conditions.
🧠 Behavioral Theory: Normative Social Influence
This indicator is rooted in behavioral finance theory, specifically leveraging normative social influence (conformity). Traders commonly watch EMA signals (especially the 50 and 200 EMA crossovers). When traders collectively anticipate these signals, they begin trading ahead of actual crossovers, effectively creating self-fulfilling prophecies—similar to Solomon Asch’s famous conformity experiments, where individuals adopted group behaviors even against direct evidence.
This behavior means genuine regime shifts (actual EMA crossovers) rarely occur until EMAs visibly reconverge due to widespread anticipatory trading activity. The indicator quantifies these dynamics by objectively measuring EMA convergence and updating projections accordingly.
📊 How to Use This Indicator
Monitor the background color and opacity as primary visual cues.
A strongly colored background (solid red/green) is an early alert that a squeeze is intensifying—prepare for potential volatility or a regime shift.
Projected crossover lines give a dynamic target bar to watch for trend reversals or confirmations.
After each regime shift, expect a reset of the projection line. The line may seem initially repelled from price action, but it will recalibrate as EMAs converge again.
Trust the pseudo crossover mechanism to automatically recalibrate the indicator if its original projection misses.
🎯 Why Choose This Indicator?
Early Warning: Visual squeeze intensity helps anticipate market breakouts.
Behaviorally Grounded: Leverages real trader psychology (conformity and anticipation).
Objective & Adaptive: Uses real-time, data-driven updates rather than static levels or subjective analysis.
Easy to Interpret: Clear visual signals (arrows, labels, colors) simplify trading decisions.
Self-correcting (Pseudo Crossovers): Quickly adjusts when initial predictions miss, maintaining accuracy over time.
Summary:
The EMA-Based Squeeze Dynamics Indicator combines behavioral insights, dynamic Bayesian-like updates, intuitive visual cues, and a self-correcting pseudo crossover feature to offer traders a reliable early warning system for market squeezes and impending regime shifts. It transparently recalibrates after each regime shift and automatically resets whenever projections prove inaccurate—ensuring you always have an adaptive, realistic forecast.
Whether you're a discretionary trader or algorithmic strategist, this indicator provides a powerful tool to navigate market volatility effectively.
Happy Trading! 📈✨
[SM-042] EMA 5-8-13 with ADX FilterWhat is the strategy?
The strategy combines three exponential moving averages (EMAs) — 5, 8, and 13 periods — with an optional ADX (Average Directional Index) filter. It is designed to enter long or short positions based on EMA crossovers and to exit positions when the price crosses a specific EMA. The ADX filter, if enabled, adds a condition that only allows trades when the ADX value is above a certain threshold, indicating trend strength.
Who is it for?
This strategy is for traders leveraging EMAs and trend strength indicators to make trade decisions. It can be used by anyone looking for a simple trend-following strategy, with the flexibility to adjust for trend strength using the ADX filter.
When is it used?
- **Long trades**: When the 5-period EMA crosses above the 8-period EMA, with an optional ADX condition (if enabled) that requires the ADX value to be above a specified threshold.
- **Short trades**: When the 5-period EMA crosses below the 8-period EMA, with the ADX filter again optional.
- **Exits**: The strategy exits a long position when the price falls below the 13-period EMA and exits a short position when the price rises above the 13-period EMA.
Where is it applied?
This strategy is applied on a chart with any asset on TradingView, with the EMAs and ADX plotted for visual reference. The strategy uses `strategy.entry` to open positions and `strategy.close` to close them based on the set conditions.
Why is it useful?
This strategy helps traders identify trending conditions and filter out potential false signals by using both EMAs (to capture short-term price movements) and the ADX (to confirm the strength of the trend). The ADX filter can be turned off if not desired, making the strategy flexible for both trending and range-bound markets.
How does it work?
- **EMA Crossover**: The strategy enters a long position when the 5-period EMA crosses above the 8-period EMA, and enters a short position when the 5-period EMA crosses below the 8-period EMA.
- **ADX Filter**: If enabled, the strategy checks whether the ADX value is above a set threshold (default is 20) before allowing a trade.
- **Exit Conditions**: Long positions are closed when the price falls below the 13-period EMA, and short positions are closed when the price rises above the 13-period EMA.
- **Plotting**: The strategy plots the three EMAs and the ADX value on the chart for visualization. It also displays a horizontal line at the ADX threshold.
This setup allows for clear decision-making based on the interaction between different time-frame EMAs and trend strength as indicated by ADX.
50 EMA Crossover With Monthly DCARecommended Chart Interval = 1W
Overview:
This strategy combines trend-following principles with dollar-cost averaging (DCA), aiming to efficiently deploy capital while minimizing market timing risk.
How It Works:
When the Long Condition is Not Met (i.e., Price < 50 EMA):
- If the price is below the 50 EMA, a fixed DCA amount is added to a cash reserve every month.
- This ensures that capital is consistently accumulated, even when the strategy isn't in a long position.
When the Long Condition is Met (i.e., Price > 50 EMA):
- A long position is opened when the price is above the 50 EMA.
- At this point, the entire capital, including the accumulated cash reserve, is deployed into the market.
- While the strategy is long, a DCA buy order is placed every month using the set DCA amount, continuously investing as the market conditions allow.
Exit Strategy:
If the price falls below the 50 EMA, the strategy closes all positions, and the cash reserve accumulation process begins again.
Key Benefits:
✔ Systematic Investing: Ensures consistent capital deployment while following trend signals.
✔ Cash Efficiency: Accumulates uninvested funds when conditions aren’t met and deploys them at optimal moments.
✔ Risk Management: Exits when the price trend weakens, protecting capital.
Conclusion:
This method allows for efficient capital growth by combining a trend-following approach with disciplined DCA, ensuring risk is managed while capital is deployed systematically at optimal points in the market. 🚀
Scalping all timeframe EMA & RSIEMA 50 and EMA 100 combined with RSI 14
Should also be accompanied by the RSI 14 chart.
With the following conditions:
IF the EMAs are close but not crossing:
* Be prepared to take a Sell position if the first Bearish Candlestick crosses the lowest EMA, and the RSI value is equal to or below 40.
* Be prepared to take a Buy position if the first Bullish Candlestick crosses the highest EMA, and the RSI value is equal to or above 60.
IF the EMAs are overlapping and crossing:
* Be prepared to take a Sell position if the first Bearish Candlestick crosses both EMAs, and the RSI value crosses below 50.
*Be prepared to take a Buy position if the first Bullish Candlestick crosses both EMAs, and the RSI value crosses above 50.