LuTheProphecy -- Explicit RS/SP JudgerJudge to use this indicator with glance define Support/Resistance zone. Each line and Number have their own strenght point. The Strenght score wil decrease as bellow define :
(Labels on top giving best reliable score): M > W > A > B > C > D > E > F
On each lable the reliability will be: A3 > A2 > A1
Indicateurs et stratégies
SA_Multi-Timeframe Execution_ORB_RANGE_CLOUDCORE IDEA (Read This First)
This indicator does not give entries by itself.
It answers three critical questions:
Where is weekly balance vs expansion? (Cloud)
Has the week declared intent? (BRK)
Is price aligned across auction speeds? (30 → 15 → 5)
When multiple timeframes agree, price reacts strongly because you’re trading institutional reference points, not indicators.
SECTION I — TIMEFRAME ROLES (VERY IMPORTANT)
🟦 30-Minute Chart — STRUCTURE / BIAS
Role: Weekly map
Defines whether the week is:
Balanced (inside cloud)
Expanding (outside cloud)
You do not enter from 30m
You decide directional bias only
Think of 30m as the “Where am I allowed to trade?” chart.
🟨 15-Minute Chart — CONFIRMATION
Role: Decision layer
Confirms whether price is:
Holding weekly support/resistance
Accepting or rejecting the cloud
First place where BRK matters meaningfully
15m answers:
“Is the market agreeing with the weekly map?”
🟥 5-Minute Chart — EXECUTION
Role: Timing & precision
Used only after 30m + 15m alignment
Provides:
Entry timing
Stop placement
Early failure detection
5m answers:
“When do I engage?”
SECTION II — PAIRING SETUPS
🔷 SETUP A: 30-15-5 (Highest Conviction)
When to Use
You want swing-intraday hybrids
Best for NQ, ES
Best on trend days
Conditions
30m
Price outside weekly cloud
Or clean rejection from cloud boundary
15m
BRK confirms in same direction
OR price holds above/below cloud edge
5m
Pullback or continuation trigger
No counter-BRK against higher frames
Behavior Expectation
Clean directional follow-through
Strong support/resistance reactions
Fewer fakeouts
🔷 SETUP B: 30-15 (Context Only)
When to Use
You’re not trading actively
Or managing runners / swings
Conditions
Use 30m + 15m to:
Hold bias
Avoid counter-trend trades
Stay patient
This pairing prevents over-trading.
🔷 SETUP C: 15-5 (Intraday Precision)
When to Use
You want scalps or short intraday swings
Works extremely well after the weekly cloud is broken
Conditions
15m
Either:
First BRK of the week
Or price firmly outside cloud
5m
Entry after pullback
Or first continuation after compression
This is where you’ll see the “crazy support” you mentioned.
SECTION III — ENVIRONMENT RULES (DO NOT SKIP)
🟧 Price INSIDE the Weekly Cloud
Market State: Compression / Balance
What to expect:
Chop
Fades
Failed breakouts
Best actions:
Smaller targets
Faster exits
Mean-reversion mindset
Avoid:
Holding large trend positions
Forcing continuation trades
🟩 Price OUTSIDE the Weekly Cloud (with BRK)
Market State: Expansion / Trend
What to expect:
Momentum
Strong pullback support
One-directional pressure
Best actions:
Pullback entries
Let winners run
Scale instead of scalp
SECTION IV — PROFIT TARGETS BY PRODUCT
(REALISTIC, STRUCTURE-BASED)
🟦 NASDAQ FUTURES (/NQ)
High volatility, fast expansion
5-Minute
Inside cloud: 5–10 points
Outside cloud / BRK: 10–20 points
15-Minute
Continuation: 15–30 points
Strong weekly trend: 30–50 points
🟨 S&P 500 (/ES)
Cleaner structure, slower moves
5-Minute
Inside cloud: 2–4 points
Outside cloud: 4–8 points
15-Minute
Trend continuation: 6–12 points
Strong week: 12–20 points
🟥 Russell 2000 (/RTY)
Choppy but explosive when aligned
5-Minute
Inside cloud: 3–6 points
Outside cloud: 6–12 points
15-Minute
Trend days: 10–20 points
🟪 Dow Jones (/YM)
Slow but persistent
5-Minute
Inside cloud: 30–60 points
Outside cloud: 60–120 points
15-Minute
Trend continuation: 120–250 points
🟨 Gold Futures (/GC)
Mean-reverting, respect structure
5-Minute
Inside cloud: 3–6 points
Outside cloud: 6–10 points
15-Minute
Continuation: 10–20 points
Weekly trend: 20–35 points
SECTION V — GOLDEN RULES (PRINT THESE)
✅ Trade with the weekly map
✅ Let 30m define bias
✅ Let 15m confirm
✅ Let 5m execute
❌ Do NOT fight the cloud
❌ Do NOT over-size inside balance
Final Thought
When the 15m and 5m align with the weekly structure, you’re trading where liquidity must react — that’s why the support and continuation feel so strong.
Signal Inside the Indicator - trianchor.gumroad.com
chatgpt.com
chatgpt.com
chatgpt.com
Lunar Phases AdvancedHigh Precision Lunar Phases Advanced Indicator
Our Beautiful Companion in the Night:
At New Moon, the Moon sits between Earth and the Sun. The Near side is completely dark, so the Moon is unseen (except during a solar eclipse). At Full Moon, the Near side of the Moon is on the opposite side of Earth from the Sun, so sunlight hits the entire face we see—creating that big, beautifully bright Ball in the night sky. Due to tidal locking, we never see the Far side of the moon from Earth's surface.
Right after New Moon, a thin Waxing Crescent appears low in the western sky at dusk, growing into the half-lit First Quarter, then a bulging Waxing Gibbous until reaching Full Moon which rises exactly as the Sun sets. After Full, it shrinks through Waning Gibbous, Last Quarter (half-lit visible in the early morning sky), finishing with a Waning Crescent (thin sliver again) just before disappearing at dawn for the next New Moon.
The Moon’s orbit is elliptical, so its distance from Earth varies. When Full and near Perigee(closest approach) it appears larger and up to 30% brighter leading way to the name, Super Moon. Near Apogee(farthest distance) the Moon will look smaller and dimmer, or Micro Moon. These extreme alignments tend to cluster in "seasons" because the point of closest approach slowly drifts around the orbit, completing a full cycle every 18.6 years.
Chart zoomed out to highlight the seasonal Super Moon behavior:
This indicator places markers on your chart for every New/Full Moon. Super Moon events use larger circles, Micro Moon events use smaller ones (both optional based on distance at event). There are background colors for Apogee and Perigee events, with optional diamond markers.
Chart with Full/New Moon markers and phase background colors:
Extended Functionality
This advanced version builds on the core Phase detection by adding Lunar orbit extremes with event tilt values:
Precise Perigee (closest approach) and Apogee (farthest away) markers optionally appear as red diamonds above the bar for Perigee and green diamonds below for Apogee.
Background tint shows whether the Moon is currently approaching Perigee (cyan shade) or Apogee (violet shade), giving instant visual context for distance expansion and contraction.
Chart with Apogee/Perigee markers and approaching background colors:
Accuracy:
New and Full Moon times are typically within ±few minutes
Distances are typically within ±10–100 km
Tilt values are typically within ±0.01° of astronomically true.
The Info Table expands to three columns:
Current — live phase name and live geocentric distance
Next Phase — upcoming New or Full Moon, countdown timer, and expected distance
Next Extreme — upcoming Perigee or Apogee, countdown timer, and expected distance
Settings:
Thresholds group:
"Full"/"New" checkboxes turn SuperMoon and MicroMoon individually on or off for each
Distance inputs let you set your own km cutoffs for what counts as super or micro (defaults are common values around 369,000 km and 405,000 km)
Start Date and End Date control the time range the script scans for events (default 2010–2028)
BackGround Color group:
"Current Phase" checkbox turns the Waxing/Waning background colors on or off
Color pickers let you choose your own Waxing (default purple shade) and Waning (default blue shade)
"Approaching" checkbox turns the Apogee/Perigee background colors on or off
Color pickers let you choose your own Perigee (default cyan shade) and Apogee (default violet shade)
Information group:
"Show Info Table" turns the top-right panel on or off
"(New/Full)" checkbox adds detailed labels directly on New/Full bars with user selected time-zone, distance, and Lunar tilt from Earths Ecliptic
"(Peri/Apo)" checkbox adds detailed labels directly on Peri/Apo bars with user selected time-zone, distance, and Lunar tilt from Earths Ecliptic
Drop down time-zone for label
Powered by multiple 50-term approximations of the ELP2000-82B lunar theory.
Disclaimer: The script was developed with assistance from Grok 4.1, always under human supervision and decision-making.
Mr. SnappyMr. Snappy is an advanced VWAP mean reversion indicator designed to identify high-probability price reversals when markets become overextended from the Volume Weighted Average Price (VWAP). Like a curveball that appears to be going one direction before snapping back, Mr. Snappy identifies when price has stretched too far from VWAP and is primed to snap back to equilibrium. Built for intraday traders seeking precision entries with clearly defined risk management.
CORE FEATURES:
Adaptive ATR-Based Bands - Dynamic threshold zones that adjust to market volatility
Auto ATR Technology - Automatically calibrates band placement based on historical price behavior within a 20-40% ATR range, analyzing where price has historically reversed near VWAP to create "brick wall" resistance levels
Predictive Band Algorithms - Five experimental modes for advanced traders:
• Recent Reversal Points: Averages historical reversal distances
• Volume-Weighted Reversal: Weights reversals by volume significance
• Failed Breakout Detection: Tracks where momentum breaks failed
• Multi-Timeframe Confluence: Analyzes higher timeframe VWAP distances
• Linear Regression Channel: Statistical deviation bands
Dual Signal System - Overextended mean reversion signals for stretched price action plus VWAP reaction signals for bounces and rejections in trending markets
Automatic SL/TP Lines - Extends stop loss and take profit lines forward until price hits them, keeping your risk management visible throughout the trade
Flexible Take Profit Targeting - Multiple TP calculation methods:
• VWAP (classic mean reversion target)
• VWAP Bands (opposite band target)
• Fixed Risk-Reward Ratios (1:1 through 7:1)
• 50% Pivot Retracement
• Percentage to Daily High/Low
Confirmation Logic - Optional two-candle confirmation system requiring directional movement before signal trigger, filtering whipsaw entries while adding slight delay
Overextended Tolerance - Adjustable buffer zone from 0-50% requiring price to extend beyond the bands by a specified amount before triggering signals, preventing premature entries on minor extensions
CUSTOMIZATION OPTIONS:
Toggle between manual ATR threshold or Auto ATR for dynamic adjustment
Show or hide bands and fills for clean chart presentation while keeping signals visible
Adjustable pivot types - Local pivots for recent price action or Swing pivots for longer-term reference points
Multi-timeframe analysis support for confluence trading
Fully customizable ATR length, lookback periods, tolerance levels, and band calculation methods
USE CASES:
Scalping overextended moves that snap back to VWAP
Day trading mean reversion setups on liquid instruments
Fading extreme deviations when price stretches beyond statistical norms
VWAP bounce and rejection plays in trending conditions
Quick reaction trades when price touches VWAP in a defined trend
RISK DISCLAIMER:
VWAP resets daily at the start of each trading session. If holding trades across sessions, take profit targets may become invalid as VWAP recalculates. Always reference the NEW VWAP level as your exit target after reset. Consider closing positions before session end or manually adjusting targets. TP lines do NOT auto-update after VWAP reset.
This indicator is a tool for technical analysis and does not constitute financial advice. Past performance does not guarantee future results. Always use proper risk management and position sizing.
BEST PERFORMANCE:
Mr. Snappy works optimally on liquid instruments including stocks, futures, forex majors, and cryptocurrency on intraday timeframes ranging from 1-minute to 15-minute charts. Higher timeframes may produce signals but mean reversion setups are strongest on shorter intervals where VWAP acts as a strong gravitational center.
Experimental features including Auto ATR and Predictive Bands are clearly marked with visual warnings when active. These advanced algorithms may impact performance on lower-end devices when analyzing extensive historical data.
TECHNICAL SPECIFICATIONS:
Uses daily ATR for volatility-adjusted bands
VWAP calculation includes volume weighting for institutional price levels
Pivot-based stop loss placement using recent swing highs and lows
Local pivot lookback default: 2 bars | Swing pivot lookback default: 5 bars
Auto ATR analysis period: 50 bars (configurable 20-200)
Maximum active SL/TP lines: 50 (automatic cleanup)
Overextended tolerance default: 1%
Manual ATR threshold default: 30%
Premium indicator developed for serious intraday traders who demand precise entries, disciplined exits, and adaptive market analysis. Mr. Snappy identifies when price has thrown a curveball and is ready to snap back to the mean.
BRYCE EMA 9/15 Momentum (STRICT)BRYCE EMA 9/15 Momentum — STRICT (All Tickers)
This is the “quality over quantity” version. It still uses the EMA 9/15 crossover, but it only signals when multiple conditions align. If you prefer fewer trades with stronger confirmation, this is the version to use.
What it shows and why it matters
EMA 9 & EMA 15: The core crossover trigger.
Strong Angle/Slope Requirement: Ensures the EMAs are moving with real momentum, not drifting.
Higher EMA Separation Requirement: Demands more expansion so the crossover isn’t just noise.
VWAP Alignment Required: Trades are only considered when price action agrees with VWAP direction.
Volume Impulse Required: Helps confirm real participation instead of “fake” movement.
Time Filter Required: Avoids many low-quality periods when 15-second crossovers are unreliable.
HTF Bias Alignment Required (1m & 5m): The 1-minute and 5-minute trend must support the trade direction.
A-Grade Signals by Design: This version is built to mostly produce A-quality setups.
Best suited for
Traders who want a high-confidence filter
Automation/webhook trading where you only want the cleanest signals
Trend days and strong directional sessions
Least suited for
Range-bound or “mean reversion” days
Traders who want frequent entries (this one will be selective)
Ultra-quiet periods where volume never expands
Best timeframes
Primary: 15-second
Also works: 1-minute (very clean), especially for newer traders who want less noise
DISCLAIMER
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, trading advice, or a recommendation to buy or sell any security, option, or financial instrument.
Trading and investing involve substantial risk, including the potential loss of all invested capital. Past performance, signals, alerts, or examples generated by this indicator do not guarantee future results.
All trading decisions made using this indicator are solely the responsibility of the user. By using this indicator, you acknowledge that you are trading at your own risk and according to your own risk tolerance, financial situation, and experience level.
The creator of this indicator assumes no responsibility or liability for any losses, damages, or outcomes resulting from the use of this tool, whether through manual trading, alerts, or automated systems.
Users are strongly encouraged to practice proper risk management, conduct their own research, and consult with a qualified financial professional before making any trading or investment decisions.
Crypto Session Range 📄 INDICATOR DESCRIPTION (ENGLISH)
Crypto Session Range (Custom Timezone) is a lightweight and accurate session-based indicator designed specifically for cryptocurrency markets (24/7).
This indicator allows traders to define custom trading time windows using any global timezone, solving common issues found in traditional session indicators that are built for stock markets.
🔹 Key Features
Custom timezone support (e.g. America/Puerto_Rico, America/New_York, UTC)
Up to 3 configurable trading sessions
Visual background highlighting during active sessions
Automatic High & Low range tracking for each session
Optional range extension after the session ends
Works on all crypto pairs and timeframes
🔹 Who Is This For?
Crypto traders who want precise session control
Day traders, scalpers, and session-based strategies
Traders who operate during specific market windows (London / NY / custom)
🔹 Notes
This indicator is not restricted to exchange trading hours and is fully compatible with 24/7 markets like crypto, unlike many default session tools.
Trap longs - Hamza Naveed// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
//@version=5
indicator("Trap Longs - Hamza Naveed", max_labels_count = 500, overlay = false, format = format.volume)
g1 = '📊 Net Positions '
g2 = '📈 Moving Averages (VWMA/EMA) '
g3 = '⚙️ Additional Settings '
g4 = '🎚️ Profile '
g5 = '🖥️ Statistics '
g6 = '⚖️ Divergences'
// User inputs - General settings
dtype = input.string('Net Positions', 'Type', options = )
disp = input.string('Candles', 'Display as', options = )
cumu = input.string('Full Data', 'Cumulation', options = )
denom = input.string('Quote Currency', 'Quoted in', options = )
// User inputs - Data Source Settings
binance = input.bool(true, 'Binance USDT.P', inline = 'src')
binance2 = input.bool(true, 'Binance USD.P', inline = 'src')
binance3 = input.bool(true, 'Binance BUSD.P', inline = 'src2')
bitmex = input.bool(true, 'BitMEX USD.P', inline = 'src2')
bitmex2 = input.bool(true, 'BitMEX USDT.P ', inline = 'src3')
kraken = input.bool(true, 'Kraken USD.P', inline = 'src3')
// User inputs - Net Positions
showL = input.bool(true, 'NET LONGS ►', group = g1, inline='l')
showS = input.bool(false, 'NET SHORTS ►', group = g1, inline='s')
showD = input.bool(false, 'NET DELTA ►', group = g1, inline='d')
showR = input.bool(false, 'NET RATIO ►', group = g1, inline='r')
pcolL = input.color(#a5d6a7, '', group = g1, inline = 'l')
ncolL = input.color(#f77c80, '', group = g1, inline = 'l')
lcolL = input.color(#a5d6a7, '━', group = g1, inline = 'l')
pcolS = input.color(#a5d6a7, '', group = g1, inline = 's')
ncolS = input.color(#f77c80, '', group = g1, inline = 's')
lcolS = input.color(#faa1a4, '━', group = g1, inline = 's')
pcolD = input.color(#a5d6a7, '', group = g1, inline = 'd')
ncolD = input.color(#f77c80, '', group = g1, inline = 'd')
lcolD = input.color(#90bff9, '━', group = g1, inline = 'd')
pcolR = input.color(#a5d6a7, '', group = g1, inline = 'r')
ncolR = input.color(#f77c80, '', group = g1, inline = 'r')
lcolR = input.color(#f9d690, '━', group = g1, inline = 'r')
// User inputs - Net Positions EMAs
mat = input.string('VWMA', 'Type', options= , group=g2)
emaL = input.bool(false, 'LONGS ', group=g2, inline='emal')
emaS = input.bool(false, 'SHORTS ', group=g2, inline='emas')
emaD = input.bool(false, 'DELTA ',group=g2, inline='emad')
emaR = input.bool(false, 'RATIO ',group=g2, inline='emar')
emaLl = input.int(100, '', group=g2, inline='emal')
emaSl = input.int(100, '', group=g2, inline='emas')
emaDl = input.int(100, '', group=g2, inline='emad')
emaRl = input.int(100, '', group=g2, inline='emar')
emaLc = input.color(color.rgb(165, 214, 167, 60), '', group=g2, inline='emal')
emaSc = input.color(color.rgb(250, 161, 164, 60), '', group=g2, inline='emas')
emaDc = input.color(color.rgb(144, 191, 249, 60), '', group=g2, inline='emad')
emaRc = input.color(color.rgb(249, 214, 144, 60), '', group=g2, inline='emar')
// User inputs - Additional settings
volhm = input.bool(false, 'Volume HM', group=g3, inline='vol')
volc2 = input.color(color.rgb(49, 121, 245),'', group=g3, inline = 'vol')
offs = input.int (10, 'Label Offset', group=g3)
length = input.int (14, 'Position RSI Length', group=g3)
vlbl = input.bool(true, 'Value Labels', group=g3, inline='lv')
nlbl = input.bool(true, 'Data Labels', group=g3, inline='lv')
wick = input.bool(false, 'Show Candle Wicks', group=g3)
// User inputs - Profile settings
prof = input.bool (false, 'Generate a profile', group=g4)
profsrc = input.string('Net Longs', 'Profile Data', options = , group=g4)
vapct = input.float (70, 'Value Area %', minval = 5, maxval = 95, group = g4)
ori = input.string("Left", 'Position', options = , group = g4)
profSize = input.int (2, 'Node Size', minval = 1, group = g4)
rows = input.int (40, 'Rows', minval = 6, maxval = 500, step = 25, group = g4) - 1
vancol = input.color (color.new(color.blue, 75), 'Node Colors ', group = g4, inline = 'nc')
nvancol = input.color (color.new(color.gray, 75), '━', group = g4, inline = 'nc')
poc = input.bool (false, 'POC', group = g4, inline = 'POC'),
poccol = input.color (color.new(color.red, 50), ' ', group = g4, inline = "POC")
val = input.bool (false, 'VA', group = g4, inline = "VA")
vafill = input.color (color.new(color.blue, 95), ' ', group = g4, inline = 'VA')
// User inputs - Statistics
stats = input.bool(false, 'Show Stats', group = g5)
chg_b = input.int(50, 'Bars Back', group = g5)
tablevpos = input.string('Horizontal', 'Orientation', options= , group = g5)
tablepos = input.string('Bottom Center', 'Position', options= , group = g5)
stat_oi = input.bool(true, 'OI ━', group = g5, inline = 'oi')
stat_nl = input.bool(true, 'NL ━', group = g5, inline = 'nl')
stat_ns = input.bool(true, 'NS ━', group = g5, inline = 'ns')
stat_nd = input.bool(true, 'ND ━', group = g5, inline = 'nd')
stat_oi_c = input.bool(true, 'OI Change ━', group = g5, inline = 'oi')
stat_nl_c = input.bool(true, 'NL Change ━', group = g5, inline = 'nl')
stat_ns_c = input.bool(true, 'NS Change ━', group = g5, inline = 'ns')
stat_nd_c = input.bool(true, 'ND Change ━', group = g5, inline = 'nd')
stat_oi_r = input.bool(true, 'OI RSI', group = g5, inline = 'oi')
stat_nl_r = input.bool(true, 'NL RSI', group = g5, inline = 'nl')
stat_ns_r = input.bool(true, 'NS RSI', group = g5, inline = 'ns')
stat_nd_r = input.bool(true, 'ND RSI', group = g5, inline = 'nd')
// User inputs - Divergence Finder
showdiv = input.bool(false, 'Divergence finder', group = g6)
divsrc = input.string('Net Longs', 'Source', options = , group=g6)
pivotDistance = input.int(5, 'Maximum Distance', minval=0, group=g6)
leftPivot = input.int(8, 'Lookback Bars Left', minval=1, group=g6)
rightPivot = input.int(8, 'Lookback Bars Right', minval=1, group=g6)
pHH_npLH = input.bool(true, 'Price HH + Data LH', group = g6, inline='div1')
pLH_npHH = input.bool(true, 'Price LH + Data HH', group = g6, inline='div2')
pLL_npHL = input.bool(true, 'Price LL + Data HL ', group = g6, inline='div3')
pHL_npLL = input.bool(true, 'Price HL + Data LL ', group = g6, inline='div4')
pHH_npLHcol = input.color(color.red, '', group = g6, inline='div1')
pLH_npHHcol = input.color(color.red, '', group = g6, inline='div2')
pLL_npHLcol = input.color(color.green, '', group = g6, inline='div3')
pHL_npLLcol = input.color(color.green, '', group = g6, inline='div4')
// Getting OI data
mex = syminfo.basecurrency=='BTC' ? 'XBT' : string(syminfo.basecurrency)
= request.security('BINANCE' + ":" + string(syminfo.basecurrency) + 'USDT.P_OI', timeframe.period, [close-close , close], ignore_invalid_symbol = true)
= request.security('BINANCE' + ":" + string(syminfo.basecurrency) + 'USD.P_OI', timeframe.period, [close-close , close], ignore_invalid_symbol = true)
= request.security('BINANCE' + ":" + string(syminfo.basecurrency) + 'BUSD.P_OI', timeframe.period, [close-close , close], ignore_invalid_symbol = true)
= request.security('BITMEX' + ":" + mex + 'USD.P_OI', timeframe.period, [close-close , close], ignore_invalid_symbol = true)
= request.security('BITMEX' + ":" + mex + 'USDT.P_OI', timeframe.period, [close-close , close], ignore_invalid_symbol = true)
= request.security('KRAKEN' + ":" + string(syminfo.basecurrency) + 'USD.P_OI', timeframe.period, [close-close , close], ignore_invalid_symbol = true)
deltaOI = (binance ? nz(oid1,0) : 0) + (binance2 ? nz(oid2,0)/close : 0) + (binance3 ? nz(oid3,0) : 0) + (bitmex ? nz(oid4,0)/close : 0) + (bitmex2 ? nz(oid5,0)/close : 0) + (kraken ? nz(oid6,0)/close : 0)
OI = (binance ? nz(oi1,0) : 0) + (binance2 ? nz(oi2,0)/close : 0) + (binance3 ? nz(oi3,0) : 0) + (bitmex ? nz(oi4,0)/close : 0) + (bitmex2 ? nz(oi5,0)/close : 0) + (kraken ? nz(oi6,0)/close : 0)
// Conditions for positions entering and exiting
priceUP = close>open
priceDOWN = close0
oiDOWN = deltaOI<0
newlongs = oiUP and priceUP
rektlongs = oiDOWN and priceDOWN
newshorts = oiUP and priceDOWN
rektshorts = oiDOWN and priceUP
// Visible range
vrc = cumu=='Visible Range' ? time > chart.left_visible_bar_time and time <= chart.right_visible_bar_time : true
// Cumulation of positions entering and exiting
longs_entering = ta.cum(newlongs and vrc ? (denom=='Base Currency' ? deltaOI : deltaOI * close) : 0)
longs_exiting = ta.cum(rektlongs and vrc ? (denom=='Base Currency' ? deltaOI : deltaOI * close) : 0)
shorts_entering = ta.cum(newshorts and vrc ? (denom=='Base Currency' ? deltaOI : deltaOI * close) : 0)
shorts_exiting = ta.cum(rektshorts and vrc ? (denom=='Base Currency' ? deltaOI : deltaOI * close) : 0)
// Output data
net_longs = longs_entering - math.abs(longs_exiting)
net_shorts = shorts_entering - math.abs(shorts_exiting)
net_delta = net_longs - net_shorts
net_ratio = net_longs / net_shorts
// Calculating Relative Strength
longs_strength = ta.rsi(net_longs, length)
shorts_strength = ta.rsi(net_shorts, length)
delta_strength = ta.rsi(net_delta, length)
ratio_strength = ta.rsi(net_ratio, length)
oi_strength = ta.rsi(OI, length)
// Calculating candle OHLC
src = dtype=='Net Positions' ? net_longs : longs_strength
OpenL = wick ? ta.sma(src , 2) : src
HighL = ta.highest(src, 1)
LowL = ta.lowest(src, 1)
CloseL = wick ? ta.sma(src, 2) : src
src2 = dtype=='Net Positions' ? net_shorts : shorts_strength
OpenS = wick ? ta.sma(src2 , 2) : src2
HighS = ta.highest(src2, 1)
LowS = ta.lowest(src2, 1)
CloseS = wick ? ta.sma(src2, 2) : src2
src3 = dtype=='Net Positions' ? net_delta : delta_strength
OpenD = wick ? ta.sma(src3 , 2) : src3
HighD = ta.highest(src3, 1)
LowD = ta.lowest(src3, 1)
CloseD = wick ? ta.sma(src3, 2) : src3
src4 = dtype=='Net Positions' ? net_ratio : ratio_strength
OpenR = wick ? ta.sma(src4 , 2) : src4
HighR = ta.highest(src4, 1)
LowR = ta.lowest(src4, 1)
CloseR = wick ? ta.sma(src4, 2) : src4
// Calculating EMAs
Lema = mat=='EMA' ? ta.ema(src, emaLl) : ta.vwma(src, emaLl)
Sema = mat=='EMA' ? ta.ema(src2, emaSl) : ta.vwma(src2, emaSl)
Dema = mat=='EMA' ? ta.ema(src3, emaDl) : ta.vwma(src3, emaDl)
Rema = mat=='EMA' ? ta.ema(src4, emaRl) : ta.vwma(src4, emaRl)
// Conditions
lcondL = showL and (disp=='Line' or disp=='Columns'), ccondL = showL and disp=='Candles'
lcondS = showS and (disp=='Line' or disp=='Columns'), ccondS = showS and disp=='Candles'
lcondD = showD and (disp=='Line' or disp=='Columns'), ccondD = showD and disp=='Candles'
lcondR = showR and (disp=='Line' or disp=='Columns'), ccondR = showR and disp=='Candles'
// Plotting Lines
plot(lcondL ? src : na, title="Net Longs", color=disp=='Line' ? lcolL : (net_longs >0 ? pcolL : ncolL), linewidth=1, style = disp=='Line' ? plot.style_line : disp=='Columns' ? plot.style_columns : na, editable = false)
plot(lcondS ? src2 : na, title="Net Shorts", color=disp=='Line' ? lcolS : (net_shorts >0 ? pcolS : ncolS), linewidth=1, style = disp=='Line' ? plot.style_line : disp=='Columns' ? plot.style_columns : na, editable = false)
plot(lcondD ? src3 : na, title="Net Shorts", color=disp=='Line' ? lcolD : (net_delta >0 ? pcolD : ncolD), linewidth=1, style = disp=='Line' ? plot.style_line : disp=='Columns' ? plot.style_columns : na, editable = false)
plot(lcondR ? src4 : na, title="Net Ratio", color=disp=='Line' ? lcolR : (net_ratio >0 ? pcolR : ncolR), linewidth=1, style = disp=='Line' ? plot.style_line : disp=='Columns' ? plot.style_columns : na, editable = false)
// Plotting Candles
plotcandle(ccondL ? OpenL : na, ccondL ? HighL : na, ccondL ? LowL : na, ccondL ? CloseL : na, "Longs", CloseL>OpenL ? pcolL : ncolL, CloseL>OpenL ? pcolL : ncolL, false, bordercolor = CloseL>OpenL ? pcolL : ncolL)
plotcandle(ccondS ? OpenS : na, ccondS ? HighS : na, ccondS ? LowS : na, ccondS ? CloseS : na, "Shorts", CloseS>OpenS ? pcolS : ncolS, CloseS>OpenS ? pcolS : ncolS, false, bordercolor = CloseS>OpenS ? pcolS : ncolS)
plotcandle(ccondD ? OpenD : na, ccondD ? HighD : na, ccondD ? LowD : na, ccondD ? CloseD : na, "Delta", CloseD>OpenD ? pcolD : ncolD, CloseD>OpenD ? pcolD : ncolD, false, bordercolor = CloseD>OpenD ? pcolD : ncolD)
plotcandle(ccondR ? OpenR : na, ccondR ? HighR : na, ccondR ? LowR : na, ccondR ? CloseR : na, "Ratio", CloseR>OpenR ? pcolR : ncolR, CloseR>OpenR ? pcolR : ncolR, false, bordercolor = CloseR>OpenR ? pcolR : ncolR)
// Plotting EMAs
plot(emaL ? Lema : na, color=emaLc, editable = false)
plot(emaS ? Sema : na, color=emaSc, editable = false)
plot(emaD ? Dema : na, color=emaDc, editable = false)
plot(emaR ? Rema : na, color=emaRc, editable = false)
// Plotting Relative Strength
plot(dtype=='Position RSI' ? 100 : na, color=color.rgb(120, 123, 134, 90), title = 'RSI 100')
plot(dtype=='Position RSI' ? 70 : na, color=color.rgb(120, 123, 134, 72), title = 'RSI 70')
plot(dtype=='Position RSI' ? 50 : na, color=color.rgb(120, 123, 134, 90), title = 'RSI 50')
plot(dtype=='Position RSI' ? 30 : na, color=color.rgb(120, 123, 134, 72), title = 'RSI 30')
plot(dtype=='Position RSI' ? 0 : na, color=color.rgb(120, 123, 134, 90), title = 'RSI 0')
// Volume Heatmap
vol = volume
volmax = ta.highest(volume, 50)
col = color.from_gradient(volume, 0, volmax, chart.bg_color, volc2)
plotshape(time>chart.left_visible_bar_time and volhm, style=shape.square, size=size.normal,location = location.bottom, color=col, editable = false)
// Labels
if vlbl and disp=='Candles'
vLlabel = showL ? label.new(bar_index, CloseL>OpenL ? HighL : LowL, newlongs or rektlongs ? str.tostring(deltaOI, format.volume) : na, size = size.auto, color=color.rgb(255, 255, 255, 100), textcolor = chart.fg_color, style = CloseL>OpenL ? label.style_label_down : label.style_label_up) : na
vSlabel = showS ? label.new(bar_index, CloseS>OpenS ? HighS : LowS, newshorts or rektshorts ? str.tostring(deltaOI, format.volume) : na, size = size.auto, color=color.rgb(255, 255, 255, 100), textcolor = chart.fg_color, style = CloseS>OpenS ? label.style_label_down : label.style_label_up) : na
vDlabel = showD ? label.new(bar_index, CloseD>OpenD ? HighD : LowD, str.tostring(deltaOI, format.volume), size = size.auto, color=color.rgb(255, 255, 255, 100), textcolor = chart.fg_color, style = CloseD>OpenD ? label.style_label_down : label.style_label_up) : na
vRlabel = showR ? label.new(bar_index, CloseR>OpenR ? HighR : LowR, str.tostring(deltaOI, format.volume), size = size.auto, color=color.rgb(255, 255, 255, 100), textcolor = chart.fg_color, style = CloseR>OpenR ? label.style_label_down : label.style_label_up) : na
if nlbl and disp!='Columns'
Llabel = showL ? label.new(bar_index+offs, src, 'NET LONGS', size = size.tiny, color=lcolL, textcolor = color.black, style = label.style_label_left) : na
Slabel = showS ? label.new(bar_index+offs, src2, 'NET SHORTS', size = size.tiny, color=lcolS, textcolor = color.black, style = label.style_label_left) : na
Dlabel = showD ? label.new(bar_index+offs, src3, 'NET DELTA', size = size.tiny, color=lcolD, textcolor = color.black, style = label.style_label_left) : na
Rlabel = showR ? label.new(bar_index+offs, src4, 'NET RATIO', size = size.tiny, color=lcolR, textcolor = color.black, style = label.style_label_left) : na
label.delete(Llabel )
label.delete(Slabel )
label.delete(Dlabel )
label.delete(Rlabel )
// Generating a profile - Code from @KioseffTrading's "Profile Any Indicator" script (used with their permission)
srcp = profsrc=='Net Longs' ? src : profsrc=='Net Shorts' ? src2 : profsrc=='Net Delta' ? src3 : src4
var int timeArray = array.new_int()
var float dist = array.new_float()
var int x2 = array.new_int(rows + 1, 5)
var vh = matrix.new(1, 1)
array.unshift(timeArray, math.round(time))
if prof and time >= chart.left_visible_bar_time and time <= chart.right_visible_bar_time
matrix.add_col(vh)
matrix.set(vh, 0, matrix.columns(vh) - 1, srcp)
if prof and barstate.islast
= switch ori
"Left" =>
=>
calc = (matrix.max(vh) - matrix.min(vh)) / (rows + 1)
for i = 0 to rows
array.push(dist, matrix.min(vh) + (i * calc))
for i = 1 to matrix.columns(vh) - 1
for x = 0 to array.size(dist) - 1
if matrix.get(vh, 0, i) >= matrix.get(vh, 0, i - 1)
if array.get(dist, x) >= matrix.get(vh, 0, i - 1) and array.get(dist, x) <= matrix.get(vh, 0, i)
array.set(x2, x, array.get(x2, x) + profSize)
else
if array.get(dist, x) >= matrix.get(vh, 0, i) and array.get(dist, x) <= matrix.get(vh, 0, i - 1)
array.set(x2, x, array.get(x2, x) + profSize)
boc = array.new_box()
for i = 1 to rows
right = array.get(timeArray, n + array.get(x2, i))
if ori == "Left"
switch math.sign(n - array.get(x2, i))
-1 => right := chart.right_visible_bar_time
=> right := array.get(timeArray, n - array.get(x2, i))
array.push(boc, box.new(pos, array.get(dist, i - 1),
right, array.get(dist, i), xloc = xloc.bar_time, border_color =
nvancol, bgcolor = nvancol
))
if i == rows
array.push(boc, box.new(pos, array.get(dist, array.size(dist) - 1),
right, array.get(dist, array.size(dist) - 1) + calc, xloc = xloc.bar_time, border_color =
nvancol, bgcolor = nvancol
))
array.shift(x2), nx = array.indexof(x2, array.max(x2))
nz = nx - 1, nz2 = 0, nz3 = 0, nz4 = 0
for i = 0 to array.size(x2) - 1
if nz > -1 and nx <= array.size(x2) - 1
switch array.get(x2, nx) >= array.get(x2, nz)
true => nz2 += array.get(x2, nx), nx += 1
=> nz2 += array.get(x2, nz), nz -= 1
else if nz <= -1
nz2 += array.get(x2, nx), nx += 1
else if nx >= array.size(x2)
nz2 += array.get(x2, nz), nz -= 1
if nz2 >= array.sum(x2) * (vapct / 100)
nz3 := nx <= array.size(x2) - 1 ? nx : array.size(x2) - 1, nz4 := nz <= -1 ? 0 : nz
break
for i = nz3 to nz4
box.set_border_color(array.get(boc, i), vancol)
box.set_bgcolor(array.get(boc, i), vancol)
if poc
var pocL = line(na)
y = math.avg(box.get_top(array.get(boc, array.indexof(x2, array.max(x2)))), box.get_bottom(array.get(boc, array.indexof(x2, array.max(x2)))))
if na(pocL)
pocL := line.new(chart.left_visible_bar_time, y, chart.right_visible_bar_time, y, xloc = xloc.bar_time, color = poccol, width = 1)
else
line.set_xy1(pocL, chart.left_visible_bar_time, y)
line.set_xy2(pocL, chart.right_visible_bar_time, y)
if val
var vaup = line(na), var vadn = line(na)
ydn = box.get_bottom(array.get(boc, nz3)), yup = box.get_top(array.get(boc, nz4))
if na(vaup)
vadn := line.new(chart.left_visible_bar_time, ydn, chart.right_visible_bar_time, ydn, xloc = xloc.bar_time, color = vancol, width = 1)
vaup := line.new(chart.left_visible_bar_time, yup, chart.right_visible_bar_time, yup, xloc = xloc.bar_time, color = vancol, width = 1)
else
line.set_xy1(vadn, chart.left_visible_bar_time, ydn), line.set_xy2(vadn, chart.right_visible_bar_time, ydn)
line.set_xy1(vaup, chart.left_visible_bar_time, yup), line.set_xy2(vaup, chart.right_visible_bar_time, yup)
linefill.new(vadn, vaup, vafill)
//Generating tables for Stats
switchpos(tablepos) =>
switch tablepos
'Top Left' => position.top_left
'Top Center' => position.top_center
'Top Right' => position.top_right
'Bottom Left' => position.bottom_left
'Bottom Center' => position.bottom_center
'Bottom right' => position.bottom_right
dataTable = table.new(switchpos(tablepos), columns=15, rows=15, bgcolor=color.rgb(120, 123, 134, 56))
fill_rows(cond, txt, c, r) =>
if cond
table.cell(table_id=dataTable, column = tablevpos=='Horizontal' ? c : 0, row = tablevpos=='Horizontal' ? 0 : r, text = txt, height=0, text_color=color.white, text_halign=text.align_center, text_valign= text.align_center)
if barstate.islast and stats and dtype!='Position RSI'
txt = ' •𝗢𝗜: ' + (denom=='Quote Currency' ? '$' : '') + str.tostring(denom=='Base Currency' ? OI : OI*close, format = format.volume) + ' ' + (denom=='Base Currency' ? str.tostring(string(syminfo.basecurrency)) : '')
txt2 = ' •𝗡𝗟: ' + (denom=='Quote Currency' ? '$' : '') + str.tostring(net_longs, format = format.volume) + ' ' + (denom=='Base Currency' ? str.tostring(string(syminfo.basecurrency)) : '')
txt3 = ' •𝗡𝗦: ' + (denom=='Quote Currency' ? '$' : '') + str.tostring(net_shorts, format = format.volume) + ' ' + (denom=='Base Currency' ? str.tostring(string(syminfo.basecurrency)) : '')
txt4 = ' •𝗡𝗗: ' + (denom=='Quote Currency' ? '$' : '') + str.tostring(net_delta, format = format.volume) + ' ' + (denom=='Base Currency' ? str.tostring(string(syminfo.basecurrency)) : '')
txt5 = ' •𝗢𝗜𝗖: ' + (denom=='Quote Currency' ? '$' : '') + str.tostring(denom=='Base Currency' ? OI-OI : (OI-OI ) * close, format = format.volume) + ' ' + (denom=='Base Currency' ? str.tostring(string(syminfo.basecurrency)) : '')
txt6 = ' •𝗡𝗟𝗖: ' + (denom=='Quote Currency' ? '$' : '') + str.tostring(net_longs - net_longs , format = format.volume) + ' ' + (denom=='Base Currency' ? str.tostring(string(syminfo.basecurrency)) : '')
txt7 = ' •𝗡𝗦𝗖: ' + (denom=='Quote Currency' ? '$' : '') + str.tostring(net_shorts - net_shorts , format = format.volume) + ' ' + (denom=='Base Currency' ? str.tostring(string(syminfo.basecurrency)) : '')
txt8 = ' •𝗡𝗗𝗖: ' + (denom=='Quote Currency' ? '$' : '') + str.tostring(net_delta - net_delta , format = format.volume) + ' ' + (denom=='Base Currency' ? str.tostring(string(syminfo.basecurrency)) : '')
txt9 = ' •𝗢𝗜 𝗥𝗦𝗜: ' + str.tostring(math.round(oi_strength,1))
txt10 = ' •𝗡𝗟 𝗥𝗦𝗜: ' + str.tostring(math.round(longs_strength,1))
txt11 = ' •𝗡𝗦 𝗥𝗦𝗜: ' + str.tostring(math.round(shorts_strength, 1))
txt12 = ' •𝗡𝗗 𝗥𝗦𝗜: ' + str.tostring(math.round(delta_strength, 1))
fill_rows(stat_oi, txt, 0, 0)
fill_rows(stat_nl, txt2, 1, 1)
fill_rows(stat_ns, txt3, 2, 2)
fill_rows(stat_nd, txt4, 3, 3)
fill_rows(stat_oi_c, txt5, 4, 4)
fill_rows(stat_nl_c, txt6, 5, 5)
fill_rows(stat_ns_c, txt7, 6, 6)
fill_rows(stat_nd_c, txt8, 7, 7)
fill_rows(stat_oi_r, txt9, 8, 8)
fill_rows(stat_nl_r, txt10, 9, 9)
fill_rows(stat_ns_r, txt11, 10, 10)
fill_rows(stat_nd_r, txt12, 11, 11)
// Divergence Finder
switchdivsrc(divsrc) =>
switch divsrc
'Net Longs' => src
'Net Shorts' => src2
'Net Delta' => src3
'Net Ratio' => src4
np = switchdivsrc(divsrc)
var priceHigh = array.new_float(0), var priceLow = array.new_float(0)
var priceHighIndex = array.new_int (0), var priceLowIndex = array.new_int (0)
var npHigh = array.new_float(0), var npLow = array.new_float(0)
var npHighIndex = array.new_int (0), var npLowIndex = array.new_int (0)
var priceHighTrend = 0, var priceLowTrend = 0
var npHighTrend = 0, var npLowTrend = 0
bool closeRecentHighs = false, bool closeOldHighs = false
bool closeHighs = false, bool closeRecentLows = false
bool closeOldLows = false, bool closeLows = false
curPriceHigh = ta.pivothigh(close, leftPivot, rightPivot)
curPriceLow = ta.pivotlow (close, leftPivot, rightPivot)
curnpHigh = ta.pivothigh(np, leftPivot, rightPivot)
curnpLow = ta.pivotlow (np, leftPivot, rightPivot)
if not na(curPriceHigh)
array.push(priceHigh, curPriceHigh)
array.push(priceHighIndex, bar_index-rightPivot)
if not na(curPriceLow)
array.push(priceLow, curPriceLow)
array.push(priceLowIndex, bar_index-rightPivot)
if not na(curnpHigh)
array.push(npHigh, curnpHigh)
array.push(npHighIndex, bar_index-rightPivot)
if not na(curnpLow)
array.push(npLow, curnpLow)
array.push(npLowIndex, bar_index-rightPivot)
if showdiv
if array.size(priceHigh) >= 2 and not na(curPriceHigh)
if array.get(priceHigh, array.size(priceHigh)-1) >= array.get(priceHigh, array.size(priceHigh)-2)
priceHighTrend := 1
else
priceHighTrend := -1
if array.size(priceLow) >= 2 and not na(curPriceLow)
if array.get(priceLow, array.size(priceLow)-1) >= array.get(priceLow, array.size(priceLow)-2)
priceLowTrend := 1
else
priceLowTrend := -1
if array.size(npHigh) >= 2 and not na(curnpHigh)
if array.get(npHigh, array.size(npHigh)-1) >= array.get(npHigh, array.size(npHigh)-2)
npHighTrend := 1
else
npHighTrend := -1
if array.size(npLow) >= 2 and not na(curnpLow)
if array.get(npLow, array.size(npLow)-1) >= array.get(npLow, array.size(npLow)-2)
npLowTrend := 1
else
npLowTrend := -1
if array.size(priceHighIndex) >= 2 and array.size(npHighIndex) >=2
closeRecentHighs := math.abs(array.get(priceHighIndex, array.size(priceHighIndex)-1) - array.get(npHighIndex, array.size(npHighIndex)-1)) <= pivotDistance
closeOldHighs := math.abs(array.get(priceHighIndex, array.size(priceHighIndex)-2) - array.get(npHighIndex, array.size(npHighIndex)-2)) <= pivotDistance
closeHighs := closeRecentHighs and closeOldHighs
if array.size(priceLowIndex) >= 2 and array.size(npLowIndex) >=2
closeRecentLows := math.abs(array.get(priceLowIndex, array.size(priceLowIndex)-1) - array.get(npLowIndex, array.size(npLowIndex)-1)) <= pivotDistance
closeOldLows := math.abs(array.get(priceLowIndex, array.size(priceLowIndex)-2) - array.get(npLowIndex, array.size(npLowIndex)-2)) <= pivotDistance
closeLows := closeRecentLows and closeOldLows
bool uptrendExhuastion = closeHighs and priceHighTrend > 0 and npHighTrend < 0 and (not na(curnpHigh) or not na(curPriceHigh))
bool uptrendAbsorption = closeHighs and priceHighTrend < 0 and npHighTrend > 0 and (not na(curnpHigh) or not na(curPriceHigh))
bool downtrendExhuastion = closeLows and priceLowTrend < 0 and npLowTrend > 0 and (not na(curnpLow) or not na(curPriceLow))
bool downtrendAbsorption = closeLows and priceLowTrend > 0 and npLowTrend < 0 and (not na(curnpLow) or not na(curPriceLow))
drawDiv(time1, price1, time2, price2, type) =>
dcol = type == 'Uptrend Exhuastion' ? pHH_npLHcol : type == 'Uptrend Absorption' ? pLH_npHHcol : type == 'Downtrend Exhaustion' ? pLL_npHLcol : type == 'Downtrend Absorption' ? pHL_npLLcol : na
line.new(x1=time1, y1=price1, x2=time2, y2=price2, color=dcol, width=1)
if uptrendAbsorption or uptrendExhuastion and showdiv
highTime1 = array.get(npHighIndex, array.size(npHighIndex)-1)
highPrice1 = array.get(npHigh, array.size(npHigh)-1)
highTime2 = array.get(npHighIndex, array.size(npHighIndex)-2)
highPrice2 = array.get(npHigh, array.size(npHigh)-2)
if uptrendExhuastion and pHH_npLH
drawDiv(highTime1, highPrice1, highTime2, highPrice2, 'Uptrend Exhuastion')
if uptrendAbsorption and pLH_npHH
drawDiv(highTime1, highPrice1, highTime2, highPrice2, 'Uptrend Absorption')
if downtrendAbsorption or downtrendExhuastion and showdiv
lowTime1 = array.get(npLowIndex, array.size(npLowIndex)-1)
lowPrice1 = array.get(npLow, array.size(npLow)-1)
lowTime2 = array.get(npLowIndex, array.size(npLowIndex)-2)
lowPrice2 = array.get(npLow, array.size(npLow)-2)
if downtrendExhuastion and pLL_npHL
drawDiv(lowTime1, lowPrice1, lowTime2, lowPrice2, 'Downtrend Exhuastion')
if downtrendAbsorption and pHL_npLL
drawDiv(lowTime1, lowPrice1, lowTime2, lowPrice2, 'Downtrend Absorption')
Multi-MA FrameworkMulti-MA Framework is an advanced moving average indicator developed for traders who want to analyze market trends from a multi-layered and structural perspective, without relying on a single average.
This indicator adapts instantly to different market conditions thanks to its flexible structure that allows switching between SMA, EMA, and VWMA with a single click.
Key Features
12 different periods:
3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610
(Complete trend structure from short-term to long-term)
MA Type Selection
SMA → Classic and balanced trend tracking
EMA → Fast and reactive market structure
VWMA → Volume-weighted, more “intelligent” average
Note:
This indicator alone does not generate a buy/sell signal. It does not constitute investment advice. Obtain confirmation from other indicators for maximum efficiency.
MAWHOOB PROMAWHOOB PRO INDICATOR
Professional Analysis & Trading System
━━━━━━━━━━━━━━━━
🎯 OVERVIEW
━━━━━━━━━━━━━━━━
MAWHOOB PRO is a professional, all-in-one Pine Script® indicator designed for traders seeking institutional-grade market analysis combined with systematic, rule-based trading execution. It seamlessly overlays intelligent Higher Timeframe structures, advanced Volume Profile analysis, and Automatic Fibonacci levels — directly on your chart.
Beyond powerful market visualization, MAWHOOB PRO integrates a fully-featured, complete, and backtestable trading system with instant signals, advanced risk management, and real-time alerts.
━━━━━━━━━━━━━━━━
⚡ CORE CAPABILITIES
━━━━━━━━━━━━━━━━
Higher Timeframe Structure – Multi-timeframe support (15m to 12M).
Advanced Volume Profile – POC, Value Area, with Moving Averages.
Automatic Fibonacci Levels – Dynamic retracements and extensions.
Multi-Strategy System – 4 specialized algorithms for different market conditions.
Smart Trading Signals – Entry signals, exit management with real‑time updates.
Professional Position Sizing – Advanced risk calculations with leverage support.
Multi-TP Management – 3 configurable take profits with fractional position scaling.
Advanced Risk Management – Multiple SL types, trailing stop, and risk limiters.
Real-Time Alerts – Instant notifications for all trading events and signals.
Performance Analytics – Comprehensive backtesting with detailed trade statistics.
━━━━━━━━━━━━━━━━
💠 SECTION 1: PROFESSIONAL MARKET ANALYSIS
━━━━━━━━━━━━━━━━
🕒 Higher Timeframe Structure
MAWHOOB PRO's HTF system goes beyond simple candle plotting. It displays creative higher timeframe structures (e.g., 15m, 1H, Daily, etc.) to identify dominant trends and key liquidity levels without switching your current chart.
❖ Key Features:
Multi-timeframe analysis across 18 different timeframes.
Creative OHLC box visualization with intelligent projection.
Smart "Super Bars" detection for high-probability setups.
Customizable boxes with professional styling options.
Dual visualization modes (HTF_End projection or Bars_Offset).
Performance-optimized rendering with intelligent cleanup system.
📊 Advanced Volume Profile
Understanding where institutional volume concentrates is critical. MAWHOOB PRO's Volume Profile system automatically identifies key levels using proprietary algorithms — giving you the same edge professional traders use to spot accumulation and distribution zones.
❖ Key Features:
Automatic Point of Control (POC) detection and real-time updates.
Dynamic Value Area (VAH/VAL) calculations with configurable sensitivity.
Multiple volume analysis modes (Total, Bullish, Bearish directional filtering).
Customizable row resolution for precision analysis.
Histogram Display: Detailed volume distribution visualization.
Box Display: Clean POC representation for minimal chart clutter.
Intelligent Volume Profile Moving Averages for trend confirmation.
Advanced POC Bands for mean-reversion and confluence identification.
Real-time updates with optional confirmed-only display mode.
Lite Mode optimization for resource-constrained environments.
📐 Automatic Fibonacci Levels
Manual Fibonacci drawing is time-consuming and subjective. MAWHOOB PRO automatically calculates and displays Fibonacci levels using intelligent swing detection algorithms — eliminating manual work while ensuring consistency. Each level is fully customizable with professional styling.
❖ Key Features:
Intelligent bullish/bearish swing detection.
Comprehensive retracement levels (0% to 100%).
Extended projection levels for target identification (113% to 423%).
Flexible display modes (retracements only, extensions only, or combined).
Customizable lines with professional styling (solid, dashed, dotted).
Dynamic label positioning and text customization.
Single color mode or multi-color differentiation.
Right-extension capability for forward projections.
Automatic level adjustment based on market structure.
━━━━━━━━━━━━━━━━
💠 SECTION 2: PROFESSIONAL TRADING SYSTEM
━━━━━━━━━━━━━━━━
📈 Multi-Strategy Signal Generation
Markets don't stay in one condition forever. The ability to adapt your strategy to current market conditions is what separates consistently profitable traders from the rest. MAWHOOB PRO provides four proprietary strategies, each independently optimized for specific market environments:
HTF Structure Strategy
Volume Profile POC Strategy
POC Moving Average Strategy
Value Area Moving Average Strategy
💡 Advanced Entry Management
Professional traders don't use one-size-fits-all entry execution. MAWHOOB PRO provides intelligent entry management with multiple execution types and sophisticated validation:
Entry Types: Immediate market execution or intelligent limit order simulation.
Direction Control: Long-only, short-only, or bidirectional trading.
Smart Filters: Multi-layer validation system maximizing signal quality.
💰 Professional Position Management
Execute trades with institutional-grade position sizing and risk control:
Flexible Sizing Options – Choose percentage-based (% of capital) or fixed USD per trade.
Leverage Support – Scale exposure from 1× to 100× for any market condition.
Fractional Position Scaling – Close portions at TP1, TP2, TP3 independently.
🎯 Advanced Take Profit System
Exiting positions at the right levels separates winners from break-even traders. MAWHOOB PRO provides sophisticated TP management:
Three Take Profit System: Configurable position scaling across three profit targets.
Profit Modes: Custom calculation methods and risk-reward based targeting.
Intelligent Optimization: Adaptive profit placement for optimal risk/reward ratios.
⛔️ Comprehensive Stop Loss System
Proper stop loss placement is essential for consistent trading. MAWHOOB PRO provides multiple intelligent stop loss methods:
Four Stop Loss Types: Range-based, ATR-based, percentage-based, and adaptive algorithms.
Risk Limiter – Automatic SL tightening to prevent extensive losses from gap moves:
ATR-based limits for market-responsive protection.
Percentage-based limits for consistent risk caps.
Minimum Distance Validation – Adaptive stop placement to prevent quick stops:
Correct-side validation (SL always on opposite side of entry).
Realistic tick-size constraints.
Smart adaption to market volatility.
🛡️ Dynamic Trailing System
Maximize profit potential while protecting capital:
Break Even Mode: Intelligent break-even activation with buffer protection.
Move Target Mode: Progressive trailing using advanced profit protection algorithms.
Real-time visual updates showing current TS status.
Tolerance percentage to prevent being stopped out by noise.
State-aware activation (only after partial profit taking).
Multiple exit types tracked separately (TP hits vs. TS exits).
🔔 Smart Alert System
Stay informed of every important trade event with instant notifications:
Entry Alerts – Instant notification when long/short signals.
Exit Alerts– Individual notifications for each exit event: (TP1/TP2/TP3 hits, Stop Loss trigger, Break Even protection).
Trade Summary – Comprehensive recap with duration, exit type, and P&L.
Frequency-controlled to prevent notification spam.
Contextual information (Symbol, Trade ID, Price, Direction).
Real-time account balance updates.
Professional formatting for quick information scanning.
📊 Professional Performance Analytics
MAWHOOB PRO's backtesting system provides institutional-quality performance analytics and comprehensive statistics:
Real-time statistics updates.
Total trades executed in period.
Win rate analysis (separate Pure SL vs. Partial SL tracking).
Trades by direction (Long vs. Short breakdown).
TP1, TP2, TP3 hit counts and profitability.
Direct stop loss vs. partial stop loss separation.
Trailing stop protection count.
Exit type distribution analysis.
Gross profit from all exits.
Leverage-adjusted returns.
Win/Loss percentage breakdown.
Total net PnL (including fees).
Fee impact analysis.
Trade duration tracking per trade.
Average hold time by exit type.
Historical time-based performance patterns.
Visual statistics table with custom positioning.
🔍 Backtesting & Validation
Comprehensive period-based backtesting for rigorous strategy validation:
Custom date range selection (Start and End dates).
Period-based filtering for specific market conditions.
Automatic trade pruning outside selected periods.
Multiple strategy comparison capability.
Optional display of all historical trades.
Entry and exit points clearly marked.
Entry/exit labels with detailed information.
Visual price action context preservation.
Trade-by-trade P&L tracking.
👁️🗨️ Real-Time Trade Monitoring
Monitor your active positions with professional visual displays:
Real-time price level indicators for Entry, TPs, and SL.
Live update on position status as price moves.
Visual indicators showing which TPs have been executed.
Trailing stop level visualization with current status.
Customizable label positioning (Left, Right, Center).
Multiple label size options (Tiny, Small, Normal).
Color-coded by trade direction and exit type.
Professional formatting with essential information.
Toggle on/off for chart cleanliness.
━━━━━━━━━━━━━━━━
🔍 WHO CAN USE MAWHOOB PRO ?
━━━━━━━━━━━━━━━━
✔️ MAWHOOB PRO Is Designed For Traders Who:
Require Professional Tools – Need institutional-grade analysis and execution.
Seek Systematic Trading – Replace emotional decisions with rule-based processes.
Value Strategy Validation – Backtest thoroughly before risking capital.
Demand Precision – Need reliable signals with comprehensive monitoring.
Trade Actively – Benefit from real-time alerts and position management.
Manage Risk Professionally – Apply mathematical position sizing and stop loss logic.
✔️ Compatible Trading Environments:
Forex markets (Major, Minor, Exotic pairs).
Stock markets (with appropriate timeframes).
Cryptocurrency markets (Bitcoin, Altcoins).
Futures markets (with leverage support).
Day trading timeframes (1m to 4H).
Swing trading timeframes (4H to Weekly).
Position trading timeframes (Daily to Monthly).
✔️ Supported Trading Styles:
Discretionary trading with professional tools.
Semi-automated trading with smart signals.
Systematic strategy validation and backtesting.
Multiple market condition adaptation.
Bidirectional trading (Long/Short).
Directional bias trading (Long-only or Short-only).
━━━━━━━━━━━━━━━━
📋 QUICK START GUIDE
━━━━━━━━━━━━━━━━
1️⃣ Analysis Tools Configuration (10-15 minutes)
Add MAWHOOB PRO indicator to your chart.
Select your desired Higher Timeframe (HTF).
Customize visual elements to match your preferences.
Use displayed levels as confluence zones for manual trading.
Monitor Volume Profile and Fibonacci levels for trade setup identification.
2️⃣ Trading System Configuration (15-20 minutes)
Enable Trading System in settings.
Select Strategy Type (HTF_Range, VP_POC, POC_MA, or VA_MA).
Choose Trading Type (Spot or Futures).
Configure Position Sizing (Percentage or Fixed USD).
Set Account Capital and leverage (if applicable).
Configure Take Profits (TP1/TP2/TP3 with fractions).
Select Stop Loss Type and parameters.
Enable Trailing Stop (optional, recommended).
Set backtesting date range.
Enable Alerts for signal notifications.
Run historical backtest to validate strategy.
Demo test minimum 30 days before live deployment.
━━━━━━━━━━━━━━━━
🛑 TECHNICAL DISCLOSURES & IMPORTANT INFORMATION
━━━━━━━━━━━━━━━━
📌 Data Accuracy & Signal Quality
Real-time calculations for developing structures may adjust until HTF bar completion.
Historical signals maintain integrity and non-repaint on confirmed bars.
Signal generation uses only confirmed (non-repainting) data for backtesting validity.
Volume Profile updates in real-time until HTF period closure.
Fibonacci levels automatically recalculate on new swing identification.
━━━━━━━━━━━━━━━━
⚠️ RISK DISCLOSURE & DISCLAIMERS
━━━━━━━━━━━━━━━━
⚙️ MAWHOOB PRO Is Designed For:
Professional market analysis and structure identification.
Systematic strategy backtesting and validation.
Educational purposes for trading strategy development.
Real-time monitoring of active positions.
NOT for providing financial advice or guaranteed outcomes.
🛑 Important Disclaimers
Past performance does NOT guarantee future results.
Backtesting results are simulated and may differ from live trading.
Real trading includes slippage, requotes, and execution delays not simulated.
All trading involves substantial risk of loss.
Test all strategies in simulated environments before live implementation.
Never risk more than you can afford to lose.
Leverage magnifies both profits and losses exponentially.
📋 Testing Protocol Recommendation
Backtest Phase – Run 6-12 months of historical data minimum.
Demo Testing Phase – Live practice for minimum 30 days without real capital.
Performance Tracking – Document all demo trades and results.
Risk Assessment – Verify acceptable drawdown and profit ratios.
Live Deployment – Start with conservative position sizing.
Ongoing Monitoring – Track live performance vs. backtest results.
🔐 Disclaimer of Liability
By using MAWHOOB PRO, you acknowledge and accept:
All trading risks and potential loss of capital.
That past performance does not guarantee future results.
That you are solely responsible for all trading decisions.
That you have tested the system appropriately before live trading.
That losses are possible regardless of system quality.
That market conditions change and strategies may underperform.
Full responsibility for all financial outcomes.
━━━━━━━━━━━━━━━━
🏆 EXCLUSIVE ACCESS (INVITE-ONLY)
━━━━━━━━━━━━━━━━
MAWHOOB PRO is an invite-only indicator reserved for serious traders committed to professional execution and risk management.
🔒 Why Invite-Only ?
Quality Assurance – Ensures users understand and respect proper risk management.
Strategy Integrity – Protects strategy methodology from mass distribution.
Professional Community – Maintains focus on serious, disciplined traders.
Dedicated Support – Provides personalized assistance to qualified users.
Continuous Improvement – Collects quality feedback for enhancement.
✔️ Access Requirements
Eligible users typically demonstrate:
Understanding of technical analysis fundamentals.
Experience with systematic trading or backtesting.
Commitment to proper risk management practices.
Intention to demo test before live deployment.
Professional approach to trading (not gambling).
Respect for intellectual property and terms of use.
━━━━━━━━━━━━━━━━
📚 DOCUMENTATION & SUPPORT
━━━━━━━━━━━━━━━━
📖 Built-in Guidance & Support
Comprehensive tooltips for every indicator setting (hover ⓘ for instant help).
Context-sensitive assistance for advanced parameters (explaining the "why").
Strategic recommendations adapted to different market conditions.
Detailed inline documentation for configuration options.
Invite-only user community for shared strategies and feedback.
💬 Professional Support Includes:
Strategy optimization consultation.
Configuration assistance for your specific market.
Performance review of backtest results.
Troubleshooting and technical support.
Updates and improvements to core algorithms.
🧪 Validation Protocol
Historical Backtest – Minimum 6-12 months recommended.
Demo Testing – Minimum 30 days without real capital.
Performance Review – Compare live results to backtest.
Ongoing Optimization – Adjust parameters based on results.
Risk Monitoring – Track PnL and account equity.
⚙️ Professional Trading Principles
Position sizing based on risk, not reward.
Stop loss placement before entry execution.
Take profit targets set with realistic expectations.
Risk-reward ratios of minimum 1:1.5 or better.
Account preservation over aggressive profit taking.
Consistency over home-run trades.
━━━━━━━━━━━━━━━━
🔄 UPDATES & CONTINUOUS DEVELOPMENT
━━━━━━━━━━━━━━━━
MAWHOOB PRO is a continuously evolving system. Development is guided by:
User feedback and real-world trading results.
Market condition changes and emerging opportunities.
Performance optimization and efficiency improvements.
Trading community insights and professional recommendations.
💬 Community Feedback Loop:
Your trading results shape future development:
Report strategies that work exceptionally well.
Suggest improvements based on your experience.
Identify market conditions requiring adaptation.
Help validate new features during beta testing.
━━━━━━━━━━━━━━━━
💡 MAWHOOB PRO – Where Professional Analysis Meets Systematic Execution
Created & Designed by @mawhoobx
📝 REMEMBER
The best indicator is the one combined with proper risk management, discipline, and a solid trading plan. MAWHOOB PRO is designed to assist your trading, not replace your judgment.
Trade Smart. Trade Safe. Trade Profitable.
Synchronicity Setup FinderThe Synchronicity Setup Finder is a high-confluence trading tool designed to identify precision reversal entries by requiring a perfect harmonic "sync" between multiple technical layers across both the 5-minute and 10-minute timeframes. The indicator functions as a strict digital gatekeeper; it only plots a signal when the price has recently rejected a Bollinger Band extreme (the mandatory catalyst), volatility has begun to coil into a squeeze, and both local and higher-timeframe Stochastics have aligned with accelerating SMA momentum. By using predictive gap analysis to anticipate moving average crossovers before they occur, it calculates a real-time probability score that filters out low-reward market noise, ensuring that "MTF BUY" and "MTF SELL" flags only appear when the technical weight of the evidence supports a high-ratio, institutional-grade setup.
COT Index (Indicator Version )COT INDEX (Commitment of Traders)
Overview This script provides a professional-grade implementation of the COT Index, a momentum and sentiment oscillator based on the CFTC (Commodity Futures Trading Commission) "Commitment of Traders" reports. Unlike raw net position indicators, this index normalizes data to identify relative extremes in market positioning over a specific lookback period (default: 26 weeks).
Originality & Utility While many COT indicators exist, this version addresses specific technical gaps:
Enhanced Normalization Formula: Uses a modified scale to provide a wider perspective of market exhaustion, including "over-extension" levels at 120% and -20%.
Symbol Correction Logic: Includes hardcoded fixes for specific roots like "HG" (Copper) and "LBR" (Lumber) to ensure data fetching accuracy where standard auto-conversion might fail.
Selective Filtering: Allows independent toggling of Commercials (Producers), Large Speculators, and Small Speculators.
Indicator vs. Strategy Version Please note that THIS IS THE INDICATOR VERSION designed for visual analysis and chart integration. For users looking to verify historical performance and signal accuracy, a SEPARATE BACKTESTING VERSION is available in my script panel.
Collaboration & Feedback I am constantly looking to optimize my scripts. If you have suggestions for improvements or feature requests, feel free to reach out. If you find this tool useful, please show your support by HITTING THE BOOST BUTTON—your collaboration helps keep these projects active.
How it Works
Data Retrieval: The script uses the TradingView LibraryCOT to pull Legacy report data (Futures only).
Net Positioning: Calculates the difference between Long and Short positions for the selected group.
Indexing: It applies a stochastic-like calculation over the user-defined weeks period to determine where current positioning sits relative to historical extremes.
How to Use It
Commercials (Producers): Look for readings above 80% (Upper Threshold) or below 20% (Lower Threshold). High readings by producers often indicate price floors, while low readings suggest price ceilings.
Confirmation: Use the 120% / -20 levels to identify extreme capitulation or unprecedented institutional interest.
RISK DISCLOSURE Trading futures and financial instruments involves substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.
The COT data provided is delayed by nature (usually released on Fridays with data from the previous Tuesday). This script is for educational and informational purposes only and does not constitute financial advice.
SA Fib 22 Fib 72 Reaction SuiteSIGNAL ARCHITECT™ — Fib 22 + Fib 72 Reaction Suite
4-Hour Timeframe Use Case Guide
🔍 WHAT THIS STUDY DOES (4H CONTEXT)
The Fib 22 + Fib 72 Reaction Suite is a reaction-based market structure tool, not a predictive indicator.
On the 4-Hour timeframe, this study is designed to identify:
Institutional decision zones
Defensive reactions vs momentum continuation
Where price must respond, not where it “might” go
Rather than forecasting direction, the study highlights high-probability reaction areas derived from the recent structural range.
📐 CORE LOGIC OVERVIEW
This system operates with two distinct Fibonacci behavior zones, each serving a different market function:
🔹 Fib 72 — Decision / Defense Zone
Represents upper structural participation
No trend filter applied
Used to detect:
Bullish defense (reclaim)
Bearish rejection (failure)
Ideal for:
Swing inflection
Range resolution
Institutional defense zones
🔹 Fib 22 — Momentum Continuation Zone
Represents lower retracement continuation
Requires trend alignment
Used to confirm:
Continuation after pullbacks
Trend-validated re-entries
Ideal for:
Trend continuation
Add-on positioning
Directional confirmation
🕒 WHY THE 4-HOUR TIMEFRAME WORKS BEST
On the 4H chart, this system becomes a swing-grade structural map rather than a short-term signal tool.
Best characteristics on 4H:
Filters out intraday noise
Captures multi-day institutional positioning
Aligns well with:
Macro rotations
Sector moves
Index rebalancing flows
This timeframe is especially effective for:
Swing traders
Position builders
Portfolio bias confirmation
🧭 HOW TO INTERPRET SIGNALS (4H)
🟢 BULL 72 (Defense / Reclaim)
Price tests Fib 72
Successfully reclaims with confirmation
Indicates:
Buyers defending higher structure
Failed breakdown attempt
Potential upside continuation or range hold
🔴 BEAR 72 (Rejection)
Price tests Fib 72
Fails and rejects lower
Indicates:
Supply defending structure
Failed breakout attempt
Potential downside rotation
🟢 BULL 22 (Momentum Continuation)
Price retraces to Fib 22
Trend filter must confirm
Indicates:
Healthy pullback in an uptrend
Institutional continuation zone
Momentum resumption potential
🔴 BEAR 22 (Momentum Continuation)
Price retraces to upper Fib 22 (bear side)
Trend filter must confirm
Indicates:
Controlled pullback in a downtrend
Continuation after relief
Trend-aligned downside pressure
🎯 BEST USE CASES (4H)
✔ Swing bias confirmation
✔ Multi-day trade planning
✔ Trend continuation validation
✔ Structural reaction analysis
✔ Pairing with:
Weekly levels
Volume profile
Auction / VWAP frameworks
Macro rotation analysis
🚫 Not intended for:
Scalping
Tick-by-tick execution
Standalone entry timing
⚠️ IMPORTANT NOTES
Signals do not predict future price
Signals identify reaction zones only
Always wait for confirmation behavior
Best used as a context layer, not a trigger alone
⚖️ DISCLAIMER (MANDATORY)
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 security or instrument.
Trading and investing involve substantial risk, including the possible loss of principal.
Past performance is not indicative of future results.
You are solely responsible for your trading decisions, risk management, and compliance with all applicable laws and regulations.
By using this script, you acknowledge and accept these risks.
Signal To trade along with the indicator
trianchor.gumroad.com
chatgpt.com
chatgpt.com
chatgpt.com
COT Report ( Indicator Version )COT REPORT (Commitment of Traders)
Overview This indicator provides a clean and highly functional visualization of the CFTC's "Commitment of Traders" (COT) Legacy reports. It allows traders to track the absolute and net positions of the three main market participants: Commercials (Hedgers), Non-Commercials (Large Speculators), and Non-reportable (Small Speculators).
Originality & Utility While standard COT indicators often only show net positions, this script offers:
Multi-Dimensional View: It fetches and allows the display of individual Long and Short positions, not just the net result, providing a deeper look at market liquidity and conviction.
Negative Value Toggle: A built-in feature to show Short positions as negative numbers on the Y-axis. This is critical for visual symmetry when comparing Long vs. Short accumulation.
Efficiency: Built using Pine V5 and the TradingView LibraryCOT, ensuring the most accurate and up-to-date data fetching from CFTC sources.
Indicator vs. Strategy Version Please note that THIS IS THE INDICATOR VERSION designed for visual analysis and chart integration. For users looking to verify historical performance and signal accuracy, a SEPARATE BACKTESTING VERSION is available in my script panel.
Collaboration & Feedback I am constantly looking to optimize my scripts. If you have suggestions for improvements or feature requests, feel free to reach out. If you find this tool useful, please show your support by HITTING THE BOOST BUTTON—your collaboration helps keep these projects active.
How it Works
Data Fetching: The script uses the Legacy report format, focusing on "Futures Only" to maintain consistency across historical data.
Participant Groups:
Commercials (Blue): Typically the "Smart Money" or hedgers.
Non-Commercials (Red): Large speculators and hedge funds.
Retail/Small Specs (Green): Non-reportable small-scale traders.
Visualization: By default, the script shows Net Positions for clarity, but users can enable individual Long/Short lines in the "Style" settings for granular analysis.
How to Use It
Trend Confirmation: When Commercials (Blue) and Non-Commercials (Red) diverge significantly, it often signals a strong trend or a potential major reversal.
Extreme Divergence: Look for moments where net positions reach historical multi-year peaks or valleys to identify market exhaustion.
Short Analysis: Use the "Show Shorts as negative numbers" toggle to see the true "weight" of the short side of the market relative to the zero line.
RISK DISCLOSURE Trading futures and financial instruments involves substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.
The COT data provided is delayed by nature (usually released on Fridays with data from the previous Tuesday). This script is for educational and informational purposes only and does not constitute financial advice.
Valuation Tool ( Indicator )VALUATION (Intermarket Relative Strength Index)
Overview The Valuation indicator is a sophisticated intermarket analysis tool designed to identify overvalued or undervalued conditions of an asset relative to its key correlated benchmarks. By comparing the percentage change of a base symbol against three different external assets (e.g., DXY, Gold, Bonds), the script highlights significant price-value divergences.
Originality & Utility Unlike standard RSI or momentum oscillators that only look at a single asset's price, this script provides a "Fair Value" perspective based on intermarket relationships:
Dynamic Correlation Tracking: It calculates the differential in percentage change between the main chart and three user-defined symbols.
Normalized Comparative Output: Uses a custom Rescale Function that translates raw performance differences into a normalized scale (-100 to +100), making it easy to spot historical extremes.
Custom Correlation Matrix: Traders can adapt the indicator to any asset class (Equities vs. Yields, FX vs. Commodities, etc.), providing a high degree of versatility for macro-thematic trading.
Indicator vs. Strategy Version Please note that THIS IS THE INDICATOR VERSION designed for visual analysis and identifying potential reversal zones. A dedicated BACKTESTING VERSION for quantitative validation is available in my script profile.
Collaboration & Feedback I am focused on refining intermarket models. If you have suggestions on default correlation baskets or logic improvements, please reach out. Support the project by HITTING THE BOOST BUTTON—it helps me continue sharing these tools.
How it Works
Performance Delta: The script measures the percentage change over a 'Period Length' for the main symbol and three comparison IDs (Default: DXY, Gold, 30Y Bonds).
Calculation of Divergence: It subtracts the benchmark's performance from the asset's performance. A positive result means the asset is outperforming the benchmark; a negative result means underperformance.
Rescaling: The raw divergence is normalized over a 'Rescale Length' (default 100 bars) to create a visual oscillator.
How to Use It
Overvalued (+75 Level): When the lines reach the upper dashed threshold, the asset has significantly outperformed its benchmarks, suggesting it may be "expensive" and due for a mean reversion or correction.
Undervalued (-75 Level): When the lines drop below the lower threshold, the asset has lagged significantly behind its correlations, indicating a potential "cheap" entry point.
Convergence/Divergence: Watch for all three lines to align at an extreme. Triple alignment at +/- 75 provides a high-probability signal of intermarket exhaustion.
RISK DISCLOSURE Trading involves substantial risk. Intermarket relationships can decouple during periods of high volatility or fundamental shifts. Past correlations do not guarantee future results. This tool is for informational purposes and should be used as part of a comprehensive trading plan.
Advanced Order Block Visualization ToolAdvanced Order Block Visualization Tool
Description:
This custom TradingView indicator is designed to enhance the visualization and analysis of order blocks across all timeframes. It accurately identifies and displays order blocks based on specific criteria, helping traders make informed decisions.
Key Features:
Accurate identification of order blocks using advanced algorithms
Improved visibility and clarity of order blocks, even on lower timeframes
Customizable settings to adapt to different trading styles and preferences
Intelligent filtering to display only the most relevant order blocks
Inclusion of internal order blocks for a comprehensive view of market structure
Efficient and optimized code for smooth performance
Usage Instructions:
Add the indicator to your TradingView chart
Customize the settings according to your preferences (e.g., input.int(), input.float(), etc.)
Analyze the displayed order blocks in conjunction with your trading strategy
Use the insights gained to make informed trading decisions
Note: This indicator is designed to aid in analysis and decision-making but does not constitute financial advice. Always use discretion and risk management when trading.
Feedback and Support:
If you encounter any issues, have suggestions for improvement, or need assistance, please feel free to contact me via the TradingView chat or leave a comment on the indicator's page. I appreciate your feedback and strive to continuously enhance the indicator's performance.
Happy trading!
Daily Direction ProfileThis indicator helps traders identify the probable direction of the current trading day by detecting breaks of the Previous Day High (PDH) and Previous Day Low (PDL), with a focus on early session breaks.
🎯 Core Concept
The underlying idea is simple: when price breaks above PDH or below PDL early in the trading day, it often signals the dominant direction for that session. Early breaks tend to be more meaningful than late-day breaks.
📊 Features
Session Boxes – Visualizes three major trading sessions (Asia, London, NY AM) as colored high/low range boxes
Daily Structure – Tracks the current day's high and low with horizontal lines, and marks day separators with vertical dashed lines
PDH/PDL Break Detection – Identifies the first break of the previous day's high or low
Time Filter – Optionally limits signals to the first part of the day (configurable, default 12 hours)
Visual Signals – Triangle markers at the day's starting bar plus optional break level lines
Dual EMAs – Fast and slow EMAs for additional trend context
Alerts – Built-in alert conditions for both PDH and PDL breaks
⚙️ Settings
Session Boxes
Asia Box Color – Color for the Asian session range box
London Box Color – Color for the London session range box
NY Box Color – Color for the New York AM session range box
Box Background Transparency – Transparency level for box fills (0 = solid, 100 = invisible)
Box Border Width – Line thickness of box borders (1-5)
Box Border Style – Border line style: Solid, Dashed, or Dotted
Lines
Daily High / Low Color – Color for the horizontal lines marking the current day's high and low
Day Separator Color – Color for the vertical dashed lines separating trading days
EMAs
EMA Fast Length – Period for the fast exponential moving average (default: 10)
EMA Slow Length – Period for the slow exponential moving average (default: 20)
EMA Fast Color – Color for the fast EMA line
EMA Slow Color – Color for the slow EMA line
Signals
Only first part of day – When enabled, break signals only trigger within the defined early session window
First part of day (hours) – Number of hours from day start during which signals are allowed (1-23)
Arrow offset (ticks) – Vertical distance of triangle markers from the daily high/low
Draw break line (PDH / PDL) – Toggle horizontal lines showing the broken PDH or PDL level
📈 How to Use
A green triangle (up) at day start indicates PDH was broken → potential bullish day
A red triangle (down) at day start indicates PDL was broken → potential bearish day
Use session boxes to understand where the move originated
Combine with the EMAs for trend confirmation
⚠️ Notes
Each break type (high/low) signals only once per day to avoid noise
Session times are based on New York timezone
Best suited for intraday timeframes (5m, 15m, 1h)
Silver Argentum Matrix (SAM)This strategy employs a proprietary 'Quantitative Resonance & Liquidity Filtering' model, engineered to capture high-probability trend ignition points within the Silver market. The core logic is defined by three distinct, non-disclosed components:
Proprietary Multi-Factor Scoring Matrix The engine quantifies trend strength, momentum, and market energy into a custom weighted scoring system. Execution is triggered only during periods of "market resonance," effectively filtering out random noise and false breakouts.
Institutional Value Zone Filtering Incorporates an advanced micro-structure analysis model to identify the "Value Zone" of major capital flow. By ensuring price action aligns with the core volume density, the strategy guarantees that every entry is backed by significant market depth.
Inter-Market Dynamic Synchronization The strategy utilizes real-time external market correlations as a macro-environment filter. Trading activity is activated only when broader economic conditions favor the underlying asset's direction, significantly enhancing trade certainty.
Adaptive Volatility & Risk Guard Features an integrated volatility threshold and a "Daily Risk Circuit Breaker." The system automatically shifts into defensive mode during low-liquidity periods or when daily risk limits are reached, ensuring long-term capital preservation.
A data-driven quantitative engine that synchronizes multi-factor resonance with institutional value zones to achieve high-precision trend capture.
BIST:XAGUSD1!
Manual Trade Log (Journal Overlay)Manual Trade Log (Journal Overlay) – What this script does
This indicator lets you manually record trades inside TradingView and display them directly on the chart.
It provides two views at the same time:
1. A journal table overlay on the chart showing your trades
2. Chart labels placed on the candles that match your trade time
The goal is to keep a simple trading journal without leaving TradingView.
⸻
How you enter trades
The script includes 10 manual trade slots (Trade 1 to Trade 10).
Each trade slot has these fields:
• Enabled (true/false)
Turns that trade on or off.
• Date/Time
The timestamp for the trade.
• Type
Long, Short, Buy, Sell, Entry, or Exit.
• Price (optional)
If left blank, the table and label show it as empty.
• Quantity (optional)
If left blank, the table and label show it as empty.
• Notes
Free text description.
Only trades with Enabled = true are used.
⸻
What appears on the chart
A) Journal table overlay
When “Show journal table” is enabled, the script draws a table with columns:
• Date/Time
• Type
• Price
• Qty
• Notes
The table uses a high-contrast style (dark background, bright text) to stay readable on most chart themes.
You can control:
• Table position (top/bottom, left/right)
• Number of rows shown
• Font size and colors
B) Trade labels on candles
When “Show labels on chart” is enabled, the script plots labels on the candle that matches each trade’s timestamp.
• Labels are up for Long/Buy/Entry style trades
• Labels are down for Short/Sell/Exit style trades
• Label text includes Type and optional Price/Qty/Notes
This gives you instant visual context for when and why you took a trade.
⸻
How trade-to-candle matching works
TradingView candles represent time ranges (for example, a 5-minute candle covers 09:35 to 09:40).
A trade is considered to “belong” to a candle if its timestamp falls within that candle’s time range.
To handle small mismatches (timezones, timeframe alignment, or rounding), the script includes:
• Use nearest-bar tolerance (on/off)
• Tolerance bars (how many bars around the time are considered acceptable)
If tolerance is enabled, the label can still appear even if the trade time is slightly off from the candle boundary.
⸻
Known limitations (TradingView / Pine limits)
• Fixed number of trades (10):
Pine Script inputs are static. You cannot add unlimited form rows dynamically.
This script is designed for manual journaling with a fixed set of entries.
• Label limit:
TradingView scripts can plot a maximum of 500 labels.
This script is safely below that unless used in unusual ways across long histories.
• Chart history must be loaded:
Labels only appear for timestamps that exist in the loaded chart history.
If you don’t see a label, zoom out or scroll back to ensure that date is loaded.
• Timestamp uses symbol exchange timezone:
Input time is interpreted in the chart’s timezone/exchange context.
If your trades were recorded in a different timezone, you may need to adjust.
⸻
Best use case
• Manual trade journaling for discretionary traders
• Quickly reviewing execution timing and reasoning
• Keeping a lightweight log visible on the chart without external tools
Gold VBO V2.3: Sniper (Best)🛡️ 極致風控邏輯
高報酬不再需要承擔高風險。這套系統專為「睡得著覺」而優化:
28.50% 的低回撤表現:透過限制 最大追價 4 USD 以及 持倉上限 2 單,我們成功將風險壓低至 30% 內的銀行級水準。
獨家「引線強制平倉」技術:不需等待收盤,只要引線觸及歐盤結構低點,系統立刻「斷尾求生」,杜絕任何瀑布式暴跌的損害。
拒絕過度交易:20 USD 的箱體高度限制確保我們只在市場動能最強時進場,徹底過濾無效的震盪磨損。
🛡️ Sniper’s Self-Protection: Extreme Risk Control Logic
High returns no longer require reckless risk. The "Sniper Edition" is engineered with a "Safety First" DNA, ensuring institutional-grade capital protection:
28.50% Ultra-Low Maximum Drawdown: By strictly limiting the Maximum Chase to 4 USD and capping Pyramiding at 2 trades, we have successfully suppressed the drawdown to a professional level below 30%.
Exclusive "Wick Force Exit" Technology: Our system doesn't wait for a candle to close; the moment the price wick touches the London session's structural low, the "Hard Stop" is triggered instantly to prevent catastrophic losses from market crashes.
Strategic Noise Filtration (20 USD Box Limit): By setting a high entry threshold of a 20 USD minimum box height, we ensure the system only engages during periods of genuine market momentum, effectively filtering out over 80% of deceptive price action.
Precision Entry Guard: The 4 USD Max Chase limit locks in your risk by ensuring you only enter trades near the breakout point, preventing "FOMO" entries that would otherwise widen your stop-loss distance.
BIST:XAUUSD1!
Blockcircle Central Bank Balance Sheet and Money SupplyBlockcircle Central Bank Balance Sheet and Money Supply is an indicator that tracks global liquidity by aggregating money supply (M2) and central bank balance sheet data from the world's largest economies.
It is a super light version of the Blockcircle Global Liquidity Scorecard (GLS) :
Understanding global liquidity conditions is essential for macro-oriented traders and investors because, generally, expansions in money supply and central bank balance sheets have correlated with risk asset appreciation, while contractions have preceded periods of market weakness.
Key Features:
Global Money Supply (M2)
Aggregates M2 money supply from 11 major economies: United States, European Union, China, Japan, United Kingdom, Canada, India, Russia, Brazil, Australia, and Switzerland.
Global Central Bank Balance Sheets
Combines total assets held by 10 major central banks, including the Federal Reserve, ECB, PBoC, BoJ, BoE, and others.
US Net Liquidity: Fed Balance Sheet minus Reverse Repo minus Treasury General Account.
Optional moving averages (SMA, EMA, WMA, RMA) for trend identification
Customizable information table displaying current values and period-over-period changes
Individual country breakdown view showing contribution from each economy
Fully adjustable colors, line styles, and display preferences
Value labels on each plot line showing current readings and percentage changes
Alert conditions for significant changes in M2, CBBS, and MA crossovers
How to Use
Trend Analysis: rising global liquidity generally supports risk assets. Declining liquidity often precedes corrections. Use the moving average overlays to identify trend direction and potential turning points.
Divergence Spotting: compare the Global M2 line against Global CBBS. Divergences between money supply growth and central bank asset purchases can signal shifts in monetary policy effectiveness.
US Liquidity Focus: the Net Liquidity calculation removes temporary distortions from RRP and TGA fluctuations, providing a clearer picture of funds actually available in the US financial system.
Country Breakdown: enable the country breakdown table to identify which economies are expanding or contracting their money supply and balance sheets most aggressively.
Hope you find it helpful! Please ask questions below, happy to help!
AF Sniper V9 (Limit Hybrid)
# 🚀 **AF Sniper V9 (Limit Hybrid) – The Ultimate Automation Tool**
**Automate your trading with surgical precision and minimal fees.**
The **AF Sniper V9** is not just another strategy; it is a complete **Execution Engine** designed to solve the biggest pain points of algorithmic trading: high fees, execution errors, and complex setups.
Whether you trade Crypto or Stocks this tool adapts to the market and handles the technical heavy lifting for you.
---
### 🔥 **Key Features (Why this script?)**
✅ **1. Hybrid Execution (Limit vs. Market)**
* **Save on Fees:** The new `Limit Mode` places orders at the current price (`Close`), aiming to capture **Maker Fees** (0.02%) instead of expensive Taker Fees.
* **Market Mode:** Switch instantly to Market orders when speed is critical and you can't afford to miss a move.
✅ **2. Auto-Symbol Fixer **
* Forget about "Invalid Symbol" errors.
* The script automatically detects if your chart symbol has a `.P` suffix (e.g., `BTCUSDT.P`) and cleans it to `BTCUSDT` before sending it to Bybit.
* **Plug & Play:** Just add it to the chart, and it works.
✅ **3. Dual Strategy Mode (Long & Short)**
* **One Script, Two Directions:** Use the simple dropdown menu to switch between `Long Mode` (Buying dips) and `Short Mode` (Selling pumps).
* No need for separate scripts for different directions.
✅ **4. JSON Automation Generator**
* No more writing complex JSON code manually.
* The script generates the **exact** JSON payload required by Bybit (including Quantity precision fixes) and sends it via the alert message.
---
### 🧠 **The Logic (How it trades)**
The strategy is based on a "Mean Reversion" approach combined with Trend Filtering:
* **📈 Long Mode:**
* **Trend:** Checks if the price is **ABOVE** the 200 EMA (Trend is bullish).
* **Trigger:** Waits for the RSI to crash into oversold territory (Dip buying).
* **Exit:** Sells when momentum peaks or hits a trailing stop.
* **📉 Short Mode:**
* **Trend:** Checks if the price is **BELOW** the 200 EMA (Trend is bearish).
* **Trigger:** Waits for the RSI to spike into extreme overbought territory (Shorting pumps).
* **Exit:** Covers when the price collapses.
---
### ⚙️ **How to Set Up (3 Simple Steps)**
1. **Add to Chart:** Apply the script to your desired timeframe (e.g., 30m or 1h).
2. **Configure:**
* Choose your **Mode** (Long or Short).
* Choose your **Order Type** (Limit for savings, Market for speed).
3. **Create Alert:**
* In the Alert settings, select this strategy.
* **CRITICAL:** In the "Message" box, delete everything and paste **ONLY** this magic placeholder:
* `{{strategy.order.alert_message}}`
That's it! The script will now send perfectly formatted JSON commands to your webhook.
---
### ⚠️ **Risk Disclaimer**
*This tool is for educational purposes and automated execution. Trading cryptocurrencies involves significant risk. Always backtest with your specific settings and use proper risk management (Stop Loss).*
---
**Created by AlgoFreaks** 🤖
*Data-Driven Trading Solutions.*
SNR + ZigZag Struct這是一個將複雜的波段結構、趨勢線與支撐壓力轉化為視覺化價格清單與多時框導航的全能型交易系統。
"A comprehensive trading system that transforms complex market structures, trendlines, and S/R levels into visual price checklists and multi-timeframe navigation.






















