Two EMAs + Custom Fill simple ema crosses with custom fills. Custom length adjustments on each ema, with custom colour fill on ema crosses.
Indicators and strategies
Enhanced 4H Candle Countdown & High/Low IndicatorBy profitgang
This Pine Script indicator provides real-time tracking of 4-hour timeframe levels with an integrated countdown timer, designed to help traders monitor key support and resistance zones.
Key Features
📊 Visual Elements
4H High/Low Lines: Clear visualization of previous 4-hour candle high and low levels
Range Fill: Subtle background fill between high and low for better context
Mid-Level Line: Shows the middle point of the 4H range
Position Indicator: Visual cue showing current price position within the range
⏰ Countdown Timer
Real-time countdown to next 4H candle close
Customizable table position (9 different locations)
Adjustable text size (6 size options from Tiny to Huge)
Distance calculations showing percentage distance from key levels
🎯 Signal Generation
Long signals when price crosses above 4H low
Short signals when price crosses below 4H high
RSI confluence filter to reduce false signals
Background highlighting for active signals
TradingView alerts compatible
⚙️ Customization Options
Toggle all features on/off independently
Custom colors for all elements
Table positioning (top/middle/bottom + left/center/right)
Text size selection for optimal readability
Alert notifications for level breaks and updates
How It Works
The indicator fetches the previous 4-hour candle's high and low values and displays them as horizontal lines on your current timeframe chart. It continuously calculates the time remaining until the current 4H candle closes and presents this information in a clean, customizable table.
Use Cases
Swing Trading: Identify key 4H support and resistance levels
Intraday Trading: Monitor when new 4H levels will be established
Risk Management: Calculate distance from key levels for position sizing
Multi-timeframe Analysis: Combine with lower timeframe setups
Educational Purpose
This indicator is designed for educational and analytical purposes to help traders understand price action relative to higher timeframe levels. It provides clear visual feedback about market structure and timing.
Settings Groups
Display Settings: Toggle features, positioning, and sizing
Colors: Customize all visual elements
Signal Settings: Configure alert conditions and confluence filters
Compatibility
Works on all timeframes (recommended for 1m to 1H charts)
Compatible with all instruments
Includes proper alert functionality for automated notifications
Optimized for both light and dark themes
This indicator does not provide financial advice. Always conduct your own research and risk management before making trading decisions.
4 period Rolling VWAP Suite## 4-Period-Rolling-VWAP-Suite
A custom TradingView Pine Script indicator that calculates and plots multiple rolling VWAP (Volume Weighted Average Price) levels over different daily lookback periods. Designed to help traders identify key support/resistance zones and market bias— **especially effective during high or extreme volatility**.
---
## ✨ Features
- **Multiple Configurable VWAP Periods**:
- 5-day VWAP
- 10-day VWAP
- 15-day VWAP
- 20-day VWAP
- Optional 50-day VWAP
- **Dynamic Rolling Calculation**:
- VWAP levels roll forward with each new day
- No need to reset at the start of a session
- **Custom Colors** for quick on-chart identification
- Works on **any time frame** and with any instrument on TradingView
- Can be easily added directly from the public TradingView link (see below)
---
## 📎 Direct TradingView Access
You can add this indicator to your TradingView chart directly from the public library:
** ()**
My TradingView profile: ** (www.tradingview.com)**
---
## 🛠 How It Works
VWAP is calculated as:
VWAP = (Σ (Typical Price × Volume)) / (Σ Volume)
Where:
- **Typical Price** = (High + Low + Close) ÷ 3
- Calculations are **rolled** over the specified number of days rather than resetting daily
This script keeps track of:
- Price × Volume sums
- Volume sums
Over the last `n` days (5, 10, 15, 20, 50), and dynamically computes VWAP for each period.
---
## ⚡ Use Cases
- **Support & Resistance Mapping**:
Rolling VWAP levels often act as magnets for price, providing natural support/resistance.
- **Volatility Periods**:
During high volatility, rolling VWAP levels can help anchor trading decisions.
- **Bias Detection**:
Price above multiple VWAP levels can suggest bullish bias; below them can suggest bearish bias.
---
## 📋 Inputs
| Setting | Description | Default |
|------------------|--------------------------------------------|---------|
| Show 5D VWAP | Toggle 5-day rolling VWAP | ✅ |
| Show 10D VWAP | Toggle 10-day rolling VWAP | ✅ |
| Show 15D VWAP | Toggle 15-day rolling VWAP | ✅ |
| Show 20D VWAP | Toggle 20-day rolling VWAP | ✅ |
| Show 50D VWAP | Toggle 50-day rolling VWAP | ❌ |
---
## 🎨 Color Scheme
- **5D** – Orange
- **10D** – Soft Red
- **15D** – White
- **20D** – Electric Blue
- **50D** – Golden Yellow
---
## 📦 Installation from Code
1. Copy the code from (4%20period%20Rolling%20VWAP%20Suite.pine.txt)
2. Open **TradingView**
3. Go to **Pine Editor**
4. Paste the code and click **Add to Chart**
5. Save the script to your account
---
## 📜 License
MIT License — You’re free to use, modify, and share this script.
---
## 👤 Author
**EmotionalTrader**
- Futures trader, Python learner, aspiring asset trader, horse whisperer, space cowboy
- (www.tradingview.com)
- (github.com)
Yaman's – Volume Profile (Session / Fixed Range) + HeatmapYaman – Volume Profile (Session / Fixed Range) + Heatmap (Pine v5)
An easy volume profile for current day/week or a fixed time range.
Heatmap rows (blue → yellow → red) show relative volume per price.
POC / VAH / VAL with a value-area band (70% by default).
Left/Right anchoring so the histogram can extend in the direction you prefer.
Optional Split Up/Down mode (blue/gray).
Inputs: Profile Mode, Start/End (fixed range), Bars to Scan, Bins, Max Width, VA%, Anchor Left, Color Mode, Heatmap palette, Split colors, Show HUD.
How to use the indicator
Add it to any chart/timeframe. Everything updates on the last bar only for speed.
Core concept
The indicator builds a volume histogram by price for:
Current Day
Current Week
Fixed Range (start/end you choose)
It calculates:
POC (Point of Control): price row with the most total volume
Value Area (default 70%) around the POC → shows VAH/VAL
The histogram can be:
Heatmap (blue → yellow → red; more red = more volume)
Split Up/Down (blue = up-close volume, gray = down-close volume)
Inputs (Settings → “Inputs”)
Session & range
Profile Mode
Current Day: uses today’s session (based on the chart’s exchange time).
Current Week: uses the current calendar week.
Fixed Range: choose Fixed Range Start / End with the date-time pickers.
Bars to Scan: max historical bars to inspect (performance knob).
Shape & resolution
Price Bins: number of horizontal rows (vertical resolution).
Higher = smoother but heavier.
Profile Max Width (bars): histogram width (horizontal size in bars).
Value Area %: portion of total volume used to define VAH/VAL (classic = 70%).
Notes: On some markets this uses tick volume; treat colors as relative activity. For performance, reduce Bins and Bars to Scan on lower timeframes. Educational use only.
SPX Trendlines with VIX Levels By- Profit gang
This comprehensive technical analysis tool combines SPX trendline analysis with VIX volatility levels to help identify potential market turning points. The indicator is specifically designed with non-repainting logic to ensure reliability for both backtesting and live trading.
🔧 KEY FEATURES:
Non-Repainting Design: All signals and lines are drawn only on confirmed bars using barstate.isconfirmed
Dynamic Trendlines: Automatically draws support and resistance lines connecting recent pivot points
VIX Integration: Displays current VIX levels with customizable thresholds for market sentiment analysis
Multiple Visual Elements: Includes diagonal trendlines, horizontal level lines, and an information table
Comprehensive Alerts: Configurable alert system for both buy and sell signals
Clean Interface: Organized inputs and customizable colors for all elements
📊 TRADING CONCEPT:
The indicator utilizes the inverse relationship between VIX and SPX:
High VIX at pivot lows may indicate oversold conditions (potential buying opportunities)
Low VIX at pivot highs may signal complacency at market tops (potential caution zones)
🎛️ CUSTOMIZATION OPTIONS:
Toggle trendlines, VIX labels, and level lines independently
Adjust VIX thresholds (default: 25 high, 18 low)
Customize pivot length for sensitivity (default: 15)
Choose line styles (solid, dashed, dotted) and widths
Personalize all colors and alert preferences
📈 VISUAL COMPONENTS:
Red Lines: Resistance levels and trendlines
Green Lines: Support levels and trendlines
Information Table: Real-time VIX status and current levels
Signal Shapes: Triangle markers for confirmed buy/sell signals
Background Highlighting: Optional signal emphasis
⚠️ EDUCATIONAL PURPOSE:
This indicator is designed for educational and informational purposes. Past performance does not guarantee future results. Always conduct your own research and consider risk management before making trading decisions.
🔔 ALERT SYSTEM:
Separate alerts for buy and sell signals
All alerts trigger only on confirmed bars
Customizable alert messages with price and VIX data
Multiple alert condition options for flexible setup
Perfect for traders who want to combine technical analysis with volatility sentiment in a reliable, non-repainting format.
BTC Correlation PercentagePurpose
This indicator displays the correlation percentage between the current trading instrument and Bitcoin (BTC/USDT) as a text label on the chart. It helps traders quickly assess how closely an asset's price movements align with Bitcoin's fluctuations.
Key Features
Precise Calculation: Shows correlation as a percentage with one decimal place (e.g., 25.6%).
Customizable Appearance: Allows adjustment of colors, position, and calculation period.
Clean & Simple: Displays only essential information without cluttering the chart.
Universal Compatibility: Works on any timeframe and with any trading pair.
Input Settings
Core Parameters:
BTC Symbol – Ticker for Bitcoin (default: BINANCE:BTCUSDT).
Correlation Period – Number of bars used for calculation (default: 50 candles).
Show Correlation Label – Toggle visibility of the correlation label.
Visual Customization:
Text Color – Label text color (default: white).
Background Color – Label background color (default: semi-transparent blue).
Border Color – Border color around the label (default: gray).
Label Position – Where the label appears on the chart (default: top-right).
Interpreting Correlation Values
70% to 100% → Strong positive correlation (asset moves in sync with BTC).
30% to 70% → Moderate positive correlation.
-30% to 30% → Weak or no correlation.
-70% to -30% → Moderate negative correlation (asset moves opposite to BTC).
-100% to -70% → Strong negative correlation.
Practical Use Cases
For Altcoins: A correlation above 50% suggests high dependence on Bitcoin’s price action.
For Futures Trading: Helps assess systemic risks tied to BTC movements.
During High Volatility: Determines whether an asset’s price change is driven by its own factors or broader market trends.
How It Works
The indicator recalculates automatically with each new candle. For the most reliable results, it is recommended for use on daily or higher timeframes.
This tool provides traders with a quick, visual way to gauge Bitcoin’s influence on other assets, improving decision-making in crypto markets. 🚀
This response is AI-generated, for reference only.
New chat
Breakout Pullback Reload FireBreakout Pullback Reload Fire (BPRF) is a price-action strategy designed to catch continuation moves after a breakout and retest. It identifies high-probability setups where price:
Breaks out above or below a key baseline (SMA).
Pulls back to retest that baseline (the “reload”).
Fires in the original breakout direction, signaling trend continuation.
How It Works
Baseline: Simple Moving Average (SMA) with adjustable length.
Breakout Threshold: Auto-scales using ATR or Z-score, so it works consistently on any symbol or timeframe without manual re-tuning.
Pullback Band: Defines how close price must come to the SMA for a valid “reload.”
Signal Confirmation: Requires a close back in the breakout direction after the pullback.
Filters: Max bars to complete the pattern, and minimum bars between signals to avoid noise.
Features
Works across Forex, Stocks, Crypto, Futures, and Metals.
Auto-normalization means the same settings work from 1-minute charts to daily or higher.
Alerts for both Buy and Sell signals so you can trade in real time.
Label plotting for easy visual backtesting.
Best for: Traders who like trend continuation setups after a clean breakout and pullback, and want an adaptable tool that works across markets without constant re-configuration.
UPTREND DOWNTREND Buy/Sell by EAGLE EYESUPTREND DOWNTREND Buy/Sell by EAGLE EYES is a trend-following indicator designed to help traders quickly identify market direction and take timely Buy or Sell decisions.
It works by analyzing price action, trend strength, and momentum shifts to plot clear visual labels for UPTREND (Buy) and DOWNTREND (Sell) zones on the chart.
Key Features:
Clear Trend Direction: Highlights bullish (UPTREND) and bearish (DOWNTREND) phases directly on the chart.
Buy/Sell Signals: Generates easy-to-read Buy/Sell markers for quick decision-making.
Works on All Timeframes & Assets: Suitable for stocks, forex, crypto, and commodities.
Noise Reduction: Filters out small market fluctuations to avoid false signals.
User-Friendly: No complex settings—simple and effective visual guidance.
Trading Tip:
Use this indicator alongside volume analysis or support/resistance zones to confirm signals for higher accuracy.
BTCUSDT Correlation TableThis indicator calculates and displays the correlation between the current chart’s asset and Bitcoin (BTCUSDT) over a selected period. The correlation is shown as a percentage in a compact table on the chart.
Key features:
Customizable BTC symbol – default is BINANCE:BTCUSDT.
Adjustable correlation period – set the number of bars used for correlation calculation.
Color-coded output:
Green for strong positive correlation (above +80%)
Red for strong negative correlation (below –80%)
Blue for neutral correlation
Use this tool to quickly assess whether your asset is moving in sync with Bitcoin, inversely, or independently.
Indicator: Profitability by Day & Hour (stacked, non-overlay)What it does
This tool performs a simple seasonality study on the selected symbol. It measures historical returns and summarizes them in two horizontal heatmaps:
Hours table (top) — Columns 00–23 show the average return of each clock hour, plus sample size, win rate, volatility (SD), and a t-score.
Days table (middle) — Columns 1–7 correspond to Mon–Sun with the same metrics.
Summary (bottom) — Shows the most profitable day and hour in the history loaded on your chart.
Green cells indicate higher average returns; red cells indicate lower/negative averages. The layout is centered on the screen, with the hours table above the days table for quick scanning.
How it works (methodology)
Returns: by default the indicator uses log returns ln(Ct/Ct-1) (you can switch to simple % if you prefer).
Daily aggregation (no look-ahead): day statistics are computed from completed daily closes via a higher timeframe request. Yesterday’s daily close vs. the prior day is added to the appropriate weekday bucket, preventing repaint/forward bias.
Hourly aggregation (intraday only): hour statistics are computed bar-to-bar on the current intraday timeframe and accumulated by clock hour (00–23) of the symbol’s exchange timezone.
Metrics per bucket:
Mean: average return in that bucket.
n: number of observations.
Win%: share of positive returns.
SD: standard deviation of returns (volatility proxy).
t-score: mean / SD * sqrt(n) — a quick stability signal (not a hypothesis test).
The indicator does not rely on future data and does not repaint past values.
Reading the tables
Start with the Mean row in each table: it’s color-mapped (red → yellow → green).
Check n (sample size). A bright green cell with very low n is less meaningful than a mild green cell with large n.
Use Win% and SD to judge consistency and noise.
t-score is a compact “signal-to-noise × sample size” measure; higher absolute values suggest more stable effects.
Typical observations traders look for (purely illustrative): for some equity indices, the first hour after the cash open can dominate; for FX/crypto, certain late-US or early-Asia hours sometimes stand out. Always verify on your symbol and timeframe.
INTRADAY BOOST SINGNALS BY EAGLE EYESPurpose
Designed for short-term, high-activity traders who want quick trade entries and exits during market hours.
Likely focuses on momentum, volume spikes, and trend confirmation to catch intraday moves.
Key Features It Might Include
Signal Generation
Buy Signal: When upward momentum + volume surge + trend confirmation occurs.
Sell Signal: When downward momentum + high selling volume + trend reversal is detected.
Signals are probably marked with green arrows (buy) and red arrows (sell) on the chart.
Core Indicators Inside (probable)
Volume Filters: Detects strong participation behind the move.
Moving Average / EMA crossovers: Confirms short-term direction.
RSI / Stochastic: Filters out overbought/oversold traps.
Supertrend / UT Bot logic: Ensures signals follow a trend, not just noise.
Intraday Optimization
Works best on short timeframes like 1-min, 5-min, 15-min charts.
May include session filters so signals only trigger during active market hours.
Alerts
Configured so TradingView can send alerts for buy/sell signals in real-time.
Visuals
Arrows, colored bars, background shading for bullish/bearish momentum.
Possibly a dashboard showing trend strength, signal count, win ratio.
How It Helps Intraday Traders
Quick decision-making: Immediate visual and alert-based guidance.
Avoids overtrading: Filters false signals during sideways markets.
Momentum-based: Focuses on high-probability moves with strong backing.
Calc Option Pos SizeAn indicator to help you calculate the optimal number of options to buy based on the dollar amount of risk you want to take.
It also displays the planned risk-to-reward ratio (RR).
Important metrics such as the number of contracts to buy and the RR are updated live based on the current ticker price.
With spread support, you can simulate buying not at the mid-price but including the spread. This is factored into both the RR calculation and the number of contracts to buy.
You can predefine up to 10 strategies for scaling out of your option position, based on the number of contracts you hold.
Once you activate Manage Trade mode, the indicator shows how many contracts to close when the underlying asset reaches Profit Target 1 or Profit Target 2, along with visual signals.
While in a trade, you can also draw a trailing stop-loss level on the chart to help manage your position.
⸻
How to get started
1. Select the same ticker as the one currently shown on your chart.
2. Set the colors to your preferences.
3. Define your “scale-out” strategies.
• Example: If you have 6 contracts — at PT1 sell 3, at PT2 sell 2, and leave 1 as a runner.
4. Set the dollar amount you are willing to risk.
5. Define the planned Entry, Stop Loss, Profit Target 1, and Profit Target 2.
6. Enter the Delta and Spread for the option strike you plan to buy.
⸻
Once you are in a trade
1. Update the Date, Hour, and Minute to match the candle when you entered.
2. Set the number of contracts you purchased to activate your predefined scale-out strategy.
SUPPORT RESISTANCE BY EAGLE EYESSUPPORT RESISTANCE BY EAGLE EYES
The Support Resistance by Eagle Eyes indicator automatically detects key price levels where markets historically tend to reverse or consolidate.
It helps traders visually identify important supply zones (resistance) and demand zones (support) for better decision-making in entries, exits, and stop-loss placement.
Features
Automatic Detection: Plots support and resistance levels based on recent price action and swing points.
Dynamic Updating: Levels adjust as new market structure forms, ensuring real-time accuracy.
Multiple Timeframe Analysis: Option to detect levels from higher timeframes for stronger zones.
Customizable Sensitivity: Adjust lookback periods and strength filters to match your trading style.
Clear Visuals: Color-coded lines for support (green) and resistance (red) with optional labels and zone shading.
How It Works
The script scans historical highs and lows, identifying zones where price has reacted multiple times.
Stronger levels are based on:
Number of touches/rejections
Time duration since formation
Closeness to the current price
Best Used For
Identifying key reversal zones
Setting take-profit and stop-loss targets
Spotting breakout and fakeout opportunities
Multi-timeframe confluence trading
Tip: Combine with your existing strategy (trend filters, volume analysis, candlestick patterns) for higher probability trades.
Low-High Recursive Levels (Parameterized Low/High)Low high recursive script. The low and high are parameterized. For swing low, take a low point and double it and use it as high. For high to low, take a high point, half it and use it as low. Intermediate level half levels will be drawn.
HIGH VOLUME BY EAGLE EYESHIGH VOLUME BY EAGLE EYES is a smart price–volume analysis tool that helps traders identify high-probability breakout zones based on consolidation, breakout direction, and volume strength.
Key Features:
Order Block Detection: Finds bullish and bearish order blocks after periods of consolidation.
Volume Analysis: Supports three calculation methods — Simple, Relative (to average volume), and Weighted — to gauge volume strength.
Breakout Filtering: Confirms breakouts only when accompanied by above-threshold volume.
Visual Markers: Plots color-coded boxes on the chart showing the breakout zone with live volume multipliers.
Customizable Settings: Adjustable lookback periods, breakout threshold, maximum number of displayed blocks, and volume sensitivity.
Usage:
Apply to your chart with your desired timeframe.
Watch for green boxes (bullish breakouts) and red boxes (bearish breakouts).
Boxes are removed if price mitigates them (invalidated by opposite movement).
Works on all instruments and timeframes, especially effective in volatile markets for breakout traders.
Squeeze Index [LuxAlgo] MTFThis is the exact same LuxAlgo Squeeze Index, I just added the ability to have multiple time frames. For example, now you can have the 5 min chart open, but watch the 1 min LuxAlgo Squeeze Index on the one minute chart all on the same screen. No more flipping back and forth!
MA Cross Trend CandlesSummary
Repaints a candle based on MA cross. For example, if EMA 3 is above EMA 5 - all candles will be blue. If EMA 3 is under EMA 5 - all candles will be yellow. In the unlikely event when EMA 3 equals EMA 5 - that particular candle will be gray.
Works best with candle bars and hollow candles
Limitations
The only function to repaint candles is `barcolor()` and it only accepts ONE color. So sometimes it repaints candle's body and sometimes - candle's border. YOU go figure out the particulars :). No way to repaint wicks.
There is a way to draw an entire new candle but I haven't found a way to remove the current one. Or draw over it. Let me know if you find it.
Can only be used on the main pane of the graph. I can think of one ugly way of fixing it (using 4 separate inputs for open, high, low, close). If you know of a more elegant way - do let me know.
Advanced VWAP Multi-MA System with Bollinger Bands & Dashboard📊 Key Features:
Core Functionality:
* VWAP Calculation with customizable anchor periods (Session/Week/Month/Quarter/Year)
* Multiple Moving Average Types (EMA, SMA, WMA, HMA, RMA, VWMA)
* Three MA Lengths (Fast: 9, Medium: 21, Slow: 50)
* Standard Deviation Bands with 3 levels (1σ, 2σ, 3σ)
* Dynamic band multipliers (adjustable from 0.5 to 5.0)
🎨 Visual Theme System:
* Theme Types: Dark, Light, Pro
* Visual Styles: Quantum, Holographic, Crystalline, Plasma, Nebula
* Visual Intensity Control (20-100%)
* Multi-layer Harmonic Nodes with gradient effects
* Energy Flow Lines based on momentum
* Minimal signal dots for buy/sell conditions
📈 Holographic Dashboard:
* Real-time VWAP position tracking
* MA trend analysis (Bullish/Bearish/Neutral)
* Band position indicator (±1σ, ±2σ, ±3σ)
* Volatility percentage
* Momentum direction
* Current visual theme display
✨ Visual Effects:
* Quantum Fields: Multi-layer boxes with dynamic transparency
* Energy Flow: Momentum-based directional lines
* Gradient Fills: Between bands and MAs
* Borderless Design: Clean, modern appearance
* Emoji Headers: Enhanced visual appeal (⚡ 🌌 📊 🔮)
🎯 Trading Signals:
* Bullish Signal: Close > VWAP AND Close > Fast MA AND Fast MA > Medium MA
* Bearish Signal: Close < VWAP AND Close < Fast MA AND Fast MA < Medium MA
KSK Multiple Sesseion high/lowThis can be used for the range breakout on the fixed timing and also the session can be changed.
SmartTrade - ALMCorpHello everyone! I’d like to introduce my creation—the Smart Trade indicator. I’ve identified certain patterns and discovered that specific moving averages, at certain deviations, can have a strong impact on price. So, what does this indicator do?
It uses the daily timeframe as the basis for displaying levels. For each cryptocurrency, a unique deviation coefficient is calculated for each level. Essentially, we take two deviation zones—the buy zone and the sell zone—treating them as 0 and 1, respectively. From there, we can plot internal levels based on the Fibonacci sequence.
To summarize:
The indicator displays two main zones (buy/sell).
It also shows internal Fibonacci levels, which exert strong influence on price movements.
For convenience, each level is marked with its corresponding numerical value.
Key Levels for Altcoins: The 0.25–0.5 Range and Imbalance
For many altcoins, the most critical levels are 0.25 and 0.5. Prices tend to stay within this range most of the time—breaking beyond these levels signals a market imbalance, which is usually short-lived.
Example Scenario:
Normal Movement: Price moves between 0.25 (support) and 0.5 (resistance).
Downside Break (Imbalance): If price falls below 0.25 into the buy zone (green area), the failure to hold 0.25 creates a strong imbalance. This typically forces price back up into its usual range.
Upside Break (Imbalance): Similarly, if price breaks above 0.5 (e.g., reaching 0.75), this also creates imbalance, and price tends to revert back down into its standard range.
Conclusion:
Most altcoins trade primarily between 0.25 and 0.5.
A breakout in either direction usually results in a temporary imbalance, which the market quickly corrects.
By recognizing these patterns, we can make more informed trading decisions.
Visualizing Imbalances – From Small to Large
In the chart above, I’ve highlighted all imbalances, ranging from minor to major.
Why This Indicator is Perfect for Spot Trading
I’ve developed a trading strategy for this indicator that displays:
Buy signals (with entry zones)
Average entry price
Sell signals
How the Buy Signals Work:
BUY 1 – Triggered when price touches the upper boundary of the buy zone.
BUY 2 – Activated when price reaches the middle of the buy zone.
BUY 3 – Executed when price tests the lower boundary of the buy zone.
This structured approach ensures you capitalize on optimal entry points while managing risk.
Understanding the Average Entry Line & Profit-Taking System
You may have noticed an additional line on the chart above, displayed alongside the buy signals. This is the average entry line, which represents your mean entry price—calculated based on executing equal-sized purchases at each buy signal (BUY 1, BUY 2, BUY 3).
Where to Sell? Smart Profit-Taking Rules
While precise entries are critical, knowing when to exit is equally important. Here’s how the system works:
Primary Take-Profit Level (0.375)
Historically, this level offers the optimal balance for quick profit-taking.
Adaptive Exit Strategy
If the position is unprofitable by the time of closure, the system automatically shifts the exit to the next higher level (0.5).
This ensures you lock in greater gains when the market favors your trade.
Advanced Performance Tracking & Asset Selection
The indicator provides comprehensive trade analytics, displayed in the bottom-right information panel:
Trade count tracking (total number of executed trades)
Cumulative profitability (combined returns across all trades)
Average profitability per trade (total returns ÷ trade count)
How to Leverage This Data
These metrics allow you to:
Identify high-potential assets
Example: Asset A shows 5% average profit/trade vs. Asset B with 40% → prioritize Asset B for spot trading.
Filter for optimal volatility
Higher average profitability often correlates with stronger momentum/volatility.
Multi-Market Utility
While designed for spot trading, the indicator’s imbalance detection (described earlier) also works for:
Futures market analysis
Entry point identification
Simple Crossover MME 5/20
Description:
This indicator plots a 5-period Exponential Moving Average (EMA) in red and a 20-period EMA in blue.
It provides clear visual signals for crossovers:
A green triangle appears when the 5 EMA crosses above the 20 EMA (bullish signal).
A red triangle appears when the 5 EMA crosses below the 20 EMA (bearish signal).
Built-in alerts are available for both bullish and bearish crossover events.
Option 2 (More Detailed)
Title: 5 EMA / 20 EMA Crossover Strategy with Visual Signals & Alerts
Description:
This script is designed to track one of the most popular moving average strategies: the crossover between the 5-period and 20-period Exponential Moving Averages (EMA). It's a clean and straightforward tool for identifying potential shifts in short-term trend momentum.
Features:
5-Period EMA: Plotted in Red.
20-Period EMA: Plotted in Blue.
Bullish Crossover Signals: A green triangle is plotted below the price bar when the 5 EMA (Red) crosses above the 20 EMA (Blue), suggesting potential upward momentum.
Bearish Crossover Signals: A red triangle is plotted above the price bar when the 5 EMA (Red) crosses below the 20 EMA (Blue), suggesting potential downward momentum.
Customizable Alerts: The indicator includes built-in alert conditions. You can easily set up real-time notifications for every "buy" (crossover) or "sell" (crossunder) signal.
How to Use:
Add the indicator to your chart.
To receive notifications, create an alert and select this indicator as the condition. Choose either the "Bullish Crossover" or "Bearish Crossover" option.