PulseWave Strategy Markking77PulseWave Strategy (Markking77) — Description & Indicator Roadmap
PulseWave Strategy (Markking77) is a sleek, straightforward trading system that fuses three powerful market indicators — VWAP, MACD, and RSI — into one harmonious tool. Designed for traders who want clear, actionable signals, this strategy captures trend direction, momentum shifts, and market strength to help you spot optimal entry and exit points.
Step 1: VWAP — The Market Trend Compass (Color: Blue)
What it does:
The Volume Weighted Average Price (VWAP) is the average price a security has traded at throughout the day, weighted by volume. It acts as a dynamic benchmark that many institutional traders rely on.
Why it matters:
Price above the VWAP (blue line) signals bullish momentum — buyers dominate.
Price below the VWAP signals bearish momentum — sellers in control.
PulseWave use:
VWAP sets the trend foundation — we trade in the direction the price sits relative to VWAP.
Step 2: MACD — Momentum Confirmation (Colors: Orange & Blue)
What it does:
MACD tracks momentum by comparing short-term and long-term moving averages, using the MACD line and a signal line to indicate shifts.
Why it matters:
When the MACD line (orange) crosses above the Signal line (blue), it signals rising momentum — a bullish cue.
When the MACD line crosses below the signal line, it signals weakening momentum — bearish cue.
PulseWave use:
MACD confirms momentum that aligns with the VWAP trend before entering trades.
Step 3: RSI — The Strength Filter (Color: Purple)
What it does:
The Relative Strength Index (RSI) measures how fast prices are changing to indicate overbought or oversold conditions.
Why it matters:
RSI above 70 = overbought (possible reversal or pause).
RSI below 30 = oversold (potential bounce).
PulseWave use:
RSI filters out trades taken at extreme price levels, avoiding entries that are too stretched.
Color-Coded Roadmap Summary:
Step Indicator Role Buy Signal Sell Signal Color
1 VWAP Trend Direction Price > VWAP (bullish) Price < VWAP (bearish) Blue
2 MACD Momentum Confirmation MACD line crosses above Signal line MACD line crosses below Signal line Orange & Blue
3 RSI Entry Filter RSI < 70 (not overbought) RSI > 30 (not oversold) Purple
How PulseWave Strategy Works:
Buy when price sits above VWAP, MACD line crosses above the Signal line, and RSI is below 70.
Sell (exit) when price drops below VWAP, MACD line crosses below the Signal line, and RSI is above 30.
This layered approach ensures you only trade when trend, momentum, and strength align — reducing false signals and improving your edge.
Why Use PulseWave Strategy?
Clear & Simple: No guesswork — clear color-coded signals guide your decisions.
Robust: Combines trend, momentum, and strength in one system.
Versatile: Fits day trading and swing trading styles alike.
Visual: Easily interpreted signals with minimal clutter.
Swingtrading
swing_fun_advancedThis indicator is similar to my free open-source swing_fun indicator, but it contains sell signals and sell alerts too.
Design to be used on the indexes with the 4hr chart. It gives alerts whenever a long or short signal is found.
I have tested it with US100, UK100, DE40, US30, US500, J225.
Liquidity ZonesWhat It Does:
Liquidity Zones identifies key areas where institutional traders target stop orders. The indicator automatically detects significant price swings and maps the upper and lower wick zones where liquidity pools form. These zones represent high-probability areas where price is likely to return to collect stop orders before continuing its next move.
How To Use:
Identify Key Zones:
-Red zones highlight Buy Side Liquidity (resistance areas)
-Green zones highlight Sell Side Liquidity (support areas)
Trading Opportunities:
-Enter trades when price respects these zones
-Watch for zone breaks and re-tests for continuation signals
-Use alerts to notify you when price enters a zone or when new zones form
Optimization Tips:
-Adjust lookback periods based on volatility (higher for calmer markets)
-Enable auto-threshold for adaptive sensitivity to market conditions (default setting)
-Most effective on timeframes 4H and above
The indicator tracks when zones are broken and automatically removes them when price returns, providing a clean, uncluttered view of the most relevant liquidity areas on your chart.
Buy/Sell Signals(Mastersinnifty)Description
This script generates simple Buy/Sell signals based on the Relative Strength Index (RSI) crossing the midpoint level of 50. It's designed for traders who prefer clear, rule-based entries and exits derived from momentum shifts.
How It Works
Calculates RSI using the closing price and a 14-period length.
Generates a Buy signal when RSI crosses above 50, indicating potential bullish momentum.
Generates a Sell signal when RSI crosses below 50, indicating potential bearish momentum.
Plots the signals as labels directly on the price chart.
Inputs
RSI Source: Close (fixed in the script)
RSI Length: 14 (standard default)
Use Case
Useful for identifying momentum shifts and trend confirmations.
Can be combined with other technical tools like support/resistance or volume for enhanced decision-making.
Best suited for intraday or swing trading strategies that use momentum-based entry signals.
Disclaimer
This indicator is intended for educational and informational purposes only. It does not constitute financial advice. Always perform your own due diligence and consult a financial advisor before making trading decisions.
Strong GDP events Indicator XAUUSD (by Mestre dos Traders)GDP Strategy events Indicator for XAUUSD (by Mestre dos Traders 2025)
Description:
Unlock the power of economic news with the GDP Strategy Indicator for XAUUSD — a sophisticated TradingView indicator designed to integrate macroeconomic event data directly into your precious metals trading workflow.
This tool focuses on the reaction of the gold price (XAUUSD) to the critical economic release GDP Growth QoQ Advance (BRGDPQQ) and similar key reports. By combining fundamental surprise analysis with dynamic technical level plotting, it provides actionable entry, target, and stop loss levels tailored to the market's expected reaction.
What this indicator offers:
Customizable Economic Event Inputs:
Easily input your event’s Forecast, Previous, and Actual values for the GDP Growth QoQ Advance (BRGDPQQ), plus the exact time of the announcement. Adapt to the data release with precision.
Surprise Calculation & Strength Classification:
Automatically calculates the surprise (difference between actual and forecast), and classifies the event’s strength into intuitive categories like Strong Bullish or Moderate Bearish, guiding your bias.
Directional Signal Logic with Flexibility:
The indicator adjusts its buy/sell logic based on event characteristics, with an option to invert signals for special cases.
Precision Entry & Exit Levels:
Calculates exact entry price, three distinct take-profit levels, and stop loss — all expressed as customizable percentages relative to the event price. This aids in effective risk management and target scaling.
Clear Visual Markers:
Lines representing entry, targets, and stop loss extend over a configurable number of future bars, ensuring you see upcoming key levels at a glance. Corresponding labels are neatly positioned at the right edge of these lines for clean, uncluttered charts.
Event Time Highlighting:
The exact candle of the GDP Growth QoQ Advance (BRGDPQQ) release is visually marked with a vertical dashed line, making it easy to correlate price action with news timing.
Real-Time Data Table:
A compact on-chart table displays event name, forecast, actual, surprise, and strength, constantly updating as you modify inputs — all in a non-intrusive corner of your chart.
Flexible User Controls:
Configure asset filters, enable or disable time-based logic, adjust line extension length, and reset stats placeholder — tailor the tool perfectly to your style and instrument.
Why use this indicator?
Trading gold around the GDP Growth QoQ Advance (BRGDPQQ) event is challenging due to sharp, volatile moves. This indicator blends fundamental insights with technical precision, enabling traders to:
React swiftly to economic surprises.
Define clear risk/reward levels tied to event-driven volatility.
Avoid guesswork by visualizing entry and exit zones directly on the chart.
Gain confidence through transparent event strength signals.
Whether you're a day trader or swing trader focusing on gold, this tool enhances your ability to make data-driven decisions during critical news moments.
Empower your trading with GDP Strategy XAUUSD — where economics meet technical precision focused on GDP Growth QoQ Advance (BRGDPQQ).
Contacts:
TG.: @mestredostradersoficial
TG Support: @suportedomestretraders
Tiktok Channel: @Mestredostraders
Whatsapp Sales: +55 61 991371216
✅ VMA Avg ATR + Days to Targets 🎯1) The trend filter: LazyBear VMA
You implement the well‑known “LazyBear” Variable Moving Average (VMA) from price directional movement (pdm/mdm).
Internally you:
Smooth positive/negative one‑bar moves (pdmS, mdmS),
Turn them into relative strengths (pdiS, mdiS),
Measure their difference/total (iS), and
Normalize that over a rolling window to get a scaling factor vI.
The VMA itself is then an adaptive EMA:
vma := (1 - k*vI) * vma + (k*vI) * close, where k = 1/vmaLen.
When vI is larger, VMA hugs price more; when smaller, it smooths more.
Coloring:
Green when vma > vma (rising),
Red when vma < vma (falling),
White when flat.
Candles are recolored to match.
Why this matters: The VMA color is your trend regime; everything else in the script keys off changes in this color.
2) What counts as a “valid” new trend?
A new trend is valid only when the previous bar was white and the current bar turns green or red:
validTrendStart := vmaColor != color.white and vmaColor == color.white.
When that happens, you start a trend segment:
Save entry price (startPrice = close) and baseline ATR (startATR = ATR(atrLen)).
Reset “extreme” trackers: extremeHigh = high, extremeLow = low.
Timestamp the start (trendStartTime = time).
Effect: You only study / trade transitions out of a flat VMA into a slope. This helps avoid chop and reduces false starts.
3) While the trend is active
On each new bar without a color change:
If green trend: update extremeHigh = max(extremeHigh, high).
If red trend: update extremeLow = min(extremeLow, low).
This tracks the best excursion from the entry during that single trend leg.
4) When the VMA color changes (trend ends)
When vmaColor flips (green→red or red→green), you close the prior segment only if it was a valid trend (started after white). Then you:
Compute how far price traveled in ATR units from the start:
Uptrend ended: (extremeHigh - startPrice) / startATR
Downtrend ended: (startPrice - extremeLow) / startATR
Add that result to a running sum and count for the direction:
totalUp / countUp, totalDown / countDown.
Target checks for the ended trend (no look‑ahead):
T1 uses the previous average ATR move before the just‑ended trend (prevAvgUp/prevAvgDown).
Up: t1Up = startPrice + prevAvgUp * startATR
Down: t1Down = startPrice - prevAvgDown * startATR
T2 is a fixed 6× ATR move from the start (up or down).
You increment hit counters and also accumulate time‑to‑hit (ms from trendStartTime) for any target that got reached during that ended leg.
If T1 wasn’t reached, it counts as a miss.
Immediately initialize the next potential trend segment with the current bar’s startPrice/startATR/extremes and set validTrendStart according to the “white → color” rule.
Important detail: Using prevAvgUp/Down to evaluate T1 for the just‑completed trend avoids look‑ahead bias. The current trend’s performance isn’t used to set its own T1.
5) Running statistics & targets (for the current live trend)
After closing/adding to totals:
avgUp = totalUp / countUp and avgDown = totalDown / countDown are the historical average ATR move per valid trend for each direction.
Current plotted targets (only visible while a valid trend is active and in that direction):
T1 Up: startPrice + avgUp * startATR
T2 Up: startPrice + 6 * startATR
T1 Down: startPrice - avgDown * startATR
T2 Down: startPrice - 6 * startATR
The entry line is also plotted at startPrice when a valid trend is live.
If there’s no history yet (e.g., first trend), avgUp/avgDown are na, so T1 is na until at least one valid trend has closed. T2 still shows (6× ATR).
6) Win rate & time metrics
Win % (per direction):
winUp = hitUpT1 / (hitUpT1 + missUp) and similarly for down.
(This is strictly based on T1 hits vs misses; T2 hits don’t affect Win% directly.)
Average days to hit T1/T2:
The script stores milliseconds from trend start to each target hit, then reports the average in days separately for Up/Down and for T1/T2.
7) The dashboard table (bottom‑right)
It shows, side‑by‑side for Up/Down:
Avg ATR: historical average ATR move per completed valid trend.
🎯 Target 1 / Target 2: the current trend’s price levels (T1 = avgATR×ATR; T2 = 6×ATR).
✅ Win %: T1 hit rate so far.
⏱ Days to T1/T2: average days (from valid trend start) for the targets that were reached.
8) Alerts
“New Trend Detected” when a valid trend starts (white → green/red).
Target hits for the active trend:
Uptrend: separate alerts for T1 and T2 (high >= target).
Downtrend: separate alerts for T1 and T2 (low <= target).
9) Inputs & defaults
vmaLen = 17: governs how adaptive/smooth the VMA is (larger = smoother, fewer trend flips).
atrLen = 14: ATR baseline for sizing targets and normalizing moves.
10) Practical read of the plots
When you see white → green: that bar is your valid entry (trend start).
An Entry Line appears at the start price.
Target lines appear only for the active direction. T1 scales with your historical average ATR move; T2 is a fixed stretch (6× ATR).
The table updates as more trends complete, refining:
The average ATR reach (which resets your T1 sizing),
The win rate to T1, and
The average days it typically takes to hit T1/T2.
Subtle points / edge cases
No look‑ahead: T1 for a finished trend is checked against the prior average (not including the trend itself).
First trends: Until at least one valid trend completes, T1 is na (no history). T2 still shows.
Only “valid” trends are counted: Segments must start after a white bar; flips that happen color→color without a white in between don’t start a new valid trend.
Time math: Uses bar timestamps in ms, converted to days; results reflect the chart’s timeframe/market session.
TL;DR
The VMA color defines the regime; entries only trigger when a flat (white) VMA turns green/red.
Each trend’s max excursion from entry is recorded in ATR units.
T1 for current trends = (historical average ATR move) × current ATR from entry; T2 = 6× ATR.
The table shows your evolving edge (avg ATR reach, T1 win%, and days to targets), and alerts fire on new trends and target hits.
If you want, I can add optional features like: per‑ticker persistence of stats, excluding very short trends, or making T2 a user input instead of a fixed 6× ATR.
SwingTrade ADX Strategy v6This is a swing trading strategy that combines VWAP (Volume Weighted Average Price), ADX (Average Directional Index) for trend strength, and volume ratios to generate long/short entry and exit signals. It's designed for daily charts but can be adapted.
#### Key Features:
- **Entries**: Based on VWAP crossovers, rising/falling delta (price deviation from VWAP), ADX trend confirmation, and volume ratios.
- **Exits**: Dynamic exits when VWAP delta reverses after a peak.
- **Filters**: Optional toggles for VWAP signals, ADX, and volume. Backtest date range for custom periods.
- **Visuals**: VWAP line, signal shapes/labels, and an info panel showing key metrics (VWAP Delta %, ADX, Volume Ratio).
- **Alerts**: Built-in alerts for buy/sell entries and exits.
#### How to Use:
1. Apply to your chart (e.g., stocks, forex, crypto).
2. Adjust parameters in the settings (e.g., ADX threshold, volume period).
3. Enable/disable indicators as needed.
4. Backtest using the date filters and review equity curve.
**Disclaimer**: This is for educational purposes only. Past performance is not indicative of future results. Not financial advice—trade at your own risk. Backtest thoroughly and use with proper risk management.
Feedback welcome! If you find it useful, give it a like.
Intelligent Moving📘 Intelligent Moving – Adaptive Neural Trend Engine
Intelligent Moving is an invite-only, closed-source indicator that dynamically adjusts itself to evolving market conditions using a built-in neural optimizer. It combines a custom adaptive Moving Average, ATR-based deviation bands, and a fully internal virtual trade simulator to deliver smart trend signals and automatic parameter tuning — all without repainting or manual intervention.
This script is built entirely from original code and does not use any open-source components or built-in TradingView indicators.
🧠 Core Logic and Visual Structure
The indicator plots:
- A central moving average (optimized dynamically),
- Upper and lower deviation bands based on ATR × adaptive coefficients,
- Buy (aqua) and Sell (orange) arrows on reversion signals,
- Color-coded trend zones based on price vs. moving average.
All three bands change color in real time depending on the price’s position relative to the MA, clearly showing uptrends (e.g. blue) and downtrends (e.g. red).
📈 Signal Logic: Reversion from Extremes
- Buy Signal: After price closes below the lower deviation band, it then closes back above it.
- Sell Signal: After price closes above the upper deviation band, it then closes back below it.
These signals are not based on crossovers, oscillators, or lagging logic — they are pure structure-based reversion entries, designed to detect exhaustion and reversal zones.
🤖 Built-In Neural Optimizer (Perceptron Engine)
At the heart of Intelligent Moving lies a self-training engine that uses simulated (virtual) positions to test multiple configurations and pick the best one. Here’s how it works:
🔄 Virtual Trade Simulation
At regular intervals (user-defined), the script:
- Simulates virtual buy/sell positions based on its signal logic.
- Applies virtual Stop-Loss (just beyond the signal zone) and virtual Take-Profit (when price crosses back over the MA).
- Calculates simulated profit for each combination of:
- - MA periods,
- - Upper/lower ATR multipliers.
🧠 Neural Training Process
- A perceptron-like engine evaluates the simulated results.
- It selects the best-performing configuration and applies it to live plotting.
- You can choose whether optimization uses a base value or the last best result from the previous training pass.
This process runs forward-only and never overwrites history or uses future data. It's completely transparent and non-repainting.
⚙️ Customization and Parameters
Users can control:
- MA period range, step, and training type (base vs last best)
- Deviation multiplier ranges and step
- Training depth (number of bars in history)
- Training interval (how often to retrain)
- Spread simulation, alert options, and all visual settings
💡 What Makes It Unique
- ✅ Self-optimization with virtual trades and perceptron logic
- ✅ Adaptive deviation bands based on ATR (not standard deviation)
- ✅ No built-in indicators, no repaints, no curve-fitting
- ✅ Clear trend zones and reversal signals
- ✅ Optimized for live use and consistent behavior across assets
Unlike typical moving average tools, Intelligent Moving thinks, adapts, and reacts — turning a standard concept into a living, learning trend engine.
📊 Use Cases
- Trend detection with adaptive coloring
- Reversion trading from volatility extremes
- Dynamic strategy building with minimal manual input
- Alerts for automated or discretionary traders
🔒 Invite-Only Notice
This script is invite-only and closed-source.
The optimization logic, trade simulation system, and perceptron engine were developed from scratch, specifically for this indicator. No built-in functions (e.g. MA, BB, RSI) or public scripts were used or copied.
All decisions and calculations are based on current and past price only — no repainting, retrofitting, or future leakage.
⚠️ Disclaimer
This indicator is for educational and analytical use only.
It does not predict future prices or guarantee profits. Always use appropriate risk management and test thoroughly before live trading.
PRO Investing - Quant AlphaCentauri D |XLF|PRO Investing - Quant AlphaCentauri D |XLF|
1. Summary and Core Concept
This is a quantitative backtesting strategy engineered specifically for the Financial Select Sector SPDR Fund (XLF) on the Daily (1D) timeframe. The name "AlphaCentauri" reflects its goal: to seek alpha by identifying statistically significant opportunities through rigorous time series analysis.
The strategy's core principle is to move beyond conventional technical indicators and instead analyze the underlying structure and character of price data. It is designed to methodically identify conditions that have historically preceded sustained directional trends in the financial sector.
2. The Analytical Process: How It Works
This strategy employs a multi-stage quantitative process to filter for high-probability setups. It is a "mashup" of statistical concepts applied to price action.
Structural Pattern Recognition: The engine's primary function is to analyze the historical price series of XLF to identify specific, recurring structural patterns. It examines price geometry and cyclical behavior to find formations that often act as the foundation for a new, emerging trend.
Signal Execution: A signal to enter a trade is only generated when the findings from both the structural analysis and the validation stages are in agreement. This disciplined, multi-layered approach ensures the strategy remains flat during periods of high uncertainty and only engages when its quantitative criteria are fully met.
3. How to Use This Strategy
Timeframe: This strategy has been designed, tested, and optimized exclusively for the Daily (1D) timeframe on the XLF ticker. Its logic is not intended for other timeframes or assets and may produce unreliable results if used differently.
On-Chart Signals: The strategy's operation is transparent. It plots all historical buy and sell entries, along with their corresponding exits, directly on the chart for easy performance review and analysis.
4. Risk Management: The Strategy's Foundation
This strategy is built upon a foundation of strict, non-negotiable risk management, which is reflected in its code and backtesting parameters. This design complies with TradingView's guidelines for publishing realistic and responsible strategies.
Dynamic Stop-Loss and Position Sizing: A stop-loss is dynamically calculated for each trade based on recent market volatility. The strategy then automatically adjusts the position size for that trade to target a defined risk percentage. In cases of extreme market volatility, the maximum potential loss on a single trade may approach, but is designed not to exceed, 5% of total account equity. Under normal market conditions, the risk for most trades will be below this maximum threshold.
Realistic Backtesting Parameters:
Initial Capital: The backtest defaults to an initial capital of $100,000.
Commission: A realistic fee of $5.00 per order is included to simulate broker costs.
5. Disclaimer
This strategy is an educational tool provided for informational and research purposes. It is not financial advice. All trading carries a high level of risk, and past performance is not a guarantee of future results. You are solely responsible for your own trading decisions and risk management. Always conduct your own due diligence before deploying any trading strategy in a live account.
BEST Indicator for Events (XAUUSD etc)(by Mestre dos Traders)BEST Indicator for Events (XAUUSD etc...) (by Mestre dos Traders @2025)
🧠 1. Customisable Economic Event Selection
Up to 10 editable events (e.g. Retail Sales, CPI, NFP, etc.)
Manual input of Forecast, Previous, and Actual values
Event selection via a numeric selector (0 to 9)
Precise event timestamp definition (with time zone support)
⚙️ 2. Automated Analysis and Signal Logic
Intelligent processing based on comparative logic:
Actual > Forecast & Previous → SELL
Actual < Forecast & Previous → BUY
Event strength classification based on the sum of Forecast + Actual
Categories: very weak, weak, moderate, strong, very strong, hyper strong
📊 3. Multi-layered Technical Confirmations
Optional signal confirmation using:
RSI (Overbought/Oversold conditions)
Volume (Above 20-period moving average)
Pullback (Price validation after signal trigger)
🎯 4. Trade Parameters
Configurable Take Profit levels: TP1, TP2, TP3 (%)
Configurable Stop Loss (%)
Dynamic calculation of Risk/Reward ratio (R/R)
Visual plotting of entry, SL, TPs, and labels on the chart
Automated entry with optional confirmation via pullback or event strength
🕒 5. Entry Timing Window & Duration
Entry validation within a configurable time window post-event
Custom line duration setting (in minutes, auto-converted to bars)
🧾 6. Visual and Statistical Event History
Real-time tracking of:
Total number of signals per event
Number of profitable trades
Hit Rate (%) per event
Average R/R ratio per setup
Simulated capital growth over time
Current and maximum drawdown per event
Visual tables (positioned at top_right and bottom_right)
Capital progression plotted on chart
🟢 7. Professional Visual Markings
Use of labels and lines for:
Entry points (ENTRY)
Pullbacks (PULLBACK BUY/SELL)
TP1 / TP2 / TP3 hit (PROFIT)
Stop Loss hit (LOSS)
Initial trade signal with strength classification (BUY / SELL + strength)
♻️ 8. Data Reset & Reinitialisation
Reset Data button to clear all visual elements and reinitialise variables
💼 9. Capital Simulation & Performance Metrics
Configurable initial capital
Profit calculation per TP level (weighted: 1, 2 or 3)
Tracking and display of cumulative capital
Capital history stored in dynamic array
Line plot of capital evolution over time
🧩 10. Modular Code Architecture
Efficient use of:
var for persistent data across bars
array for dynamic storage and retrieval
label and line for rich visual feedback
table for performance monitoring dashboards
✅ Conclusion: Why This Script is Professional and Effective
Highly Customisable > Adaptable to any macroeconomic event
Multifactorial Analysis > Integrates both fundamental and technical data (RSI, volume, pullback)
Robust Execution Logic > Executes trades only with multiple confirmations or strong event signals
Clear Visual Feedback > Lines and labels support faster, more confident decision-making
Comprehensive Performance Metrics > Real-time statistical and graphical analysis by event
Manual Backtest-Friendly > Visual signals and historical tracking allow easy retrospective validation
Contacts:
TG.: @mestredostradersoficial
TG Support: @suportedomestretraders
Tiktok Channel: @Mestredostraders
Whatsapp Sales: +55 61 991371216
BEST Indicator for R.S.M Events (by Mestre dos Traders)BEST Indicator for Events (XAUUSD etc...) (by Mestre dos Traders @2025)
🧠 1. Customisable Economic Event Selection
Up to 10 editable events (e.g. Retail Sales, CPI, NFP, etc.)
Manual input of Forecast, Previous, and Actual values
Event selection via a numeric selector (0 to 9)
Precise event timestamp definition (with time zone support)
⚙️ 2. Automated Analysis and Signal Logic
Intelligent processing based on comparative logic:
Actual > Forecast & Previous → SELL
Actual < Forecast & Previous → BUY
Event strength classification based on the sum of Forecast + Actual
Categories: very weak, weak, moderate, strong, very strong, hyper strong
📊 3. Multi-layered Technical Confirmations
Optional signal confirmation using:
RSI (Overbought/Oversold conditions)
Volume (Above 20-period moving average)
Pullback (Price validation after signal trigger)
🎯 4. Trade Parameters
Configurable Take Profit levels: TP1, TP2, TP3 (%)
Configurable Stop Loss (%)
Dynamic calculation of Risk/Reward ratio (R/R)
Visual plotting of entry, SL, TPs, and labels on the chart
Automated entry with optional confirmation via pullback or event strength
🕒 5. Entry Timing Window & Duration
Entry validation within a configurable time window post-event
Custom line duration setting (in minutes, auto-converted to bars)
🧾 6. Visual and Statistical Event History
Real-time tracking of:
Total number of signals per event
Number of profitable trades
Hit Rate (%) per event
Average R/R ratio per setup
Simulated capital growth over time
Current and maximum drawdown per event
Visual tables (positioned at top_right and bottom_right)
Capital progression plotted on chart
🟢 7. Professional Visual Markings
Use of labels and lines for:
Entry points (ENTRY)
Pullbacks (PULLBACK BUY/SELL)
TP1 / TP2 / TP3 hit (PROFIT)
Stop Loss hit (LOSS)
Initial trade signal with strength classification (BUY / SELL + strength)
♻️ 8. Data Reset & Reinitialisation
Reset Data button to clear all visual elements and reinitialise variables
💼 9. Capital Simulation & Performance Metrics
Configurable initial capital
Profit calculation per TP level (weighted: 1, 2 or 3)
Tracking and display of cumulative capital
Capital history stored in dynamic array
Line plot of capital evolution over time
🧩 10. Modular Code Architecture
Efficient use of:
var for persistent data across bars
array for dynamic storage and retrieval
label and line for rich visual feedback
table for performance monitoring dashboards
✅ Conclusion: Why This Script is Professional and Effective
Highly Customisable > Adaptable to any macroeconomic event
Multifactorial Analysis > Integrates both fundamental and technical data (RSI, volume, pullback)
Robust Execution Logic > Executes trades only with multiple confirmations or strong event signals
Clear Visual Feedback > Lines and labels support faster, more confident decision-making
Comprehensive Performance Metrics > Real-time statistical and graphical analysis by event
Manual Backtest-Friendly > Visual signals and historical tracking allow easy retrospective validation
Contacts:
TG.: @mestredostradersoficial
TG Support: @suportedomestretraders
Tiktok Channel: @Mestredostraders
Whatsapp Sales: +55 61 991371216
DriftLine - Pivot Open Zones [SiDec]What is DriftLine?
DriftLine is your visual roadmap for navigating the markets — designed for both day traders and swing traders who want to understand where price truly matters.
It automatically plots the most meaningful price levels on your chart:
dOpen → today’s open
pdOpen → yesterday’s open
bpdOpen → two days ago
wOpen → this week’s open
mOpen → this month’s open
yOpen → this year’s open
These are not just lines — they are the milestones big traders, funds, and algos watch to measure bias, performance, and momentum across timeframes.
DriftLine also layers on:
Fib zones (50%, 61.8%, 78.6%) between today’s and yesterday’s opens — highlighting natural pullback or continuation areas.
Fade bands around monthly and yearly opens — showing where the market may be overextended, exhausted, or ripe for reversal.
Optional % distance labels — letting you instantly see how stretched or compressed price is relative to key opens.
How to Use DriftLine
1️⃣ Daily setups:
Trade with the daily bias (dOpen vs. pdOpen). Use the fib pocket as a pullback zone or continuation platform.
2️⃣ Weekly trends:
Watch wOpen breaks + retests — often the start of powerful multi-day moves.
3️⃣ Monthly & yearly pivots:
Treat mOpen and yOpen as heavyweight macro levels — they shape sentiment and direction.
4️⃣ Fade bands:
Spot reactions at the outer bands around mOpen and yOpen — these zones often mark where trends pause or reverse.
Why Are Daily Opens So Important?
Many traders overlook dOpen (today’s open), pdOpen (yesterday’s open) and bpdOpen (before previous daily open) — but they’re the heartbeat of intraday trading.
Here’s why they matter:
🔷 Above dOpen → bullish bias.
The market is paying more than it opened — intraday momentum leans long.
🔷 Below dOpen → bearish bias.
We’re under today’s open — cautious, risk-off, or short setups.
🔷 pdOpen/bpdOpen as magnet & target.
Even in strong trends, price often revisits yesterday’s open. It can act as support, resistance, or a key flip level.
🔷 The Fib pocket between dOpen and pdOpen.
The 50–78.6% zone is a dynamic battleground. Watch for price to bounce, reverse, or break through here.
In short:
dOpen and pdOpen are your intraday compass, showing you whether you’re trading with or against the day’s flow.
Why Are Monthly Opens So Powerful?
The monthly open (mOpen) is a macro anchor for institutional traders.
It answers:
✅ Are we green or red for the month?
✅ Are big funds defending long exposure, or trimming risk?
🔷 Above mOpen = bullish tone, momentum follows.
🔷 Below mOpen = caution, risk-off, defensive market.
You’ll often see sharp reactions at mOpen — even when lower timeframes look messy.
Aligning your intraday or swing trades with the monthly bias improves your edge dramatically.
Why Is the Yearly Open (yOpen) Critical?
The yearly open (yOpen) is the king of all opens — the most powerful macro line on the chart.
Big funds, asset managers, and long-term traders benchmark everything against yOpen:
🔷 Above yOpen → bullish year tone.
Funds are green on the year; dips are often bought aggressively.
🔷 Below yOpen → bearish year tone.
Caution dominates; rallies tend to be sold or fade.
🔷 Sharp reactions at yOpen.
Expect explosive moves or violent rejections when price approaches this level — it’s where macro players act.
And when price hits the fade bands around yOpen?
It's a prime territory for reversals or profit-taking.
How to Add DriftLine to Your Chart
✅ Easiest way → Go to my TradingView profile, open the Scripts tab, and ⭐ Add to Favourites.
Then, on your chart:
1️⃣ Click Indicators → Favourites → select DriftLine
2️⃣ Done — you’re live!
Can I Customise It?
Absolutely!
You can:
🎨 Change line colours and thickness.
🎨 Pick fade band colours to match your theme.
🎨 Adjust fade zone width (e.g., 0.5% or 1%).
🎨 Toggle % distance labels on/off for a clean or detailed view.
⚡ Pro Tip: Use DriftLine With Confluence! ⚡
DriftLine is not a buy/sell signal tool.
It’s your map — but you need your own compass.
Combine it with:
Fibonacci retracements & extensions
Elliott Wave patterns
Order flow or volume profile
Momentum or trend indicators
Other tools
When multiple tools align at a DriftLine level, that’s where the magic happens — and where the highest-probability trades live.
Key Takeaway
DriftLine doesn’t predict the future — it frames the battlefield.
It highlights where the real action is happening:
Where price flips, where traders fight, and where momentum builds.
Use it as your market map, combine it with your favourite strategies, and let it sharpen your decisions.
🌊 Read the currents. Trade the flow.
Stay sharp, stay patient and trade with clarity.
Happy trading!
Monday Swing Box# Monday Swing Box Indicator - Trading Applications
This "Monday Swing Box" indicator can be very useful in trading for several strategic reasons:
## 1. **"Monday Effect" Analysis**
* **Concept**: Mondays often have particular characteristics in the markets (opening gaps, weekend catch-up, different volumes)
* **Utility**: Allows visualization and quantification of these Monday-specific movements
* **Application**: Helps identify recurring patterns in your strategy
## 2. **Relative Volatility Measurement with ATR**
* **The ATR percentage tells you**:
* **< 50%**: Low volatility Monday (possible consolidation)
* **50-100%**: Normal volatility
* **> 100%**: Very volatile Monday (important event, potential breakout)
* **Advantage**: Contextualizes the movement relative to historical volatility
## 3. **Practical Trading Applications**
### **For Day Trading**:
* **Entry**: A Monday with >150% ATR may signal a strong movement to follow
* **Stop Loss**: Adjust stop sizes according to Monday's volatility
* **Targets**: Calibrate targets according to the movement's magnitude
### **For Swing Trading**:
* **Support/Resistance**: Monday's high/low often become key levels
* **Breakout**: Breaking above/below Monday's box may signal continuation
* **Retracement**: Return to Monday's box = support/resistance zone
### **For Risk Management**:
* **Sizing**: Adapt position sizes according to measured volatility
* **Timing**: Avoid trading abnormally volatile Mondays if you prefer stability
## 4. **Specific Possible Strategies**
### **"Monday Breakout"**:
* Wait for a break above/below Monday's box
* Enter in the direction of the breakout
* Stop at the other end of the box
### **"Monday Reversal"**:
* If Monday shows >200% ATR, look for a reversal
* The box becomes a resistance/support zone
### **"Monday Range"**:
* Trade bounces off the box limits
* Particularly effective if ATR % is normal (50-100%)
## 5. **Visualization Advantages**
* **Historical**: See past patterns across multiple Mondays
* **Comparison**: Compare current volatility to previous Mondays
* **Anticipation**: Prepare your strategy according to the type of Monday observed
## 6. **Limitations to Consider**
* Monday patterns can vary according to markets and periods
* Don't trade solely on this indicator, but use it as a complement
* Consider macroeconomic context and news
This indicator is therefore particularly useful for traders who want to exploit Monday's specificities and have an objective measure of this day's relative volatility compared to normal market conditions.
Contrarian Market Structure BreakMarket Structure Break application was inspired and adapted from Market Structure Oscillator indicator developed by Lux Algo. So much credit to their work.
This indicator pairs nicely with the Contrarian 100 MA and can be located here:
Indicator Description: Contrarian Market Structure BreakOverview
The "Contrarian Market Structure Break" indicator is a versatile tool tailored for traders seeking to identify potential reversal opportunities by analyzing market structure across multiple timeframes. Built on Institutional Concepts of Structure (ICT), this indicator detects Break of Structure (BOS) and Change of Character (CHoCH) patterns across short-term, intermediate-term, and long-term swings, plotting them with customizable lines and labels. It generates contrarian buy and sell signals when price breaks key swing levels, with a unique "Blue Dot Tracker" to monitor consecutive buy signals for trend confirmation. Optimized for the daily timeframe, this indicator is adaptable to other timeframes with proper testing, making it ideal for traders of forex, stocks, or cryptocurrencies.
How It Works
The indicator combines three key components to provide a comprehensive view of market dynamics: Multi-Timeframe Market Structure Analysis: It identifies swing highs and lows across short-term, intermediate-term, and long-term periods, plotting BOS (continuation) and CHoCH (reversal) events with customizable line styles and labels.
Contrarian Signal Generation: Buy and sell signals are triggered when the price crosses below swing lows (buy) or above swing highs (sell), indicating potential reversals in overextended markets.
Blue Dot Tracker: A unique feature that counts consecutive buy signals ("blue dots") and highlights a "Hold Investment" state with a yellow background when three or more buy signals occur, suggesting a potential trend continuation.
Signals are visualized as small circles below (buy) or above (sell) price bars, and a table in the bottom-right corner displays the blue dot count and recommended action (Hold or Flip Investment), enhancing decision-making clarity.
Mathematical Concepts Swing Detection: The indicator identifies swing highs and lows by comparing price patterns over three bars, ensuring robust detection of pivot points. A swing high occurs when the middle bar’s high is higher than the surrounding bars, and a swing low occurs when the middle bar’s low is lower.
Market Structure Logic: BOS is detected when the price breaks a prior swing high (bullish) or low (bearish) in the direction of the current trend, while CHoCH signals a potential reversal when the price breaks a swing level against the trend. These are calculated across three timeframes for a multi-dimensional perspective.
Blue Dot Tracker: This feature counts consecutive buy signals and tracks the entry price. If three or more buy signals occur without a sell signal, the indicator enters a "Hold Investment" state, marked by a yellow background, until the price exceeds the entry price or a sell signal occurs.
Entry and Exit Rules Buy Signal (Blue Dot Below Bar): Triggered when the closing price crosses below a swing low on either the intermediate-term or long-term timeframe, suggesting an oversold condition and potential reversal upward. Short-term signals can be enabled but are disabled by default to reduce noise.
Sell Signal (White Dot Above Bar): Triggered when the closing price crosses above a swing high on either the intermediate-term or long-term timeframe, indicating an overbought condition and potential reversal downward.
Blue Dot Tracker Logic: After a buy signal, the indicator increments a blue dot counter and records the entry price. If three or more consecutive buy signals occur (blueDotCount ≥ 3), the indicator enters a "Hold Investment" state, highlighted with a yellow background, suggesting a potential trend continuation. The "Hold Investment" state ends when the price exceeds the entry price or a sell signal occurs, resetting the counter.
Exit Rules: Traders can exit buy positions when a sell signal appears, the price exceeds the entry price during a "Hold Investment" state, or based on additional confirmation from BOS/CHoCH patterns or other technical analysis tools. Always use proper risk management.
Recommended Usage
The indicator is optimized for the daily timeframe, where it effectively captures significant reversal and continuation patterns in trending or ranging markets. It can be adapted to other timeframes (e.g., 1H, 4H, 15M) with careful testing of settings, particularly enabling/disabling short-term structure analysis to suit market conditions. Backtesting is recommended to optimize performance for your chosen asset and timeframe.
Customization Options Market Structure Display: Toggle short-term, intermediate-term, and long-term structures on or off, with customizable line styles (solid, dashed, dotted) and colors for bullish and bearish breaks.
Labels: Enable or disable BOS/CHoCH labels for each timeframe to reduce chart clutter.
Signal Visibility: Hide buy/sell signals if desired for a cleaner chart.
Blue Dot Tracker: Monitor the blue dot count and action (Hold or Flip Investment) via the table display, which is fully customizable in terms of position and appearance.
Why Use This Indicator?
The "Contrarian Market Structure Break" indicator offers a robust framework for identifying high-probability reversal and continuation setups using ICT principles. Its multi-timeframe analysis, clear signal visualization, and innovative Blue Dot Tracker provide traders with actionable insights into market dynamics. Whether you're a swing trader or a day trader, this indicator’s flexibility and intuitive design make it a valuable addition to your trading arsenal.
Note for TradingView Moderators
This script complies with TradingView's House Rules by providing an educational and transparent description without performance claims or guarantees. It is designed to assist traders in technical analysis and should be used alongside proper risk management and personal research. The code is original, well-documented, and includes customizable inputs and clear visual outputs to enhance the user experience.
Tips for Users:
Backtest thoroughly on your chosen asset and timeframe to validate signal reliability. Combine with other indicators or price action analysis for confirmation of entries and exits. Adjust timeframe settings and enable/disable short-term structures to match market volatility and your trading style.
Hope the "Contrarian Market Structure Break" indicator enhances your trading strategy and helps you navigate the markets with confidence! Happy trading!
Bullish Combo Scan by TLP📈 Bullish Combo Scan by TLP
This indicator scans for high-probability bullish breakout setups based on price action and volume strength, and optionally provides position sizing based on your risk management preferences.
🔍 Key Features:
$ Breakout Detection
Identifies stocks with a $0.90 or more price gain from the open, supported by strong volume and price structure.
% Breakout Detection
Flags stocks moving 4% or more from the previous close, also requiring momentum confirmation and volume above 100,000.
Momentum Filter
Breakouts are filtered to avoid extended moves by requiring low price movement between the previous two candles.
Volume & Price Conditions
Ensures breakouts are supported by liquidity (volume > 100,000) and minimum price (≥ $3) to reduce noise.
Position Size Calculator (Optional)
Displays position size based on your account value, risk percentage, and stop loss derived from a configurable previous candle’s low.
Screener-Ready Output
Includes a numeric plot to support TradingView's built-in screener, showing 1 for $ breakout and 2 for % breakout.
⚙️ Customizable Inputs:
Toggle $ breakout or % breakout conditions
Set your account size and risk per trade
Choose which candle’s low to use for stop loss calculation
✅ Best Used For:
Intraday or swing traders looking for fresh breakout setups
Traders who prefer a rules-based, volume-confirmed breakout scan
Screening large watchlists with custom logic for alerts and automation
Fibonacci Retracement Engine (DFRE) [PhenLabs]📊 Fibonacci Retracement Engine (DFRE)
Version: PineScript™ v6
📌 Description
Dynamic Fibonacci Retracement Engine (DFRE) is a sophisticated technical analysis tool that automatically detects important swing points and draws precise Fibonacci retracement levels on various timeframes. The intelligent indicator eliminates the subjectivity of manual Fibonacci drawing using intelligent swing detection algorithms combined with multi timeframe confluence analysis.
Built for professional traders who demand accuracy and consistency, DFRE provides real time Fibonacci levels that adapt to modifications in market structure without sacrificing accuracy in changing market conditions. The indicator excels at identifying key support and resistance levels where price action is more likely to react, giving traders a potent edge in entry and exit timing.
🚀 Points of Innovation
Intelligent Swing Detection Algorithm : Advanced pivot detection with customizable confirmation bars and minimum swing percentage thresholds
Multi-Timeframe Confluence Engine : Simultaneous analysis across three timeframes to identify high-probability zones
Dynamic Level Management : Automatically updates and manages multiple Fibonacci sets while maintaining chart clarity
Adaptive Visualization System : Smart labeling that shows only the most relevant levels based on user preferences
Real-Time Confluence Detection : Identifies zones where multiple Fibonacci levels from different timeframes converge
Automated Alert System : Comprehensive notifications for level breakouts and confluence zone formations
🔧 Core Components
Swing Point Detection Engine : Uses pivot high/low calculations with strength confirmation to identify significant market turns
Fibonacci Calculator : Automatically computes standard retracement levels (0.236, 0.382, 0.5, 0.618, 0.786, 0.886) plus extensions (1.272, 1.618)
Multi-Timeframe Security Function : Safely retrieves Fibonacci data from higher timeframes without repainting
Confluence Analysis Module : Mathematically identifies zones where multiple levels cluster within specified thresholds
Dynamic Drawing Management : Efficiently handles line and label creation, updates, and deletion to maintain performance
🔥 Key Features
Customizable Swing Detection : Adjust swing length (3-50 bars) and strength confirmation (1-10 bars) to match your trading style
Selective Level Display : Choose which Fibonacci levels to show, from core levels to full extensions
Multi-Timeframe Analysis : Analyze up to 3 different timeframes simultaneously for confluence identification
Intelligent Labeling System : Options to show main levels only or all levels, with latest-set-only functionality
Visual Customization : Adjustable line width, colors, and extension options for optimal chart clarity
Performance Optimization : Limit maximum Fibonacci sets (1-5) to maintain smooth chart performance
Comprehensive Alerting : Get notified on level breakouts and confluence zone formations
🎨 Visualization
Dynamic Fibonacci Lines : Color-coded lines (green for uptrends, red for downtrends) with customizable width and extension
Smart Level Labels : Precise level identification with both ratio and price values displayed
Confluence Zone Highlighting : Visual emphasis on areas where multiple timeframe levels converge
Clean Chart Management : Automatic cleanup of old drawing objects to prevent chart clutter
Responsive Design : All visual elements adapt to different chart sizes and timeframes
📖 Usage Guidelines
Swing Detection Settings
Swing Detection Length - Default: 25 | Range: 3-50 | Controls the lookback period for identifying pivot points. Lower values detect more frequent swings but may include noise, while higher values focus on major market turns.
Swing Strength (Confirmation Bars) - Default: 2 | Range: 1-10 | Number of bars required to confirm a swing point. Higher values reduce false signals but increase lag.
Minimum Swing % Change - Default: 1.0% | Range: 0.1-10.0% | Minimum percentage change required to register a valid swing. Filters out insignificant price movements.
Fibonacci Level Settings
Individual Level Toggles : Enable/disable specific Fibonacci levels (0.236, 0.382, 0.5, 0.618, 0.786, 0.886)
Extensions : Show projection levels (1.272, 1.618) for target identification
Multi-Timeframe Settings
Timeframe Selection : Choose three higher timeframes for confluence analysis
Confluence Threshold : Percentage tolerance for level clustering (0.5-5.0%)
✅ Best Use Cases
Swing Trading : Identify optimal entry and exit points at key retracement levels
Confluence Trading : Focus on high-probability zones where multiple timeframe levels align
Support/Resistance Trading : Use dynamic levels that adapt to changing market structure
Breakout Trading : Monitor level breaks for momentum continuation signals
Target Setting : Utilize extension levels for profit target placement
⚠️ Limitations
Lagging Nature : Requires confirmed swing points, which means levels appear after significant moves
Market Condition Dependency : Works best in trending markets; less effective in extremely choppy conditions
Multiple Signal Complexity : Multiple timeframe analysis may produce conflicting signals requiring experience to interpret
Performance Considerations : Multiple Fibonacci sets and MTF analysis may impact indicator loading time on slower devices
💡 What Makes This Unique
Automated Precision : Eliminates manual drawing errors and subjective level placement
Multi-Timeframe Intelligence : Combines analysis from multiple timeframes for superior confluence detection
Adaptive Management : Automatically updates and manages multiple Fibonacci sets as market structure evolves
Professional-Grade Alerts : Comprehensive notification system for all significant level interactions
🔬 How It Works
Step 1 - Swing Point Identification : Scans price action using pivot high/low calculations with specified lookback periods, applies confirmation logic to eliminate false signals, and calculates swing strength based on surrounding price action for quality assessment.
Step 2 - Fibonacci Level Calculation : Automatically computes retracement and extension levels between confirmed swing points, creates dynamic level sets that update as new swing points are identified, and maintains multiple active Fibonacci sets for comprehensive market analysis.
Step 3 - Multi-Timeframe Confluence : Retrieves Fibonacci data from higher timeframes using secure request functions, analyzes level clustering across different timeframes within specified thresholds, and identifies high-probability zones where multiple levels converge.
💡 Note: This indicator works best when combined with other technical analysis tools and proper risk management. The multi-timeframe confluence feature provides the highest probability setups, but always confirm signals with additional analysis before entering trades.
[ BETA ][ IND ][ LIB ] Dynamic LookBack RSI RangeGet visual confirmation with this indicator if the current range selected had been oversold or overbough in the latest n bars
EPS and Sales Magic Indicator V2EPS and Sales Magic Indicator V2
EPS and Sales Magic Indicator V2
Short Title: EPS V2
Author: Trading_Tomm
Platform: TradingView (Pine Script v6)
License: Free for public use under fair usage guidelines
Overview
The EPS and Sales Magic Indicator V2 is a powerful stock fundamental visualization tool built specifically for TradingView users who wish to incorporate earnings intelligence directly onto their price chart. Designed and developed by Trading_Tomm, this upgraded version of the original 'EPS and Sales Magic Indicator' includes an enriched and more insightful presentation of company performance metrics — now with TTM EPS support, advanced color-coding, label sizing, and refined control options.
This indicator is tailored for retail traders, swing investors, and long-term fundamental analysts who need to view Quarter-over-Quarter (QoQ) earnings and revenue changes directly on the price chart without switching tabs or breaking focus.
What Does It Display?
The EPS and Sales Magic Indicator V2 intelligently detects quarterly financial updates and displays the following data points via labels:
1. EPS (Earnings Per Share) – Current Quarterly Value
This is the most recent Diluted EPS published by the company, fetched using TradingView’s request.financial() function.
Displayed in the format: EPS: ₹20.45
2. EPS QoQ Percentage Change
Shows the percentage change in EPS compared to the previous quarter.
Highlights improvement or decline using arrows (up for improvement, down for decline).
Displayed in the format: EPS: ₹20.45 (up 15.3 percent)
3. Sales (Revenue) – Current Quarterly Value
Fetches and displays Total Revenue of the company in ₹Crores for easier Indian-market readability.
Displayed in the format: Sales: ₹460Cr
4. Sales QoQ Percentage Change
Measures and presents the quarter-over-quarter percentage change in total revenue.
Uses arrows to indicate growth or contraction.
Displayed in the format: Sales: ₹460Cr (down 3.8 percent)
5. EPS TTM (Trailing Twelve Months)
You now get the TTM EPS — the sum of the last four quarterly EPS values.
This value provides a better long-term earnings snapshot compared to a single quarter.
Displayed in the format: TTM EPS: ₹78.12
All of these values are automatically calculated and displayed only on the bars where a new financial report is detected, keeping your chart clean and insightful.
Customization Features
This indicator is built with user control in mind, allowing you to personalize how and what you want to see:
Show EPS in Label: Enable or disable the display of EPS and EPS QoQ values.
Show Sales in Label: Toggle the visibility of revenue and sales change percentage.
Color Options for Label Themes: The label background color is automatically determined based on performance.
Green: Both EPS and Sales increased QoQ.
Red: Both decreased.
Orange: One increased and the other decreased.
Gray: Default color (if values are unavailable or mixed).
Label Text Size: Choose from Tiny, Small (default), or Normal.
Visual Design
Placement: The labels are positioned just below the candlesticks using yloc.belowbar, so they do not obstruct price action or interfere with technical indicators.
Anchor: Aligned precisely with the financial reporting bars to maintain clarity in historical comparisons.
Background Style: Clean, semi-transparent styling with soft text colors for comfortable viewing.
How It Works
The indicator relies on TradingView’s powerful request.financial() function to extract fiscal quarterly financials (FQ). Internally, it uses detection logic to identify fresh data updates by comparing current vs. previous values, arithmetic to compute QoQ percentage changes in EPS and Sales, logic to build formatted labels dynamically based on user selections, and conditional color and sizing logic to enhance interpretability.
Use Cases
For Long-Term Investors: Quickly identify if a company’s profitability and revenue are improving over time.
For Swing Traders: Combine recent earnings trends with price action to evaluate if post-result momentum has real backing.
For Technical and Fundamental Traders: Layer it with moving averages, RSI, or volume to create a hybrid analysis environment.
Limitations and Notes
Financial data is provided by TradingView’s financial API, and occasional missing values may occur for less-covered stocks.
This tool does not repaint but depends on the timing of the official financial updates.
All values are rounded and formatted to prioritize readability.
Works best on Daily or higher timeframes (weekly or monthly also supported).
License and Fair Use
This script is free to use and share under TradingView’s open-use guidelines. You may copy, fork, and build upon this indicator for personal or educational purposes, but commercial usage requires attribution to the author: Trading_Tomm.
Future Enhancements (Planned)
Addition of Net Profit (QoQ and TTM)
Inclusion of Operating Margin, Profit Margin, and Book Value
Option to switch between numeric and graphical display (table mode)
Alerts on extreme earnings deviation or sales slumps
Final Thoughts
The EPS and Sales Magic Indicator V2 represents a clean, visual, and smart way to monitor a company’s core performance from your chart screen. It helps you align fundamental strength with technical strategies and provides instant financial clarity, which is especially vital in today’s fast-moving markets.
Whether you’re preparing for an earnings season or scanning past performance to pick your next investment, this indicator saves time, enhances insights, and sharpens decisions.
Contrarian with 5 Levels5 Levels application was inspired and adapted from Predictive Ranges indicator developed by Lux Algo. So much credit to their work.
Indicator Description: Contrarian with 5 Levels
Overview
The "Contrarian with 5 Levels" indicator is a powerful tool designed for traders seeking to identify potential reversal points in the market by combining contrarian trading principles with dynamic support and resistance levels. This indicator overlays a Simple Moving Average (SMA) shadow and five adaptive price levels, integrating Institutional Concepts of Structure (ICT) such as Break of Structure (BOS) and Market Structure Shift (MSS) to provide clear buy and sell signals. It is ideal for traders looking to capitalize on overextended price movements, particularly on the daily timeframe, though it is adaptable to other timeframes with proper testing.
How It Works
The indicator operates on two core components:
Contrarian SMA Shadow: A shaded region between the SMA of highs and lows (default length: 100) acts as a dynamic zone to identify overbought or oversold conditions. When the price moves significantly outside this shadow, it signals potential exhaustion, aligning with contrarian trading principles.
Five Adaptive Levels: Using a modified ATR-based calculation, the indicator plots five key levels (two resistance, one average, and two support) that adjust dynamically to market volatility. These levels serve as critical zones for potential reversals.
ICT Structure Analysis: The indicator incorporates BOS and MSS logic to detect shifts in market structure, plotting bullish and bearish breaks with customizable colors for clarity.
Buy and sell signals are generated when the price crosses key levels while outside the SMA shadow, indicating potential reversal opportunities. The signals are visualized as small circles above (sell) or below (buy) the price bars, making them easy to interpret.
Mathematical Concepts
SMA Shadow: The indicator calculates the SMA of the highest highs and lowest lows over a user-defined period (default: 100). This creates a dynamic range that highlights extreme price movements, which contrarian traders often target for reversals.
Five Levels Calculation: The five levels are derived using a volatility-adjusted formula based on the Average True Range (ATR). The average level (central pivot) is calculated as a smoothed price, with two upper (resistance) and two lower (support) levels offset by a multiple of the ATR (default multiplier: 6.0). This adaptive approach ensures the levels remain relevant across varying market conditions.
ICT BOS/MSS Logic: The indicator identifies pivot highs and lows on a user-defined timeframe (default: daily) to detect structural breaks. A BOS occurs when the price breaks a prior pivot high (bullish) or low (bearish), while an MSS signals a shift in market direction, providing context for potential reversals.
Entry and Exit Rules
Buy Signal (Blue Dot Below Bar): Triggered when the closing price is below both the SMA shadow (smaLow) and the average level (avg), and the price crosses under either the first or second support level (prS1 or prS2). This suggests the market may be oversold, indicating a potential reversal upward.
Sell Signal (White Dot Above Bar): Triggered when the closing price is above both the SMA shadow (smaHigh) and the average level (avg), and the price crosses over either the first or second resistance level (prR1 or prR2). This suggests the market may be overbought, indicating a potential reversal downward.
Recommended Usage
This indicator is optimized for the daily timeframe, where it has been designed to capture significant reversal opportunities in trending or ranging markets. However, it can be adapted to other timeframes (e.g., 1H, 4H, 15M) with proper testing of settings such as SMA length, ATR multiplier, and structure timeframe. Users are encouraged to backtest and optimize parameters to suit their trading style and asset class.
Customization Options
SMA Length: Adjust the SMA period (default: 100) to control the sensitivity of the shadow.
Five Levels Length and Multiplier: Modify the length (default: 200) and ATR multiplier (default: 6.0) to fine-tune the support/resistance levels.
Timeframe Settings: Set separate timeframes for structure analysis and five levels to align with your trading strategy.
Color and Signal Display: Customize colors for BOS/MSS lines and toggle buy/sell signals on or off for a cleaner chart.
Why Use This Indicator?
The "Contrarian with 5 Levels" indicator combines the power of contrarian trading with dynamic levels and market structure analysis, offering a unique perspective for identifying high-probability reversal setups. Its intuitive design, customizable settings, and clear signal visualization make it suitable for both novice and experienced traders. Whether you're trading forex, stocks, or cryptocurrencies, this indicator provides a robust framework for spotting potential turning points in the market.
We hope you find the "Contrarian with 5 Levels" indicator a valuable addition to your trading toolkit! Happy trading!
Please leave feedback in the comments section.
Ticker Pulse Meter BasicPairs nicely with the Contrarian 100 MA located here:
and the Enhanced Stock Ticker with 50MA vs 200MA located here:
Description
The Ticker Pulse Meter Basic is a dynamic Pine Script v6 indicator designed to provide traders with a visual representation of a stock’s price position relative to its short-term and long-term ranges, enabling clear entry and exit signals for long-only trading strategies. By calculating three normalized metrics—Percent Above Long & Above Short, Percent Above Long & Below Short, and Percent Below Long & Below Short—this indicator offers a unique "pulse" of market sentiment, plotted as stacked area charts in a separate pane. With customizable lookback periods, thresholds, and signal plotting options, it empowers traders to identify optimal entry points and profit-taking levels. The indicator leverages Pine Script’s force_overlay feature to plot signals on either the main price chart or the indicator pane, making it versatile for various trading styles.
Key Features
Pulse Meter Metrics:
Computes three percentages based on short-term (default: 50 bars) and long-term (default: 200 bars) lookback periods:
Percent Above Long & Above Short: Measures price strength when above both short and long ranges (green area).
Percent Above Long & Below Short: Indicates mixed momentum (orange area).
Percent Below Long & Below Short: Signals weakness when below both ranges (red area).
Flexible Signal Plotting:
Toggle between plotting entry (blue dots) and exit (white dots) signals on the main price chart (location.abovebar/belowbar) or in the indicator pane (location.top/bottom) using the Plot Signals on Main Chart option.
Entry/Exit Logic:
Long Entry: Triggered when Percent Above Long & Above Short crosses above the high threshold (default: 20%) and Percent Below Long & Below Short is below the low threshold (default: 40%).
Long Exit: Triggered when Percent Above Long & Above Short crosses above the profit-taking level (default: 95%).
Visual Enhancements:
Plots stacked area charts with semi-transparent colors (green, orange, red) for intuitive trend analysis.
Displays threshold lines for entry (high/low) and profit-taking levels.
Includes a ticker and timeframe table in the top-right corner for quick reference.
Alert Conditions: Supports alerts for long entry and exit signals, integrable with TradingView’s alert system for automated trading.
Technical Innovation: Combines normalized price metrics with Pine Script v6’s force_overlay for seamless signal integration on the price chart or indicator pane.
Technical Details
Calculation Logic:
Uses confirmed bars (barstate.isconfirmed) to calculate metrics, ensuring reliability.
Short-term percentage: (close - lowest(low, lookback_short)) / (highest(high, lookback_short) - lowest(low, lookback_short)).
Long-term percentage: (close - lowest(low, lookback_long)) / (highest(high, lookback_long) - lowest(low, lookback_long)).
Derived metrics:
pct_above_long_above_short = (pct_above_long * pct_above_short) * 100.
pct_above_long_below_short = (pct_above_long * (1 - pct_above_short)) * 100.
pct_below_long_below_short = ((1 - pct_above_long) * (1 - pct_above_short)) * 100.
Signal Plotting:
Entry signals (long_entry) use ta.crossover to detect when pct_above_long_above_short crosses above entryThresholdhigh and pct_below_long_below_short is below entryThresholdlow.
Exit signals (long_exit) use ta.crossover for pct_above_long_above_short crossing above profitTake.
Signals are plotted as tiny circles with force_overlay=true for main chart or standard plotting for the indicator pane.
Performance Considerations: Optimized for efficiency by calculating metrics only on confirmed bars and using lightweight plotting functions.
How to Use
Add to Chart:
Copy the script into TradingView’s Pine Editor and apply it to your chart.
Configure Settings:
Short Lookback Period: Adjust the short-term lookback (default: 50 bars) for sensitivity.
Long Lookback Period: Set the long-term lookback (default: 200 bars) for broader context.
Entry Thresholds: Modify high (default: 20%) and low (default: 40%) thresholds for entry conditions.
Profit Take Level: Set the exit threshold (default: 95%) for profit-taking.
Plot Signals on Main Chart: Check to display signals on the price chart; uncheck for the indicator pane.
Interpret Signals:
Long Entry: Blue dots indicate a strong bullish setup when price is high relative to both lookback ranges and weakness is low.
Long Exit: White dots signal profit-taking when strength reaches overbought levels.
Use the stacked area charts to assess trend strength and momentum.
Set Alerts:
Create alerts for Long Entry and Long Exit conditions using TradingView’s alert system.
Customize Visuals:
Adjust colors and thresholds via TradingView’s settings for better visibility.
The ticker table displays the symbol and timeframe in the top-right corner.
Example Use Cases
Swing Trading: Use entry signals to capture short-term bullish moves within a broader uptrend, exiting at profit-taking levels.
Trend Confirmation: Monitor the green area (Percent Above Long & Above Short) for sustained bullish momentum.
Market Sentiment Analysis: Use the stacked areas to gauge bullish vs. bearish sentiment across timeframes.
Notes
Testing: Backtest the indicator on your chosen market and timeframe to validate its effectiveness.
Compatibility: Built for Pine Script v6 and tested on TradingView as of June 20, 2025.
Limitations: Signals are long-only; adapt the script for short strategies if needed.
Enhancements: Consider adding a histogram for the difference between metrics or additional thresholds for nuanced trading.
Acknowledgments
Inspired by public Pine Script examples and designed to simplify complex market dynamics into a clear, actionable tool. For licensing or support, contact Chuck Schultz (@chuckaschultz) on TradingView. Share feedback in the comments, and happy trading!
HMA Swing Levels [BigBeluga]An advanced swing structure and trend-following tool built on Hull Moving Average logic, designed to detect major reversals and track dynamic support/resistance zones.
This indicator analyzes price swings using pivot highs/lows and a smoothed HMA trend baseline. It highlights key reversal levels and keeps them active until breached, giving traders a clear visual framework for price structure and trend alignment. The pivots are calculated in real-time using non-lagging logic, making them highly responsive to market conditions.
🔵 CONCEPTS
Combines a fast-reacting Hull Moving Average (HMA) with pivot logic to capture precise directional changes.
Detects non-lagging reversal highs and lows when pivot points form and the HMA direction flips.
Projects these reversal levels forward as horizontal support/resistance lines until broken by price.
Active trend is shown with a step-style trail line that reflects HMA bias over time.
🔵 FEATURES
Swing Level Detection:
Identifies high/low reversals when trend direction changes and plots horizontal zones.
Non-lagging logic of swing points detection:
if h == high and high < h and change > 0
// Detected Swing High
if l == low and low > l and change < 0
// Detected Swing Low
Persistent Support & Resistance Lines:
Each detected swing high or low is extended forward until price invalidates the level. Dotted style is applied once breached.
Color-Coded Trend Trail:
Displays a stepped trend trail using HMA slope: lime = uptrend, blue = downtrend.
Automatic Labeling:
Each reversal level is labeled with its price for clear reference.
Age-Based Line Thickness:
Every level increases in thickness every 250 bars. The longer the level lasts, the stronger it is.
🔵 HOW TO USE
Use green (support) and blue (resistance) levels to frame key reaction zones.
Trade with the trend defined by the trail color: lime for bullish bias, blue for bearish.
Explore where buy or sell orders are stacked
Look for breaks of swing lines to anticipate trend shifts or breakout setups.
Adjust the "Trend Change" input to tune the sensitivity of swing detection.
Adjust the "SwingLevels" input to define how far back to search for valid pivots.
🔵 CONCLUSION
HMA Swing Levels offers a hybrid approach to structural and trend-based trading. With automated non-lagging swing detection, persistent support/resistance tracking, and intuitive HMA-based trend coloring, it provides a powerful visual system for discretionary and systematic traders alike.
Swing High Low Detector by RV5📄 Description
The Swing High Low Detector is a visual indicator that automatically detects and displays swing highs and swing lows on the chart. Swings are determined based on configurable strength parameters (number of bars before and after a high/low), allowing users to fine-tune the sensitivity of the swing points.
🔹 Current swing levels are shown as solid (or user-defined) lines that dynamically extend until broken.
🔹 Past swing levels are preserved as dashed/dotted lines once broken, allowing traders to see previous support/resistance zones.
🔹 Customizable line colors, styles, and thickness for both current and past levels.
This indicator is useful for:
Identifying key market structure turning points
Building breakout strategies
Spotting trend reversals and swing zones
⚙️ How to Use
1. Add the indicator to any chart on any timeframe.
2. Adjust the Swing Strength inputs to change how sensitive the detector is:
A higher value will filter out smaller moves.
A lower value will capture more frequent swing points.
3. Customize the line styles for visual preference.
Choose different colors, line styles (solid/dashed/dotted), and thickness for:
Current Swing Highs (SH)
Past Swing Highs
Current Swing Lows (SL)
Past Swing Lows
4. Observe:
As new swing highs/lows are detected, the indicator draws a new current level.
Once price breaks that level, the line is archived as a past level and a new current swing is drawn.
✅ Features
Fully customizable styling for all lines
Real-time updates and automatic level tracking
Supports all chart types and instruments
👨💻 Credits
Script logic and implementation by RV5. This script was developed as a tool to improve price action visualization and trading structure clarity. Not affiliated with any financial institution. Use responsibly.
SOXL Trend Surge v3.0.2 – Profit-Only RunnerSOXL Trend Surge v3.0.2 – Profit-Only Runner
This is a trend-following strategy built for leveraged ETFs like SOXL, designed to ride high-momentum waves with minimal interference. Unlike most short-term scalping scripts, this model allows trades to develop over multiple days to even several months, capitalizing on the full power of extended directional moves — all without using a stop-loss.
🔍 How It Works
Entry Logic:
Price is above the 200 EMA (long-term trend confirmation)
Supertrend is bullish (momentum confirmation)
ATR is rising (volatility expansion)
Volume is above its 20-bar average (liquidity filter)
Price is outside a small buffer zone from the 200 EMA (to avoid whipsaws)
Trades are restricted to market hours only (9 AM to 2 PM EST)
Cooldown of 15 bars after each exit to prevent overtrading
Exit Strategy:
Takes partial profit at +2× ATR if held for at least 2 bars
Rides the remaining position with a trailing stop at 1.5× ATR
No hard stop-loss — giving space for volatile pullbacks
⚙️ Strategy Settings
Initial Capital: $500
Risk per Trade: 100% of equity (fully allocated per entry)
Commission: 0.1%
Slippage: 1 tick
Recalculate after order is filled
Fill orders on bar close
Timeframe Optimized For: 45-minute chart
These parameters simulate an aggressive, high-volatility trading model meant for forward-testing compounding potential under realistic trading costs.
✅ What Makes This Unique
No stop-loss = fewer premature exits
Partial profit-taking helps lock in early wins
Trailing logic gives room to ride large multi-week moves
Uses strict filters (volume, ATR, EMA bias) to enter only during high-probability windows
Ideal for leveraged ETF swing or position traders looking to hold longer than the typical intraday or 2–3 day strategies
⚠️ Important Note
This is a high-risk, high-reward strategy meant for educational and testing purposes. Without a stop-loss, trades can experience deep drawdowns that may take weeks or even months to recover. Always test thoroughly and adjust position sizing to suit your risk tolerance. Past results do not guarantee future returns. Backtest range: May 8, 2020 – May 23, 2025
True Momentum IndexTrue Momentum Index (TMI) — Precision Trading by Trading_Tomm
The True Momentum Index (TMI) is a cutting-edge technical indicator developed for traders who demand accuracy, clarity, and consistency across all market conditions. Designed by Trading_Tomm , this indicator provides a reliable method to identify high-probability entry and exit points by analyzing real-time momentum shifts and volatility levels.
Key Benefits:
1. Multi-Timeframe Versatility: Whether you're scalping on a 1-minute chart or investing on the weekly, TMI adapts seamlessly to your strategy.
2. Enhanced Risk Management: By highlighting optimal trade zones, TMI helps improve your reward-to-risk ratio and reduce exposure to false signals.
3. Clear Trend Detection: Instantly distinguish between trending, ranging, or consolidating markets.
4. Breakout Confirmation: Spot true breakout opportunities with confidence, supported by Bollinger Band overlays.
5. Universal Applicability: Works effectively with stocks, forex, cryptocurrency, commodities, and indices.
TMI’s intuitive visual presentation and precision signals make it an essential tool for both new and experienced traders. Whether you're trading volatile crypto markets or steady equities, the True Momentum Index gives you the edge to trade with discipline, clarity, and confidence.
Start using the True Momentum Index and take your trading strategy to the next level -maximize potential, minimize uncertainty.