EMA21 Cross with 3-Bar Confirmation//@version=5
indicator("EMA21 Cross with 3-Bar Confirmation", overlay=true)
// Calculate 21-period EMA
ema21 = ta.ema(close, 21)
plot(ema21, "EMA21", color=color.blue, linewidth=2)
// Buy Conditions
crossover = ta.crossover(close, ema21)
threeBarsAfterCross = crossover
// Conditions for the 3 bars after crossover:
// 1. At least one red candle (close < open)
// 2. No candle closes below EMA21
// 3. No candle crosses below EMA21
hasRedCandle = (close < open ) or (close < open ) or (close < open)
allAboveEMA = (close > ema21 ) and (close > ema21 ) and (close > ema21)
noCrossDown = not (ta.crossunder(close , ema21 ) or ta.crossunder(close , ema21 ) or ta.crossunder(close, ema21))
buySignal = threeBarsAfterCross and hasRedCandle and allAboveEMA and noCrossDown
// Sell Conditions (opposite logic)
crossunder = ta.crossunder(close, ema21)
threeBarsAfterUnder = crossunder
// Conditions for the 3 bars after crossunder:
// 1. At least one green candle (close > open)
// 2. No candle closes above EMA21
// 3. No candle crosses above EMA21
hasGreenCandle = (close > open ) or (close > open ) or (close > open)
allBelowEMA = (close < ema21 ) and (close < ema21 ) and (close < ema21)
noCrossUp = not (ta.crossover(close , ema21 ) or ta.crossover(close , ema21 ) or ta.crossover(close, ema21))
sellSignal = threeBarsAfterUnder and hasGreenCandle and allBelowEMA and noCrossUp
// Plot Signals
plotshape(buySignal, title="Buy Signal", text="BUY", location=location.belowbar, color=color.green, size=size.small)
plotshape(sellSignal, title="Sell Signal", text="SELL", location=location.abovebar, color=color.red, size=size.small)
// Optional: Plot arrows on chart
plotarrow(buySignal ? 1 : na, title="Buy Arrow", colorup=color.green, maxheight=60)
plotarrow(sellSignal ? -1 : na, title="Sell Arrow", colordown=color.red, maxheight=60)
Indicators and strategies
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! 🚀
PFA_Earnings Surprise %📌 Indicator Name: Earnings Surprise %
📖 Description:
The Earnings Surprise % indicator calculates and plots the difference between reported EPS (Earnings Per Share) and analyst consensus estimates, expressed as a percentage of the estimate. It helps traders and investors quickly gauge how much a company’s earnings have deviated from expectations on each earnings release date.
Earnings Surprise % — See how earnings stack up against expectations!
This simple yet powerful tool shows the percentage difference between reported EPS and analyst estimates directly on your chart. Positive surprises are plotted in green, negative surprises in red, so you can instantly spot earnings beats and misses. Great for combining with gap analysis, volume spikes, or technical setups around earnings dates. Works best on daily charts of stocks and ETFs with regular earnings reports.
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
Bar Counts ProThis indicator counts and labels price bars within user-defined trading sessions.
It supports customizable sessions (Asia, Europe, US, or custom) with independent time zones, automatic session-based text coloring, and optional background shading for each market.
Opening and closing markers are plotted for each major session, and bar counts are displayed at a user-defined interval.
Useful for intraday traders tracking bar progress within specific time windows.
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.
Financial Change % Table - ToluFinancial Change % Table which includes revenue , operating profit and earning per share . compares the financial data with previous quarter QoQ and previous year YoY . and shows the change in %.
Conferma Rotture by G.I.N.e Trading (Auto/Manual Profile)This indicator is designed to detect Range Expansion Bars (REB) and validate them through multiple filters, including trend alignment, fractal breakouts, volume strength, and VSA logic.
It can be used as a standalone breakout detector or as a confirmation tool for existing strategies.
Main Components
Range Expansion Detection (REB)
A bar is considered a REB when its range (High − Low) exceeds a dynamic threshold based on either:
Average range over N bars, or
ATR over N bars (if enabled).
Thresholds are adjustable and can adapt automatically to the instrument (e.g., DAX, Bund).
Trend Filter — HMA Slope
Calculates the slope of a Hull Moving Average to determine trend direction.
REB signals are only valid when aligned with the current trend (optional filter).
Fractal Breakout Confirmation
Uses Bill Williams fractals to identify the most recent swing high/low.
A REB is confirmed only if it breaks the latest fractal in the signal’s direction (optional).
Volume Filters
Simple Volume Check: Volume must be greater than the moving average × multiplier.
VSA Filter: Requires wide spread + high volume, confirming strong participation.
Armed Trigger Mode (Two-step Confirmation)
Step 1: REB detected → state is “armed” for a set number of bars.
Step 2: Position triggers only if price breaks the REB bar’s high/low within the validity window.
Visual Elements
Green/Red Columns — Confirmed REB signals (Long / Short).
White Line — REB intensity (range / base).
Yellow ±0.5 Line — “Armed” state before trigger activation.
Aqua Circles — VSA confirmation (wide spread + high volume).
Teal Line — Last up fractal level.
Orange Line — Last down fractal level.
Usage Example
Detect breakouts with strong momentum and volume.
Combine with fractal breakout for additional confirmation.
Use in “armed” mode to avoid false entries and require a follow-up trigger.
Especially suited for futures like DAX and Bund, but parameters can be adapted to other assets.
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.
POC - Dudix(6h auto)The range of constant live volume from the last 6 hours allows us to see whose side the buyers or sellers are on, we try to trade in the direction when the POC is behind us
FVG Zones detector by ghk//@version=5
indicator("FVG Zones ", overlay=true, max_boxes_count=500, max_labels_count=500)
// --- FVG conditions (3-candle rule)
bullishFVG = low > high // gap below => bullish FVG (top = low , bottom = high )
bearishFVG = high < low // gap above => bearish FVG (top = low , bottom = high )
// --- Arrays to store created objects
var box bullBoxes = array.new_box()
var box bearBoxes = array.new_box()
var label bullLabels = array.new_label()
var label bearLabels = array.new_label()
// --- Create bullish FVG (box top must be > bottom)
if bullishFVG
bBox = box.new(left=bar_index , top=low , right=bar_index, bottom=high , border_color=color.green, bgcolor=color.new(color.green, 85))
array.push(bullBoxes, bBox)
bLabel = label.new(x=bar_index , y=low , text="UNFILLED", style=label.style_label_up, color=color.green, textcolor=color.white, size=size.tiny)
array.push(bullLabels, bLabel)
// --- Create bearish FVG (box top must be > bottom)
if bearishFVG
sBox = box.new(left=bar_index , top=low , right=bar_index, bottom=high , border_color=color.red, bgcolor=color.new(color.red, 85))
array.push(bearBoxes, sBox)
sLabel = label.new(x=bar_index , y=high , text="UNFILLED", style=label.style_label_down, color=color.red, textcolor=color.white, size=size.tiny)
array.push(bearLabels, sLabel)
// --- Extend bullish boxes to the right and remove when filled
if array.size(bullBoxes) > 0
for i = 0 to array.size(bullBoxes) - 1
bx = array.get(bullBoxes, i)
if not na(bx)
box.set_right(bx, bar_index)
if low <= box.get_bottom(bx) // filled when price trades into/below bottom
box.delete(bx)
array.set(bullBoxes, i, na)
lb = array.get(bullLabels, i)
if not na(lb)
label.delete(lb)
array.set(bullLabels, i, na)
// --- Extend bearish boxes to the right and remove when filled
if array.size(bearBoxes) > 0
for i = 0 to array.size(bearBoxes) - 1
bx = array.get(bearBoxes, i)
if not na(bx)
box.set_right(bx, bar_index)
if high >= box.get_top(bx) // filled when price trades into/above top
box.delete(bx)
array.set(bearBoxes, i, na)
lb = array.get(bearLabels, i)
if not na(lb)
label.delete(lb)
array.set(bearLabels, i, na)
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.
Bullish Bearish volatility analysisThis script is used to analyse Bullish/Bearish volatility direction based on volumes and moving average.
xmtr's session highs/lowsMarks Asia & London session highs/lows with precision + PDH/PDL for daily context. Fully customizable & perfect for all traders.
MACD (Panel) with Histogram-Confirmed Signals - Middle LineMacd indicator with buy and sell signals to help spot the macd signal crossover and histogram
Institutional level Indicator V5Smart money concept indicator with added VWAP for better understanding for fair price with relation to movement of price.
Smart Zone Detector by Mihkel00Advanced support/resistance indicator with dynamic zones and volume confirmation.
Smart Zone Detector automatically identifies key support and resistance zones using pivot points with following features:
Dynamic ATR-based zones that adapt to market volatility
Volume confirmation to filter out weak levels
Touch counting with strength classification (3x, 8x, 13x+ touches)
What You Get
Active Zones: Current qualified S/R levels (3+ touches)
Strong Zones: High-confidence areas with multiple confirmations
Color-coded zone strength (Green=Strong, Orange=Medium, Red=Weak)
Touch count labels showing zone significance
How to Use
Zone Identification: Look for zones with 3+ touches - these are qualified levels
Strength Assessment: Higher touch counts (8x, 13x+) = stronger zones
Volume Confirmation: volume-backed zones (more reliable)
Zone Interactions: Green/red X-crosses show real-time support/resistance tests
Dynamic Sizing: Zones automatically adjust width based on ATR
Settings
Lookback: How far back to scan for pivots (default: 100 bars)
Min Touches: Qualification threshold (default: 3 touches)
Volume Confirmation: Enable for higher-quality zones
Zone Tolerance: Sensitivity for merging nearby levels
AVWAP RolloverAVWAP Rollover: Precision Market Structure with Anchored VWAP
The AVWAP Rollover anchors VWAP to key historical rollover points — Yearly, Quarterly, Monthly, Weekly — providing a clear, top-down view of market auctions.
Drawing on principles from Auction Market Theory:
VWAP represents the fair price benchmark
Standard deviation bands act as dynamic proxies for Value Area High (VAH) and Value Area Low (VAL) — zones of overvaluation and undervaluation
These levels give you objective, unbiased references to:
Identify balanced versus trending markets at a glance
Spot early shifts in auction dynamics
Adapt seamlessly to any timeframe without subjective bias
Cut through market noise with volume-weighted insights that keep you aligned with value.
DM me for access details.
Cheers.
Multi-Indicator Early Trend SignalMulti-Indicator Early Trend Signal — Your Head Start in the Market!
Tired of reacting late to big moves? This tool combines the power of RSI Divergence, MACD Momentum, EMA Trend Filters, and Automatic Fibonacci Levels to detect trend shifts before they explode.
What it does:
Early Entry Signals: Pinpoints potential reversals before the crowd catches on.
Multi-Confirmation System: Only triggers when multiple indicators agree — filtering out noise.
Automatic Fibonacci: Instantly maps out key retracement and extension levels for targets and stops.
Trend Strength Meter: Quickly see if the move has momentum or is likely to fade.
Who it’s for:
Perfect for traders who want clean, reliable, and early market insights — whether you scalp, swing, or position trade.
Pro Tip: Combine signals with volume analysis or higher-timeframe confirmation for maximum accuracy.
Stop guessing. Start anticipating.
Add the Multi-Indicator Early Trend Signal to your chart and get ahead of the move!
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.
Cycle Phase & ETA Tracker [Robust v4]
Cycle Phase & ETA Tracker
Description
The Cycle Phase & ETA Tracker is a powerful tool for analyzing market cycles and predicting the completion of the current cycle (Estimated Time of Arrival, or ETA). It visualizes the cycle phase (0–100%) using a smoothed signal and displays the forecasted completion date with an optional confidence band based on cycle length variability. Ideal for traders looking to time their trades based on cyclical patterns, this indicator offers flexible settings for robust cycle analysis.
Key Features
Cycle Phase Visualization: Tracks the current cycle phase (0–100%) with color-coded zones: green (0–33%), blue (33–66%), orange (66–100%).
ETA Forecast: Shows a vertical line and label indicating the estimated date of cycle completion.
Confidence Band (±σ): Displays a band around the ETA to reflect uncertainty, calculated using the standard deviation of cycle lengths.
Multiple Averaging Methods: Choose from three methods to calculate average cycle length:
Median (Robust): Uses the median for resilience against outliers.
Weighted Mean: Prioritizes recent cycles with linear or quadratic weights.
Simple Mean: Applies equal weights to all cycles.
Adaptive Cycle Length: Automatically adjusts cycle length based on the timeframe or allows a fixed length.
Debug Histogram: Optionally displays the smoothed signal for diagnostic purposes.
Setup and Usage
Add the Indicator:
Search for "Cycle Phase & ETA Tracker " in TradingView’s indicator library and apply it to your chart.
Configure Parameters:
Core Settings:
Track Last N Cycles: Sets the number of recent cycles used to calculate the average cycle length (default: 20). Higher values provide stability but may lag market shifts.
Source: Selects the data source for analysis (e.g., close, open, high; default: close price).
Use Adaptive Cycle Length?: Enables automatic cycle length adjustment based on timeframe (e.g., shorter for intraday, longer for daily) or uses a fixed length if disabled.
Fixed Cycle Length: Defines the cycle length in bars when adaptive mode is off (default: 14). Smaller values increase sensitivity to short-term cycles.
Show Debug Histogram: Enables a histogram of the smoothed signal for debugging signal behavior.
Cycle Length Estimation:
Average Mode: Selects the method for calculating average cycle length: "Median (Robust)", "Weighted Mean", or "Simple Mean".
Weights (for Weighted Mean): For "Weighted Mean", chooses "linear" (moderate emphasis on recent cycles) or "quadratic" (strong emphasis on recent cycles).
ETA Visualization:
Show ETA Line & Label: Toggles the display of the ETA line and date label.
Show ETA Confidence Band (±σ): Toggles the confidence band around the ETA, showing the uncertainty range.
Band Transparency: Adjusts the transparency of the confidence band (0 = fully transparent, 100 = fully opaque; default: 85).
ETA Color: Sets the color for the ETA line, label, and confidence band (default: orange).
Interpretation:
The cycle phase (0–100%) indicates progress: green for the start, blue for the middle, and orange for the end of the cycle.
The ETA line and label show the predicted cycle completion date.
The confidence band reflects the uncertainty range (±1 standard deviation) of the ETA.
If a warning "Insufficient cycles for ETA" appears, wait for the indicator to collect at least 3 cycles.
Limitations
Requires at least 3 cycles for reliable ETA and confidence band calculations.
On low timeframes or low-volatility markets, zero-crossings may be infrequent, delaying ETA updates.
Accuracy depends on proper cycle length settings (adaptive or fixed).
Notes
Test the indicator across different assets and timeframes to optimize settings.
Use the debug histogram to troubleshoot if the ETA appears inaccurate.
For feedback or suggestions, contact the author via TradingView.
Cycle Phase & ETA Tracker
Описание
Индикатор Cycle Phase & ETA Tracker предназначен для анализа рыночных циклов и прогнозирования времени завершения текущего цикла (ETA — Estimated Time of Arrival). Он отслеживает фазы цикла (0–100%) на основе сглаженного сигнала и отображает предполагаемую дату завершения цикла с опциональной доверительной полосой, основанной на стандартном отклонении длин циклов. Индикатор идеально подходит для трейдеров, которые хотят выявлять циклические закономерности и планировать свои действия на основе прогнозируемого времени.
Ключевые особенности
Фазы цикла: Визуализирует текущую фазу цикла (0–100%) с цветовой кодировкой: зеленый (0–33%), синий (33–66%), оранжевый (66–100%).
Прогноз ETA: Показывает вертикальную линию и метку с предполагаемой датой завершения цикла.
Доверительная полоса (±σ): Отображает зону неопределенности вокруг ETA, основанную на стандартном отклонении длин циклов.
Гибкие методы усреднения: Поддерживает три метода расчета средней длины цикла:
Median (Robust): Медиана, устойчивая к выбросам.
Weighted Mean: Взвешенное среднее, где недавние циклы имеют больший вес (линейный или квадратичный).
Simple Mean: Простое среднее с равными весами.
Адаптивная длина цикла: Автоматически подстраивает длину цикла под таймфрейм или позволяет задать фиксированную длину.
Отладочная гистограмма: Опционально отображает сглаженный сигнал для анализа.
Настройка и использование
Добавьте индикатор:
Найдите "Cycle Phase & ETA Tracker " в библиотеке индикаторов TradingView и добавьте его на график.
Настройте параметры:
Core Settings:
Track Last N Cycles: Количество последних циклов для расчета средней длины (по умолчанию 20). Большие значения дают более стабильные результаты, но могут запаздывать.
Source: Источник данных (по умолчанию цена закрытия).
Use Adaptive Cycle Length?: Включите для автоматической настройки длины цикла по таймфрейму или отключите для использования фиксированной длины.
Fixed Cycle Length: Длина цикла в барах, если адаптивная длина отключена (по умолчанию 14).
Show Debug Histogram: Включите для отображения сглаженного сигнала (полезно для отладки).
Cycle Length Estimation:
Average Mode: Выберите метод усреднения: "Median (Robust)", "Weighted Mean" или "Simple Mean".
Weights (for Weighted Mean): Для режима "Weighted Mean" выберите "linear" (умеренный вес для новых циклов) или "quadratic" (сильный вес для новых циклов).
ETA Visualization:
Show ETA Line & Label: Включите для отображения линии и метки ETA.
Show ETA Confidence Band (±σ): Включите для отображения доверительной полосы.
Band Transparency: Прозрачность полосы (0 — полностью прозрачная, 100 — полностью непрозрачная, по умолчанию 85).
ETA Color: Цвет для линии, метки и полосы (по умолчанию оранжевый).
Интерпретация:
Фаза цикла (0–100%) показывает прогресс текущего цикла: зеленый — начало, синий — середина, оранжевый — конец.
Линия и метка ETA указывают предполагаемую дату завершения цикла.
Доверительная полоса показывает диапазон неопределенности (±1 стандартное отклонение).
Если отображается предупреждение "Insufficient cycles for ETA", дождитесь, пока индикатор соберет минимум 3 цикла.
Ограничения
Требуется минимум 3 цикла для надежного расчета ETA и доверительной полосы.
На низких таймфреймах или рынках с низкой волатильностью пересечения нуля могут быть редкими, что замедляет обновление ETA.
Эффективность зависит от правильной настройки длины цикла (fixedL или адаптивной).
Примечания
Протестируйте индикатор на разных таймфреймах и активах, чтобы подобрать оптимальные параметры.
Используйте отладочную гистограмму для анализа сигнала, если ETA кажется неточным.
Для вопросов или предложений по улучшению свяжитесь через TradingView.
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))
5% Canary (per Thrasher) Implements Thrasher’s framework using closing prices and simple, non-optimized thresholds. The study watches for the first 5% decline from the latest 52-week closing high and classifies it:
• 5% Canary: drop occurs in ≤ 15 trading days.
• Confirmed 5% Canary: within 42 trading days of a Canary, there are two consecutive closes below the 200-DMA.
• Buy-the-Dip: the first 5% decline takes > 15 days and 50-DMA > 200-DMA (uptrend).
Includes optional 50/200-DMA plots, clutter-reduction, and alert conditions. This is a signal framework, not a standalone system—pair with your own risk management.
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.