EMA9 vs EMA20 (Estilo MACD, eje acotado)🔷 What does it do?
Plots a moving line that represents the difference between the 9-period EMA and the 20-period EMA.
The zero level acts as the baseline (i.e., EMA20).
Every time the line crosses zero:
📈 Bullish crossover → EMA9 crosses above EMA20.
📉 Bearish crossover → EMA9 crosses below EMA20.
🔒 Visual clarity:
The chart is locked between -600 and +600, making crossovers easy to see without scaling issues.
Perfect for confirming trend direction or momentum shifts.
🔔 Built-in alerts:
You can set alerts for both bullish and bearish crossovers directly in TradingView.
🧠 MACD-inspired, but cleaner:
Instead of multiple lines and a histogram, you get one clean line moving around a fixed axis. Simple and powerful.
⚙️ Works with:
✅ TradingView (Pine Script v5)
✅ Any asset and any timeframe
📩 Want the source code? DM me and I’ll send it to you 🔧
Let me know if you'd like me to make a flyer or visual version of this too!
Indicatori e strategie
Gravity Trend Line with ±10% Bands🌌 Law of Gravity in Stock Trading — by Hu Liyang (胡立阳)—often called the “Godfather of Asian Stock Markets”
✦ Conceptual Origin
The “Law of Gravity” was developed by Mr. Hu Liyang, drawing an analogy between the gravitational pull in physics and the relationship between stock prices and moving averages. It is a medium-term mean reversion theory that helps traders identify rebound opportunities when prices deviate too far from their trend lines.
📈 Indicator Summary: Gravity Trend Line with ±10% Bands
🔧 How It's Calculated:
Gravity Trend Line = Average of SMA(30) and SMA(70)
Represents the fair value zone or center of gravity for price over a medium-term period.
Upper Band = Gravity Line + 10%
Lower Band = Gravity Line - 10%
A shaded zone shows the space between the upper and lower bands — your "gravity channel."
🧭How to Use It for Swing Trading (1H and 4H Charts)
1. Trend Bias Filter
If price is consistently above the Gravity Line, the trend bias is bullish.
If price is below the Gravity Line, the bias is bearish.
Use this to align your trades with the prevailing direction on 4H (macro view) and fine-tune entries on 1H.
2.Trade Entry Zones
Long Setup (buy):
Look for price near or just below the lower band (oversold zone).
Combine with bullish candles or reversal indicators (e.g., MACD bullish crossover, RSI < 30 turning up).
Confirmation: price reclaims the lower band or moves toward gravity line.
Short Setup (sell):
Look for price near or just above the upper band (overbought zone).
Combine with bearish confirmation (e.g., MACD bearish crossover, RSI > 70 turning down).
Confirmation: price starts rejecting from upper band toward gravity line.
3. Take Profit / Exit Zones
Partial TP: At the Gravity Line (mean reversion level).
Final TP: At opposite band (if price has strong momentum).
Alternatively, exit on crossback below gravity line after a long, or above it after a short.
4. Avoiding Traps
Avoid entering trades in the middle of the band (around the Gravity Line) unless there's strong breakout confirmation.
Use 4H for trend context, and 1H for entry precision.
Avoid trading against the broader gravity slope:
If gravity line is clearly sloping up, favor longs.
If sloping down, favor shorts.
📘 Example Strategy Workflow:
Timeframe:
Use 4H for directional bias
Use 1H for entries and exits
Example Long Setup (1H Chart):
Price dips below lower band while 4H trend is up.
Bullish candle forms or RSI/MACD confirms momentum shift.
Entry: price closes back above the lower band.
TP1: near gravity line.
TP2: near upper band.
Or, exit when gain hits +8% to +15%, depending on risk appetite.
📌 Final Notes:
This is a mean-reversion + trend confirmation tool — best used with additional confluence (candlestick patterns, volume, divergence).
It works well in ranging to gently trending markets — not ideal for sharp breakouts unless combined with breakout filters.
This indicator is for educational and reference purposes only.
It is not intended to be a recommendation or signal to buy or sell any security.
Use at your own discretion. Always perform your own due diligence before trading.
MA8 Entry + Opposite Candle ExitCondition Action
Cross above MA → full candle above → Buy entry ✅
Cross below MA → full candle below → Sell entry ✅
In a Buy trade, and:
• A red engulfing candle appears, or
• Price closes below MA ❌ Exit Buy
In a Sell trade, and:
• A green engulfing candle appears, or
• Price closes above MA ❌ Exit Sell
[Teyo69] T1 Wyckoff Jump Across the Creek and Ice📌 Overview
This indicator captures Wyckoff-style breakouts :
JAC (Jump Across the Creek) for bullish structure breakouts
JAI (Jump Across the Ice) for bearish breakdowns
It blends support/resistance logic, volume behavior, and slope/momentum from selected trend-following methods.
🧩 Features
Detects JAC (bullish breakout) and JAI (bearish breakdown) based on trend breakouts confirmed by volume.
Supports multiple trend logic modes:
📈 Super Trend
📉 EMA
🪨 Support & Resistance
📊 Linear Regression
Dynamically plots Creek (resistance) and Ice (support)
Incorporates volume spike and rising volume conditions for high-confidence signals
⚙️ How to Use
Select your preferred trend method from the dropdown.
Wait for:
A breakout in direction (up or down)
Rising volume and volume spike confirmation
Follow "Long" (JAC) or "Short" (JAI) labels for potential entries.
🎛️ Configuration
Indicator Leniency - Signal tolerance range after breakout
S&R Length - Pivot detection length for S/R method
Trend Method - Choose how trend is calculated
Volume SMA - Baseline for volume spike detection
Volume Length - Lookback for volume rising check
🧪 Signal Conditions
JAC Direction flips bullish + volume rising + spike
JAI Direction flips bearish + volume rising + spike
⚠️ Limitations
False signals possible during sideways/choppy markets.
Volume behavior depends on exchange feed accuracy.
S/R mode is slower but more stable; EMA & Linear Regression react faster but can whipsaw.
🔧 Advanced Tips
Use this with Wyckoff Accumulation/Distribution zones for better context.
Combine with RSI/OBV or higher timeframe trend filters.
Adjust leniency_lookback if signals feel too early/late.
If you're using Support and Resistance - Price action moves inside S & R it means that price is ranging.
📝 Notes
Volume conditions must confirm breakout, not just direction shift.
Built using native Pine Script switch and plotshape() for clarity.
"Creek" and "Ice" lines are color-coded trend / Support and Resistance zones.
Timeframe Quadrants | InvrsROBINHOODTimeframe Quadrant Visualizer
Summary
This indicator is a powerful visualization tool designed to help traders analyze price action by dividing various timeframes into four distinct, color-coded quadrants. By breaking down periods from a full year to a single minute, it offers a unique perspective on market cycles and intraday patterns. The script includes fully customizable colors and display styles, allowing you to tailor the visual output to your specific charting needs.
Key Features
Multiple Timeframe Divisions: Choose to divide a Year, Month, Week, Day, Hour, or Minute into four parts.
Customizable Quadrant Logic:
Year: Divided into calendar quarters (Jan-Mar, Apr-Jun, Jul-Sep, Oct-Dec).
Month: Divided into four approximate weeks (Days 1-7, 8-14, 15-21, 22-end).
Week: Divided into four 42-hour blocks, starting from Sunday at 00:00.
Day: Divided into four 6-hour blocks.
Hour: Divided into four 15-minute blocks.
Minute: Divided into four 15-second blocks.
Flexible Display Options: Visualize the quadrants as either a full Background Color overlay or a Bar Overlay that colors the price bars directly.
Timeframe Separators: A vertical line is automatically drawn at the beginning of each selected timeframe (e.g., at the start of each new day when "Day" is selected), making it easy to see where each period begins.
Full Color Customization: All four quadrant colors are user-definable, along with a global transparency setting to ensure the indicator complements your chart without obscuring price action.
Timezone-Aware: All calculations are performed based on a user-selected timezone from a dropdown menu, ensuring accuracy and consistency across different markets and trading sessions. As an added option, there is a manual input if the timezone is not available.
How to Use
Add to Chart: Add the "Timeframe Quadrants" indicator to your chart.
Open Settings: Hover over the indicator's name on your chart and click the Settings (gear) icon.
Configure the Indicator:
Timeframe: Select the primary time period you want to divide (e.g., "Day", "Week", "Hour").
Display Method: Choose whether you want the quadrants to appear as a Background Color or a Bar Overlay.
Timezone: Select the desired timezone from the dropdown menu. This is crucial for aligning the quadrants with specific market sessions (e.g., "America/New_York" for the NYSE session).
Quadrant Colors: Customize the color for each of the four quadrants.
Transparency %: Adjust the transparency of the colors to your preference.
Underlying Concepts
This script operates by using Pine Script's built-in time and date variables. It identifies the current bar's position within the user-selected timeframe (timeframe_choice) and assigns it to one of four quadrants based on pre-defined logic. For example, when "Day" is selected, it uses the hour() function to determine which 6-hour block the current bar falls into. The vertical separator lines are generated by detecting a change in the relevant time unit (e.g., ta.change(dayofmonth)), which marks the first bar of a new period.
Disclaimer: This tool is intended for visual analysis and pattern recognition. It does not generate buy or sell signals and should be used in conjunction with your own trading strategy and risk management. Past performance is not indicative of future results.
Ultimate ATR ProUltimate ATR Pro - Professional Volatility Analysis Tool
Unlock Market Turning Points with Precision Volatility Analysis
Key Features
1. Advanced ATR Calculation Engine
4 MA Types: RMA (Wilder's), SMA, EMA, WMA
Customizable Period: Adjust ATR length (default: 14)
Multi-Timeframe Compatible: Works on all chart intervals
2. Smart Volatility Extremum Detection
Low Volatility Signals: Identifies ATR contraction periods
High Volatility Signals: Detects ATR expansion phases
Custom Lookback Period: Set detection window (10-500 bars)
3. Professional Divergence System
Bullish Divergence: Price ↑ while ATR ↓ (trend continuation signal)
Bearish Divergence: Price ↓ while ATR ↑ (trend acceleration signal)
Visual Connection Lines: Dotted lines highlight price-ATR relationships
4. Visual Extreme Value Lines (NEW!)
Lowest ATR Line: Customizable dotted line showing minimum volatility level
Highest ATR Line: Customizable dotted line marking maximum volatility level
Dynamic Positioning: Auto-updates with each new bar
5. Complete Customization System
Full Color Control:
Signal markers (low/high volatility)
Divergence labels
ATR line
Extreme value lines
Background highlights
Toggle Features: Enable/disable any visual element
6. Intelligent Alert System
Dual Alert Types:
Volatility Extremes (Low/High ATR)
Divergence Signals (Bullish/Bearish)
Smart Cooldown: Prevent alert fatigue with adjustable cooldown period
Visual Alert Tags: Color-coded notifications at chart top
7. Professional Dashboard
Real-time status monitoring:
Current volatility state
Cooldown timers
Extreme ATR values
Divergence detection status
Color-coded for instant recognition
How Traders Benefit
Strategic Applications
markdown
复制
| SIGNAL | MARKET CONDITION | TRADING IMPLICATION |
|-----------------------|---------------------------|------------------------------------|
| Low Volatility | Contraction/Consolidation | Prepare for breakout strategies |
| High Volatility | Expansion/Climax | Watch for reversals or pauses |
| Bullish Divergence | Price↑ ATR↓ | Trend continuation opportunity |
| Bearish Divergence | Price↓ ATR↑ | Trend acceleration warning |
| Lowest ATR Line Break | Volatility breakout | Confirm directional movement |
Risk Management Tools
ATR-Based Position Sizing: Use extreme values to calculate optimal trade size
Dynamic Stop Loss: Adjust stops based on current volatility regime
Volatility Filtering: Avoid trading during uncertain high-volatility periods
Setup Recommendations
Parameter Guide
pine
复制
length: 14 // Standard ATR period
lookback: 50 // Optimal for swing trading
cooldownPeriod: 14// Balanced alert frequency
minLineColor: #00C853 // Bright green for low volatility
maxLineColor: #FF3D00 // Bright red for high volatility
Professional Configurations
Day Trading: Lookback=20-30, Cooldown=5-10
Swing Trading: Lookback=50-100, Cooldown=10-20
Position Trading: Lookback=100-200, Cooldown=20-50
Why Choose Ultimate ATR Pro?
"Transforms complex volatility analysis into clear, actionable visual cues - the essential tool for breakout traders and risk managers alike."
Install Now To:
Spot consolidation before big moves
Identify exhaustion at trend extremes
Automate volatility-based position sizing
Receive instant alerts at critical volatility turns
Gain professional-grade insights into market dynamics
Master market rhythms with the most advanced ATR analysis tool on TradingView!
Compatibility: Works flawlessly across stocks, forex, crypto, and commodities on all timeframes.
Version: 2.0 (Enhanced with Extreme Value Lines)
Category: Volatility Analysis | Risk Management | Professional Trading
THF Buy/Sell Signal Crossover and Trend Signals Golden CrossIndicator Explanation:
The "THF Buy/Sell and Golden Cross/Death Cross" indicator is designed to provide trend signals using EMA (Exponential Moving Averages) and SMA (Simple Moving Averages), with a focus on Golden Cross and Death Cross patterns. It also includes Buy and Sell signals based on crossovers of these moving averages. This indicator aims to assist traders in identifying trend changes, potential entry/exit points, and overall market momentum.
Key Features:
1. Exponential Moving Averages (EMA):
EMA 21 (Green): A short-term moving average that responds more quickly to price changes.
EMA 50 (Yellow): A medium-term moving average used to capture intermediate trends.
2. Simple Moving Averages (SMA):
SMA 50 (Red): A longer-term moving average, often used to identify the overall market trend.
SMA 200 (Blue): A key long-term moving average, helping identify major trend shifts in the market.
3. Buy and Sell Signals:
Buy Signal: Triggered when the EMA 21 crosses above the SMA 50 (bullish crossover). This indicates potential buying opportunities.
Sell Signal: Triggered when the EMA 21 crosses below the SMA 50 (bearish crossover), suggesting potential selling opportunities.
4. Golden Cross (Bullish Trend Reversal):
Occurs when EMA 50 crosses above SMA 200. It signals a potential long-term bullish market trend.
Golden Cross is highlighted on the chart with a yellow label to indicate the event.
5. Death Cross (Bearish Trend Reversal):
Occurs when EMA 50 crosses below SMA 200. It suggests a potential bearish market trend.
Death Cross is highlighted with a blue label on the chart to indicate the event.
6. Volume Moving Average:
The volume moving average (based on a 20-period default) is plotted to show the average trading volume.
Volume bars are color-coded (green for high volume, red for low volume) to show when the volume is increasing or decreasing compared to the moving average.
How to Use:
Buy Signal: Look for green labels marked "BUY" when the EMA 21 crosses above the SMA 50.
Sell Signal: Watch for red labels marked "SELL" when the EMA 21 crosses below the SMA 50.
Golden Cross: A yellow label will indicate when the EMA 50 crosses above the SMA 200, signaling potential long-term upward momentum.
Death Cross: A blue label appears when the EMA 50 crosses below the SMA 200, suggesting potential long-term downward pressure.
Volume: Pay attention to the volume bars. High volume (green bars) suggests strong momentum, while low volume (red bars) might indicate weak trends.
Ideal for:
Trend-following traders: This indicator helps identify trend reversals and provide buy/sell signals.
Traders focusing on major trend changes: The Golden and Death Cross signals can help spot long-term bullish or bearish trends.
Volume traders: The volume bars and volume moving average help validate price moves and momentum.
Benefits:
Clear visual signals for buy, sell, golden cross, and death cross events.
Color-coded volume to indicate strong or weak market momentum.
Helps identify trend changes using both short-term and long-term moving averages.
THF Crossover and Trend Signals Golden & Death Cross with VolumeScript Overview:
This Pine Script is designed to assist traders in identifying key buy/sell signals and major trend changes on the chart using Exponential Moving Averages (EMA) and Simple Moving Averages (SMA), as well as visualizing Golden Cross and Death Cross events. The script also includes a volume indicator to highlight the volume trading activity in relation to the price movements.
Key Features:
1. Moving Averages:
EMA 21: Exponential Moving Average over a 21-period, shown in green.
EMA 50: Exponential Moving Average over a 50-period, shown in yellow.
SMA 50: Simple Moving Average over a 50-period, shown in red.
SMA 200: Simple Moving Average over a 200-period, shown in blue.
2. Signals:
Buy Signal: Generated when EMA 21 crosses above SMA 50, indicating a potential upward trend. Displayed with a green label below the price bar.
Sell Signal: Generated when EMA 21 crosses below SMA 50, indicating a potential downward trend. Displayed with a red label above the price bar.
3. Golden Cross (Bullish Trend):
A Golden Cross occurs when EMA 50 crosses above SMA 200, which often signals the start of a long-term upward trend. The signal is displayed with a yellow label below the price bar.
4. Death Cross (Bearish Trend):
A Death Cross occurs when EMA 50 crosses below SMA 200, which often signals the start of a long-term downward trend. The signal is displayed with a blue label above the price bar.
5. Volume Indicator:
The volume is plotted as colored columns. Green indicates higher volume than the 20-period moving average, and red indicates lower volume.
A Volume Moving Average (SMA 20) is also plotted to compare volume changes over time.
How the Script Works:
1. The EMA and SMA lines are plotted on the chart, providing a visual representation of the short- and long-term trends.
2. Buy/Sell signals are triggered based on the crossover between EMA 21 and SMA 50, helping to identify potential entry and exit points.
3. The Golden Cross and Death Cross indicators highlight major trend reversals based on the crossover between EMA 50 and SMA 200, providing clear visual cues for long-term trend changes.
4. Volume is displayed alongside price movements, offering insight into the strength or weakness of a trend.
Key Customizations:
Moving Average Periods: Users can modify the lengths of the EMAs and SMAs for customized analysis.
Volume Moving Average Period: The script allows for adjustment of the volume moving average period to suit different market conditions.
Signal Visibility: The size and color of the buy, sell, Golden Cross, and Death Cross signals can be easily customized to make them more prominent on the chart.
Conclusion:
This script is ideal for traders looking to combine price action with volume analysis, using key technical indicators such as EMA, SMA, Golden Cross, and Death Cross to make informed decisions in trending markets.
---
This explanation covers all aspects of the script and provides a clear understanding of its functionality, which is helpful for sharing the script or using it as an educational resource.
DR OF ORB ( MEROOOO )this indicator marks the first 15 min candle of each session
if the market closed above the box go long with stop loss blow the box
and vice versa
GreenyyP Leverage Vortex v6Function Summary of “GreenyyP Leverage Vortex v6”
General Settings
Input fields for long and short base prices
Configurable leverage factor
Adjustable line length and label offset
Toggles for chart labels and scale display
Separate switch to show/hide base-price lines
Individually Toggleable Levels
Each level can be turned on or off independently under the Long/Short groups:
L1, L2, L3 (percentage deviations from the entry price)
TP (Take Profit)
SL (Stop Loss)
Automatic Stop-Loss Correction
SL percentages are processed with math.abs()
Ensures SL lines always plot below (for Long) or above (for Short) the base price regardless of input sign
Drawing Logic
All lines and labels redraw every 10 bars to keep the chart clean
Previous labels are deleted before drawing new ones
Lines are drawn with a width of 2 for clear visibility
Base-Price Lines & Labeling
Optional solid lines for Long and Short base prices
White price labels for each base line
Percentage or short text labels (e.g. “L1: 5%”, “TP: 20%”, “SL: 5%”) with configurable transparency
With these features, you get fully customizable level-plotting, automatic SL handling, and clear visual cues directly on your chart.
LANZ Strategy 6.0 [Backtest]🔷 LANZ Strategy 6.0 — Precision Backtesting Based on 09:00 NY Candle, Dynamic SL/TP, and Lot Size per Trade
LANZ Strategy 6.0 is the simulation version of the original LANZ 6.0 indicator. It executes a single LIMIT BUY order per day based on the 09:00 a.m. New York candle, using dynamic Stop Loss and Take Profit levels derived from the candle range. Position sizing is calculated automatically using capital, risk percentage, and pip value — allowing accurate trade simulation and performance tracking.
📌 This is a strategy script — It simulates real trades using strategy.entry() and strategy.exit() with full money management for risk-based backtesting.
🧠 Core Logic & Trade Conditions
🔹 BUY Signal Trigger:
At 09:00 a.m. NY (New York time), if:
The current candle is bullish (close > open)
→ A BUY order is placed at the candle’s close price (EP)
Only one signal is evaluated per day.
⚙️ Stop Loss / Take Profit Logic
SL can be:
Wick low (0%)
Or dynamically calculated using a % of the full candle range
TP is calculated using the user-defined Risk/Reward ratio (e.g., 1:4)
The TP and SL levels are passed to strategy.exit() for each trade simulation.
💰 Risk Management & Lot Size Calculation
Before placing the trade:
The system calculates pip distance from EP to SL
Computes the lot size based on:
Account capital
Risk % per trade
Pip value (auto or manual)
This ensures every trade uses consistent, scalable risk regardless of instrument.
🕒 Manual Close at 3:00 p.m. NY
If the trade is still open by 15:00 NY time, it will be closed using strategy.close().
The final result is the actual % gain/loss based on how far price moved relative to SL.
📊 Backtest Accuracy
One trade per day
LIMIT order at the candle close
SL and TP pre-defined at execution
No repainting
Session-restricted (only runs on 1H timeframe)
✅ Ideal For:
Traders who want to backtest a clean and simple daily entry system
Strategy developers seeking reproducible, high-conviction trades
Users who prefer non-repainting, session-based simulations
👨💻 Credits:
💡 Developed by: LANZ
🧠 Logic & Money Management Engine: LANZ
📈 Designed for: 1H charts
🧪 Purpose: Accurate simulation of LANZ 6.0's NY Candle Entry system
LANZ Strategy 6.0🔷 LANZ Strategy 6.0 — One-Shot NY Candle Logic with Dynamic SL/TP, Multi-Account Lot Sizing and Visual Confirmation System
LANZ Strategy 6.0 is a high-precision, visually driven indicator that executes a single operation per day based on the 09:00 a.m. New York candle. Built for simplicity and accuracy, it calculates dynamic Stop Loss and Take Profit levels using the candle range, and adapts position sizing per account with pip-accurate risk control. All actions are visualized in real-time for full clarity.
📌 This is an indicator, not a strategy — It does not place trades automatically, but provides exact entry setups, SL/TP levels, risk-based lot size guidance, and optional alerts.
🧠 Core Logic & Features
🚀 Entry Signal (BUY Only)
A BUY setup is triggered only once per day, when:
The current candle is the 09:00–10:00 a.m. NY session candle
The candle is bullish (close > open)
This single candle is used to define the trade levels for the day, and the signal is only evaluated once. If bullish, a visual "BUY" label appears with SL/TP/EP levels calculated from the candle body or full range.
⚙️ Stop Loss and Take Profit
You can configure:
SL as a percentage of the candle’s range (from wick to wick), or use the wick extreme
RR ratio (e.g., 1:4) to dynamically calculate the TP based on SL
Each level is drawn as a line:
EP (Entry Price) at the candle’s close
SL below the low (or % of range)
TP above the entry at the selected RR
💰 Risk-Based Lot Size Calculation per Account
Manage up to 5 independent accounts simultaneously. Each account can have:
Its own capital
Its own risk percentage per trade
Lot size is calculated automatically for each based on:
Defined SL in pips
The pip value (auto-detected for Forex or manually defined for indices/gold)
📋 All lot sizes are displayed in a dedicated info panel, with their corresponding risk-adjusted values per account.
🖼️ Trade Visualization Panel
When a trade is active, a clean table is displayed in the top-right corner showing:
TP / SL / EP levels
Distance in pips for SL and TP
Lot size per account
Line visuals (style, color, thickness) are fully customizable.
🧪 Outcome Tracking (Real-Time Labels)
For each trade:
If SL is hit → a label shows “–1.00%” at the SL level
If TP is hit → a label shows “+X.XX%” at the TP level
If still open at 3:00 p.m. NY, the trade closes manually and the actual result (in %) is calculated and labeled on chart
🔔 Alerts You Can Trust
You'll get an alert when:
A BUY entry is confirmed
SL or TP is hit
Manual close is triggered at 15:00 NY
All alerts include the symbol, price, and result for immediate action or tracking.
🧭 Execution Flow Summary
Every day:
At 09:00 a.m. NY → Evaluate candle
If bullish:
Set EP, SL, TP
Calculate lot sizes
Plot lines + labels
Display dashboard panel
Monitor SL/TP hits
At 15:00 NY → Force close if needed
💡 Ideal For:
Traders who want a clean, single-shot entry system per day
Index or gold traders who operate with strict SL/TP logic
Anyone managing multiple accounts or fixed-capital models
Visual learners and disciplined execution fans
👨💻 Credits:
💡 Developed by: LANZ
🧠 Execution Model & Logic Design: LANZ
📅 Designed for: 1H timeframe, high-conviction NY-based entries
📈 Purpose: Clean decision-making, precision risk control, visual certainty
ADX + Supertrend Persistent Entry Logicbuy condition should match below condition below
ADX DI plus should above of DI minuse
Supertrend should be bullish
ADX should be above 25
Price should not have order block resistance
Exit from buy when supertrend change trend
Sell condition should match below condition below
ADX DI plus should below of DI minuse
Supertrend should be bearish
ADX should be above 25
Price should not have order block support
Exit from Sell when supertrend change trend
ATR % of yesterday close with SMA (Bull/Bear colored)This script visualizes the Average True Range (ATR) as a percentage of a user-selected price point for a quick view of volatility.
ATR % values are plotted as a color-coded histogram. Bullish days (close > prior close) paint the bar green; bearish days (close < prior close) paint it red; unchanged days are gray.
Two simple moving average (SMA) overlays to reveal volatility trends.
Variables:
Histogram bars represent ATR as a % of one of:
- Previous Close (default option)
- Previous Open
- Today Close
- Today Open
Two SMA lines (default: blue for 20-period, orange for 5-period) shown on ATR % for trend/range regime tracking.
Optionally display the ATR % in continuous line (yellow)—hidden by default.
If you find it helpful, feel free to share any feedback and how you incorporate it into your trading strategy with the community!
OBV Oscillator with Divergence CirclesCredit to original code from the 'PPO Divergence alerts' by Scarf and OBV Oscillator by LazyBear is used as the input.
Replication of Lunndi 'OBV Divergence Alerts (BETA)' script with additional divergence logic implemented.
OBV-based divergence logic adapted from RSI divergence logic added in addition to existing divergence logic.
Modify length and smoothing to suit your trading style. Open source free for use.
Fair Value MSThis indicator introduces rigid rules to familiar concepts to better capture and visualize Market Structure and Areas of Support and Resistance in a way that is both rule-based and reactive to market movements.
Typical "Market Structure" or "Zig-Zag" methods determine swing points based on fixed thresholds (length or percentage). While this does provide rigid structure, the results may be lagging or confusing due to the timing, since it is fixed to static parameters.
I believe the concept of Fair Value Gaps can solve this problem.
As you will notice, there are no length settings in this indicator.
> FVG Market Structure
Fair Value Gaps are a well known concept used to indicate directional intent, forming when price moves aggressively in one direction, leaving behind an imbalance between buyers and sellers. While the term FVG was popularized by ICT, the underlying concept predates them, known historically as imbalances, inefficiencies, or liquidity voids in institutional trading.
Note: For simplicity, in this indicator they'll be called FVGs.
By reading into this, we are able to clearly and rigidly define market structure simply by "looking" at the chart, using objective price events rather than subjective interpretation, or lengths.
By using FVGs to determine structure direction, the length, and speed of identification lies entirely on the market. If an FVG Down occurs immediately after a New Higher High forms, it is reasonable to assume there was a seller at that point, so the script would indicate a New Swing High.
The script is NOT stuck, waiting for a % retrace, or # bars to pass to identify it as such.
Sometimes the market is in a steady trend in a single direction and no FVGs form; therefore, no structure forms. -> Why would we try to impose structure on a clear trend?
Ultimately, the FVG Structure Method uses real reactions from the market to determine Market structure, and is not fixed to specific parameters.
As with other market structure indicators, "Market Structure Breaks" are still identifiable when price moves outside the most recent swing points.
These are helpful to indicate larger direction. In the following section you will see how these help us determine when we should start the search for an "Area of Interest (AOI)".
> Areas of Interest (AOIs)
"Area of Interest (AOI)" is a generalized term, and could refer to many types of zones you might recognize under different names. While the AOIs in this indicator are specialized in their own way, I have chosen to simply use the term "Area of Interest" because it’s more important to understand how they behave and why they exist than to focus on what they’re called.
The goal of an AOI is to point out reasonable areas where buyers or sellers may be staging, as is typical with support and resistance.
In order to reasonably identify these areas, we look for cause and effect relationships. When considering these relationships, it's easier to understand the placement of the points to define each zone.
(Buyer Examples)
Cause: Strong Buyers step in at Swing Low
Effect: Fair Value Gap Forms
Cause: Sustained Buying Pressure
Effect: Market Structure Breaks
In this example, The zone is drawn from the Swing Low, to the Bottom of the FVG closest to the swing point.
In theory, the participation at the swing point was strong and aggressive enough to create the FVG imbalance. Which then found acceptance and continued into a Market Structure Break. So with these AOIs, we are trying to locate the aggressive Buyers or Sellers which were positioned BEFORE the FVG.
These Zones are intended to act as areas to look for reactions from market participants, to judge where price may be going. When revisiting these zones, we look for a reaction or a break, to further provide us information to if the buyers or sellers are still there.
As seen in the screenshot above, The information we gain is not from the creation of these zones, but from the behavior we witness when these zones are revisited.
Technical Note: In this indicator, Market Structure Breaks are only considered when price closes outside the recent swing points. Wicks are not considered as confirmation, therefore are not used to detect structural breaks.
Inside each AOI you can optionally display a readout of the volume which accumulated during the time starting at the swing point and going until the closing bar of the FVG.
Note: We are counting volume until the closing bar of the FVG since the FVG is a 3 bar formation, and aggressive volume is required throughout to create the imbalance.
There are multiple FVGs that typically occur in a single direction, but we do not look to every single one to be indicative of structure, only the first FVG in the opposite direction of the previous direction (which is determined by previous FVGs)
You will probably notice, the AOIs do not form from the closest swing or FVG to the break, this is because we are targeting larger directional changes to draw these AOIs from.
Since they do not always happen perfectly every time, the AOI formation waits for an FVG to occur AND a Market structure break to happen. One without the other will result in no Zone displaying.
> Reflection Lines
While they may seem slightly redundant, Reflection Lines serve as reminders of previous support and resistance pivots. They are drawn at the same Pivots where and AOI is formed, and extend beyond the mitigation of the AOI.
These lines are often points of price to look for "Support Flips", a re-test pattern where price trades through previous support (or resistance) then returns to it and rejects, continuing into a larger move or trend.
Their namesake is based on the behavior of price, "reflecting" at these levels.
The Reflection lines are simple and change color based on price's location.
If price is above, we would typically look to a reflection line in with support in mind.
As a basic filter, these lines use an average price to determine their color, this way they will not change their color as frequently in choppy situations.
> Session Start/End Lines
For analysis purposes and trade review, it is helpful to analyze with context.
For that reason, I have implemented start and end session lines into the indicator, these are helpful when reviewing historical charts to not provide additional context.
By default, they are set to the NYSE Session, but can be changed to fit any needs.
These lines are not advanced, and simply draw a line as the chart passes the start and end of the sessions. It's very likely that you may need to adjust the session for your specific needs.
Note: The Timezone can be adjusted within the code if needed. By Default, the indicator uses "America/New_York" Timezone.
> Conclusion
If you’ve ever felt like your structure tools were confusing or lagging, drawing zones too late, or zones that simply don't make sense, this should feel like a breath of fresh air.
By removing arbitrary length settings and instead using FVGs to define structure and as a basis for AOIs, you're getting a more accurate look at what price is doing and where it's reacting from.
This indicator is rule-based, reactive, and aims to keep things logical without fluff or false confidence.
Enjoy!
TheDevashishratio-MomentumThis custom momentum indicator is inspired by Fibonacci principles but builds a unique sequence with steps of 0.5 (i.e., 0, 0.5, 1, 1.5, 2, ...). Instead of traditional Fibonacci numbers, each step functions as a dynamic lookback period for a momentum calculation. By cycling through these fractional steps, you capture a layered view of price momentum over varying intervals.
The "Fibonacci" Series Used
Sequence:
0, 0.5, 1, 1.5, 2, … up to a user-defined maximum
For trading indicators, lag values (lookback) must be integers, so each step is rounded to the nearest integer and duplicates are removed, resulting in lookbacks:
1, 2, 3, 4, ... N
Indicator Logic
For each selected lookback, the indicator calculates momentum as:
Momentum
n
=
close
−
close
Momentum
n
=close−close
Where:
close = current price
n = integer from your series of
You can combine these momenta for an averaged or weighted momentum profile, displaying the composite as an oscillator.
How To Use
Bullish: Oscillator above zero indicates positive composite momentum.
Bearish: Oscillator below zero indicates negative composite momentum.
Crosses: A cross from below to above zero may signal emerging bullish momentum, and vice versa.
Customization
Adjust max_step to control how many interval lags you want in your composite.
This oscillator averages across many short and mid-term momenta, reducing noise while still being sensitive to changes.
Summary
TheDevashishratio-Momentum offers a fresh momentum oscillator, blending a "Fibonacci-like" progression with technical analysis, and can be easily copy-pasted into TradingView to experiment and refine your edge.
For more on momentum indicator logic or how to use arrays and series in Pine Script, explore TradingView's official documentation and open-source scripts
Timing LinesSmall indicator to show third Friday of each month and triple witching events when monthly, weekly and quarterly contracts expire together.
There is also a period of max pain highlighted, when market makers try to balance options with equities before monthly option contracts expiry.
Fakeout marks events when market MAY be very turbulent
Analisis Perubahan Persentase Blok v2(Part 1: Summary)
The Block Percentage Change Analysis Indicator (APP Block) is a visual tool designed to detect significant price movements within a specific time period. Instead of analyzing each candle individually, this indicator identifies a group (block) of candles and provides a visual signal if the total price change from the first candle to the last candle in the block exceeds the percentage you specify.
The goal is to help traders quickly recognize strong momentum, potential reversals, or breakouts from consolidation phases.
(Part 2: Key Features)
Block Visualization: Automatically colors the entire block of candles that meet the criteria, making it easy to see periods of significant price movement.
Direction Detection: Uses different colors (customizable) for upward (Bullish) and downward (Bearish) movements, providing instant insight into the direction of momentum.
Full Customization: You can easily adjust the main parameters according to your trading style, asset, and timeframe:
Number of candles in one block.
Minimum percentage price change required.
Price source being analyzed (Open, High, Low, Close).
Colors for upward and downward blocks.
Alert System: Equipped with built-in alert conditions that you can set to receive notifications whenever a signal block forms.
(Section 3: How It Works)
This indicator works in a simple way:
It looks back at the number of candles you specify (e.g., 20 candles).
Then, it calculates the price change in percentage between the price on the first candle and the price on the last candle in that block.
If the change (whether up or down) exceeds the threshold you set (e.g., 2%), the entire candle block will be colored according to its direction of movement.
(Section 4: How to Use in Trading)
This indicator is flexible and can be used in various ways:
Momentum Confirmation: After a breakout from a pattern, the appearance of a green block (upward) can serve as strong confirmation that a bullish momentum is underway. The opposite applies for red blocks.
Market Exhaustion Identification: In a prolonged upward trend, the first appearance of a red block can signal the initial entry of significant selling pressure, indicating a potential reversal or correction.
Signal Filter: Use as a filter for other indicators. Example: “I will only take a buy signal from RSI if the price has just formed a green block,” to avoid false signals when the market is sideways.
(Section 5: Settings)
Number of Candles in Block: Set the length of the block being analyzed. Smaller values will be more sensitive, while larger values will indicate long-term trends.
Minimum Percentage Change (%): The threshold to trigger a signal. Adjust this value based on asset volatility (e.g., stocks may require 5%, while forex may need 1%).
Price Source: Select which price (Open, High, Low, Close) best suits your strategy. Close is the default option.
Block Color (Up/Down): Adjust the background color to match your chart theme.
(Section 6: Conclusion and Disclaimer)
We hope this indicator is useful for your analysis and trading strategies.
Remember, no indicator is 100% accurate. Always use the APP Block as part of your larger trading system, combine it with other analyses (such as market structure, support/resistance, etc.), and most importantly, always apply proper risk management.
Suggestions and feedback for further development are greatly appreciated! Happy trading!
Translated with D
High/Low mura visionDescription
High/Low mura vision plots static support and resistance lines based on the completed high and low values of the prior trading day, week and calendar month.
This script:
Anchors each level to the exact start and end bars of the completed period
Does not repaint or extend levels into the current period
Uses request.security() to retrieve only historical data (no lookahead)
This indicator was built to give traders clear, unambiguous reference points for breakout entries, pullback targets or confirmation of supply/demand zones without guessing where to draw manually.
How It Works
At the close of each daily candle, the script captures high and low via request.security() and draws flat lines spanning only that day’s bars.
Similarly, at the close of Friday’s weekly candle and the last bar of each calendar month, it draws the completed week’s and month’s high/low ranges.
All lines are deleted and redrawn only once per period completion, ensuring no forward painting or hidden repainting logic.
Key Features
No repaint: levels appear exactly once, immediately after the period closes
Period‑specific: lines confined to the bars of the prior day, week or month
Customizable: toggle each period on/off; choose independent colors, line styles (Solid, Dotted, Dashed) and width
Lightweight: minimal calculations for maximum performance on any timeframe
How to Use
Apply to any chart (M1 to MN).
In the Inputs panel, enable the levels you need: Yesterday, Last Week or Last Month.
Adjust High and Low line color, style and thickness to suit your chart layout.
Use these historic levels for support/resistance, breakout confirmation or confluence with other tools.
Inputs
Show Yesterday’s High: toggle yesterday’s high line
Show Yesterday’s Low: toggle yesterday’s low line
Show Last Week’s High: toggle last week’s high line
Show Last Week’s Low: toggle last week’s low line
Show Last Month’s High: toggle last month’s high line
Show Last Month’s Low: toggle last month’s low line
High Line Color / Low Line Color: choose colors for each set of lines
High Line Style / Low Line Style: select Solid, Dotted or Dashed
Line Width: adjust overall thickness
Disclaimer
This script is provided “as‐is” under the Public License. It is intended for educational and analytical purposes only and does not constitute trading or investment advice. Past performance does not guarantee future results. Always perform your own analysis and manage risk responsibly.
Current and Prior Inside Bar ColoringDescription
This script colors bars that are inside the prior bar's high and low range. Inside is defined as ≤ the high, and ≥ the low of the prior bar. You can choose to color only the current inside bar or all inside bars on the chart.
Utility
This gives a quick visual indication of inside bars across your chart. Inside bars, by definition, indicate consolidation and non-trending price action. By highlighting both current and historical inside bars, you can quickly identify periods of market indecision and potential breakout zones. Seeing the frequency and clustering of inside bars helps assess overall market conditions.
Function
Colors distinguish if the close is above or below the opening price of each inside bar. You can set different colors for current vs prior inside bars to visually separate real-time signals from historical patterns. If you prefer no distinction, simply use the same colors for both. The "Color prior inside bars?" toggle allows you to show only the current inside bar or all inside bars on your chart.
Momentum_EMABand📢 Reposting this script as the previous version was shut down due to house rules. Follow for future updates.
The Momentum EMA Band V1 is a precision-engineered trading indicator designed for intraday traders and scalpers. This first version integrates three powerful technical tools — EMA Bands, Supertrend, and ADX — to help identify directional breakouts while filtering out noise and choppy conditions.
How the Indicator Works – Combined Logic
This script blends distinct but complementary tools into a single, visually intuitive system:
1️⃣ EMA Price Band – Dynamic Zone Visualization
Plots upper and lower EMA bands (default: 9-period) to form a dynamic price zone.
Green Band: Price > Upper Band → Bullish strength
Red Band: Price < Lower Band → Bearish pressure
Yellow Band: Price within Band → Neutral/consolidation zone
2️⃣ Supertrend Overlay – Reliable Trend Confirmation
Based on customizable ATR length and multiplier, Supertrend adds a directional filter.
Green Line = Uptrend
Red Line = Downtrend
3️⃣ ADX-Based No-Trade Zone – Choppy Market Filter
Manually calculated ADX (default: 14) highlights weak trend conditions.
ADX below threshold (default: 20) + Price within Band → Gray background, signaling low-momentum zones.
Optional gray triangle marker flags beginning of sideways market.
Why This Mashup & How the Indicators Work Together
This mashup creates a high-conviction, rules-based breakout system:
Supertrend defines the primary trend direction — ensuring trades are aligned with momentum.
EMA Band provides structure and timing — confirming breakouts with retest logic, reducing false entries.
ADX measures trend strength — filtering out sideways markets and enhancing trade quality.
Each component plays a specific role:
✅ Supertrend = Trend bias
✅ EMA Band = Breakout + Retest validation
✅ ADX = Momentum confirmation
Together, they form a multi-layered confirmation model that reduces noise, avoids premature entries, and improves trade accuracy.
💡 Practical Application
Momentum Breakouts: Enter when price breaks out of EMA Band with Supertrend confirmation
Avoid Whipsaws: Skip trades during gray-shaded low-momentum periods
Intraday Scalping Edge: Tailored for lower timeframes (5min–15min) where noise is frequent
⚠️ Important Disclaimer
This is Version 1 — expect future enhancements based on trader feedback.
This tool is for educational purposes only. No indicator guarantees profitability. Use with proper risk management and strategy validation.
CRS by TQCRS by TradeQUO
Comparative Relative Strength Indicator
What it does
Computes the percentage difference in performance between your current chart symbol (e.g. GC1!) and a chosen benchmark (e.g. ES1!, DXY, NQ1!).
Smooths that “CRS” line with a configurable moving average (SMA, EMA, WMA) — default length is 63 bars.
Key Plots
CRS (%) (aqua) — how your symbol has held up relative to the benchmark since the chart loaded.
CRS MA (%) (fuchsia) — smoothed trend of that relative strength.
How to Interpret
Trend-Following
Long when CRS crosses above its MA and is above 0 → your symbol is outperforming.
Short (or reverse) when CRS crosses below its MA and is below 0 → underperformance.
Regime Filter
CRS > 0 → Risk-On environment for your symbol vs. benchmark.
CRS < 0 → Risk-Off relative to the benchmark.
Divergence Signals
Bearish Divergence: Price makes a higher high, but CRS makes a lower high → potential sell-off incoming.
Bullish Divergence: Price makes a lower low, but CRS makes a higher low → look for rebound opportunity.
Pairs Trading
Outperformance: Long your symbol + Short benchmark when CRS > MA.
Underperformance: Short your symbol + Long benchmark when CRS < MA.
Why it matters
Reveals relative market leadership early, not just absolute price moves.
Helps you allocate risk dynamically, spot rotations and catch reversals before they show in price alone.