Worldclassedge [Patrick nill]plotshape(long, title="BUY", text="Long▲", style=shape.labelup, textcolor=color.white, size=size.auto, location=location.belowbar, color=color.green)
plotshape(short, title="SELL", text="Short▼", style=shape.labeldown, textcolor=color.white, size=size.auto, location=location.abovebar, color=color.red)
alertcondition(long, title="BUY", message="Long▲")
alertcondition(short, title="SELL", message="Short▼")
// VWAP
anchor = input.string("Session", title="Anchor Period")
MILLIS_IN_DAY = 86400000
dwmBarTime = timeframe.isdwm ? time : request.security(syminfo.tickerid, "D", time)
dwmBarTime := na(dwmBarTime) ? nz(dwmBarTime ) : dwmBarTime
var periodStart = time - time
makeMondayZero(dayOfWeek) => (dayOfWeek + 5) % 7
isMidnight(t) => hour(t) == 0 and minute(t) == 0
isSameDay(t1, t2) => dayofmonth(t1) == dayofmonth(t2) and month(t1) == month(t2) and year(t1) == year(t2)
isOvernight() => not (isMidnight(dwmBarTime) or request.security(syminfo.tickerid, "D", isSameDay(time, time_close), lookahead=barmerge.lookahead_on))
tradingDayStart(t) => timestamp(year(t), month(t), dayofmonth(t), 0, 0)
numDaysBetween(t1, t2) =>
diff = math.abs(tradingDayStart(t1) - tradingDayStart(t2))
diff / MILLIS_IN_DAY
tradingDay = isOvernight() ? tradingDayStart(dwmBarTime + MILLIS_IN_DAY) : tradingDayStart(dwmBarTime)
isNewPeriod() =>
var isNew = false
if tradingDay != nz(tradingDay )
isNew := switch anchor
"Session" => na(tradingDay ) or tradingDay > tradingDay
"Week" => makeMondayZero(dayofweek(periodStart)) + numDaysBetween(periodStart, tradingDay) >= 7
"Month" => month(periodStart) != month(tradingDay) or year(periodStart) != year(tradingDay)
"Year" => year(periodStart) != year(tradingDay)
=> false
isNew
srcVWAP = hlc3
var float sumSrc = 0
var float sumVol = 0
if isNewPeriod()
periodStart := tradingDay
sumSrc := 0
sumVol := 0
if not na(srcVWAP) and not na(volume)
sumSrc += srcVWAP * volume
sumVol += volume
vwapValue = sumSrc / sumVol
plot(vwapValue, title="VWAP", color=color.red, linewidth=3)
// =
enableCloud = input.bool(false, "Enable Cloud")
lenn = input.int(20, "Period")
mult = input.float(2.5, "StdDev Multiplier")
tc = input.int(25, "Gauge Size", minval=3)
upColor = input.color(#00ffbb, "Up Color")
downColor = input.color(#ff1100, "Down Color")
basis = ta.sma(close, lenn)
upper1 = basis + ta.stdev(close, lenn) * mult
lower1 = basis - ta.stdev(close, lenn) * mult
// TP
var int position = 0
if long
position := 1
else if short
position := -1
Analisi trend
Trapped Traders EBPThe Trapped Traders Indicator is used to predict overall Market bias, with green being longs, and red being shorts.
The autofibs are 0%,25%,50%,and 100%. After an autofib and directional bias is generated, you'll want to look for an entry on a lower time frame somewhere between the 25% and 50% ideally.
A simple trading plan:
Use the indicator on the 4 Hour chart. Wait until you get an autofib. Zoom down to the 5 minute chart and wait for price to reach the 25% retracement. Look for an entry using an entry model of your choice. For example: an engulfing 5 minute bar in the direction of your bias, an order block, fair value gap, or choch in your favor.
This method of trading was introduced to me by Omar Agag. Cheers to prosperity, brother!
Good luck! And happy trading!
COT: CTA POSITIONINGCOT: CTA POSITIONING
A comprehensive Commitment of Traders (COT) indicator that tracks institutional money manager positioning across futures markets. This indicator displays CTA (Commodity Trading Advisor) net positioning as a percentile rank, helping traders identify potential market extremes and contrarian opportunities.
Key Features:
Multi-Market Coverage: Automatically detects and displays COT data for 60+ futures contracts across equity indices, bonds, currencies, cryptocurrencies, metals, energy, grains, livestock, and softs
Percentile Rank Display: Shows CTA net positioning (long minus short) as a percentile over a customizable lookback period (default 156 weeks ≈ 3 years)
Extreme Zones: Visual highlighting of potential reversal zones when CTAs reach positioning extremes (>80th percentile = bearish, <20th percentile = bullish)
Liquidity Analysis Table (optional): Displays detailed positioning breakdown including:
Gross long and short positions
Net positioning
20-day average volume
Net position as % of average daily volume
Estimated days to unwind net position
Methodology:
The indicator pulls CFTC Commitment of Traders data from both Financial Traders (COT3) and Disaggregated (COT2) reports, focusing specifically on leveraged money managers (CTAs/hedge funds). It calculates:
Net Positioning = CTA Longs - CTA Shorts
Net as % of Open Interest
Percentile rank of current net positioning vs. lookback period
Interpretation:
High readings (>80): CTAs are extremely net long - potential bearish reversal signal
Low readings (<20): CTAs are extremely net short - potential bullish reversal signal
Works best as a contrarian indicator on weekly timeframes
Consider liquidity metrics to assess position size relative to market capacity
Settings:
Lookback Period: Adjustable percentile calculation window (default 156 periods)
Show Table: Toggle detailed positioning and liquidity data display
Supported Markets:
Equity Indices (ES, NQ, RTY, YM), Treasuries (ZT, ZF, ZN, ZB, UB), Currencies (6E, 6J, 6B, 6C, 6A), Crypto (BTC, ETH), Metals (GC, SI, HG, PL, PA), Energy (CL, NG, RB, HO, BZ), Grains (ZC, ZW, ZS, ZM, ZL), Livestock (LE, HE, GF), and Softs (SB, CT, KC, CC, OJ)
Note: COT data is released weekly on Fridays and reflects positions as of Tuesday close. This indicator works best on daily or weekly timeframes.
Data sourced from CFTC Commitment of Traders reports via TradingView's COT library.
Time Pattern Analyzer - Multi Mode [fmb]This is a lightweight session-behaviour overlay that helps you spot whether a market tends to move up or down at specific days or times.
- Two analysis modes
Weekday: Breaks performance down by Mon–Fri
Hour of Day: Breaks performance down by 0–23 and can also track a single exact time (hour + minute), like 09:30
- Visual timing markers (optional)
Draws vertical lines on the chart for the selected day(s) or time(s)
Line colour reflects the bar direction: green (up), red (down), grey (neutral)
Fully adjustable width and style (solid, dotted, dashed)
- Flexible “green vs red” definition
Body mode: Close > Open (candle body direction)
Previous close mode: Close > Close (momentum vs prior bar)
- Stats table (optional)
For each day or hour, the table shows:
Count (sample size)
% Green
% Red
Average % move (average return for that bucket)
Table can be positioned anywhere on the chart (top/bottom, left/centre/right)
Use cases
- Quickly identify recurring tendencies like “Mondays are strongest” or “first hour is choppy,” and validate timing ideas with clear counts and averages instead of guesswork.
Note: This tool reports historical tendencies, not predictions. Always account for regime changes, news risk, and liquidity.
ADX DMI SqueezeOverview
This indicator combines:
ADX / DMI → Measures trend strength and direction
ADX Squeeze Histogram → Shows when the trend is accelerating or “squeezing” for a breakout
Triangles → Highlight potential expansion points
Optional DI+ / DI− lines → Show bullish/bearish dominance
ADX Threshold Lines (15 / 20) → Help filter weak trends
Early ADX Acceleration Dots → Provide an early heads-up before a squeeze fires
It can be used standalone or alongside other trend tools like VWAP for better entry timing.
Entry Guidelines
Long Trades (Buy):
Histogram above 0
Green triangle appears
ADX rising or above threshold (15/20 recommended)
Optional: DI+ > DI− confirms bullish strength
Short Trades (Sell):
Histogram above 0
Red triangle appears
ADX rising or above threshold (15/20 recommended)
Optional: DI− > DI+ confirms bearish strength
Avoid trades if:
Histogram negative
Triangles appear but ADX below threshold or trend not confirmed by DI linesOptional Filters
Require ADX acceleration: Only shows signals when ADX is increasing → avoids late or false entries
VWAP Bias: Session-anchored institutional positioning (best for open & intraday scalps).
MA Bias: Time-based trend direction (best for continuation & trend days).
Tips
Best on 30-min or higher timeframes for swing/short-term trend trades
Can be combined with VWAP Moving averages , support/resistance, or Bollinger Bands
Use DI lines toggle if you want extra visual trend confirmation
Adjust DMI length (sensitivity) and ADX smoothing for your preferred timeframe
Interpretation
Histogram turning green above 0 + triangle → strong bullish move forming
Histogram turning red above 0 + triangle → strong bearish move forming
ADX above 20 → strong trend, more reliable
ADX below 15 → weak trend, signals less reliable
In short:
Long = Green bars above 0 + Green triangle
Short = Red bars above 0 + Red triangle
Confirm with ADX above threshold and optionally DI lines
yesterday
RSL Buy Signal Alert the relative Strength Index from Levy is checked. If it is above a dynamic value, an alert is triggered
UTC-5 Time MarkersFor model 110 of DTT use flout with this as a bias and you will catch high wr high rr trades for this certain time window of continuation or reversal
MACD Buy E Sell EditavelMacd personalizavel com sell para cruzamento de venda e buy para cruzamento de compra
ChunkbrAI-NN INDIChunkbrAI-NN INDI: The Neural Network Odyssey
A Native Pine Script Neural Network Research Engine
Welcome to ChunkbrAI-NN 5.3. This is not a standard technical indicator; it is a proof-of-concept Artificial Intelligence engine built entirely from scratch within Pine Script.
Neural Networks typically require iterating over massive datasets, a task that usually times out on TradingView. ChunkbrAI solves this by introducing a novel "Chunking Architecture"—a system that breaks history into digestible learning blocks and trains a Multilayer Perceptron (MLP) using a "Chunking" approach.
It features a living ecosystem where neurons have "genes," grow mature, and adapt to market regimes using a highly sophisticated Context-Aware normalization engine.
-----------------------------------------------------------
The Core Concept: "The Time Wheel"
To bypass Pine Script's execution limits, this script does not train linearly from the beginning of time. Instead, it operates like a spinning wheel of experience.
* The Chunk System: On every bar update, the engine reaches back into history (up to 5000 bars) and grabs random or sequential "Chunks" of data. It treats these chunks as isolated training samples.
* Experience Replay: By constantly revisiting past market scenarios (Chunks), the network slowly converges its weights, learning to recognize patterns across different eras of price action.
-----------------------------------------------------------
Architecture & Modules
A. The Neural Core (MLP)
At the heart is a raw neural network built with arrays:
* Topology: A dense network with a customizable Hidden Layer (Default: 60 Neurons).
* Timewarp (Stride): When enabled, the network uses "dilated" inputs (skipping bars, e.g., 1, 3, 5...). This increases the network's Field of View without increasing computational load.
* Forecasting: The network outputs a standardized prediction which is then de-normalized to project the future price path on your chart.
B. The Context System (The "Eyes")
Raw prices confuse neural networks. A $1000 move in Bitcoin is massive in 2016 but noise in 2024. ChunkbrAI uses a relativistic Context System:
* Regime Detection: It uses a Zero-Lag Moving Average (ZLMA) and Non-Linear Regression to measure the current market "Vibe" (Volatility & Trend).
* Dynamic Normalization: The inputs are scaled based on this context. If the market is volatile, the data is compressed; if calm, it is expanded. This ensures the brain receives consistent signal patterns regardless of the absolute price.
C. The Gene System (Neuro-Plasticity)
This is the experimental "biology" layer. Neurons are not just static math; they have life cycles.
* Maturity: Neurons start "Young" (highly plastic, high mutation rate). As they successfully reduce error, they become "Wise" (stable, low mutation).
* Mutation: If a "Wise" neuron begins failing (high error), it is demoted and forced to mutate. This allows the brain to "forget" obsolete behaviors and adapt to new market paradigms automatically.
* Profiles: You can initialize the brain with different personalities (e.g., Dreamer, Young Chaos, Zen Monk).
D. The Brain Scheduler (Adaptive Learning)
A static Learning Rate (LR) is inefficient. The Brain Scheduler acts as the heartbeat:
* Panic vs. Flow: It monitors the derivative of the error. If the error spikes (Panic), the Scheduler slows down learning to prevent the model from exploding. If the error smooths out (Flow), it accelerates learning (Infinite LR Mode).
-----------------------------------------------------------
Forecasting Modes
The script provides two distinct ways to visualize the future:
1. Direct Projection (Green Line):
The network takes the current window of price action and predicts the immediate next step. If Timewarp is active, it interpolates the result to draw a smooth curve.
2. Autoregression (Cyan Line):
Available in "Auto" mode. The network feeds its *own* predictions back into itself as inputs to generate multi-step forecasts.
* Wave Segmentation: The script intelligently guesses the current market cycle length and attempts to project that specific duration forward.
-----------------------------------------------------------
Operation Manual
The script has two distinct training loops: first, when you add it to a chart, Pine runs through the available historical bars once, and this initial history pass is the main training phase where the network iterates chunk-by-chunk using your configured chunk count/iterations (e.g., if chunk count is 3, it performs 3 chunk updates per step), but pushing chunk count, iterations, or model sizing too high can hit Pine’s execution limits; after that, once real-time candles start printing, the script can either keep training (weights continue updating) or freeze the weights and run inference only, producing predictions from the learned parameters, and if live training is enabled it can also simulate “bars-back” style training during live mode by iterating across prior bars as if doing another history pass—which again can run into limits if chunks/iterations/sizing are too heavy—so when changing parameters to evaluate behavior you change them carefully and individually, because multiple simultaneous increases make it hard to attribute effects and can more easily trigger those execution constraints.
Weight Persistence (Save/Load):
Pine Script can’t write files or persist weights directly, so ChunkbrAI uses a library-based workaround that’s honestly tricky and kind of a pain: you enable the weight-export alerts so the script emits the weights (W1/W2/biases etc.) as text, and those payloads are chunked as well; then, outside TradingView, I use a separate Python script to parse the alert emails, reconstruct and format the chunked weights properly, and generate the corresponding library code files; after that, the libraries have to be published/updated, and only then can the main script “restore” by reading the published lib constants on chart load, effectively starting with the pre-trained weights instead of relying purely on the fresh history-run training pass. I don’t recommend this process unless you really have to—it’s fragile and high-effort—but until TradingView implements some simple built-in data storage for scripts, it’s basically the only practical way to save and reload your models.
-----------------------------------------------------------
Limitations & Notes
* Calculation Limits: This script pushes Pine Script to its absolute edge. If you increase Chunk Size or Hidden Size too much, you WILL hit execution limits. Use the defaults as a baseline.
* Non-Deterministic: Because the "Wheel" picks random chunks for training, two instances of this script might evolve slightly different brains unless you use the Restore Weights feature.
* Experimental: This is a research tool designed to explore Neural Networks and Genetic Algorithms on the chart. Treat it as an educational engine, not financial advice.
Credits: Concept and Engineering by funkybrown.
QuCap Pure Liquidity: Untouched Liquidity PoolsOverview Most liquidity indicators on the Public Library suffer from "Chart Noise." They often leave levels on the chart long after they have been "wicked out," simply because the candle didn't manage to close past the level.
QuCap Pure Liquidity is designed for the precision trader who only cares about Intact Liquidity. This script identifies pivot-based liquidity pools and monitors them in real-time. If price wicks through a level by even a single tick, the level is immediately invalidated and removed from your chart.
Key Features
Instant Invalidation: Levels are deleted on wick touch (High/Low), not candle close.
Intact Levels Only: What you see on the chart is "Fresh" and has not been mitigated.
Memory Management: Includes customizable limits for Buy-Side and Sell-Side levels to keep your chart clean and your browser running fast.
Fully Customizable: Adjust pivot strength (Left/Right bars) and visual styles to match your personal template.
How to Use
Draw on Liquidity: Use the remaining lines as a magnet for price action.
Stop Runs: Observe how price reacts when it clears these levels.
Clean Charts: Perfect for traders who follow SMC or ICT concepts and need to see where the real "resting" orders are.
Settings
Pivot Strength: Increase these values (e.g., 5, 5) to find more significant historical levels, or keep them low (2, 2) for scalp targets.
Max Levels: Keeps the chart from showing lines from weeks ago that are no longer relevant to current intraday price action.
[TehThomas] - Order Blocks█ OVERVIEW
This Order Blocks indicator identifies institutional-level support and resistance zones using fractal pattern recognition combined with Fair Value Gap (FVG) filtering. Order blocks represent areas where large institutional orders have been placed, creating significant price reactions when retested. This indicator uses a 5-bar fractal pattern to detect market structure breaks and highlights the last bearish or bullish candle before a strong impulse move.
█ KEY FEATURES
- Fractal-Based Detection: Uses 5-candle fractal patterns to identify key market structure highs and lows
- FVG Filtering: Optional Fair Value Gap confirmation ensures order blocks are followed by true market imbalances
- Automatic Mitigation: Order blocks are automatically removed when price breaks through them
- Overlap Prevention: Prevents cluttered charts by avoiding overlapping order block zones
- Customizable Display: Full control over colors, labels, line heights (body/wick), and maximum blocks shown
- Dual Polarity: Detects both bullish (OB+) and bearish (OB-) order blocks independently
█ HOW IT WORKS
The indicator scans price action for fractal patterns where the middle candle forms a local extreme (highest high or lowest low among 5 bars). When price breaks above a fractal high or below a fractal low, the script identifies the last opposing candle in the impulse move as the order block.
For bearish order blocks, it finds the highest bullish candle before a fractal low is broken, marking institutional selling pressure. For bullish order blocks, it locates the lowest bearish candle before a fractal high is breached, indicating institutional buying.
When FVG filtering is enabled, the indicator confirms that a Fair Value Gap (a 3-candle imbalance where price leaves an unfilled gap) occurred within the specified distance from the order block. This combination increases the probability that institutional traders are present in these zones.
█ SETTINGS
Bullish Order Block Settings
- Show/hide bullish order blocks
- Customize fill color and border color
- Toggle OB+ label display
Bearish Order Block Settings
- Show/hide bearish order blocks
- Customize fill color and border color
- Toggle OB- label display
Label Settings
- Label size: Tiny, Small, Normal, or Large
- Label text color customization
General Settings
- Bars Back to Check (10-200): Lookback period for order block detection
- Filter by FVG: Requires Fair Value Gap confirmation
- Max Bars Between OB and FVG (1-6): Distance tolerance for FVG filtering
- Line Height: Choose between Body or Wick for order block boundaries
- Prevent Overlapping OBs: Avoids drawing overlapping zones
- Max Order Blocks to Display (1-50): Limits active blocks on chart
- Length of Boxes (10-100): Horizontal projection length
█ HOW TO USE
1. Add the indicator to your TradingView chart
2. Configure settings based on your trading timeframe and style
3. Watch for OB+ labels (bullish order blocks) as potential support zones where price may bounce
4. Watch for OB- labels (bearish order blocks) as potential resistance zones where price may reverse
5. Wait for price retracement to the order block zone before taking entries
6. Use confirmation signals like volume spikes or reversal patterns at the order block
7. Place stop loss just outside the order block boundary to manage risk
8. Monitor mitigation: Order blocks disappear when price breaks through them completely
█ TRADING STRATEGY EXAMPLES
Bullish Order Block Strategy
Wait for a market structure shift from bearish to bullish. When price creates a bullish impulse breaking a fractal high, identify the OB+ zone. Enter long positions when price retraces to test the bullish order block, placing stop loss 10-20 pips below the zone's low. Target previous highs or resistance levels.
Bearish Order Block Strategy
Monitor for market structure shift from bullish to bearish. After price creates a bearish impulse breaking a fractal low, locate the OB- zone. Enter short positions when price retraces to test the bearish order block, placing stop loss 10-20 pips above the zone's high. Target previous lows or support levels.
FVG-Confirmed Entries
Enable FVG filtering to only display order blocks validated by Fair Value Gaps. These aligned setups increase probability as they combine institutional order placement with market inefficiencies. Trade retracements to these high-confluence zones for better risk-reward ratios.
█ IDEAL FOR
- ICT Traders: Follows Inner Circle Trader methodology for institutional order flow
- Smart Money Concepts: Tracks where large players place orders
- Swing Traders: Identifies key support/resistance for multi-day holds
- Price Action Traders: Pure chart-based approach without lagging indicators
- Breakout Traders: Confirms structure breaks with fractal patterns
- Forex, Crypto, and Stock Markets: Works on all liquid markets and timeframes
█ TECHNICAL SPECIFICATIONS
- Max Boxes: 500
- Max Labels: 500
- Detection Method: 5-bar fractal pattern recognition
- Mitigation Logic: Automatic removal when price breaks order block boundaries
- Time Projection: Uses time offset calculations for box extension
- Array Management: Dynamic array cleanup to prevent memory issues
█ NOTES & DISCLAIMERS
- Order blocks work best when combined with overall market context and trend analysis
- Not all order blocks result in price reversals; use proper risk management
- FVG filtering may reduce the number of signals but increases quality
- Fractal patterns require 5 bars to form, causing a 2-bar delay in detection
- Works optimally on higher timeframes (4H, Daily) for institutional footprints
- This indicator does not guarantee profitable trades; always use stop losses
- Past performance of order blocks does not predict future results
- Compatible with other ICT concepts like liquidity sweeps and market structure
Cruzamento MACD 15 min sauloCruzamento macd nos 15 min, quando acontece o cruzamento o indicador da o sinal de compra e venda.
Setup Finder by cryptokazancevEnglish
The indicator helps find setups based on Smart Money instruments
What OB and FVG Are
Order Blocks (OB) are a bullish or bearish candle (or several candles) where the next candle (or a sequence of candles) impulsively engulfs the order block.
Imbalance (FVG) is a price inefficiency caused by an impulsive price move due to an abnormal dominance of supply or demand at a price level.
Indicator Settings (in Simple Terms)
Show OB — enable/disable displaying the detected order blocks on the chart.
Show FVG — enable/disable displaying the detected FVG zones.
Max OB (per side) — how many long and how many short order blocks to display at the same time.
Max FVG (per side) — how many long and how many short FVG zones to display at the same time.
Engulfing Window (candles) — how many subsequent candles are allowed to consider the order block “engulfed.”
Color Engulfing Candles — highlight candles where the engulfing occurred to make it easier to spot on history.
OB Invalidation Mode — when to consider an order block “broken” (invalid):
“50%” — the OB is considered invalid if price closes with the candle body below/above the midpoint (50%) of the order block.
“Entry Drill” — the OB becomes invalid on the first touch of the OB zone.
Size Limits via ATR
OB Size in ATR — here ATR is defined as the average candle size over the last 500 bars. It is used to determine the maximum allowed size of an order block.
FVG Size in ATR — the same, but for an FVG zone: a limit on what FVG size is considered acceptable.
Setup Search Mode
Enable Setup Search Mode — when enabled, the indicator will not display all OB and FVG, but only those that contain:
pivots, or
a Sunday Open level, or
both.
Require Pivots / Require Sunday Open — a requirement that the OB/FVG zone must contain pivots and/or Sunday Open levels (depending on the selected option).
Number of Sunday Open Levels — how many Sunday Open levels to draw on the chart.
How to use
Enable Setup Search Mode .
Turn on the requirements Require Pivots and Require Sunday Open so that only the most relevant OB/FVG zones are displayed.
Wait for price to return into the highlighted Order Block or FVG area.
On a lower timeframe, look for an entry model/confirmation, such as:
engulfing,
pin bar,
break of structure / Market Structure Shift (MSS).
Repainting
The indicator does not repaint.
Русский
Индикатор помогает находить сетапы по торговой стратегии Павла Казанцева.
Что такое OB и FVG
Ордерблоки (OB) — это бычья или медвежья свеча (или несколько свеч), при этом следующая свеча (или связка свеч) импульсно поглощает ордерблок.
Имбаланс (FVG) — это ценовая неэффективность, вызванная импульсным движением цены вследствие аномального превосходства спроса/предложения на ценовом уровне.
Настройки индикатора (простыми словами)
Показывать OB — включить/выключить отображение найденных ордерблоков на графике.
Показывать FVG — включить/выключить отображение найденных зон FVG.
Максимум OB (на сторону) — сколько лонговых и сколько шортовых ордерблоков показывать одновременно.
Максимум FVG (на сторону) — сколько лонговых и сколько шортовых зон FVG показывать одновременно.
Окно поглощения (свечей) — сколько следующих свечей допускается, чтобы считать, что ордерблок был “поглощён”.
Окрашивать поглощённые свечи — подсвечивать свечи, где произошло поглощение, чтобы проще было искать это на истории.
Режим инвалидации OB — когда считать ордерблок “сломавшимся” (недействительным):
“50%” — OB считается недействительным, если цена закрепилась телом свечи ниже/выше середины (50%) ордерблока.
“Entry Drill” — OB становится недействительным при первом касании зоны OB.
Ограничение размеров через ATR
Размер OB в ATR — ATR здесь понимается как средний размер свечей за последние 500 баров. От него считается, какой максимальный размер ордерблока допустим.
Размер FVG в ATR — то же самое, но для зоны FVG: ограничение, какой размер FVG считается допустимым.
Режим поиска сетапов
Включить режим поиска сетапов — если включить, индикатор будет показывать не все OB и FVG, а только те, внутри которых есть:
пивоты, или
уровень Sunday Open, или
и то, и другое.
Обязательно Пивоты / Обязательно Sunday Open — требование, чтобы в зоне OB/FVG обязательно были пивоты и/или уровни Sunday Open (в зависимости от выбранной опции).
Количество уровней Sunday Open — сколько уровней Sunday Open рисовать на графике.
Как пользоваться
Включите режим поиска сетапов .
Активируйте требования Обязательно Пивоты и Обязательно Sunday Open , чтобы отображались только наиболее релевантные зоны OB/FVG.
Дождитесь, когда цена вернётся в отмеченный диапазон ордерблока или FVG .
На младшем таймфрейме найдите модель входа/подтверждение, например:
поглощение,
пинбар,
слом структуры / Market Structure Shift (MSS).
Перерисовка
Индикатор ничего не перерисовывает.
Vietnam Asset Monitoring ToolVietNamese Asset Correlation Tracking Chart
This chart monitors the relationship between major asset classes which Vietnamese analyst should monitor:
Gold Price: Gold is currently in the spotlight as international trade tensions show no signs of easing.
U.S. Dollar Index (DXY): The strength of the U.S. dollar, a key indicator that has relative correlations with most asset classes.
VN30: Vietnam’s benchmark stock index, representing the top 30 leading listed companies.
VNREAL: The stock index tracking Vietnam’s real estate–related companies.
Hanoi Residential Property Prices: Apartment and landed house prices in Hanoi, compiled and aggregated by **VietRealty.Pro**
Development in progress..
MA ATR RangeExponencial Moving average with 3 ATR ranges. It shows trend and overbought and oversold levels.
SILVER (XAGUSD) Targets📌 AG Target – XAU-Based Silver Target Levels
AG Target is a ratio-based indicator designed to analyze Silver (XAGUSD) using the price of Gold (XAUUSD) as a reference.
The indicator projects dynamic target, support, and resistance levels on the silver chart by dividing the Gold price by historically significant XAU/XAG ratios.
🔍 How It Works
Retrieves XAUUSD (Gold spot price)
Divides it by predefined XAU/XAG ratio levels
Plots the resulting values directly on the XAGUSD chart
Fixed ratio levels used:
44.260
39.628
31.707
These ratios represent historically important zones in the Gold–Silver ratio.
🎨 Visual Logic
Green line → XAG price is above the level
Red line → XAG price is below the level
Line thickness increases with level importance
🚨 Alert System
The indicator includes individual alerts and one combined alert:
Separate alerts for each ratio level crossover
A single combined alert triggers when XAG price crosses any of the target levels
Alerts are triggered only on real cross events, avoiding repeated signals.
🏷️ Label Features
Automatic target labels on the last bar
Toggle labels on/off
Adjustable transparency, size, and horizontal offset
Labels display:
Current target price
Corresponding XAU/XAG ratio
🎯 Who Is This For?
Traders using the Gold–Silver ratio
Macro and ratio-based analysts
Medium to long-term silver traders
Users who prefer clean, objective price levels on their charts
⚠️ Disclaimer
This indicator is not financial advice.
It is designed as a ratio-based reference tool and should be used together with other technical or fundamental analysis methods.
A+ Pullback & Continuation 3 ema pullback und continuation
signale buy sell nach pullback
ema müssen übereinander sein
buy sell signals after pullback
ema have to be clear
Pivot Points Detector - ATR basedThis pivot points detector is a precision-tuned momentum and structural pivot detector designed specifically for high-frequency scalpers (like those trading ES or NQ on the 15-second timeframe).
By combining dynamic volatility filters with structural displacement requirements, it isolates high-conviction reversal points while filtering out the "noise" of lower-timeframe chop.
How It Works
This indicator utilizes a three-gate logic system to ensure that only the most significant market turns are highlighted:
Gate 1: The ATR Momentum Break
The system monitors an ATR (12 / 2.0) trailing stop. A potential pivot is only identified when the price successfully closes across this volatility line, proving that immediate momentum has shifted.
Gate 2: Absolute Structural Anchor
Once a trend change is triggered, the indicator performs a 60-bar retrospective scan (approximately 15 minutes of data) to identify the absolute Highest High or Lowest Low that initiated the move. This pins the marker to the "Source" of the trend rather than the signal bar itself.
Gate 3: The Persistence Proof (Faded vs. Solid)
To prevent "fake outs," the indicator uses a unique faded logic:
Faded Triangle: Appears instantly at the pivot source as a "potential" setup.
12-Tick Run: The triangle only turns Solid if the price travels 12 ticks from that absolute pivot without crossing back over the ATR trail.
Auto-Deletion: If the momentum fails and the ATR trail is breached before the 12-tick target is hit, the faded triangle is automatically wiped from the chart.
Key Features
Clean Visuals: Triangles are printed with a 2-tick offset from the candle wicks for maximum readability.
Label Memory Management: The script maintains a history of the last 200 triangles, ensuring performance stability during long trading sessions.
Fully Customizable: Users can adjust the ATR multiplier, the structural lookback window, the tick-confirmation target, and all visual colors directly from the settings menu.
Trend-Change Focus: Unlike standard Zig-Zags that repainting or mark every wiggle, this tool only prints a marker when a formal ATR trend flip occurs.
Best Use Case: This tool is built for the scalper who needs a reliable "Hard Level" for stop-loss management and re-entry identification. When a triangle turns Solid, it represents a verified structural floor or ceiling that has shown displacement strength.
SMA Dow-Flow MTF (SAXO Logical Alert)This script is an advanced MTF (multi-timeframe) monitor that combines the concepts of Dow Theory and SMA (Single Moving Average) to capture the moment when trends align across multiple timeframes. It is particularly focused on visualizing when lower timeframes synchronize with the direction of higher timeframes, without being distracted by short-term noise. 1. Trend Determination Mechanism (Core Logic): Rather than the usual simple determination of whether a price is above or below a moving average, this is based on updates of "low lows and highs." Pivot Detection: Points where the SMA moves in a "V" or "inverted V" shape are recorded as reversal candidates ($lastH$, $lastL$). Trend Reversal Conditions: Uptrend: When the price clearly breaks above the most recent SMA high ($lastH$). Downtrend: When the price clearly breaks below the most recent SMA low ($lastL$). 2. Indicator Features ① Sync Hierarchy: This script counts the degree to which the direction of each time period matches that of the higher time period, starting from the lower time period. The 5-minute time period forms a trend. The 15-minute time period follows the same direction as the 5-minute time period. The 1-hour time period follows the same direction as the 15-minute time period... (continues up to the daily time period). This ensures that an alert is sent out when the larger trend (daily or 4-hourly) swallows up the smaller trend (5-minute or 15-minute). ② Set Selection: You can switch between the "Yen Set (AUDJPY, EURJPY, etc.)" and the "Dollar Set (EURUSD, GBPUSD, etc.)." This allows you to grasp the strength or weakness of a specific currency (e.g., a weak yen or a strong dollar) at a glance.
This script's alert function does not simply sound when the trends match, but is designed to pinpoint the moment when the number of trend synchronizations increases (i.e., when momentum increases).
Below, we will explain in detail how it works and the meaning of the notifications.
1. Alert Conditions
An alert will only be triggered when all three of the following conditions are met.
Increase in Sync Count: For example, if only two time frames, the 5-minute and 15-minute ones, were aligned (Sync: 2), and the 1-hour one also aligns in the same direction (Sync: 3), the alert will be triggered.
Above the set minimum count (alert_min): The default setting is "3." In this case, a notification will be triggered the moment three, four, or five time frames are synchronized.
Selected Set Only: If the "Yen Set" is displayed, an alert will not be triggered even if a currency pair in the Dollar Set is synchronized.
2. How to Read the Alert Message
When you receive a notification, the following message will be displayed.
USDJPY: 4-Bar Synchronization (Upward)
USDJPY: A Currency Pair Gaining Momentum
4-Bar Synchronization: Indicates that the direction of the four timeframes (5-minute, 15-minute, 1-hour, and 4-hour) is consistent, starting with the lowest timeframe.
Upward/Downward: The direction of the synchronization.
このスクリプトは、「ダウ理論」と「移動平均線(SMA)」の考え方を組み合わせ、複数の時間足でトレンドが揃った瞬間を捉えるための高度なMTF(マルチタイムフレーム)モニターです。特に、短期的なノイズに惑わされず、上位足の方向に下位足が同期したタイミングを視覚化することに特化しています。1. トレンド判断の仕組み(コアロジック)通常の「移動平均線より上か下か」という単純な判定ではなく、「押し安値・戻り高値」の更新をベースにしています。ピボットの検知: SMAが「V字」または「逆V字」に動いた地点を、反転の候補($lastH$, $lastL$)として記録します。トレンド転換の条件:上昇トレンド: 価格が直近のSMA高値($lastH$)を明確に上抜けたとき。下落トレンド: 価格が直近のSMA安値($lastL$)を明確に下抜けたとき。2. インジケーターの特徴① 同期(Sync)の階層構造このスクリプトは、下位足から順に「どれだけ上位足と方向が一致しているか」をカウントします。5分足がトレンドを形成。15分足が5分足と同じ方向。1時間足が15分足と同じ方向……(日足まで続く)これにより、「大きな流れ(日足・4時間足)に、小さな流れ(5分・15分)が飲み込まれた瞬間」を逃さずアラート通知します。② セット選択機能「円セット(AUDJPY, EURJPYなど)」と「ドルセット(EURUSD, GBPUSDなど)」を切り替えて表示できます。これにより、特定の通貨の強弱(円安・ドル高など)を一目で把握できるのが強みです。
このスクリプトのアラート機能は、単に「トレンドが一致した」ときに鳴るのではなく、**「トレンドの同期数が増加した瞬間(=勢いが増した瞬間)」**をピンポイントで通知するように設計されています。
以下に、その仕組みと通知内容の意味を詳しく解説します。
1. アラートが発生する条件
アラートは、以下の3つの条件がすべて揃った時にのみ発信されます。
同期数(Sync Count)の増加: 例えば、それまで「5分足と15分足」の2つしか揃っていなかった(Sync: 2)のが、新しく「1時間足」も同じ方向に揃った(Sync: 3)という変化の瞬間に鳴ります。
設定した最小数以上 (alert_min): 初期設定では「3」になっています。この場合、3つ、4つ、または5つの時間足が同期した瞬間に通知が飛びます。
選択中のセットのみ: 「円セット」を表示している時は、ドルセットの通貨ペアが同期してもアラートは鳴りません。
2. アラートメッセージの読み方
通知が来ると、以下のようなメッセージが表示されます。
USDJPY: 4足同期 (上昇)
USDJPY: 勢いが出た通貨ペア
4足同期: 下位足から順に「5分・15分・1時間・4時間」の4つの時間足で方向が一致したことを示します。
上昇 / 下落: その同期している方向です。
Supply Demand Zones ProSupply Demand Zones PRO
Version: 1.0
Built with: Pine Script v6
________________________________________
🧭 HOW TO USE Start Here
🧠 What it does default behavior
• ✅ Automatically identifies Supply & Demand zones on your chart
• ✅ Automatically ranks each zone from 0 to 10 higher = stronger
• ✅ Works across most TradingView symbols and timeframes with default settings
⚙️ Default settings recommended for most instruments
Use the default settings for:
• 💱 Forex
• 🪙 Crypto
• 📊 Indices
• 🛢️ Commodities
• 🏛️ Stocks
Defaults are tuned to provide a balanced mix of quality zones + clean charts.
🎯 How to trade with it high-level workflow
1. 🥇 Prioritize strong zones
o Focus on higher scores commonly 7–10 for best reversal potential.
2. 🔄 Wait for a reversal setup at the zone
o Example triggers: rejection wick, engulfing candle, strong reaction candle, structure shift.
3. ✅ Confirm with other indicators before entering
o Use confirmation tools (your choice), such as:
📈 Trend filter (MA / market structure)
🧪 Momentum (RSI / Stoch / MACD)
📉 Volume / volatility tools
o Then take BUY from demand or SELL from supply *only when confirmation aligns
🧩🖤 Executive Summary: PRO Features Overview
The Supply Demand Zones PRO indicator is a professional-grade tool built on the latest Pine Script v6, designed to automatically identify and score high-probability supply and demand zones.
It moves beyond simple zone plotting by incorporating a suite of advanced features that provide a deeper, more actionable market context. This helps traders filter out noise, focus on significant levels, and make more informed decisions.
The indicator is universally compatible and works seamlessly across all major asset classes and timeframes:
• Forex: EURUSD, GBPUSD, USDJPY
• Commodities: Gold/XAUUSD, Silver, Oil
• Indices: NQ, ES, DAX, FTSE
• Cryptocurrencies: Bitcoin, Ethereum, Altcoins
• Stocks: Individual equities
Most symbols available on TradingView are fully supported.
Notice on repainting 🕯️⬛
Active zones won’t repaint unless they are invalidated. Gray/Historic zones may repaint, and that’s fine—this script only displays the most recent and stronger historic zones (if historic zones are enabled).
________________________________________
⬛🛠️Key PRO Features Overview
⚙️ Feature 📌 Description
Zone Strength Ranking ||| Each zone is dynamically scored from 1–10 based on its age and number of retests. Fresher, less-tested zones are stronger, helping prioritize high-impact levels.
Real-Time Distance ||| Each active zone’s info label shows the exact distance (in pips) from current price to the zone edge for quick risk/opportunity assessment.
Trading Session Tracking ||| Zones are tagged by formation session (Asian / London / New York) for added context—high-volume session zones often matter more.
Automated Retest Markers ||| The script tracks retests and places an “R” marker for each retest, giving a clear visual history of price interaction.
Advanced ATR Filtering ||| Volatility-based filters control zone quality: set min/max zone height and optionally enforce a consistent zone height using ATR.
Minimum Zone Distance ||| Reduces clutter by requiring a minimum number of bars between new zones, ensuring zones are distinct and well-separated.
Dual Label Controls Independently toggle info labels for Active vs Historic zones to keep charts clean while preserving key detail.
Built on Pine Script v6 ||| Uses the newest Pine Script version for better efficiency, reliability, and smoother handling of complex logic/drawings.
________________________________________
Detailed Feature Breakdown ⬛
Zone Strength Ranking ⬛
The strength score is a proprietary calculation that helps traders instantly gauge the potential of a supply or demand zone. It is calculated in real time using:
1. Age of the Zone: As zones age, they may lose relevance. Strength decreases as the number of bars since creation increases.
2. Number of Retests: The first test is often the highest-probability reaction. Each retest reduces strength as liquidity is absorbed.
✅ A high score (7/10+) indicates a fresh, less-tested zone that may produce a strong reaction.
⚠️ A low score suggests a zone is old and/or heavily tested—use extra caution.
________________________________________
🧱⬛Invalidation & Historic Zones
A zone becomes invalidated broken when price closes beyond its outer boundary or wicks beyond it, depending on settings. Once broken, it becomes a Historic Zone and turns gray.
This matters for structure: a broken supply zone can become future demand a flip zone, and vice versa.
________________________________________
🧪⬛Advanced Filtering Explained
Three ATR-based filters control zone quality:
• Max Zone Height (ATR Multiplier): Blocks zones that are too large to trade effectively. Example: 1.0 ignores zones taller than 1× ATR.
• Min Zone Height (ATR Multiplier): Filters out zones that are too thin and likely noise. Example: 1.0 rejects zones smaller than 1× ATR.
• Force Zone Height (ATR Multiplier): Normalizes zone heights by expanding smaller valid zones up to the minimum ATR target. Example: 1.0 expands zones to at least 1× ATR.
________________________________________
🧾⬛Configuration Guide
⚙️⬛Zone Detection
⚙️ Setting 🔧 Default 📝 Description
Swing Length (Sensitivity) 12 Lookback bars for pivot high/low detection. Higher = fewer, stronger zones.
Max Zones to Display 10 Max number of active Supply + Demand zones shown.
Max Zone Height (ATR) 1.0 Rejects zones taller than this ATR multiplier.
Min Zone Height (ATR) 1.0 Rejects zones smaller than this ATR multiplier.
Force Zone Height (ATR) 1.0 Expands valid zones to be at least this ATR multiplier.
Min Distance Between Zones 44 Minimum bars required between consecutive zones of the same type.
________________________________________
🧱⬛Zone Settings
⚙️ Setting 🔧 Default 📝 Description
Zone Invalidation Close “Close” = candle must close past zone; “Wick” = wick past zone breaks it.
Show Historic Zones On Toggles visibility of broken (historic) zones.
Active Zones Lookback 1000 Hides active zones older than this many bars.
Historic Zones Lookback 1000 Hides historic zones older than this many bars.
________________________________________
🖥️⬛Display
⚙️ Setting 🔧 Default 📝 Description
Show Active Zone Info On Toggles text labels for active (unbroken) zones.
Show Historic Zone Info Off Toggles text labels for historic (broken) zones.
Label Size Small Adjusts the font size of zone info labels.
Ichimoku Bounce on Tenkan-Sen by YellowKumaIchimoku Bounce (Long/Short) on Tenkan-Sen by YellowKuma
Pure bounce signals off the Tenkan-sen • No MTF • No noise
🌊 What It Does
This indicator spots high-probability reversal zones where price reacts off the Tenkan-sen (9-period conversion line) — the fastest Ichimoku component acting as dynamic support/resistance.
✅ Long signal → Price bounces up from Tenkan-sen while trading above the cloud
✅ Short signal → Price rejects down from Tenkan-sen while trading below the cloud
✅ Kijun-sen is used only as a trend filter (Tenkan > Kijun for longs / Tenkan < Kijun for shorts) — never as a bounce level
✅ Zero MTF complexity — runs purely on your chart's native timeframe, no repainting
Signals appear as:
🟢 "L" label below the bar → Bullish Tenkan bounce
🔴 "S" label above the bar → Bearish Tenkan bounce
⏱️ Timeframe Matters — A Lot
This strategy shines on higher timeframes and struggles on low ones. Why?
📈 H4 / Daily / Weekly
→ Tenkan-sen aligns with real institutional pivot zones
→ Cloud represents weeks of consensus value — strong trend filter
→ Bounces carry momentum → larger winners, fewer whipsaws
📉 M5 / M15 / M30
→ Tenkan-sen reacts to micro-noise, not structure
→ Cloud too thin — price slices through easily
→ False bounces dominate → shallow moves, poor R:R
💡 Rule of thumb:
• Use H4 for swing entries
• Use Daily for core trend trades
• Keep a Weekly chart open to confirm macro trend (only trade bounces with the Weekly cloud)
• Avoid M15/M30 entirely — signal quality degrades sharply
⚙️ Settings (Simple & Clean)
• Tenkan-sen Period → 9 (standard) — shorter = more sensitive, longer = smoother
• Kijun-sen Period → 26 (standard) — trend filter only
• Senkou Span B Period → 52 (standard) — defines cloud thickness
• Show Long Bounces → Toggle ON/OFF
• Show Short Bounces → Toggle ON/OFF
Cloud colors:
🟢 Green fill → Bullish cloud (Senkou Span A > B)
🔴 Red fill → Bearish cloud (Senkou Span A < B)
🎯 How to Trade the Signals
1️⃣ Wait for confirmation
→ Never enter mid-bar. Wait for candle close beyond the Tenkan-sen.
2️⃣ Check cloud alignment
→ Longs only when price > cloud top
→ Shorts only when price < cloud bottom
3️⃣ Add price action confirmation (optional but recommended)
→ Bullish engulfing / hammer at Tenkan → stronger long signal
→ Bearish engulfing / shooting star at Tenkan → stronger short signal
4️⃣ Risk management
→ Stop-loss: 1–2 pips beyond bounce bar extreme OR 2×ATR(14)
→ Take-profit: Target Kijun-sen (near-term) or opposite cloud boundary (swing)
→ Minimum reward:risk = 1:3
5️⃣ Avoid these situations
→ Choppy markets (Tenkan/Kijun flat, cloud thin)
→ Major news events (FOMC, NFP) — volatility distorts Tenkan touches
→ Bounces within 15 pips of strong horizontal resistance/support against your direction
🔔 Alerts
Built-in alert conditions:
• "Long Bounce" → triggers when green "L" appears
• "Short Bounce" → triggers when red "S" appears
→ Right-click indicator → Add Alert → choose condition
💡 Pro Tips for TradingView Users
✨ Session timing: Avoid first 60 mins of London/NY open — volatility creates false Tenkan touches
✨ Combine with Weekly trend: Disable short signals when price > Weekly cloud (and vice versa)
✨ Less is more: Expect 2–5 high-quality signals per week on H4 — that's normal. Quality > quantity.
⚠️ Important
This is a price-structure tool, not a magic bullet.
Always:
• Respect the trend (trade bounces with the cloud, not against it)
• Use proper position sizing (0.5–1% risk per trade)
• Keep a trading journal — track which bounces worked and why
✨ Bottom Line
Pure. Simple. Effective.
By focusing only on Tenkan-sen bounces — and enforcing strict cloud alignment — this indicator cuts through noise and delivers clean reversal zones where institutions actually place orders.
Works best on H4 and higher.
Add it. Switch to H4. Trade the bounce. 🚀 @YellowKumo
EMA Crossover Arrows (6 EMA & 20 EMA)EMA Crossover Arrows (6 EMA & 20 EMA) - Quick Signal Detector
📊 OVERVIEW
A simple yet powerful indicator that automatically marks exact moments when the 6 EMA crosses the 20 EMA - giving you clear visual signals for potential trend changes without any chart clutter.
🎯 WHAT IT SHOWS
Two precise crossover signals:
- Blue Triangle Up (↑): 6 EMA crosses ABOVE 20 EMA (Bullish signal)
- Pink Triangle Down (↓): 6 EMA crosses BELOW 20 EMA (Bearish signal)
✨ KEY FEATURES
✓ Clean arrow markers appear only at crossover moments
✓ No lag - signals appear in real-time as crossovers occur
✓ Works on ANY timeframe (1min, 5min, 1H, daily, etc.)
✓ Non-intrusive - arrows don't clutter your chart
✓ Perfect for swing trading and trend following
✓ Zero configuration required
⚙️ TECHNICAL DETAILS
- 6 EMA: Fast-moving average for quick trend detection
- 20 EMA: Slower average providing trend confirmation
- Crossover detection uses Pine Script's built-in ta.crossover/crossunder functions
- No repainting - signals are final once the bar closes
Flexible Moving Average SuiteFlexible Moving Average Suite is a customizable moving average indicator that allows traders to configure up to 4 independent moving average lines with full control over calculation method, period, source, color, and line width.
Key Features:
Dual Calculation Methods: Choose between Simple Moving Average (SMA) or Exponential Moving Average (EMA) for each line independently
Full Customization: Adjust period length (1-∞), data source (close, open, high, low, etc.), color, and line width for each MA
Individual Toggle Controls: Show or hide each moving average line as needed
Default Configuration: Pre-configured with commonly used Fibonacci-based periods (5, 13, 21, 34) for quick start
Clean Visualization: Professional color scheme with distinct colors for easy identification
How to Use:
Add the indicator to your chart
Open Settings → "均线系统设置" (Moving Average Settings)
For each MA line (MA1-MA4):
Toggle visibility on/off
Select calculation type (SMA/EMA)
Choose data source (default: close)
Set period length
Adjust line width
Pick your preferred color
Click "OK" to apply changes
Best Practices:
Use multiple timeframes to identify trend alignment
Shorter periods (5-13) respond quickly to price changes, suitable for entry signals
Longer periods (21-34+) help identify major trend direction
Color-code your MAs consistently across charts for better visual recognition
Combine with price action and volume for confirmation
Technical Details:
Written in Pine Script v6
Overlay indicator (displays on price chart)
Lightweight and efficient
Open source under Mozilla Public License 2.0
No repainting
Default Settings:
MA1: EMA(5) - Yellow (#f6c309)
MA2: EMA(13) - Orange (#fb9800)
MA3: EMA(21) - Deep Orange (#fb6500)
MA4: EMA(34) - Red (#f60c0c)
This indicator is ideal for traders who need a simple, reliable, and highly customizable moving average solution without unnecessary complexity.
中文说明 (Chinese Description)
灵活均线系统 是一个可定制的移动平均线指标,允许交易者配置最多4条独立的移动平均线,并完全控制计算方法、周期、数据源、颜色和线宽。
主要特点:
双重计算方法: 每条线可独立选择简单移动平均线(SMA)或指数移动平均线(EMA)
完全自定义: 为每条MA调整周期长度(1-∞)、数据源(收盘、开盘、最高、最低等)、颜色和线宽
独立开关控制: 根据需要显示或隐藏每条移动平均线
默认配置: 预配置常用的斐波那契周期(5、13、21、34)以便快速开始
清晰可视化: 专业配色方案,不同颜色便于识别
使用方法:
将指标添加到图表
打开设置 → "均线系统设置"
对于每条MA线(MA1-MA4):
切换显示/隐藏
选择计算类型(SMA/EMA)
选择数据源(默认:收盘价)
设置周期长度
调整线宽
选择您喜欢的颜色
点击"确定"应用更改
最佳实践:
使用多个时间周期识别趋势一致性
较短周期(5-13)快速响应价格变化,适合入场信号
较长周期(21-34+)帮助识别主要趋势方向
在不同图表上一致地为MA配色,以获得更好的视觉识别
结合价格行为和成交量进行确认
技术详情:
使用Pine Script v6编写
覆盖指标(显示在价格图表上)
轻量高效
Mozilla Public License 2.0开源
不会重绘
默认设置:
MA1: EMA(5) - 黄色 (#f6c309)
MA2: EMA(13) - 橙色 (#fb9800)
MA3: EMA(21) - 深橙色 (#fb6500)
MA4: EMA(34) - 红色 (#f60c0c)
该指标非常适合需要简单、可靠且高度可定制的移动平均线解决方案的交易者。






















