Indicador Pine Script®
Padrões gráficos
M5_Bull/Bear BBOM5_ Bull/Bear BBO is a derivative oscillator built from LuxAlgo’s original Bollinger Bands Breakout Oscillator (BBO).
This version restructures the original breakout logic into a bull / bear adaptive oscillator, introduces inverted symmetry, and expands the visual system with dynamic level states and conditional color logic. The goal is to provide contextual momentum awareness rather than discrete trade signals.
A key design focus is the interaction between dominant pressure and the absence of opposing pressure. Buying and selling pressure may coexist, but moments where opposing pressure fully dissipates are treated as structurally significant — a “door opening” condition where price is no longer constrained by counter-pressure and is free to expand.
Pressure is explicitly mirrored from the opposite side, creating a symmetrical framework where each side’s expansion is reflected against the other. These mirrored structures are allowed to cross, not as directional signals, but as markers of peak intensity or exhaustion within an expanding pressure phase.
Transitional regimes — where one pressure fades before the other fully emerges — are intentionally left visible rather than smoothed away. These areas often produce late confirmation or no follow-through at all, and are presented as a challenging but informative market state rather than a condition to be optimized away.
The script is intended for visual analysis and context alignment, not as a standalone entry/exit system.
Credits & Licensing
Original concept and base implementation: LuxAlgo
Modifications, restructuring, and visual system: Metaltek5
License: Creative Commons Attribution–NonCommercial–ShareAlike 4.0 (CC BY-NC-SA 4.0)
This script is published as open source under the same license as the original work.
Non-commercial use only. Attribution and share-alike required.
Annotated example illustrating dominant pressure, mirrored behavior, and door opening conditions
Indicador Pine Script®
Pip Surgeon DeluxePip Surgeon Deluxe – Precision Trade Execution System
Pip Surgeon Deluxe is a proprietary, invite-only trading indicator designed for traders who demand clarity, structure, and precision. It blends multi-timeframe trend alignment with refined entry logic, partial profit management, trailing stops, and real-time market condition awareness.
Built for both scalping and swing trading, Pip Surgeon Deluxe adapts to changing market environments using EMA trend structure, VWAP positioning, RSI confirmation, and ADX-based market strength filtering — all presented through a clean on-chart dashboard.
Key Features
Scalp & Swing modes with automatic bias selection
Multi-timeframe confirmation (5m, 30m, 1H)
EMA trend-based structure with dynamic color cues
VWAP positional confirmation
Partial TP (TP1), final TP (TP2), and intelligent trailing stops
Automatic support & resistance levels
Real-time ADX market condition analysis
One-click master alert system (entries, TP, exits)
On-chart dashboard for instant decision-making
Best Used On
Forex, indices, and metals
5m & 15m execution charts
London and New York sessions
⚠️ Disclaimer: This indicator is for educational purposes only. Past performance does not guarantee future results. Trading involves risk, and users are solely responsible for their trading decisions.
Invite-only access. Source code is private and protected.
Indicador Pine Script®
FVGs, iFVGs and BPRs This script draws out FVGs, iFVGs and BPRs with colored boxes.
Bull FVG: teal (easy on eyes, distinct from iFVG blue)
Bear FVG: red (classic danger color)
Bull iFVG: blue (very distinct)
Bear iFVG: amber/yellow
BPR: purple
Dead: gray
Indicador Pine Script®
GLD Overlay on GCPlots GLD levels on GC
Uses live GLD + live GC during GLD premarket→after-hours (04:00–20:00 NY, Mon–Fri)
Outside that window, it holds the last ratio from the prior daily close
Updates lines after "min_move"
Draws a grid of GLD $1 levels (±N) mapped into GC space
Indicador Pine Script®
SLV Overlay on SIDraws SLV overlay on Silver Futures (SI)
Default overlay symbol: AMEX:SLV
Live session window: 04:00–20:00 NY, Mon–Fri
Outside the live session window, it holds the last ratio from the prior daily close
Updates lines after "min_move"
Draws $1 SLV levels (±N) projected into SI price space
Indicador Pine Script®
Indicador Pine Script®
Box Theory PRO WeeklyBox Theory PRO Weekly is an invite-only indicator designed to identify key weekly, daily, and intraday levels for analyzing range conditions, breakouts, and potential manipulation moves.
It automatically plots weekly boxes, multi-timeframe swings (hourly, 4H, daily), refined pivots, EMAs, Bollinger Bands, VWAP, and Supertrend overlays, and labels potential manipulation moves and structured entry points.
The indicator provides decision zones and signals to support market analysis. It is intended for observation, backtesting, and discretionary execution, and does not place trades automatically.
Key Features
Weekly boxes with prior-week high/low and midline
Multi-timeframe swings (1H, 4H, daily)
Refined levels including opening ranges and pivot highs/lows
Trend overlays: EMA 200 (required), optional EMA 50/20, Bollinger Bands, VWAP, Supertrend
Manipulation detection based on 1H candle size relative to weekly ATR
Entry labels categorized by behavior and timeframe (bounce, break, manipulation fade)
Optional tables for ATR, performance, and key weekly levels
Intended Use
Analyze weekly-structured instruments, including futures, indices, and stocks
Study breakouts, reversals, and multi-timeframe interactions
Complement other analysis methods such as candlestick and volume study
This script does not execute trades; all signals are for analysis and educational purposes only.
Limitations
Optimized for weekly-ranged assets; thresholds may require adjustment for 24/7 markets (crypto, futures)
Signals are informational; past historical behavior does not ensure future results
Access
Box Theory Pro Weekly is offered as a TradingView invite-only script.
Subscription management and billing are handled externally.
Step-by-Step Guide to Using Box Theory PRO Weekly
Step 1: Understand the Indicator
Load your chart (15-minute, 1-hour, or 4-hour recommended) with sufficient historical data to view weekly context. The indicator displays multiple overlays and signals for market structure analysis:
Weekly Box:
Yellow box shows prior week’s high (PWH, red line) and low (PWL, green line)
Extends 20 bars to the right; midline displayed as dashed
Can be used to study range or breakout behavior
Swings and Pivots:
Hourly swings: white highs/lows from 1H data
4H swings: aqua highs / fuchsia lows
Daily swings: lime highs / orange lows
Refined levels: Opening range high/low, pivot highs/lows
Trend Filters and Overlays:
EMA: White 200-period primary trend
Optional EMAs: Gray 50-period, Black 20-period
Bollinger Bands: Blue upper/lower, green midline
VWAP: Blue line, resets weekly
Supertrend: Green = uptrend, Red = downtrend (factor 2.0, ATR 14)
Manipulation Detection:
Labels large 1H candles relative to weekly ATR
Green = Bull Manip, Red = Bear Manip (default threshold: weekly ATR × 0.20)
Entry Signals:
“MANIP LONG” / “MANIP SHORT”
Signals grouped by type: Manipulation, Box, 1H, 4H, Daily — based on bounces, breaks, or structured behavior
Tables (optional): ATR table, performance table, info table
Ensure relevant display settings are enabled and sufficient historical bars are loaded.
Step 2: Customize Settings
Core Options: Box extension (default 20 bars), line width, pivot length, ATR length, touch tolerance
Toggles: Show/hide boxes, swings, refined levels, signals, EMAs, Bollinger Bands, VWAP, Supertrend, tables
Filters: EMA trend filter, Supertrend per strategy, manipulation threshold
Strategies: Enable/disable Manip, Box, 1H, 4H, Daily; max wait candles per strategy; configure filters individually
Alerts: Enable alerts for signals (e.g., “Box Long” or “Manip Long”)
Appearance: Adjust label visibility, colors, max visible labels
Step 3: Interpret and Use
Weekly Box Analysis: Price inside box indicates potential range context; bounces from PWL/PWH indicate possible reactions
Signals: BOX LONG / BOX SHORT; manipulation signals highlight potential unusual activity
Filters in Action: EMA and Supertrend for trend context; Bollinger Bands for volatility assessment
Combine with candlestick and volume analysis for broader context
Signals are for study and discretionary analysis only; outcomes are not guaranteed
Step 4: Set Up Alerts
Right-click chart → Add Alert → select indicator → choose condition (e.g., “Box Long Signal”)
Alerts trigger on confirmed bar close only
Set frequency (once per bar close) and notification method (app/email)
Alerts are informational and do not execute trades
Step 5: Troubleshooting and Notes
Cluttered chart? Disable unused swings or tables
No signals? Ensure strategies are enabled and historical data is sufficient
Adjust colors and visibility for clarity
Review historical signals using the performance table
Optimized for weekly-ranged assets; may require adjustments for 24/7 markets
Indicador Pine Script®
Smart Entry Zones - Trend Based -Teams sirMain Functions:
1. Detects Swing Points:
Finds pivot highs and pivot lows in the market
Identifies if each new swing is a Lower High (LH), Higher High (HH), Lower Low (LL), or Higher Low (HL)
2. Labels Only Current Structure:
Shows only 4 labels maximum on your chart:
LH (Lower High) - Red label
LL (Lower Low) - Green label
HH (Higher High) - Orange label
HL (Higher Low) - Blue label
When a new swing forms, the old label automatically disappears (keeps chart clean)
3. Detects Structure Break:
Watches when price breaks above (or comes near with buffer) the previous Lower High
This signals a potential trend change or reversal setup
4. Draws Entry Box:
When break is detected, automatically draws a blue box
Box shows the lower 50% zone (between mid-level and Lower Low)
This is your entry zone to watch for trades
Box extends forward for 10 candles
5. Shows Stop Loss:
Draws a red dashed line below the box
Stop loss = Lower Low minus (1.5x the candle range of the LL candle)
dedicated to teams sir
Indicador Pine Script®
Market Structure Event TrendThis indicator identifies and visualizes advanced market structure
concepts (SMC) alongside classic price action analysis. It combines
robust, non-repainting pivot detection with a sophisticated engine
that tracks dual-layer trend states, structural breaks (BOS/CHoCH),
and supply/demand zones (Order Blocks).
Key Features:
1. **Non-Repainting Pivot Detection:**
- Uses a standard lookback method (`left` and `right` bars) to
identify historical pivot points.
- **Note on Confirmation:** Pivots are only confirmed *after*
the `Pivot Right Bars` input has passed. This is essential
for ensuring the signal is non-repainting, but it
introduces an inherent lag.
- Automatically classifies the sequence of pivots according to
Dow Theory: Higher Highs (HH), Higher Lows (HL), Lower Highs (LH),
and Lower Lows (LL).
- **Flexible Pivot Algorithms:** Supports various underlying
mathematical models for pivot detection provided by the
core library
2. **Smart Money Concepts (SMC) Engine:**
- **Dual-Layer Structure:** The engine distinguishes between significant
**Major Structure** (Swing Points) and internal **Minor Structure**
(Sub-Structure). This allows traders to separate the overarching trend
from immediate order flow.
- **Event Detection:** Automatically identifies and visualizes key events:
- **BOS (Break of Structure):** Signals trend continuation when a
validated High/Low is broken in the direction of the trend.
- **CHoCH (Change of Character):** Signals a potential trend reversal
when a significant structural level is breached against the trend.
- **Pivot Classification:** Applies classic labels (HH, HL, LH, LL)
while also detecting Equal Highs (EH) and Equal Lows (EL) based on
a user-defined price tolerance.
3. **Automated Order Blocks:**
- Identifies potential Supply and Demand zones (Order Blocks) formed
at the precise origin of a structural break.
- **Mitigation Tracking:** The indicator monitors price action in real-time
and automatically removes or updates Order Blocks once they have been
mitigated (tested/broken) by the price.
- **Scope Awareness:** Distinguishes between Major Order Blocks (Swing origin)
and Minor Order Blocks (Internal flow origin).
4. **Trend State Visualization & Dynamic S/R:**
- A robust state machine analyzes the sequence of events to determine
the current market trend (Bullish, Bearish, or Neutral) for both
Major and Minor scopes.
- **Dynamic Step-Lines:** Visualizes the trend structure directly on the
chart, creating a "staircase" effect that highlights trailing stop levels.
- **Extended Pivot Lines:** Extends dynamic horizontal lines from confirmed
pivots that act as Support/Resistance and automatically terminate
upon a structural break.
5. **Full Customization & Alerts:**
- **Display Options:** Granular control over the visibility of Events,
Labels, Symbols, and Lines. Supports "Relative" vs "Absolute" price
change display.
- **Visual Styling:** Extensive color customization for Bullish/Bearish
scenarios and Major/Minor hierarchy.
- **Comprehensive Alerts:** Set up precise alerts for:
- New Pivot formations (e.g., "Pivot Higher High").
- Structural Events (e.g., "Major Bullish BOS detected").
- Trend State Changes (e.g., "Major Trend changed to Bullish",
"Minor Trend no longer Bearish").
---
**DISCLAIMER**
1. **For Informational/Educational Use Only:** This indicator is
provided for informational and educational purposes only. It does
not constitute financial, investment, or trading advice, nor is
it a recommendation to buy or sell any asset.
2. **Use at Your Own Risk:** All trading decisions you make based on
the information or signals generated by this indicator are made
solely at your own risk.
3. **No Guarantee of Performance:** Past performance is not an
indicator of future results. The author makes no guarantee
regarding the accuracy of the signals or future profitability.
4. **No Liability:** The author shall not be held liable for any
financial losses or damages incurred directly or indirectly from
the use of this indicator.
5. **Signals Are Not Recommendations:** The alerts and visual signals
(e.g., crossovers) generated by this tool are not direct
recommendations to buy or sell. They are technical observations
for your own analysis and consideration.
Indicador Pine Script®
SMC IndicatorSMC Indicator
A comprehensive Smart Money Concepts (SMC) indicator that identifies institutional trading patterns and market structure shifts in real-time.
Features:
Market Structure Detection
CHoCH (Change of Character) - Identifies trend reversals when price breaks structure against the prevailing bias
BoS (Break of Structure) - Confirms trend continuation when price breaks structure in the direction of the current bias
Swing Points - Labels Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) for easy structure tracking
Liquidity Analysis
Equal Highs/Lows (EQH/EQL) - Detects liquidity pools where price has touched similar levels multiple times, creating resting liquidity
Liquidity Sweeps - Identifies when price sweeps beyond swing levels and closes back inside, indicating stop hunts and liquidity grabs
LP Sweep Priority - Highlights sweeps occurring at established EQH/EQL zones with enhanced labeling
Volume & Displacement Filtering
Displacement Filter - Requires significant body size (ATR-based) and above-average volume for valid structure breaks
VSA Integration - Volume Spread Analysis confirms sweep quality with short and long-term volume thresholds
VWAP Mean Zone
Rolling VWAP calculation with dynamic zone based on recent price range
Visual reference for mean reversion and value area trading
Setup Scoring Table
Real-time composite score (-3 to +3 scale) combining:
Structure (CHoCH/BoS events)
Sweep activity
Displacement strength
Volume confirmation
VWAP positioning
Bias direction
Alerts Included:
Bullish/Bearish CHoCH
Bullish/Bearish BoS
Bullish/Bearish LP Sweep (at EQH/EQL zones)
Indicador Pine Script®
Double MACDDouble MACD: Do not short on red bars, do not go long on green bars.
Contact number: 17753556668
Email: 17753556668@163.com
Indicador Pine Script®
Indicador Pine Script®
Alg0 Hal0 Dual MA CrossroadThe Alg0 ۞ Hal0 Dual MA Crossroad is a simple, yet high-precision trend-following indicator designed to eliminate the common pitfalls of standard Moving Average systems: lag and lack of context. By combining responsive MA algorithms with a sophisticated momentum "streak" engine, this tool provides a comprehensive view of market structure.
1. Advanced MA Algorithms
Unlike standard crossovers, this tool allows you to select from 8 different calculation methods for both the Fast and Slow lines.
ZLEMA (Zero Lag EMA): Uses a de-lagging formula to track price turns faster than a standard EMA.
DEMA (Double EMA): Provides a smoother, faster alternative to the single EMA.
HMA (Hull MA): Optimized for reducing lag while maintaining a smooth curve.
VWMA (Volume Weighted): Weights the trend by volume, showing where the "smart money" is moving.
2. Signal Engine & Momentum Streaks
The indicator looks for two primary signals:
The Crossroad: A classic crossover between the Fast and Slow MAs.
Momentum Streaks: Identifies "3-bar power moves" (3 consecutive higher closes or lower closes). These often precede or confirm a crossover, allowing for earlier entries or trend-reinforcement.
3. Smart Visuals & Label Management
ATR-Based Offsets: Labels are dynamically positioned based on current market volatility (ATR). This prevents "price clutter," ensuring labels remain visible above or below candles regardless of the asset's price.
Slope-Based Coloring: MA lines change color based on their internal slope (Bullish vs. Bearish), providing instant visual feedback on momentum shifts before a cross actually occurs.
Clean Charting: Use the Label Count Limit to prevent your chart history from becoming bogged down with old signals.
4. Integrated Intelligence Alerting
The alert system is designed for professional use. Instead of a simple "Cross Up," the webhook or popup provides a detailed report:
Trend Bias: Identifies if the current price is above/below the slow MA.
Volume Context: Automatically detects if the signal is occurring on high relative volume.
Signal Specifics: Tells you exactly which MA types crossed and if a momentum streak was detected.
How to Trade with this Indicator
The Core Setup: Look for a ZLEMA (Fast) cross over an EMA (Slow) for a balance of speed and stability.
Confirmation: Wait for a Momentum Streak alert in the direction of the crossover to confirm high-probability continuation.
Trend Riding: Stay in the trade as long as the MA Slope Color remains consistent with your direction.
Settings Glossary
Fast/Slow MA Type: Choose your calculation algorithm.
ATR Mult (Label Offset): Increase this if labels are too close to the candles.
Label Count Limit: Limits the number of labels kept on the chart to improve performance.
Indicador Pine Script®
Asia Session + London ORB (NY Time)This TradingView indicator automatically identifies and marks key price levels from the **Asia trading session** and the **London Opening Range Breakout (ORB)** in **New York time (NY)**. It is designed for traders who want a clear visual reference for breakout and reversal strategies across major sessions.
**Features:**
1. **Asia Session High, Low, and Midpoint:**
* Automatically detects the high, low, and midpoint of the Asia session (default: 7:00 PM – 3:00 AM NY time).
* Draws a semi-transparent box to visualize the Asia session range.
* Extends levels forward for breakout or range-trading reference.
2. **London ORB High, Low, and Midpoint:**
* Marks the first 15-minute opening range of the London session (default: 3:00 AM – 3:15 AM NY time).
* Draws a semi-transparent box for the London ORB.
* Calculates midpoint and extends lines for easy breakout observation.
3. **Customizable Colors and Line Widths:**
* Users can set colors for session highs, lows, midpoints, and session boxes.
* Adjustable line width for better visibility on charts.
4. **Fully Automated:**
* No manual drawing required.
* Works for futures, forex, indices, or any market symbol.
**Use Case:**
* Identify breakout levels for **London session** relative to **Asia session range**.
* Spot potential reversals or continuation patterns at session highs/lows.
* Quick visual reference for high-probability intraday setups.
**Technical Notes:**
* Built in **Pine Script v6** for TradingView.
* Uses NY timezone by default but sessions can be customized.
* Compatible with intraday and higher timeframes.
Indicador Pine Script®
Alg0 Hal0 RSI 4555
The Alg0 ۞ Hal0 RSI 4555 is a trend-following momentum indicator designed to capture high-probability entries during market pullbacks. It combines a customizable Trend Filter (Moving Average) with a specialized "Armed & Triggered" RSI logic to avoid choppy markets and fakeouts.
1. How the Logic Works
This indicator uses a two-step process to generate signals, ensuring you only enter when momentum is confirmed.
The Trend Filter: The background color tells you the primary trend. If the price is above the Moving Average, the background is Green (Bullish). If below, it is Red (Bearish).
The "Arming" Phase: To prevent chasing "overbought" prices, the script must first see a pullback.
Longs: RSI must drop below 40 while the trend is Bullish.
Shorts: RSI must rise above 60 while the trend is Bearish.
The Trigger: Once "Armed," the script waits for a momentum shift.
LONG Signal: RSI crosses above 55.
SHORT Signal: RSI crosses below 45.
2. Key Visual Features
Dynamic Background: Instantly identifies the macro trend based on your chosen MA (SMA, EMA, HMA, WMA, or ALMA).
Momentum Labels: "LONG" and "SHORT" labels appear directly on the chart when all conditions are met.
Divergence Detection: Automatically plots Bullish and Bearish divergences to warn you of potential trend exhaustion.
Customizable Levels: The four key RSI levels (60, 55, 45, 40) are fully adjustable to fit different assets or timeframes.
3. Settings Guide
RSI Settings: Adjust the RSI length (default is 14) and toggle Divergence labels on/off.
Background Logic: Choose your preferred Moving Average style. ALMA is recommended for the smoothest trend filtering, while SMA/EMA are better for classic trend following.
Custom Levels: Fine-tune the 45/55 trigger points. For more aggressive entries, move these closer to the 50-midline. For more conservative entries, spread them further apart.
4. Best Practices
The "Neutral Zone": The area between 45 and 55 is the "No Man's Land." Wait for a clean candle close and a label before entering a trade.
Risk Management: Use the Recent Swing High/Low or the Trend MA as a logical stop-loss level.
Indicador Pine Script®
MTF OHLC AMD [Pro+]MTF OHLC AMD
It's an extension of
MTF - OHLC - AMD.
The Pro version offers access to many features:
SMT
-Shows correlations between multiple instruments (e.g., Pair 2, Pair 3).
-Auto-matching of pairs to highlight synchronized movements.
-Does not include SMT with DXY.
HTF Projection (High Time Frame)
-Projects higher timeframe levels directly onto the current chart.
-Supports multiple HTFs (e.g., 1H, 4H, Daily, Weekly) with customizable number of candles.
-Shows mid lines and key candle levels for HTFs.
-Full visual customization: candle body, border, and spike colors for bull and bear.
-Options for labels above/below candles and PSP display.
-Manage offsets for candle distance and visual sizing.
Multi-Timeframe and Separators
-Displays levels and period separators across multiple timeframes: for example, on 1m chart,
you can see 15m and 4H references.
-Ideal for strategies combining MTF, HTF, and LTF.
Manipulation Detection (AMD)
-Identifies accumulation, manipulation, and distribution zones.
-Activates manipulation signal when a candle wipes out the previous High or Low and closes
back within the range.
-Highlights CISD zones related to manipulation or HTF SMT.
Advanced Level Analysis
-Tracks daily levels with minimum distance between them.
Visual for HTF - MTF - LTF
Mode 1
tf → TF1 → TF2 → TF3 → TF4
"1m → 15m → 30m → 1h → 4h"
"3m → 30m → 4h → D → W"
"5m → 1h → D → M → 3M"
"15m → 4h → W → M → 3M"
"30m → 4h → W → M → 3M"
"1h → D → M → 3M"
"4h → W → M"
"D → M"
"W → M"
Mode 2
tf → TF1 → TF2 → TF3 → TF4
"1m → 15m → 30m → 1h → 4h"
"3m → 30m → 1h → 4h → D"
"5m → 1h → 4h → D → W"
"15m → 1h → 4h → D → W"
"30m → 1h → 4h → D → W"
"1h → 4h → D → W → M"
"4h → D → W → M"
"D → W → M"
"W → M"
Model SMT: Same TF but Correlated Pairs
Model Manual: use the manually set TF (HTF 1 - HTF 2 - HTF 3 - HTF 4)"
With this indicator, you'll have a clearer view of what it can do to the price.
For example, if we're bullish and see manipulation on the highs in HTF and CISD confirmation in LTF, we can predict that the price will fall to the TP level.
If you like my work support me
Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument. The author takes no responsibility for any losses or damages resulting from the use of this script. Trading involves risk, and you are solely responsible for your trading decisions.
Indicador Pine Script®
Smart Trader winning//@version=6
indicator('Smart Trader winning', overlay = true, max_labels_count = 500)
// Inputs
emaLength = input.int(20, 'EMA Length')
buyColor = input.color(color.teal, 'Buy Arrow Color')
sellColor = input.color(color.red, 'Sell Arrow Color')
// Price and EMA
ema = ta.ema(close, emaLength)
// Volume Delta
deltaVolume = volume * (close - open) / (high - low + 0.0001)
// Buy / Sell Condition
buyCond = ta.crossover(close, ema)
sellCond = ta.crossunder(close, ema)
// Plot EMA
plot(ema, color = color.fuchsia, linewidth = 2)
// Labels for Buy / Sell
if buyCond
label.new(bar_index, low, text = '▲ Buy', color = buyColor, style = label.style_label_up, textcolor = color.white)
if sellCond
label.new(bar_index, high, text = '▼ Sell', color = sellColor, style = label.style_label_down, textcolor = color.white)
// Delta Volume Table (on chart right side)
var table t = table.new(position.top_right, 2, 2, border_width = 1)
buyVol = buyCond ? volume : na
sellVol = sellCond ? volume : na
table.cell(t, 0, 0, 'Buy Vol', bgcolor = color.new(color.green, 80))
table.cell(t, 1, 0, str.tostring(buyVol, format.volume), bgcolor = color.new(color.green, 90))
table.cell(t, 0, 1, 'Sell Vol', bgcolor = color.new(color.red, 80))
table.cell(t, 1, 1, str.tostring(sellVol, format.volume), bgcolor = color.new(color.red, 90))
// Background Highlight for Trade Zone
bgcolor(buyCond ? color.new(color.green, 85) : na)
bgcolor(sellCond ? color.new(color.red, 85) : na)
Indicador Pine Script®
Smart Trader winning//@version=6
indicator('Smart Trader winning', overlay = true, max_labels_count = 500)
// Inputs
emaLength = input.int(20, 'EMA Length')
buyColor = input.color(color.teal, 'Buy Arrow Color')
sellColor = input.color(color.red, 'Sell Arrow Color')
// Price and EMA
ema = ta.ema(close, emaLength)
// Volume Delta
deltaVolume = volume * (close - open) / (high - low + 0.0001)
// Buy / Sell Condition
buyCond = ta.crossover(close, ema)
sellCond = ta.crossunder(close, ema)
// Plot EMA
plot(ema, color = color.fuchsia, linewidth = 2)
// Labels for Buy / Sell
if buyCond
label.new(bar_index, low, text = '▲ Buy', color = buyColor, style = label.style_label_up, textcolor = color.white)
if sellCond
label.new(bar_index, high, text = '▼ Sell', color = sellColor, style = label.style_label_down, textcolor = color.white)
// Delta Volume Table (on chart right side)
var table t = table.new(position.top_right, 2, 2, border_width = 1)
buyVol = buyCond ? volume : na
sellVol = sellCond ? volume : na
table.cell(t, 0, 0, 'Buy Vol', bgcolor = color.new(color.green, 80))
table.cell(t, 1, 0, str.tostring(buyVol, format.volume), bgcolor = color.new(color.green, 90))
table.cell(t, 0, 1, 'Sell Vol', bgcolor = color.new(color.red, 80))
table.cell(t, 1, 1, str.tostring(sellVol, format.volume), bgcolor = color.new(color.red, 90))
// Background Highlight for Trade Zone
bgcolor(buyCond ? color.new(color.green, 85) : na)
bgcolor(sellCond ? color.new(color.red, 85) : na)
Indicador Pine Script®
Gann Market Cycle Alerts (Long-Term)according to gann time cycle move and buy and sell and side ways
Indicador Pine Script®
Hieu gold m2 1688This indicator compares global gold price dynamics with global M2 liquidity.
The M2 aggregate is constructed from four major economies the United States, China, the Eurozone, and Japan which together account for roughly 80 percent of global GDP and the vast majority of global liquidity creation.
By comparing gold with this core M2 proxy, the indicator highlights how changes in global liquidity influence long term gold valuation and macro cycles.
It is designed for macro analysis rather than short term trading and focuses on trend and regime shifts in monetary conditions.
Indicador Pine Script®
Indicador Pine Script®
Shahed Pro Indicator-2Shahed Pro – Pullback & Swing‑High Buy Indicator
What it does (in one line):
Shows two high‑probability long setups in uptrends: Swing‑High Breakout and Pullback to EMA‑20.
It also shows a small info panel with Target (RR), % from 52‑week High/Low, Sector, and Industry.
Why this can help
Focuses only on trend‑aligned long signals.
Filters out weak conditions (no signals when EMA10 ≤ EMA20).
Keeps risk simple: stop = previous candle’s low; target = RR × risk (default 2R).
Lightweight panel gives quick context (how far from 52‑week extremes + the symbol’s sector/industry).
How it works (simple)
1) Trend Filter (hard gate)
No Buy if EMA(10) ≤ EMA(20).
Also requires a broader bias: SMA(50) > SMA(150) and SMA(50) > SMA(200).
2) Buy Signals (only two)
Swing‑High Buy (SH):
A confirmed breakout above the last pivot high (swing high). You can choose close‑based or tick‑based breakout.
Pullback Buy (PB):
After a swing‑high breakout, price pulls back with 3–7 lower closes, touches/near‑touches EMA‑20 (tolerance configurable), then prints a bullish bar (close > open).
3) Risk & Reward
Stop = previous candle’s low at the entry bar.
Target = Entry + RR × (Entry − Stop). Default RR = 2.0 (2R).
Optional lines plot on chart for both target (dashed) and stop (dotted).
Signals on chart
BUY (SH) – Swing‑High breakout over the last pivot high.
BUY (PB) – Pullback to EMA‑20 with a bullish reversal after 3–7 lower closes.
SELL (recent low / swing‑low break) – Minimal downside references (optional; kept for context).
All signals are confirmed on bar close (no repaint of signals after the bar closes).
Mini Info Panel (top‑right by default)
Target (RR) – shows the current absolute target price based on your RR (e.g., 2R).
% from 52‑week High
% from 52‑week Low
Sector (from the symbol metadata)
Industry (from the symbol metadata)
You can move or hide the panel in settings.
Key Inputs (quick guide)
Breakout must be by CLOSE / tick – choose how to confirm a swing‑high breakout.
Use confirmed recent levels – excludes the forming bar when finding recent H/L.
Swing Left / Right – pivot sensitivity for swing‑high detection.
Pullback: EMA‑20 touch – enable/disable, tolerance (%), and lookback window.
RR (x risk) – target multiple (default: 2.0).
Show Target/Stop Lines – toggle lines for clarity.
Mini Info Panel – show/hide, position, transparency.
Best‑practice tips
Timeframe: Designed for daily charts (works on others, but the logic and 52‑week context align best on 1D).
Stocks with clean trends: Works best on names with smooth EMA/MA structure and reasonable liquidity.
Avoid counter‑trend: The EMA10 > EMA20 and SMA filters help, but always check structure and nearby resistance.
Use with a plan: Size risk per trade (e.g., 0.5–1R), stick to the stop, and take partials at 1R if that suits your style.
Alerts (ready to use)
Buy – triggers on either BUY (SH) or BUY (PB) at bar close.
Sell – triggers on sell references at bar close.
Alert messages:
Buy: {{ticker}} {{interval}} close={{close}}
Sell: {{ticker}} {{interval}} close={{close}}
Create alerts from the “Alerts” panel and pick this indicator’s conditions.
What this indicator is not
Not a promise of profits or a guarantee of future performance.
Not a fully automated strategy (it’s an indicator; entries/exits need your discretion).
Not a replacement for risk management or a complete trading plan.
Changelog (summary)
Focused scope: only two buy signals (Swing‑High, Pullback).
Hard EMA gate: no buy when EMA10 ≤ EMA20.
Minimal panel with Target, 52W distances, Sector, Industry.
Clean, confirmed signals at bar close (reduced noise).
Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial, investment, or trading advice. Markets involve risk, including the possible loss of capital. Past performance is not indicative of future results. You are solely responsible for your own trading decisions and risk management. Always do your own research and consult a licensed financial professional if needed.
Indicador Pine Script®






















