Delta Bubbles • Anchor Levels + Z-Vol CandlesWhat it does
• Delta Bubbles plots volume-weighted bubbles on price and can anchor a horizontal level when participation is exceptional. Bubble colour mirrors bar direction; labels show compact, human-readable volume (e.g. 1.2M, 850K). Great for spotting high-participation or volatility shifts.
• Anchor Levels: optional horizontal levels fixed at exceptional bubbles to track participation memory.
• Z-Vol Candles (optional): two-tier z-score overlay on volume with a neutral base so “no-signal” candles remain readable. Ideal for high-volatility periods.
Delta Bubbles highlighting extreme participation around anchor levels that act as a support structure in this instance
Z-Vol Candles enabled: two-tier z-score highlights higher-than-normal volume, which often precedes reversal setups in ranging markets.
Why it is different
• Direction-aware bubble palette and compact on-chart labelling boost readability in fast markets.
• Minimal two-tier z-vol overlay tuned to reduce false positives.
• Lightweight housekeeping to avoid label/line clutter; optional dotted anchors on down bars; optional cooldown and median gate (defaults off).
Inputs that matter
Threshold sets bubble sensitivity; z-score length tunes volatility detection; level count, label text toggle, colour preferences, optional cooldown/median gate.
No repainting behaviour is introduced by the overlay or the levels.
Candlestick analysis
VPOC Progressivo – Start da data/oraPlots a progressive VPOC starting from a user-selected bar.
The script accumulates volume and updates the Volume Point of Control (VPOC) on every bar. Useful for analysing intraday volume distribution from any custom starting point.
VPOC Progressivo – Start con linea trascinabilePlots a progressive VPOC starting from a user-selected bar.
Drag the dotted vertical line to choose the starting candle. From that point onwards, the script accumulates volume and updates the Volume Point of Control (VPOC) on every bar. Useful for analysing intraday volume distribution from any custom starting point.
CISD နံကြားထောက်CISD နံကြားထောက် indicator ဖြစ်ပါတယ်
ဘာမှ မရှင်းပြဘူး သေချာသိချင်ရင် U Sai Pee (Facebook) မှာ သွားစုံစမ်း
Volume Breakout Candle Signals(Mastersinnifty)Description
The Volume Breakout Candle Signals indicator highlights price candles that occur with unusually high volume compared to recent history. By combining a moving average of volume with a user-defined breakout multiplier, it identifies bullish and bearish breakout candles and marks them directly on the chart.
How It Works
Calculates a Simple Moving Average (SMA) of volume over a user-selected period.
Compares current bar volume to the SMA multiplied by a breakout factor.
Flags candles as:
• Bullish breakout if volume is high and the candle closes higher than it opened.
• Bearish breakout if volume is high and the candle closes lower than it opened.
Marks breakout points with visual labels and background highlights for quick identification.
Inputs
Volume MA Length – Period for calculating the moving average of volume.
Breakout Multiplier – Factor above the average volume to qualify as a breakout.
Show Bullish Signals – Toggle bullish breakout labels.
Show Bearish Signals – Toggle bearish breakout labels.
Use Case
Identify potential breakout opportunities driven by significant market participation.
Spot volume surges that may precede trend continuation or reversals.
Combine with price action or other indicators for confirmation.
Useful for intraday scalping, swing trading, and breakout strategies.
Disclaimer
This tool is intended for educational purposes only and should not be considered financial advice. Trading involves risk, and past performance is not indicative of future results. Always perform your own analysis before making any trading decisions.
X σ mirrorX σ Mirror — Volatility Projection & Price Action Guide
The X σ Mirror is a volatility-mapping tool that measures the prior period’s trading range, then mirrors and projects that range onto the current period. Anchored from the current period’s opening price, the indicator divides this projected range into quartiles, creating a structured price map that adapts to the asset’s recent volatility profile.
Core Methodology
Range Measurement – At the close of each user-selected higher timeframe (daily, 4-hour, weekly, etc.), the indicator captures the prior period’s high, low, and midpoint (equilibrium). This defines the “volatility envelope” for the next period.
Projection from the Open – The full prior range is projected above and below the current period’s open. This symmetrical mirroring anchors the volatility measurement to a logical starting point for intraperiod price movement.
Quartile Breakdown – The projected range is segmented into precise increments: 0.25×, 0.50×, 0.75×, 1.0×, 1.25×, 1.5×, and 2.0× of the prior range. These serve as price “checkpoints” that reflect proportional expansions or contractions relative to historical volatility.
How It Guides Price Action
Dynamic Support & Resistance – Quartile levels often act as temporary barriers or accelerators for price movement, highlighting areas where order flow may cluster.
Momentum Tracking – Price acceptance above successive quartiles suggests sustained directional strength, while repeated failures to breach a quartile indicate exhaustion.
Risk Management – The mirrored range and quartile levels help traders size positions, define stop placements, and set profit targets with volatility-adjusted precision.
Market Context – By anchoring the projection from the open, the indicator aligns volatility expectations with the session’s actual market structure, rather than static fixed levels.
Application
The X σ Mirror is adaptable across assets and timeframes, making it suitable for intraday traders tracking the unfolding session, as well as swing traders monitoring multi-day expansion potential. By combining historical range analysis with real-time market positioning, it provides a balanced framework for anticipating price behavior within a probabilistic structure.
SR Indicator//@version=5
indicator("TenUp Bots S R (fixed)", overlay=true)
a = input.int(title="Sensitivity", defval=10, minval=1, maxval=9999)
d = input.int(title="Transparency", defval=85, minval=0, maxval=100)
colR = color.new(color.red, d)
colS = color.new(color.blue, d)
// Use ta.highest(source, length) and ta.lowest(source, length)
plot(ta.highest(high, a * 1), title='Resistance 1', color=colR, linewidth=2, style=plot.style_line, trackprice=true)
plot(ta.lowest(low, a * 1), title='Support 1', color=colS, linewidth=2, style=plot.style_line, trackprice=true)
plot(ta.highest(high, a * 2), title='Resistance 2', color=colR, linewidth=2, style=plot.style_line, trackprice=true)
plot(ta.lowest(low, a * 2), title='Support 2', color=colS, linewidth=2, style=plot.style_line, trackprice=true)
plot(ta.highest(high, a * 3), title='Resistance 3', color=colR, linewidth=2, style=plot.style_line, trackprice=true)
plot(ta.lowest(low, a * 3), title='Support 3', color=colS, linewidth=2, style=plot.style_line, trackprice=true)
// ... repeat for all multipliers you had ...
// (copy the pattern above for 4,5,6,...,1500)
VPOC Giornaliero Cumulativo (fix)Title: VPOC – Daily Cumulative Point of Control
Description:
This indicator plots the Volume Point of Control (VPOC) for the current day and updates it on every bar.
The price range is taken from the start of the trading day (based on your chart’s exchange time).
The range is divided into a fixed number of price bins (default: 24).
At each new bar, the script adds that bar’s volume to the bin where the close price falls.
The bin with the highest cumulative volume is marked as the current VPOC and plotted as a continuous red line.
📌 Use cases:
Monitor where the majority of today’s trading volume is concentrated.
Track how the VPOC shifts during the session to spot changes in market control.
Combine with your intraday strategy to confirm or reject trade ideas around high-volume prices.
⚠ Notes:
VPOC resets at the start of each day.
When the day’s high/low range expands, the bin mid-prices are updated, but existing volume stays in its original bin (no full re-binning).
Works on any intraday timeframe; choose bin count to control price resolution.
Advanced Market Predictor + Universal Stop-Hunt [Dow Presets]Dow presets for the advanced market predator for stop hunts
Base candle boxTitle
Session Candle Box (Customizable) — Pick Any Candle, Any Timeframe, Custom Length
Summary
Draw a fully customizable box from the exact high/low of a specific candle you choose (e.g., the 09:30 5-minute open) and project it for a user-defined duration measured either in source-timeframe candles or by time. The tool is multi-timeframe aware, time zone safe, session-aware, and designed to avoid repainting.
What it does
Targets a specific candle and builds a box using that candle’s high as the top and its low as the bottom.
Lets you select which timeframe the “source candle” belongs to (e.g., define the 09:30 candle on a 5m source while viewing a different chart timeframe).
Offers two ways to pick the candle: by exact session time (HH:MM:SS) or by index-from-session-open (0 = first bar of the session).
Extends the box to the right for a duration defined either by a number of source-timeframe candles (“Candles” mode) or by a time span (“Time” mode).
Keeps drawing stable and non-repainting by anchoring to the confirmed source candle’s timestamp and using time-based coordinates (so no 500-bars-into-the-future errors).
Provides extensive style controls (fill, border, midline, label) and session reset behavior (new box each session/day if desired).
Typical use cases
Opening Range tools (e.g., the 09:30 5-minute candle on equities).
Session kick-off levels for FX/indices (e.g., London or NY open bar on a chosen TF).
“Key event” candles (e.g., first bar after a scheduled release) with a controlled right projection measured in source candles.
Key features
Candle source selection: Choose the timeframe on which the defining candle lives (e.g., 5m, 15m, etc.).
Precise candle targeting: Match by exact session time (HH:MM:SS) or by bar index from session open.
Length modes:
Candles: End after N candles on the source timeframe (robust across mismatched chart TFs).
Time: End after a set duration (e.g., 60 minutes, 240 minutes).
Session-aware: Optionally reset each session/day and lock to only the first qualifying candle in that session.
Time zone safe: Uses the symbol’s exchange time zone by default, with an option to override to any valid IANA/UTC string.
Non-repainting logic: The selected candle is locked on confirmation; the box updates only its right edge according to your length mode and extend setting.
Visual customization:
Fill and border color, width, and style (solid/dashed/dotted).
Optional midline at the box midpoint with independent style.
Optional label placed at the box start.
Extend left and/or keep right edge live.
Immortal Strategy - Simplified Buy/Sell Signals//@version=5
indicator("TMC Strategy - Simplified Buy/Sell Signals", overlay=true)
// Input parameters
emaLength = input.int(20, title="EMA Length")
rsiLength = input.int(10, title="RSI Length")
macdFast = input.int(12, title="MACD Fast Length")
macdSlow = input.int(26, title="MACD Slow Length")
macdSignal = input.int(9, title="MACD Signal Length")
// Calculate indicators
ema = ta.ema(close, emaLength)
rsi = ta.rsi(close, rsiLength)
= ta.macd(close, macdFast, macdSlow, macdSignal)
// Trend condition
uptrend = close > ema
downtrend = close < ema
// Momentum condition
rsiBullish = rsi > 50
rsiBearish = rsi < 50
// MACD condition
macdBullish = ta.crossover(macdLine, signalLine)
macdBearish = ta.crossunder(macdLine, signalLine)
// Buy and Sell Signals
buySignal = uptrend and rsiBullish and macdBullish
sellSignal = downtrend and rsiBearish and macdBearish
// Plot Buy and Sell Signals
plotshape(series=buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY", size=size.small)
plotshape(series=sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL", size=size.small)
// Optional: Plot EMA for visual reference
plot(ema, title="EMA", color=color.blue, linewidth=2)
🤖 Advanced Market Predictor ML (FRD/FGD/3D) + News Sentimentshowcases stop hunts and market trends within any session
🤖 Advanced Market Predictor ML (FRD/FGD/3D) + News Sentimentshowcases market trends and stop hunts within the market
🤖 Advanced Market Predictor ML (FRD/FGD/3D) + News Sentimentshowcases market segments, stop hunts and trends in the market
🤖 Advanced Market Predictor ML (FRD/FGD/3D) + News Sentimentdetects stop hunts and detects volumes within the market
OctaScalp Precision Pro [By TraderMan]What is OctaScalp Precision Pro ? 🚀
OctaScalp Precision is a powerful scalping indicator designed for fast, short-term trades. It combines eight technical indicators to generate 💪 high-accuracy buy 📗 and sell 📕 signals. Optimized for scalpers, this tool targets small price movements in low timeframes (1M, 5M). With visual lines 📈, labels 🎯, and Telegram alerts 📬, it simplifies quick decision-making, enhances risk management, and tracks trade performance.
What Does It Do? 🎯
Fast Signals: Produces reliable buy/sell signals using a consensus of eight indicators.
Risk Management: Offers automated Take Profit (TP) 🟢 and Stop Loss (SL) 🔴 levels with a 2:1 reward/risk ratio.
Trend Confirmation: Validates short-term trends with a 30-period EMA zone.
Performance Tracking: Records trade success rates (%) and the last 5 trades 📊.
User-Friendly: Displays market strength, signal type, and trade details in a top-right table.
Alerts: Sends Telegram-compatible notifications for new positions and trade results 📲.
How Does It Work? 🛠️
OctaScalp Precision integrates eight technical indicators (RSI, MACD, Stochastic, Momentum, 200-period EMA, Supertrend, CCI, OBV) for robust analysis. Each indicator contributes 0 or 1 point to a bullish 📈 or bearish 📉 score (max 8 points). Signals are generated as follows:
Buy Signal 📗: Bullish score ≥6 and higher than bearish score.
Sell Signal 📕: Bearish score ≥6 and higher than bullish score.
EMA Zone 📏: A zone (default 0.1%) around a 30-period EMA confirms trends. Price staying above or below the zone for 4 bars validates the direction:
Up Direction: Price above zone, color green 🟢.
Down Direction: Price below zone, color red 🔴.
Neutral: Price within zone, color gray ⚪.
Entry/Exit: Entries are triggered on new signals, with TP (2% profit) and SL (1% risk) auto-calculated.
Table & Alerts: Displays market strength (% bull/bear), signal type, entry/TP/SL, and success rate in a table. Telegram alerts provide instant notifications.
How to Use It? 📚
Setup 🖥️:
Add the indicator to TradingView and use default settings or customize (EMA length, zone width, etc.).
Best for low timeframes (1M, 5M).
Signal Monitoring 🔍:
Check the table: Bull Strength 📗 and Bear Strength 📕 percentages indicate signal reliability.
Confirm Buy (📗 BUY) or Sell (📕 SELL) signals when trendSignal is 1 or -1.
Entering a Position 🎯:
Buy: trendSignal = 1, bullish score ≥6, and higher than bearish score, enter at the entry price.
Sell: trendSignal = -1, bearish score ≥6, and higher than bullish score, enter at the entry price.
TP and SL: Follow the green (TP) 🟢 and red (SL) 🔴 lines on the chart.
Exiting 🏁:
If price hits TP, trade is marked ✅ successful; if SL, marked ❌ failed.
Results are shown in the “Last 5 Trades” 📜 section of the table.
Setting Alerts 📬:
Enable alerts in TradingView. Receive Telegram notifications for new positions and trade outcomes.
Position Entry Strategy 💡
Entry Conditions:
For Buy: Bullish score ≥6, trendSignal = 1, price above EMA zone 🟢.
For Sell: Bearish score ≥6, trendSignal = -1, price below EMA zone 🔴.
Check bull/bear strength in the table (70%+ is ideal for strong signals).
Additional Confirmation:
Use on high-volume assets (e.g., BTC/USD, EUR/USD).
Validate signals with support/resistance levels.
Be cautious in ranging markets; false signals may increase.
Risk Management:
Stick to the 2:1 reward/risk ratio (TP 2%, SL 1%).
Limit position size to 1-2% of your account.
Tips and Recommendations 🌟
Best Markets: Ideal for volatile markets (crypto, forex) and low timeframes (1M, 5M).
Settings: Adjust EMA length (default 30) or zone width (0.1%) based on the market.
Backtesting: Test on historical data to evaluate success rate 📊.
Discipline: Follow signals strictly and avoid emotional decisions.
OctaScalp Precision makes scalping fast, precise, and reliable! 🚀
STOCH MTF【15M/1H/4H】 EMOJI And Chart TableStochastic Oscillator (MT4/MT5 Function) Numerical Value with Chart Table , Emoji Overlay with Chart OverLay , You Can Find Best way to Trade with New Trend Line Start , i Suggest using with this indicator 【STOCH RSI AND RSI BUY/SELL Signals with MACD】
=================================================
Find Signal with 4H and 1H and looking for Entry Point In 5 Min / 15 Min。
Before Trend Start Tell you to Notify
AI-Powered ScalpMaster Pro [By TraderMan]🧠 AI-Powered ScalpMaster Pro How It Works
📊 What Is the Indicator and What Does It Do?
🧠 AI-Powered ScalpMaster Pro is a powerful technical analysis tool designed for scalping (short-term, fast-paced trading) in financial markets such as forex, crypto, or stocks. It combines multiple technical indicators (RSI, MACD, Stochastic, Momentum, EMA, SuperTrend, CCI, and OBV) to identify market trends and generate AI-driven buy (🟢) or sell (🔴) signals. The goal is to help traders seize profitable scalping opportunities with quick and precise decisions. 🚀
Key Features:
🧠 AI-Driven Logic: Analyzes signals from multiple indicators to produce reliable trend signals.
📈 Signal Strength: Displays buy (bull) and sell (bear) signal strength as percentages.
✅ Success Rate: Tracks the performance of the last 5 trades and calculates the success rate.
🎯 Entry, TP, and SL Levels: Automatically sets entry points, take profit (TP), and stop loss (SL) levels.
📏 EMA Zone: Analyzes price movement around the EMA 200 to confirm trend direction.
⚙️ How Does It Work?
The indicator uses a scoring system by combining the following technical indicators:
RSI (14): Evaluates whether the price is in overbought or oversold zones.
MACD (12, 26, 9): Analyzes trend direction and momentum.
Stochastic (%K): Measures the speed of price movement.
Momentum: Checks the price change over the last 10 bars.
EMA 200: Determines the long-term trend direction.
SuperTrend: Tracks trends based on volatility.
CCI (20): Measures price deviation from its normal range.
OBV ROC: Analyzes volume changes.
Each indicator generates a buy (bull) or sell (bear) signal. If 6 or more indicators align in the same direction (e.g., bullScore >= 6 for buy), the indicator produces a strong trend signal:
📈 Strong Buy Signal: bullScore >= 6 and bullScore > bearScore.
📉 Strong Sell Signal: bearScore >= 6 and bearScore > bullScore.
🔸 Neutral: No dominant direction.
Additionally, the EMA Zone feature confirms the trend based on the price’s position relative to a zone around the EMA 200:
Price above the zone and sufficiently distant → Uptrend (UP). 🟢
Price below the zone and sufficiently distant → Downtrend (DOWN). 🔴
Price within the zone → Neutral. 🔸
🖥️ Display on the Chart
Table: A table in the top-right corner shows the status of all indicators (✅ Buy / ❌ Sell), signal strength (as %), success rate, and results of the last 5 trades.
Lines and Labels:
🎯 Entry Level: A gray line at the price level when a new signal is generated.
🟢 TP (Take Profit): A green line showing the take-profit level.
🔴 SL (Stop Loss): A red line showing the stop-loss level.
EMA Zone: The EMA 200 and its surrounding colored zone visualize the trend direction (green: uptrend, red: downtrend, gray: neutral).
📝 How to Use It?
Platform Setup:
Add the indicator to the TradingView platform.
Customize settings as needed (e.g., EMA length, risk/reward ratio).
Monitoring Signals:
Check the table: Look for 📈 STRONG BUY or 📉 STRONG SELL signals to prepare for a trade.
AI Text: Trust signals more when it says "🧠 FULL CONFIDENCE" (success rate ≥ 50%). Be cautious if it says "⚠️ LOW CONFIDENCE."
Entering a Position:
🟢 Buy Signal:
Table shows "📈 STRONG BUY" and bullScore >= 6.
Price is above the EMA Zone (green zone).
Entry: Current price (🎯 entry line).
TP: 2% above the entry price (🟢 TP line).
SL: 1% below the entry price (🔴 SL line).
🔴 Sell Signal:
Table shows "📉 STRONG SELL" and bearScore >= 6.
Price is below the EMA Zone (red zone).
Entry: Current price (🎯 entry line).
TP: 2% below the entry price (🟢 TP line).
SL: 1% above the entry price (🔴 SL line).
Position Management:
If the price hits TP, the trade closes profitably (✅ Successful).
If the price hits SL, the trade closes with a loss (❌ Failed).
Results are updated in the "Last 5 Trades" section of the table.
Risk Management:
Default risk/reward ratio is 1:2 (1% risk, 2% reward).
Always adjust position size based on your capital.
Consider smaller lot sizes for "⚠️ LOW CONFIDENCE" signals.
💡 Tips
Timeframe: Use 1-minute, 5-minute, or 15-minute charts for scalping.
Market Selection: Works best in volatile markets (e.g., BTC/USD, EUR/USD).
Confirmation: Ensure the EMA Zone trend aligns with the signal.
Discipline: Stick to TP and SL levels, avoid emotional decisions.
⚠️ Warnings
No indicator is 100% accurate. Always use additional analysis (e.g., support/resistance).
Be cautious during high-volatility periods (e.g., news events).
The success rate is based on past performance and does not guarantee future results.
Opening Range BreakoutThis indicator is designed for Opening Range Breakout (ORB) traders who want automatic calculation of breakout levels and multiple price targets.
It is optimised for NSE intraday trading, capturing the first 15-minute range from 09:15 to 09:30 and plotting key breakout targets for both long and short trades.
✨ Features:
Automatic daily reset — fresh levels are calculated every trading day.
Opening Range High & Low plotted immediately after 09:30.
Two profit targets for both Buy & Sell breakouts based on the opening range size:
T1 = 100% of range added/subtracted from OR high/low.
T2 = 200% of range added/subtracted from OR high/low.
Clear breakout signals (BUY / SELL labels) when price crosses the OR High or Low.
Custom alerts for both buy and sell triggers.
Designed to work on any intraday timeframe (1min, 3min, 5min, etc.).
📊 How it works:
From 09:15 to 09:30, the script records the highest and lowest prices.
At 09:30, the range is locked in and breakout targets are calculated automatically.
Buy and Sell signals are generated when price breaks above the OR High or below the OR Low.
Targets and range lines automatically reset for the next day.
⚠️ Notes:
This script is tuned for NSE market timings but can be adapted for other markets by changing the session input.
Works best on intraday charts for active traders.
This is not financial advice — always backtest before trading live.
MTrade S/R How the Indicator Works
The indicator operates by filtering candlesticks and calculating the average positions of real buyers and sellers. These averages are then plotted on the chart.
🔴 If the price is below the averages and sellers are dominant, the plotted averages are treated as zones and highlighted in red.
🟢 If the price is above the averages and buyers show strong momentum, the averages turn green.
🟡 Yellow zones indicate areas where price has “flipped” the zone without strong momentum, which can be associated with liquidity levels.
(Note: These zones often occur when the price reacts to an area and then reverses, suggesting potential trapped buyers or sellers.)
When these averages are not retested by price, they are extended to the right, acting as dynamic support and resistance zones.
If the averages are later retested by price, they are automatically removed from the chart.
Momentum detection is assisted by the DMI indicator.
💡 Tip: From the indicator settings, you can enable “alıcılar baskın” and “satıcılar baskın” options to visually display the filtered buyer and seller candlesticks.
xmtr's session highs/lowsMarks Asia & London session highs/lows with precision + PDH/PDL for daily context. Fully customizable & perfect for all traders.
Institutional level Indicator V5Smart money concept indicator with added VWAP for better understanding for fair price with relation to movement of price.
Pro Maker Prev Month Wick High/LowThis indicator plots the exact Previous Month’s Wick High & Wick Low on the chart.
Levels are fixed across all timeframes (M1 to M).
High/Low lines start exactly from the first bar of the previous month and extend to the right.
Perfect for identifying important swing points and supply/demand zones.
Features:
Auto-updates at the start of a new month.
Works on any symbol & any timeframe.
Clean dotted-line visuals with color-coded High (Red) & Low (Green).
Use case:
Quickly see where the previous month’s extreme levels were.
Combine with price action or breakout strategies for higher accuracy.
Scalp By Rus 7.1//@version=5
indicator("EMA Crossover Signal (3m) + Support/Resistance", overlay=true)
// Таймфрейм для анализа
tf = "3"
// EMA и MA
emaFast = request.security(syminfo.tickerid, tf, ta.ema(close, 12))
emaSlow = request.security(syminfo.tickerid, tf, ta.ema(close, 26))
ma55 = request.security(syminfo.tickerid, tf, ta.sma(close, 55))
// Сигналы
buySignal = ta.crossover(emaFast, emaSlow) and close > ma55
sellSignal = ta.crossunder(emaFast, emaSlow) and close < ma55
// Отображение сигналов
plotshape(buySignal, title="BUY Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(sellSignal, title="SELL Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// Алерты
alertcondition(buySignal, title="BUY Alert", message="BUY: EMA12 crossed EMA26 up on 3m, price > MA55")
alertcondition(sellSignal, title="SELL Alert", message="SELL: EMA12 crossed EMA26 down on 3m, price < MA55")
// === Уровни поддержки и сопротивления ===
// Простая логика: ближайшие локальные минимумы/максимумы
pivotLen = 10
supportLevel = ta.valuewhen(ta.pivotlow(low, pivotLen, pivotLen), low , 0)
resistanceLevel = ta.valuewhen(ta.pivothigh(high, pivotLen, pivotLen), high , 0)
// Отображение линий
plot(supportLevel, title="Support Level", color=color.new(color.green, 0), style=plot.style_linebr, linewidth=1, trackprice=true)
plot(resistanceLevel, title="Resistance Level", color=color.new(color.red, 0), style=plot.style_linebr, linewidth=1, trackprice=true)
// Полупрозрачный фон
bgcolor(close < resistanceLevel and close > supportLevel ? na : color.new(color.gray, 90))