Profitolio 3A Engine 1.0Profitolio is an index and option analysis tool created for Indian derivatives market
It analyses complex set of data to give you insights
Motif-Motif Chart
Day Trading Signals BETAThis TradingView indicator, titled "Day Trading Signals BETA," is a trend-following tool designed to generate clear buy and sell signals directly on the price chart. Its core logic is built around an ATR (Average True Range) trailing stop, which dynamically calculates a stop-loss level that adjusts based on market volatility. The script plots a "Buy" signal when the price crosses above this trailing stop, indicating a potential shift to an uptrend, and a "Sell" signal when the price crosses below it, signaling a potential move into a downtrend. The indicator also colors the price bars blue for bullish conditions and black for bearish conditions, providing an immediate visual confirmation of the current market trend. User-adjustable inputs for sensitivity (Key Value) and the ATR Period allow traders to customize the indicator's responsiveness to different assets and timeframes.
SessionPrepThis indicator is designed for day traders, especially those who follow ICT (Inner Circle Trader) concepts and focus on session-based trading setups.
It automatically marks the key session ranges — including:
• Asian Session: 6:00 PM – 12:00 AM
• London Session: 12:00 AM – 6:00 AM
• New York Session: starting at 9:30 AM (highlighted with a pink vertical line)
Each session’s highs and lows are plotted clearly on the chart, giving traders a quick visual map of liquidity zones, potential breakout areas, and key market reactions. This helps traders identify high-probability areas where price may draw toward or reverse from, following ICT-style logic.
The indicator can also include an optional alarm at the 9:30 AM New York open, helping you stay aware of the most volatile and active trading period of the day.
Whether you’re trading indices, forex, or crypto, this tool provides a clean and ready-to-trade layout each morning — no manual drawing or guesswork needed. It’s especially useful for traders who study session highs/lows, liquidity grabs, and market structure shifts common in ICT-based strategies.
Liq Levels [KoTa]Liq Levels User Guide
Overview
Liquidation Levels visualizes precomputed long & short liquidation price levels relative to the current market price.
For each enabled leverage level (5×, 10×, 20× …), it draws two horizontal lines and small labels:
Short liquidation line (above price) = price × short_multiplier
Long liquidation line (below price) = price × long_multiplier
You can choose which leverage levels to display, control label formatting, choose whether to use the previous bar’s close (no-repaint), change line style & extension, and toggle label size.
Inputs / Settings (what they do)
Use Previous Close (No Repaint) (useConfirmed)
true: the indicator uses close (previous bar close) as reference. Prevents intrabar repainting — recommended for backtesting and stable signals.
false: uses close (current price) — updates intrabar and will repaint during the bar.
Show Price in Label (showValues)
true shows the numeric price next to the x label (e.g., 5x : 42,952.78), false shows only 5x.
Line Style (styleType) — "dot", "line", "dashed".
Extend Lines (extendType) — "none", "left", "right", "both".
Label Size (labelSize) — "normal", "small", "tiny".
Show 5x / 10x / 20x ... 200x (show_5x, etc.) — which multipliers are drawn.
Other technical details in code:
barOffset = 4: label & short segment are placed 4 bars to the right of current bar (so label appears to the right of the bar).
Numbers are formatted according to syminfo.mintick so labels display the appropriate decimal precision.
The script cleans up previously drawn lines & labels on every bar (deletes old objects, draws fresh ones) — so the chart does not accumulate stale objects.
What the lines represent (interpretation)
Each multiplier is precomputed and represents a liquidation price factor used to estimate where positions would be forcibly closed for a given leverage (based on some margin model).
Short multipliers > 1 → short liquidation prices sit above the reference price.
Long multipliers < 1 → long liquidation prices sit below the reference price.
Important: These multipliers are instrument- and margin-model-dependent. The indicator uses the hard-coded multipliers present in the script. Validate these against your exchange / contract type before relying on them for live position sizing.
Why use this indicator?
Use cases:
Risk awareness — see where concentrated liquidation levels sit relative to price; helps avoid taking positions dangerously close to likely liquidation clusters.
Liquidity / cascade detection — when price approaches a large cluster of liquidation levels, sharp moves and cascades can occur; indicator highlights such zones.
Order placement & risk management — place stops or reduce leverage when price nears your liquidation zone.
Trade context — helps decide whether to scale into or out of a trade if the current price is close to many leverage-level liquidation points.
Quick start — how to use (step-by-step)
Load the indicator on the chart.
Choose Use Previous Close = true if you want non-repainting historical levels; false if you prefer intrabar updating. (Recommended: true for backtesting and strategy creation.)
Enable the leverage levels you care about (e.g., 5×, 10×). Keep the number of enabled levels modest (3–4) to avoid clutter.
Choose line style & extension. If you want persistent lines visible across the chart, use extend = left or both. If you only want ephemeral current-level markers, use none.
Interpretation:
If price is approaching the long liquidation line (below price), it’s a sign long positions could be liquidated if price drops further. Consider tightening stops or reducing leverage for long exposure.
If price is approaching the short liquidation line (above price), short positions risk forced closure; similar risk management applies for shorts.
Example strategy (practical, step-by-step)
This is a risk-aware trend-following example that uses the indicator to avoid entering trades too close to liquidation clusters.
Rules
Timeframe: 15-minute or higher for clarity.
Confirm trend with a 50 EMA:
trendUp = price > EMA50
trendDown = price < EMA50
Entry (Long):
trendUp is true.
Price breaks above a short-term resistance or candle close above EMA20 (confirmation).
Distance requirement: current price must be at least X% (example 3%) above the nearest long liquidation line (i.e., price / nearest_long_liquidation >= 1.03).
Enter with defined stop loss: set SL below the nearest long liquidation line OR at a separate level (whichever is more conservative).
Position sizing: choose leverage & size so distance to liquidation gives you at least Y% equity buffer (e.g., 3–5%).
Exit / Take Profit: use risk/reward rule (e.g., 1:2 R:R), or trail stop using EMA or ATR.
Concrete numeric example (worked):
Suppose Use Previous Close = true and the indicator calculates 5× long liquidation at 95.618967 and 5× short at 110.668360 (example base price = 100).
Computation (for clarity):
5× short: 1.10668360333397 × 100 = 110.668360333397 → label shows ~110.668360
20× long: 0.956189674354271 × 100 = 95.61896743542711 → ~95.618967
Entry rule: if price crosses above EMA20 and price / nearest_long_liquidation >= 1.03 (i.e., price ≥ 95.618967 × 1.03 = 98.487536), then entry allowed. If price = 101, condition satisfied (101 / 95.618967 ≈ 1.056).
Why this helps: only enter when you have a buffer above your potential liquidation line; avoid entering directly on top of people’s liquidation levels.
Advantages
Immediate visual risk map — quickly see where liquidations are concentrated (both long & short).
Configurable & non-repainting option — Use Previous Close reduces intrabar repainting for robust backtesting.
Compact & readable — tiny labels and optional price display minimize chart clutter.
Performance-friendly — script deletes and recreates objects each bar, keeping object counts stable and within limits.
Precision formatting via syminfo.mintick so label decimals match the instrument.
Disadvantages & risks / limitations
Multipliers are fixed in the script — they may not reflect the exact margin/liquidation formula of every exchange / contract. Verify with exchange docs before relying on them for trade sizing.
Repainting risk if Use Previous Close = false (intrabar updates). For backtests and alerts you should set it true.
Not a predictor — liquidation levels are potential pressure zones, not guarantees of price movement. Many other market factors affect price action.
Instrument-specific differences — inverse perpetuals, cross margin vs isolated margin, funding rates and insurance funds may change actual liquidation mechanics — the multipliers may be inaccurate for those.
Chart object limits — TradingView has object limits. Although your script deletes and recreates objects each bar and uses max_* _count, using too many levels + large extend combinations on very low timeframes could impact platform performance.
No automatic per-position calculation — the indicator shows levels relative to current price, not your entry; if you need per-trade liquidation price, you must compute using your entry price and actual margin/leverage settings.
Visualizes common long/short liquidation price levels for several leverage multiples. Use the “Use Previous Close” option for stable, non-repainting levels. Verify multipliers vs your exchange before trading.
Long description to paste (publish page content): include the “Why use”, “How to use”, and “Strategy example” sections above plus a short disclaimer (see below).
Include a safety/legal disclaimer in the description:
This indicator is educational and does not constitute financial advice. Multipliers are precomputed and may not precisely match the liquidation mechanics of every exchange or contract. Backtest and verify on your instruments before trading live.
Final notes & suggestions for improvement
If you want tighter integration with your position data (entry price, leverage, margin type), I can add per-trade liquidation calculation inputs (entry price, leverage, maintenance margin) and draw that liquidation line relative to the instrument.
Alpha Smart Money Breakout v7.9most advanced liquidity grabber indicator,
not for free distribution ,
set fee for purchase only
London Midpoint Raid [Plazo Sullivan Roche Capital]London Midpoint BOS AI™ – User Manual
By Plazo Sullivan Roche Capital
Core Strategy in a Nutshell
The London Midpoint BOS AI™ is a precision intraday tool built on ICT and Smart Money Concepts (SMC) principles. It identifies London session reversal-to-continuation setups that align with higher-timeframe (HTF) bias and true market intent.
In essence:
When the Daily and 4H structure is bullish, the market often dips below equilibrium during London’s early volatility to grab liquidity before resuming upward.
Conversely, in a bearish structure, it typically spikes above equilibrium before continuing downward.
The tool automatically detects:
HTF Bias (Daily + H4) via EMA or structure logic
Yesterday’s mid-range (equilibrium)
Intraday Break of Structure (BOS) on your 2–5-minute chart
Volume expansion, confirming institutional displacement
Optional VWAP confluence for extra precision
When all filters align, the script marks BUY or SELL signals during the London Killzone (02:30–04:30 NY time) — when 70% of the day’s institutional liquidity is set.
What’s in It for You
Benefit Description
🎯 Ultra-High Precision Entries
Trades only when price sweeps the prior day’s equilibrium and confirms BOS with real volume expansion.
🧩 Institutional Logic, Simplified
Combines ICT, SMC, and Goldbach bias confirmation without clutter — showing only signals that matter.
⚙️ Adaptive Multi-Timeframe Bias
Auto-syncs with your Daily & H4 direction, ensuring you only trade with macro momentum.
🔔 Alert-Ready for Automation
BUY and SELL alert conditions are pre-built for webhook integration with cTrader or brokers.
📊 Clean Dashboard Interface
Real-time HTF bias panel keeps you aligned with the larger market context.
⏱ Session-Specific Smart Filtering
Restricts signals to the London Killzone for maximum precision and volatility efficiency.
Best Usage Guide
✅ Recommended Chart & Assets
Chart timeframe 2-minute to 5-minute
Higher timeframes monitored 4H and Daily
Pairs & Assets EURUSD, GBPUSD, XAUUSD (Gold), DXY, NAS100
Session London Killzone – 02:30 to 04:30 New York time
Ideal Market Conditions
Asian session forms a narrow, defined range (low volatility).
Price sweeps below or above yesterday’s midpoint during early London volatility.
HTF bias is clear and unconflicted (both Daily and 4H agree).
A strong BOS candle with volume expansion appears immediately after sweep.
VWAP alignment supports the intended direction.
Avoid trading:
Mixed HTF signals (Daily bullish, H4 bearish).
Large fundamental days (CPI, NFP, FOMC).
Markets already heavily trending with no retracement.
Tool Settings Breakdown
Session Control
Limit to London Killzone Filters signals only between 02:30–04:30 NY time.
HTF Bias Method
EMA or Structure Choose how Daily/H4 bias is determined.
Midpoint Logic
Require Sweep of Yesterday’s Midpoint Only triggers signals after liquidity sweep around yesterday’s mid-level.
Volume Confirmation
Volume SMA Length, Volume Expansion ≥ Confirms BOS with a spike in relative volume.
VWAP Confluence
Require VWAP alignment Adds institutional volume reference for more accurate trades.
Display Options
Show Dashboard, Show Midpoint, Show Labels Customize visibility of components for clarity.
How to Interpret Signals
BUY Signal (Bullish Setup)
HTF (Daily & H4) bias = Bullish
Price sweeps below yesterday’s midpoint
A BOS up forms on the 2–5m chart
Volume expansion confirms displacement
Optional VWAP confluence: Price above VWAP
deal Entry:
Buy on retracement to the BOS candle midpoint or a micro Fair Value Gap (FVG).
Target:
First partial at 1R or prior high
Final target near London session high or daily liquidity level
SELL Signal (Bearish Setup)
HTF (Daily & H4) bias = Bearish
Price sweeps above yesterday’s midpoint
A BOS down forms on the 2–5m chart
Volume expansion confirms displacement
Optinal VWAP confluence: Price below VWAP
Ideal Entry:
Sell on retracement to BOS candle midpoint or micro FVG fill.
🎯 Target:
First partial at 1R or session equilibrium
Final target at London low or key liquidity pocket
Best Setup Configuration
Parameter Recommended Value
Timeframe 2-minute or 3-minute
HTF Bias Method EMA (20)
Require Sweep of Midpoint ✅ Enabled
Volume Expansion ≥ 1.5x to 2.0x average
VWAP Filter ✅ Enabled
Session Limit ✅ London Killzone (02:30–04:30 NY)
Display Dashboard ON, Midpoint ON, Labels ON
This configuration yields an excellent balance of signal clarity, precision, and frequency — typically 2–4 valid trades per week per pair, with average R:R of 2.5–4.0.
Pro Tips for Maximum Edge
Bias Confirmation: Always double-check that Daily and H4 structure are aligned before entering.
Session Timing: Wait for the London open (02:30–03:00 NY). Avoid early pre-London signals.
Volume Clues: The best trades come when BOS candles show clear displacement — wide-range, high-volume bars.
Liquidity Targets: Focus on previous day’s high/low, session highs/lows, or obvious liquidity pools.
Psychological Precision: Don’t chase; let the tool print the signal after the sweep, then wait for confirmation.
🔔 Alerts & Automation
Pre-built alert conditions:
BUY: London Midpoint BOS
SELL: London Midpoint BOS
Use them for:
Webhook connections (e.g., cTrader, MT5, or Discord alerts).
External trade execution bots or journaling tools.
🏁 Summary
The London Midpoint BOS AI™ distills institutional concepts into a clean, actionable framework for traders who want to:
Trade only high-probability London setups
Filter out noise and fake reversals
Align entries with HTF direction and real liquidity intent
It’s your daily edge to capture the most profitable 90-minute window in global forex — the London Killzone, where precision beats volume every time.
Sharp Pullback/Profit Taking Detector (ATH)SP_ATH Alert: Early Warning for Gold Pullbacks
Tired of being caught by sharp profit-taking when Gold hits a new All-Time High?
The Sharp Pullback / Profit Taking Detector (SP_ATH Alert) is a powerful Pine Script V5 indicator designed to give you an early warning signal before a rapid market reversal (pullback or significant profit-taking) occurs. It specifically focuses on identifying the critical confluence of weak buying momentum and aggressive selling pressure near recent price peaks.
How the Code Works: A Triple-Filter System
This indicator combines three primary technical analysis categories to filter out noise and generate high-confidence signals:
1. Candlestick Confirmation (The First Clues)
This section detects immediate bearish intent on the chart:
Bearish Pin Bar (Shooting Star): Checks for a long Upper Wick (seller rejection) and a small body, signaling that buyers attempted to push the price up but were immediately overwhelmed by sellers.
Bearish Engulfing: Identifies a large red candle whose body completely engulfs the preceding green candle's body. This represents a clear, aggressive shift in momentum from buying to selling dominance.
2. Price Action & Context Filter (The Warning Signs)
The indicator ensures the pattern occurs in a high-risk, high-reward environment:
Near All-Time High (isNearATH): The signal is only valid if the price is trading near a recent price peak (defined by the athLookback period), where profit-taking is most likely to be severe.
Large Red Bar: Confirms the signal by looking for an aggressive bearish bar whose total range is significantly larger than the average market movement (using ATR).
Weak Higher High (isWeakHH): Detects Exhaustion by identifying a new high with a disproportionately small candle body relative to its upper wick, indicating buyers are losing conviction.
3. Momentum & Indicator Signals (The Undercurrent)
The script uses the RSI (Relative Strength Index) to confirm weakening momentum:
RSI Bearish Divergence: Compares recent price pivots (Higher Highs) with RSI pivots (Lower Highs). This classic signal confirms that the buying momentum is fading, even though the price is still ticking higher.
RSI Breakdown: Triggers when the RSI was previously in the Overbought Zone (above 70) and now breaks down below the 70 level and crosses below its own Exponential Moving Average (EMA), confirming the start of bearish momentum.
Invitation to Use
By requiring a combination of these factors, the SP_ATH Alert provides a robust, multi-layered alert system. Add this indicator to your Gold (XAUUSD) chart on a lower timeframe (e.g., 10-minute or 15-minute) to proactively manage risk and identify potential short entry points during periods of extreme bullish euphoria.
5, 10, 15, 20 SMA//@version=5
indicator("5, 10, 15, 20 SMA", overlay=true)
// 이평선 정의
sma5 = ta.sma(close, 5)
sma10 = ta.sma(close, 10)
sma15 = ta.sma(close, 15)
sma20 = ta.sma(close, 25)
// 차트에 표시
plot(sma5, color=color.red, linewidth=2, title="5 SMA")
plot(sma10, color=color.orange, linewidth=2, title="10 SMA")
plot(sma15, color=color.yellow, linewidth=2, title="15 SMA")
plot(sma20, color=color.green, linewidth=2, title="20 SMA")
Diablo Flow v6 (stable build)⚙️ 1️⃣ Add It to Your Chart
Copy the final Pine script → go to TradingView → Pine Editor → New → Paste → Save → Add to Chart.
Make sure you’re on a 5m, 15m, or 1H chart (for day or swing trading).
You’ll see:
Green bars / background = bullish trend
Red bars / background = bearish trend
“BUY” or “SELL” labels when all internal conditions align
🔍 2️⃣ Understand What Each Component Means
Visual Meaning
Green bars / lime background Bullish trend confirmed (EMA & Supertrend aligned)
Red bars / red background Bearish trend confirmed
Gray / neutral No clear momentum (avoid trades)
BUY / SELL labels Signal when trend + RSI + MACD + Volume all confirm
EMA Fast (Teal) Short-term momentum line
EMA Slow (Orange) Trend direction filter
Supertrend Line (Green/Red) Dynamic support/resistance
🎯 3️⃣ Trading Rules
Entry Setup
✅ BUY (Long)
A “BUY” label appears
Bars are green
Price is above the fast EMA
RSI is > 50
MACD histogram > 0
Volume spike confirmed (relative to recent average)
🔴 SELL (Short)
A “SELL” label appears
Bars are red
Price is below fast EMA
RSI is < 50
MACD histogram < 0
Volume spike confirmed
Entry Timing
After a signal appears:
Wait for candle close to confirm it (don’t enter mid-candle).
On next candle, enter in same direction.
Optional confirmation: use VWAP or Volume Profile:
Only buy if price is above VWAP.
Only short if below VWAP.
Stop-Loss & Take-Profit
💥 Conservative setup (Intraday):
Stop-Loss: below previous swing low (for long) / above swing high (for short).
TP1: 1× ATR (average true range).
TP2: 2× ATR or next resistance/support level.
💥 Aggressive setup (Scalping):
Stop = below last green bar (for long) or above last red bar (for short).
Exit on opposite “SELL”/“BUY” signal.
🧩 4️⃣ Filters to Avoid False Signals
Use higher-timeframe confirmation:
If trading 5m → confirm 15m trend direction.
If trading 15m → confirm 1H trend direction.
Only trade signals in the direction of higher TF trend.
📊 5️⃣ Backtest / Optimize
Open TradingView’s “Strategy Tester” tab (you can ask me for a strategy version next).
Tune these parameters:
EMA Fast/Slow (try 10/30 or 20/50)
ATR Mult (2.0–3.0)
Vol Mult (1.2–2.0)
RSI Bull/Bear thresholds (55/45 for stronger filters)
🧠 6️⃣ Psychology of the System
It’s a trend-following + momentum confirmation system.
Works best in volatile, directional sessions (NY, London, or US futures open).
Avoid using it in flat, low-volume premarket conditions.
🪄 Example: ES / NQ Futures
Timeframe: 5m
Setup: “BUY” label at 9:45 ET with strong volume, background lime.
Entry: Long next candle close.
Exit: Opposite “SELL” label or +10 pts (whichever first).
Stop: Below last red candle.
✅ Summary of Workflow
Step What to Do
1 Wait for BUY/SELL label + bar color confirmation
2 Confirm with VWAP or higher timeframe
3 Enter on next candle close
4 Place stop beyond Supertrend/ATR
5 Take profit at 1×–2× ATR or opposite signal
Overnight Gap Detector Overnight Gap Detector - 4H Body to Body
What it detects:
The indicator finds overnight gaps - i.e., gaps between trading days based on 4-hour (4H) candle data.
Gap Definition (Wick to Wick):
Gap UP: When yesterday's 4H candle's highest point (high) is BELOW today's 4H candle's lowest point (low) - there's "air" between them
Gap DOWN: When yesterday's 4H candle's lowest point (low) is ABOVE today's 4H candle's highest point (high)
Rectangle Drawing (Body to Body):
Although the gap is detected via wicks, the rectangle is only drawn between the bodies:
Gap UP: Draws from today's open to yesterday's body top (max of open/close)
Gap DOWN: Draws from yesterday's body bottom (min of open/close) to today's open
This means the rectangle does NOT cover the wicks, only the actual gap between bodies.
Midline:
50% line between top and bottom of the gap rectangle
Continues to the right along with the rectangle
Stops when the gap is filled
Gap Filled:
A gap is marked as "filled" when:
Gap UP: Price's close goes DOWN and reaches yesterday's body top
Gap DOWN: Price's close goes UP and reaches yesterday's body bottom
Important: Only close body counts, not wicks!
Visual Elements:
Green box: Gap Up (upward gap)
Red box: Gap Down (downward gap)
Yellow box: Filled gap
Labels: "GAP HOLE" when active, "FILLED gap" when filled
Midline: Dotted line through the middle of the gap
Features:
✅ Works on all timeframes (5min, 15min, 1H, 2H, 4H, etc.) - always uses 4H data
✅ Rectangles expand bar by bar until filled
✅ Customizable colors for gaps, borders, midlines, and labels
✅ Label position (inside or outside box)
✅ Toggle to show/hide labels and midlines
✅ Minimum gap size filter (%)
ILM Checklist [Nix]ILM Checklist and Ratings Indicator!
This is a checklist type guide for those that trade the ILM model and are having trouble rating setups on their own.
You can double click on the checklist to open its settings where you can select all the confluences you see on the chart while a setup is forming.
Then the checklist will give you a mechanical estimate of what rating would Nix give it.
Obviously discretion is important as an A+ mechanical setup if still an F setup if you are executing it during a news event.
I have also added a dark / light mode theme toggle to suit your chart.
HTF & PD/PM LevelsTired of mapping your own levels every morning? Look no further! This script automatically maps out and updates HTF & PD/PM Levels along with ATH. I personally use these as confirmation zones with EMA & VWAP, RSI, and Volume... but alone, these levels mark major support and resistances.
What are they?
🏰 HTF Levels — “Big Grown-Up Lines”
HTF = Higher Time Frame
Think of your price chart like a big map. HTF levels are the important lines from bigger chunks of time:
>Daily (yesterday’s close, high, low)
>Weekly (this week’s open, high, low, close)
>Monthly (this month’s open/close)
Why they matter:
These are like big walls and floors that price often bounces off or stops at. Big traders (institutions) watch them because they show where a lot of buying or selling happened before.
⏰ PD & PM Levels — “Yesterday & Morning Clues”
PD = Previous Day
>PDH = Previous Day’s High
>PDL = Previous Day’s Low
>PDC = Previous Day’s Close
PM = Pre-Market
>PMH = Pre-Market High
>PML = Pre-Market Low
>ATH = All-Time High
Why they matter:
These tell you where price moved when most regular traders weren’t awake yet (pre-market) and where it ended up yesterday. Price often revisits or reacts to these spots.
⚡ How Options Traders Use Them
Support & Resistance:
If price is near an HTF or PD/PM level, it might stop and turn around there (like a ball hitting a wall) or it might use it as a launchpad to the next level if it breaks.
Entry & Exit Spots:
Traders might buy calls (bet price goes up) if it breaks above an important level, or puts (bet price goes down) if it breaks below.
Risk Management:
These levels give clear spots to set stops and targets — “If price breaks this level, I’m out.”
Super Simple Picture:
HTF = big important levels from days, weeks, months.
PD/PM = yesterday’s and morning’s clues where price already moved.
Traders use them to guess where price might bounce or break to plan option trades safely.
CAPITAL 121//@version=5
indicator("CAPITAL X", overlay=true)
// === הגדרות משתמש ===
yPos = input.string("Top", "מיקום אנכי של ה־Watermark", options = , inline = '1')
xPos = input.string("Right", "מיקום אופקי של ה־Watermark", options = , inline = '1')
offsetY = input.int(20, "מרחק אנכי מהקצה", minval=0, maxval=100)
txtCol = input.color(color.rgb(255, 255, 255, 80), 'צבע טקסט', inline = '2')
txtSize = input.string('Large', 'גודל טקסט', options = , inline = '2')
// ATR והגדרות תנודתיות
lengthATR = input.int(14, title='אורך ATR')
atrRedThreshold = input.float(7.0, "רף אדום (%)", minval=0)
atrYellowThreshold = input.float(3.0, "רף צהוב (%)", minval=0)
// חישוב ATR
atrValue = ta.atr(lengthATR)
atrPercent = (atrValue / close) * 100
atrDisplay = "ATR (" + str.tostring(lengthATR) + "): " + str.tostring(atrValue, "#.##") + " (" + str.tostring(atrPercent, "#.##") + "%)"
atrEmoji = atrPercent >= atrRedThreshold ? "🔴" : atrPercent >= atrYellowThreshold ? "🟡" : "🟢"
// גודל טקסט
sizer = switch txtSize
"Huge" => size.huge
"Large" => size.large
"Normal" => size.normal
=> size.small
// מיקום טבלה על המסך
posTable = str.lower(yPos) + '_' + str.lower(xPos)
// === תצוגת טבלת Watermark ===
var table watermarkTable = table.new(posTable, 1, 1, border_width=0)
if barstate.islast
table.cell(watermarkTable, 0, 0, atrDisplay + " " + atrEmoji, text_color=txtCol, text_size=sizer, text_halign=text.align_left)
// === חישוב ממוצעים נעים ===
smaShortLength = input.int(20, title='SMA Short Length', minval=1)
smaLongLength = input.int(100, title='SMA Long Length', minval=1)
smaShort = ta.sma(close, smaShortLength)
smaLong = ta.sma(close, smaLongLength)
// ממוצע נוסף (ניטרלי)
showCustomMA = input.bool(true, title='הצג ממוצע נע מותאם אישית')
customMALength = input.int(50, title='Custom MA Length')
customMA = ta.sma(close, customMALength)
plot(showCustomMA ? customMA : na, color=color.orange, linewidth=1, title='Custom MA')
// ציור ממוצעים עיקריים
plot(smaShort, color=color.yellow, linewidth=2, title='SMA 20')
plot(smaLong, color=color.blue, linewidth=2, title='SMA 100')
// איתותים
buySignal = ta.crossover(smaShort, smaLong)
sellSignal = ta.crossunder(smaShort, smaLong)
// הצגת אזורי קנייה ומכירה
plotshape(buySignal, title='אזור קנייה', text='אזור קנייה', location=location.belowbar,
style=shape.labelup, size=size.small, color=color.green, textcolor=color.white)
plotshape(sellSignal, title='אזור מכירה', text='אזור מכירה', location=location.abovebar,
style=shape.labeldown, size=size.small, color=color.red, textcolor=color.white)
// התראות
alertcondition(buySignal, title='אזור קנייה', message='זוהה אזור קנייה!')
alertcondition(sellSignal, title='אזור מכירה', message='זוהה אזור מכירה!')
// === Volume Profile Zone (פרופיל ווליום בסיסי) ===
showVolumeProfile = input.bool(true, title="הצג Volume Profile איזורי (ניסיוני)")
vpRange = input.int(100, title="טווח ברים לניתוח Volume Profile")
var float maxVol = na
var float vwap = na
if showVolumeProfile and bar_index > vpRange
float totalVol = 0.0
float volWeightedPrice = 0.0
for i = 0 to vpRange
totalVol += volume
volWeightedPrice += volume * close
maxVol := totalVol
vwap := volWeightedPrice / totalVol
plot(showVolumeProfile and not na(vwap) ? vwap : na, color=color.purple, style=plot.style_line, linewidth=2, title='Volume Profile VWAP')
Tradpipps SMA Trade Signals SMA Trade Signals that identifies the point where the 5 moving average close below the 20 simple moving average. When that happen label TRADE SIGNAL. Also identifies the point where the 5 simple moving average closes above the 20 simple moving average label that TRADE SIGN
SPX Option Wedge Breakout v1.5a (Dual + Micro)
# SPX Option Wedge Breakout (Dual + Micro) — by Miguel Licero
What it does
This indicator is designed to catch fast, 3–5-bar momentum bursts in **SPX options (OPRA)** or the underlying (SPX/ES). It combines two detection engines:
1. Wedge Breakout Engine
Locates *falling-wedge* compression using recent swing pivots and verifies statistical tightness (channel width vs. ATR).
Confirms breakout when price closes above the wedge’s upper guide **and** above **EMA-21**, with optional **VWAP** confluence and volume expansion.
2. Micro-Breakout Engine (sub-VWAP thrusts)
Triggers when **EMA-9 crosses above EMA-21** and price **breaks the prior N-bar high (BOS)** with volume expansion.
Specifically handles rallies that start **below VWAP**, requiring sufficient “room to VWAP” measured as a fraction of ATR.
This indicador provides a state machine overlay and a dashboard . Consider the following states:
IDLE – no setup
WATCH – valid compression + preconditions (OBV positive, RSI build zone, tightness)
TRIGGER-A – breakout *above VWAP* (Strict mode)
TRIGGER-B/Micro – Under VWAP thrust with room to VWAP or Micro-Breakout (Flexible mode - this is the most common case for SPX options)
Why I believe it works
In my observation i've found short, violent option moves often occur when:
(1) liquidity compresses then releases (wedge), or
(2) micro momentum flips under VWAP and snaps to VWAP/EMA-50 (delta + IV expansion).
The indicator surfaces these two structures with clear, tradeable signals.
---
Inputs (key parameters)
EMAs : 9 / 21 / 50 / 200 (trend/micro-momentum and magnets/targets)
VWAP: optional intraday confluence and distance metric
Wedge: pivot widths (`left/right`), `tightK` (channel width vs ATR), `atrLen`
Volume/OBV/RSI: `volLen`, `volBoost` (volume expansion factor), `obvLen` (slope via linreg), `rsiLen`
VWAP Mode:
Strict – breakout must be above VWAP (TRIGGER-A)
Flexible – allows under VWAP breakouts if there’s room to VWAP (`minVWAPDistATR`) or a Micro-Breakout
Micro-Breakout: `useMicro`, `bosLen` (BOS lookback), `minRSIMicro`
Impulse Bars Target: time-based exit helper (e.g., like 3 or 5 candles)
---
Plots & UI
Overlay: EMA-9/21/50/200, VWAP, wedge guides, **TRIGGER** marker
Background color: state shading (IDLE / WATCH / TRIGGER)
Dashboard (table, top-right): State, VWAP mode, distances to VWAP/EMA-50/EMA-200, EMA-stack (9 vs 21), OBV slope sign, RSI zone, Tightness flag, Impulse counter, Micro status (9>21 / +BOS)
---
Alerts
Consider these status when you see them:
WATCH (there is wedge ready) – compression + preconditions met (prepare the order)
TRIGGER-A (price going above VWAP) – Strict breakout confirmation
TRIGGER-B/Micro – Flexible breakout (price under VWAP with room to go up to VWAP, EMA 200, -OB, resistance line, etc) or Micro-Breakout
---
Recommended Use
Timeframes: 1-minute for execution, 5-minute for context.
Symbols : OPRA SPX options (0-DTE/1-DTE) or SPX/ES for confirmation.
Sessions: Intraday with visible session (VWAP requires intraday data).
Suggested presets (for options):
`VWAP Mode = Flexible`
`minVWAPDistATR = 0.7` (room to VWAP)
`tightK = 1.0–1.2` (compression sensitivity)
`volBoost = 1.2` (raise to 1.3–1.4 if noisy)
`obvLen = 14–20` (14 = more reactive)
`Impulse Bars = 5`
High-probability windows (ET): 11:45–12:45, 13:45–15:15, 15:00–15:45.
---
Notes & Limitations
Designed to surface setups , not to replace discretion. Combine with your risk plan.
VWAP “room” is statistical; on news/latency spikes, distances may be crossed in one bar.
Works on underlyings too, but option % moves are what this study targets.
It's not guaranteed to work 100% of the times. Trade responsibly.
---
ULTIMATE Smart Trading Pro 🔥
## 🇬🇧 ENGLISH
### 📊 The Most Complete All-in-One Trading Indicator
**ULTIMATE Smart Trading Pro** combines the best technical analysis tools and Smart Money Concepts into a single powerful and intelligent indicator. Designed for serious traders who want a real edge in the markets.
---
### ✨ KEY FEATURES
#### 💰 **SMART MONEY CONCEPTS**
- **Order Blocks**: Automatically detects institutional zones where "smart money" enters positions
- **Break of Structure (BOS)**: Identifies structure breaks to confirm trend changes
- **Liquidity Zones**: Spots equal highs/lows areas where institutions hunt stops
- **Market Structure**: Visually displays bullish (green background) or bearish (red background) structure
#### 📈 **ADVANCED TECHNICAL INDICATORS**
- **RSI with Auto Divergences**: Classic RSI + automatic detection of bullish and bearish divergences
- **MACD with Signals**: Identifies bullish and bearish crossovers in real-time
- **Dynamic Support & Resistance**: Adaptive zones with intelligent scoring based on volume, multiple touches, and ATR
- **Fair Value Gaps (FVG)**: Detects unfilled price gaps (imbalance zones)
#### 📐 **AUTOMATIC TOOLS**
- **Auto Fibonacci**: Automatically calculates Fibonacci retracement levels on the last major trend
- **Pivot Points**: Daily, Weekly, or Monthly pivot points (PP, R1, R2, S1, S2)
- **Pattern Finder**: Automatically detects candlestick patterns (Hammer, Shooting Star, Engulfing, Morning/Evening Star) and chart patterns (Double Top/Bottom)
---
### 🎯 HOW TO USE IT
#### Quick Setup:
1. **Add the indicator** to your chart
2. **Open Settings** and enable/disable modules as needed
3. **Adjust parameters** for your trading style (scalping, swing, day trading)
#### Optimal Trading Setup:
🔥 **ULTRA STRONG Signal** when you have:
- An institutional **Order Block**
- Aligned with a **Support/Resistance** tested 3+ times
- An unfilled **FVG** nearby
- An **RSI divergence** confirming the reversal
- On a key **Fibonacci** level (50%, 61.8%, or 78.6%)
- Favorable market structure (green background for buys, red for sells)
---
### 💡 UNIQUE ADVANTAGES
✅ **Adaptive Intelligence**: Automatically adjusts to market volatility (ATR)
✅ **Volume Filters**: Validates important levels with volume confirmation
✅ **Multi-Timeframe Ready**: Works on all timeframes (1m to 1M)
✅ **Complete Alerts**: Notifications for all important signals
✅ **Clear Interface**: Emojis and colored labels for quick identification
✅ **Intelligent Scoring**: Levels ranked by importance (🔴🔴🔴 = very strong)
✅ **100% Customizable**: Enable only what you need
---
### 🎨 SYMBOL LEGEND
**Smart Money:**
- 🟢 OB = Bullish Order Block
- 🔴 OB = Bearish Order Block
- BOS ↑/↓ = Break of Structure
- 💧 LIQ = Liquidity Zone
**Candlestick Patterns:**
- 🔨 = Hammer (bullish signal)
- ⭐ = Shooting Star (bearish signal)
- 📈 = Bullish Engulfing
- 📉 = Bearish Engulfing
- 🌅 = Morning Star (bullish reversal)
- 🌆 = Evening Star (bearish reversal)
**Indicators:**
- 🚀 MACD ↑ = Bullish crossover
- 📉 MACD ↓ = Bearish crossover
- ⚠️ DIV = Bearish RSI divergence
- ✅ DIV = Bullish RSI divergence
**Support & Resistance:**
- 🟢/🔴 S1, R1 = Support/Resistance
- 🟢🟢🟢/🔴🔴🔴 = VERY strong level (3+ touches)
- (×N) = Number of times touched
---
### ⚙️ RECOMMENDED SETTINGS
**For Scalping (1m - 5m):**
- SR Lookback: 15
- Structure Strength: 3
- RSI: 14
- Volume Filter: ON
**For Day Trading (15m - 1H):**
- SR Lookback: 20
- Structure Strength: 5
- RSI: 14
- All filters: ON
**For Swing Trading (4H - Daily):**
- SR Lookback: 30
- Structure Strength: 7
- Pattern Lookback: 100
- Fibonacci: ON
---
### 🚨 DISCLAIMER
This indicator is a decision support tool. It does not guarantee profits and does not constitute financial advice. Always test on a demo account before real use. Trading involves significant risks.
---
## 📞 SUPPORT & UPDATES
For questions, suggestions, or bug reports, please comment below or contact the author.
**Version:** 1.0
**Last Updated:** October 2025
**Compatible:** TradingView Pine Script v6
---
### 🌟 If you find this indicator useful, please give it a 👍 and share it with other traders!
**Happy Trading! 🚀📈**
Trinity Dashboard v1.0For TT Savages
Shows 4 timeframes (customizable):
HMA value and above or below
RSI status - Overbought, Neutral, Oversold and direction
MACD Histogram status - positive and negative with rising or falling
XAUUSD/SPX with SMA(48)📊 Gold vs S&P 500 | XAUUSD/SPX Ratio with SMA (48) – Full Pine Script Breakdown
In this video, we build and explain a custom Pine Script that plots the Gold to S&P 500 ratio (XAUUSD/SPX) along with a 48-period Simple Moving Average (SMA).
This ratio helps us analyze how Gold is performing against equities and whether smart money is shifting from risk assets (stocks) to safe haven (gold).
🔧 What’s Included in the Script:
✅ Live ratio of XAUUSD (Gold) / SPX (S&P 500)
✅ 48-period SMA for trend analysis
✅ Clean visual chart in a separate pane
✅ Pine Script v5 compatible
🧠 Why This Matters:
Tracking the XAUUSD/SPX ratio gives deeper insight into macro trends, inflation hedge behavior, and market sentiment.
A rising ratio can signal weakness in equities and strength in precious metals — a key trend for long-term investors and macro traders.
FMA Pro v1.0Foxbrady Moving Average Pro - uses EMA for tick based charts and SMA for time based charts, automatically.
Boxes & Lines### Boxes & Lines Indicator
This indicator overlays horizontal lines, vertical lines, and boxes on the chart to highlight user-defined sessions, opening prices, and specific times. It supports up to 10 customizable instances each for opening prices, time markers, and session ranges. The source code is protected to preserve the implementation details, but the functionality is designed to provide flexible visual aids for intraday analysis on timeframe.isintraday charts.
#### Purpose
The script allows traders to mark key intraday periods with visual elements such as price lines from session opens, dotted vertical lines at specific times, and boxed ranges with optional projections, mid-levels, equilibrium lines, and point counts. It uses a selected timezone to align elements accurately across different symbols.
#### How It Works
- **Custom Opening Prices (COP)**: Draws horizontal lines at the opening price of specified sessions, extending to the session end or a custom point. Each can be enabled individually with a session time and color.
- **Custom Times (CT)**: Places dotted vertical lines at user-defined times, extending across the chart height. Supports up to 10 with unique colors.
- **Custom Sessions (CS)**: Creates boxes for session ranges, updating dynamically with high/low extremes. Options include:
- Background and border colors with adjustable border width.
- Projections: Extends levels beyond the box based on session range (e.g., full range or half for anchored modes).
- Mid-levels: Short horizontal lines at halfway points between projections.
- Equilibrium (EQ) Line: A dotted line at the session midpoint, optionally extended to a custom end time.
- Point Count: Labels the session range in points (using syminfo.mintick).
- Anchoring: Optionally bases projections on a separate anchor time's open instead of the session's range.
The script uses functions like request.security_lower_tf() for minute-level data and custom string handling for session parsing. It resets visuals at session starts and updates in real-time during active sessions.
#### How to Use
1. Add the indicator to your chart.
2. In the inputs:
- Select a **Timezone** from the dropdown (default: UTC-4) to match your market.
- For each **Custom Opening Price (1-10)**: Enable "Show Custom Opening Price X", set the session (e.g., '0900-1400'), and choose a color.
- For each **Custom Time (1-10)**: Enable "Mark Custom Time X with Vertical Line", set the time (e.g., '0900-0905'), and choose a color.
- For each **Custom Session (1-10)**: Enable "Plot Custom Session X", set the session time (e.g., '0900-1700'), and configure:
- Background and border colors, border size.
- Number of projections (default: 3).
- Toggles for projections, mid-levels, EQ line, point label, and EQ extension.
- Optional anchoring with a separate anchor time.
3. Apply changes; visuals appear on intraday timeframes during or after specified sessions.
This indicator is original and intended as a tool for visualizing time-based structures. It does not generate signals or provide trading advice. Test on historical data to understand behavior on your symbols. Updates may include release notes for any changes.
gex 1//@version=5
indicator("SPY Gamma Levels ", overlay=true)
// Generated from GEX Scanner at 2025-10-06 16:30 UTC
// Symbol: SPY | Spot: 671.39
// Analysis includes all expirations
// Symbol Validation - Only display levels for correct ticker
expectedSymbol = "SPY"
isCorrectSymbol = syminfo.ticker == expectedSymbol
// Warning System for Wrong Symbol
if not isCorrectSymbol and barstate.islast
warningTable = table.new(position.top_right, 1, 1, bgcolor=color.red, border_width=2)
table.cell(warningTable, 0, 0, "⚠️ WRONG SYMBOL! This script is for " + expectedSymbol + " Current chart: " + syminfo.ticker, text_color=color.white, bgcolor=color.red, text_size=size.normal)
// Zero Gamma Level
zero_gamma = 471.66
// Max Pain Strike
max_pain = 659.00
// Major Resistance Levels (Negative Gamma)
resistance_1 = 655.00 // GEX: -215M (minor)
resistance_2 = 663.00 // GEX: -104M (minor)
resistance_3 = 668.00 // GEX: -57M (minor)
// Major Support Levels (Positive Gamma)
support_1 = 675.00 // GEX: +708M (moderate)
support_2 = 680.00 // GEX: +595M (moderate)
support_3 = 670.00 // GEX: +458M (minor)
// Plot Key Levels
plot(isCorrectSymbol ? zero_gamma : na, "Zero Gamma", color=color.yellow, linewidth=3, style=plot.style_line)
if isCorrectSymbol and barstate.islast
label.new(bar_index, zero_gamma, "Zero Gamma $471.66", color=color.yellow, style=label.style_label_left, textcolor=color.black, size=size.normal)
plot(isCorrectSymbol ? max_pain : na, "Max Pain", color=color.purple, linewidth=2, style=plot.style_circles)
if isCorrectSymbol and barstate.islast
label.new(bar_index, max_pain, "Max Pain $659.00", color=color.purple, style=label.style_label_right, textcolor=color.white, size=size.small)
// TOP 3 RESISTANCE LEVELS (Strongest Negative Gamma)
plot(isCorrectSymbol ? resistance_1 : na, "★R1: $655", color=color.red, linewidth=4, style=plot.style_line)
if isCorrectSymbol and barstate.islast
label.new(bar_index, resistance_1, "★R1 (TOP) $655 -215M", color=color.red, style=label.style_label_left, textcolor=color.white, size=size.normal)
plot(isCorrectSymbol ? resistance_2 : na, "★R2: $663", color=color.new(color.red, 20), linewidth=3, style=plot.style_line)
if isCorrectSymbol and barstate.islast
label.new(bar_index, resistance_2, "★R2 (TOP) $663 -104M", color=color.new(color.red, 20), style=label.style_label_left, textcolor=color.white, size=size.normal)
plot(isCorrectSymbol ? resistance_3 : na, "★R3: $668", color=color.new(color.red, 40), linewidth=2, style=plot.style_line)
if isCorrectSymbol and barstate.islast
label.new(bar_index, resistance_3, "★R3 (TOP) $668 -57M", color=color.new(color.red, 40), style=label.style_label_left, textcolor=color.white, size=size.normal)
// TOP 3 SUPPORT LEVELS (Strongest Positive Gamma)
plot(isCorrectSymbol ? support_1 : na, "★S1: $675", color=color.lime, linewidth=4, style=plot.style_line)
if isCorrectSymbol and barstate.islast
label.new(bar_index, support_1, "★S1 (TOP) $675 +708M", color=color.lime, style=label.style_label_right, textcolor=color.black, size=size.normal)
plot(isCorrectSymbol ? support_2 : na, "★S2: $680", color=color.new(color.lime, 20), linewidth=3, style=plot.style_line)
if isCorrectSymbol and barstate.islast
label.new(bar_index, support_2, "★S2 (TOP) $680 +595M", color=color.new(color.lime, 20), style=label.style_label_right, textcolor=color.black, size=size.normal)
plot(isCorrectSymbol ? support_3 : na, "★S3: $670", color=color.new(color.lime, 40), linewidth=2, style=plot.style_line)
if isCorrectSymbol and barstate.islast
label.new(bar_index, support_3, "★S3 (TOP) $670 +458M", color=color.new(color.lime, 40), style=label.style_label_right, textcolor=color.black, size=size.normal)
// ==== TOP 3 GAMMA LEVELS SUMMARY ====
// STRONGEST RESISTANCE (Above $671.39):
// R1: $655.00 | -215M GEX | MINOR
// R2: $663.00 | -104M GEX | MINOR
// R3: $668.00 | -57M GEX | MINOR
// STRONGEST SUPPORT (Below $671.39):
// S1: $675.00 | +708M GEX | MODERATE
// S2: $680.00 | +595M GEX | MODERATE
// S3: $670.00 | +458M GEX | MINOR
// =====================================
// Usage Notes:
// - ★ TOP 3 LEVELS: Thickest lines (4px→3px→2px) with star symbols
// - Resistance levels (red): Negative gamma, potential price ceiling
// - Support levels (lime): Positive gamma, potential price floor
// - Zero Gamma (yellow): Gamma flip point - thicker line for visibility
// - Max Pain (purple): Strike with maximum option value decay
// - Color intensity: Darker = stronger level (top levels are most prominent)
// - Labels show strike prices, GEX values, and ranking for easy reference
// - Focus on TOP 3 levels for key trading decisions
// - Update this indicator throughout the trading day as levels change