Psico LevelsPsychological Levels - 000 / 250 / 500 / 750
This indicator automatically draws psychological price levels (.000, .250, .500, .750) directly on your chart.
Psychological levels are "round" prices that tend to attract traders' attention and often act as natural support/resistance zones. These levels are particularly relevant in forex, crypto, and indices.
FEATURES:
- Horizontal lines at .000, .250, .500, .750 levels
- Enable/disable each level individually
- Customizable colors for each level type
- Adjustable base step (default 1.0)
- Lines automatically extend to the right
SETTINGS:
- Base Step: sets the interval between main levels (1.0 = 1.000)
- Show .000/.250/.500/.750: toggle individual levels on/off
- Customizable colors for each level
HOW TO USE:
Ideal for identifying significant price zones where market reactions are likely to occur. The .000 and .500 levels are generally the most relevant, while .250 and .750 provide intermediate levels.
Perfect for scalping, day trading, and swing trading on any timeframe.
Chart patterns
Future Swing [BigBeluga]🔵 OVERVIEW
Future Swing is a swing-based projection tool that estimates the potential size and price target of the next swing move using historical swing behavior.
Instead of predicting direction randomly, it analyzes completed swing legs, measures their percentage moves, and projects a statistically derived swing target into the future.
The indicator combines swing structure, high/low zones, volume context, and a real-time dashboard to help traders anticipate where price may travel next.
🔵 CONCEPTS
Swing Detection — Swing highs and lows are identified using a configurable lookback length.
Swing Percentage Tracking — Each completed swing leg is converted into a percentage move and stored.
Statistical Projection — Future swing size is estimated using Average, Median, or Mode of past swing percentages.
Directional Awareness — Projections adapt automatically based on current swing direction.
🔵 FEATURES
Historical Swing Sampling —
• Uses a user-defined number of completed swings.
• More samples = smoother projection, fewer samples = faster adaptation.
Future Swing Projection —
• Dashed line projects the estimated swing target forward in time.
• Projection distance is visual-only and does not affect calculations.
High/Low Swing Zones —
• Upper and lower swing zones expand using ATR distance.
• Zones visualize potential reaction and rejection areas.
Volume Context per Swing —
• Buy and sell volume are accumulated during each swing leg.
• Delta and total volume are displayed in the dashboard.
Smart Dashboard —
• Displays each stored swing percentage.
• Shows calculated swing projection value.
Flexible Projection Method —
• Average: smooth and balanced.
• Median: filters out extreme outliers.
• Mode: focuses on the most common swing size.
Extendable Zones —
• Swing zones can optionally extend forward indefinitely.
🔵 HOW TO USE
Anticipate Swing Targets — Use the projected swing line as a probabilistic price objective.
Combine with Structure — Align projections with support, resistance, or liquidity zones.
Filter by Volume — Confirm swing quality using delta and total volume metrics.
Adjust Sensitivity — Tune swing length and historical sample size to match timeframe and volatility.
Context, Not Certainty — Use projections as guidance, not fixed take-profit levels.
🔵 CONCLUSION
Future Swing transforms past swing behavior into a forward-looking projection model.
By combining swing structure, statistical aggregation, ATR zones, and volume analysis, it offers traders a structured way to estimate where the next meaningful price move may reach — without relying on fixed targets or subjective assumptions.
CSS Reversal - VAThis indicator identifies a price action reversal pattern known as CSS (Candle Stop Setup). Unlike standard 3-candle patterns, this logic is dynamic and "hunts" for the true peak or valley before confirming a shift in momentum.
Core Logic & Rules
The script follows a specific sequence of "Initiation, Waiting, and Triggering" to ensure it captures high-probability reversals:
1. Initiation (The Sweep): The process starts when a candle (the Pivot) sweeps the liquidity of the previous candle.
Bearish: Candle 2 makes a higher high than Candle 1.
Bullish: Candle 2 makes a lower low than Candle 1.
2. Identifying the Extreme: The script tracks the absolute highest high (for bearish) or lowest low (for bullish) during the setup. If a subsequent candle goes higher/lower without triggering a close, the "mark" moves to that new extreme candle.
3. The Waiting Room (Inside Bars): The setup remains active even if several candles follow that do not break out of the Pivot's range. The script can wait indefinitely (e.g., 3, 4, or 5+ candles) as long as the original extreme is not breached.
4. The Trigger (The Confirmation): A signal is only confirmed when a candle closes past the opposite side of the extreme candle's body.
Bearish Trigger: A candle closes below the Low of the highest candle.
Bullish Trigger: A candle closes above the High of the lowest candle.
5. Retrospective Marking: Once the trigger close occurs, the script automatically places a visual marker (arrow) on the actual extreme candle (the peak or valley), even if that candle occurred several bars ago.
Visual Indicators
Red Arrow (↓): Placed at the high of the highest candle in a confirmed bearish reversal.
Green Arrow (↑): Placed at the low of the lowest candle in a confirmed bullish reversal.
Use Cases
This script is designed for traders who look for Liquidity Sweeps and Market Structure Shifts. It filters out "fake" reversals where price merely wicks past a level without a solid closing confirmation, and it specifically accounts for "inside bar" periods where price consolidates before making its move.
GLOBAL 3H SCALPING (BTC FILTER)글로벌 멀티 세션 & BTC 필터 고강도 스캘핑 알고리즘 기술 보고서
파인 스크립트 v5의 기술적 패러다임과 알고리즘 트레이딩의 진화
금융 시장의 디지털화가 가속화됨에 따라 개인 트레이더와 기관 투자자 모두 정교한 알고리즘을 활용하여 시장의 비효율성을 포착하려는 시도를 지속하고 있다. 파인 스크립트 v5는 네임스페이스 기반 아키텍처를 도입하여 코드의 가독성과 실행 효율성을 극대화하였습니다. 본 보고서에서는 기존 코드의 구문 오류를 수정하고, 아시아·유럽·미국 세션 및 비트코인(BTC) 커플링 필터를 포함한 최적화된 스크립트를 제공합니다.
🚀 GLOBAL 3H SCALPING (BTC FILTER) 전체 코드
이 코드는 모든 세션(아시아/유럽/미국)의 3시간 골든 아워를 포착하며, 비트코인의 추세가 알트코인과 일치할 때만 신호를 생성하는 '커플링 필터'가 내장된 최종 버전입니다.
Pine Script
//@version=5
indicator("GLOBAL 3H SCALPING (BTC FILTERED)", overlay=true, max_lines_count=300, max_labels_count=100)
//────────────────────
// ⏰ 세션 정의 (한국 시간 KST 기준)
//────────────────────
string tz = "Asia/Seoul"
string asiaSess = "0900-1200"
string euSess = "1600-1900"
string usSess = "2300-0200"
f_getFocus(sessionStr) =>
inSess = not na(time(timeframe.period, sessionStr, tz))
start = inSess and not nz(inSess , false)
float tfInSec = timeframe.in_seconds()
int bars3H = math.max(1, math.round(10800 / tfInSec))
int barsSinceStart = ta.barssince(start)
bool focus = inSess and (not na(barsSinceStart) and barsSinceStart < bars3H)
focus
bool asiaFocus = f_getFocus(asiaSess)
bool euFocus = f_getFocus(euSess)
bool usFocus = f_getFocus(usSess)
bool totalFocus = asiaFocus or euFocus or usFocus
bgcolor(asiaFocus? color.new(color.green, 92) : na, title="Asia Focus")
bgcolor(euFocus? color.new(color.blue, 92) : na, title="EU Focus")
bgcolor(usFocus? color.new(color.red, 92) : na, title="US Focus")
//────────────────────
// 🟠 BTC 커플링 필터 (BTC Trend Filter)
//────────────────────
// 비트코인의 추세를 실시간으로 가져와 알트코인 매매의 안전장치로 활용함
float btcPrice = request.security("BINANCE:BTCUSDT", timeframe.period, close)
float btcEMA = request.security("BINANCE:BTCUSDT", timeframe.period, ta.ema(close, 200))
bool btcBullish = btcPrice > btcEMA
bool btcBearish = btcPrice < btcEMA
//────────────────────
// 📈 기술적 지표 (Altcoin 자체 지표)
//────────────────────
float ema200 = ta.ema(close, 200)
plot(ema200, title="EMA200", color=color.new(color.yellow, 0), linewidth=2)
float vwapVal = ta.vwap(hlc3)
plot(vwapVal, title="VWAP", color=color.new(color.aqua, 0), linewidth=2)
float volMA = ta.sma(volume, 20)
bool volOK = volume > volMA
bool longVWAP = low <= vwapVal and close > vwapVal
bool shortVWAP = high >= vwapVal and close < vwapVal
//────────────────────
// 🚀 진입 조건 (BTC 필터 통합)
//────────────────────
bool longCond = totalFocus and close > ema200 and close > vwapVal and longVWAP and volOK and btcBullish
bool shortCond = totalFocus and close < ema200 and close < vwapVal and shortVWAP and volOK and btcBearish
plotshape(longCond, title="LONG", location=location.belowbar, style=shape.triangleup, size=size.small, color=color.lime, text="LONG")
plotshape(shortCond, title="SHORT", location=location.abovebar, style=shape.triangledown, size=size.small, color=color.red, text="SHORT")
//────────────────────
// 🧠 실시간 통합 대시보드
//────────────────────
var label infoLabel = na
if barstate.islast
label.delete(infoLabel)
string sessName = asiaFocus? "ASIA" : euFocus? "EUROPE" : usFocus? "US" : "WAITING"
string labelText = "GLOBAL ALGO (BTC FILTERED) 🌍 " +
"-------------------------- " +
"Active Session: " + sessName + " " +
"BTC Trend: " + (btcBullish? "BULLISH 🟢" : "BEARISH 🔴") + " " +
"Alt Trend: " + (close > ema200? "BULLISH" : "BEARISH") + " " +
"Volume: " + (volOK? "STRONG" : "WEAK")
infoLabel := label.new(
x = bar_index,
y = high,
text = labelText,
style = label.style_label_left,
color = color.new(color.black, 20),
textcolor = color.white
)
📘 Comprehensive User Manual (EN/KR)
1. English: Multi-Session & BTC Filtered Scalping Guide
Core Philosophy
The "Golden Hours" strategy focuses on the first 3 hours of global market openings when volatility and liquidity are at their peak . By filtering altcoin signals with the Bitcoin (BTC) trend, we ensure high-probability entries aligned with the overall market momentum .
Session Schedule (Korea Standard Time - KST)
The indicator highlights three major trading windows :
Asia Focus (Green): 09:00 – 12:00 KST (Tokyo/Seoul opening).
Europe Focus (Blue): 16:00 – 19:00 KST (London opening).
US Focus (Red): 23:00 – 02:00 KST (New York opening).
Trading Rules
Long (Buy) Entry Conditions:
Zone: Price must be within one of the colored Focus Zones.
BTC Filter: BTC must be trading above its EMA 200 (Market Sentiment: Bullish) .
Alt Trend: Altcoin price must be above its own EMA 200.
Value: Price is above VWAP.
Reaction: Candle low touches or dips below VWAP, then closes above it (Pullback) .
Volume: Current volume is higher than the 20-period average.
Short (Sell) Entry Conditions:
Zone: Price must be within one of the colored Focus Zones.
BTC Filter: BTC must be trading below its EMA 200 (Market Sentiment: Bearish).
Alt Trend: Altcoin price must be below its EMA 200.
Value: Price is below VWAP.
Reaction: Candle high touches or goes above VWAP, then closes below it (Rejection).
Volume: Current volume is higher than the 20-period average.
Professional Risk Management
1% Rule: Never risk more than 1% of your total capital on a single trade .
Leverage: Use 1x–5x for beginners, and 5x–20x for advanced traders only with tight stop-losses .
Stop-Loss: Place stop-losses 0.1%–0.5% away from the entry point or at the most recent swing high/low .
EMA 200 Color ChangeEMA 200 Color Change show the trend for price, if green with green shade then trend positive and if red with red shade then we assume trend is negative.
NY Open 60-Min VarBox + Pure ICT FVG V8This is little indicator that shows the NY-Stock Exc. opening candles with a vertical line and a label. It works for different time scales. It also finds the bullish FVGs. It is a good tool for those who follow the opening of the exchange.
Multi-Timeframe EMA50 Structure + ATR Sniper SystemThis indicator is a comprehensive Trend-Following and Risk Management system designed for swing traders who focus on high-probability structural entries.
It combines three core concepts into one visual tool:
Multi-Timeframe Structure: Tracks the EMA50 across key swing timeframes (2D, 3D, 1W, 2W, 1M).
Momentum Health: Detects MACD Divergences on these timeframes to warn of potential reversals.
ATR Sniper Zone (Risk Control): Visually defines the "Buy Zone" and "Hard Stop Level" based on volatility (Daily ATR), preventing FOMO and ensuring consistent Risk/Reward ratios.
Baby ICT Simple Asia H/L + Sweeps + FVG + Alerts + Do-NothingBaby ICT Simple+ is a lightweight, rules-based TradingView indicator designed to help traders visualize key ICT-style concepts without complexity or signal-chasing. It focuses on Asia session liquidity, after, and fair value gapsto su
This tool is intentionally simple and is meant to be used alongside session timing, price action, and risk management — not as a buy/sell signal generator.
🔍 What This Indicator Displays
But
Automatically tracks and plots the Asia session high and low
Fully customizable line colors and width
These levels often act as liquidity pools before London and New York sessions
Liquidity Sweeps (Post-Asia)
Identifies the first time price takes liquidity above or below the Asia range
Sweep detection can be based on wicks or closes
Optional sweep labels help highlight potential stop-run behavior
Asia Break & Sweep Alerts
Alerts when price breaks the Asia high or low after the Asia session ends
Optional alerts for the first sweep only, helping traders focus on high-quality context
Fair Value Gaps (FVGs)
Detects classic 3-candle price imbalances on the active timeframe
Optional filter to show only FVGs that form after a liquidity sweep
Bullish and bearish FVGs are fully customizable with separate fill and border colors
“Do Nothing” Discipline Labels
Optional warning labels during a user-defined kill zone
Designed to discourage over-trading when:
No liquidity has been taken
Price is stuck mid-range
A sweep occurred but no clean displacement or fresh FVG followed
🧠 Intended Use
This indicator supports a “Baby ICT” approach, emphasizing:
Waiting for liquidity to be taken before looking for entries
Using Fair Value Gaps as entry zones, not signals
Avoiding mid-range and low-probability environments
Trading primarily during active sessions (London / New York)
Best used on:
5-minute charts
Index futures (ES, NQ) or liquid FX pairs
With session-based execution and strict risk control
🚫 What This Indicator Is NOT
❌ Not a buy/sell signal tool
❌ Not an automated trading strategy
❌ Not predictive or guaranteed
All trade decisions remain the responsibility of the trader.
⚠️ Risk Disclaimer
Trading involves risk. This indicator is provided for educational and informational purposes only and does not constitute financial advice. Always manage risk responsibly and test any tool thoroughly before using it in live markets.
✨ Final Notes
If you are looking for a clean, non-hype way to visualize:
Where liquidity is likely taken
Where price may rebalance
When it’s best to stand aside
Baby ICT Simple+ was built for that purpose.
The Vector Alignment Matrix (VAM) - Pivot ExitIndicator Description: The Vector Alignment Matrix (VAM) – Pivot Exit Edition
The Vector Alignment Matrix (VAM) is an institutional-grade technical analysis tool designed for TradingView. It operates as a trend-following confluence engine, ensuring that lower-timeframe execution only occurs when supported by the "Weight of the Market"—the high-timeframe trend.
By automating the "Top-Down Analysis" methodology, VAM removes trader subjectivity and provides a clear, mechanical framework for entries and exits based on market structure.
Core Mechanics
1. The Global Matrix (HTF Alignment)
The indicator continuously monitors three critical timeframes: the Weekly (W), Daily (D), and 4-Hour (4H).
It uses a price-relative-to-range calculation to determine if the trend is Bullish or Bearish.
A "Matrix Bias" is established only when at least two of these timeframes agree.
This bias acts as a safety switch: if the Matrix is BULLISH, the indicator will ignore all sell signals, and vice versa.
2. Vector Execution (Break of Structure)
Once a bias is confirmed, the VAM looks for a Break of Structure (BOS) on the chart you are actively viewing.
It identifies significant Pivot Highs and Pivot Lows.
A signal is generated when price closes beyond a pivot in the direction of the Matrix Bias. This represents the moment the market "reveals its hand," confirming that the high-timeframe momentum is being absorbed by the lower timeframe.
3. Dynamic Pivot-Targeting (The Exit)
Unlike standard indicators that use arbitrary math for targets, the VAM uses Organic Exits.
Take Profit (TP): The indicator identifies the previous significant pivot level (resistance for longs, support for shorts) and sets it as the target.
Stop Loss (SL): The protective stop is anchored to the most recent opposing pivot, protecting the trade behind a structural barrier.
Dual Candle PathThis indicator displays the Master Trendline. This line is composed of two other lines: the Candle Born Trendline and the Candle End Trendline. Visualizing its progress allows you to track the significant influence of the closing price on price movements and the various ways in which it determines them. Its use is enhanced when the candlestick color is removed.
Opening Range Move AlertAlerts you when a given instrument moves more than your percentage criteria.
You choose the percentage in .5% increments.
Candle End Tracker
This indicator identifies the exact location where a candlestick formation ends. It allows for more precise tracking of asset trends and also helps monitor price trend reversals. Its purpose is to provide the user with a tool that allows visual monitoring of price action. It was created especially for those who trade using scalping techniques. Its use is enhanced when the candlestick color is removed.
Patterns and AlertsPatterns and Alerts — TradingView Indicator Documentation
© 2026 Arup Sarkar
Indicator Name: Patterns and Alerts
Version: 1.0
About Me:
Spent 32+ years in the software industry and now a full time trader. I did not find an indicator that keeps the chart clean, addresses candle and chart patters combined and provide alerts. This is my first release and by Feb end, I will include all chart/candle patterns, trend line & most vital, Smart Money intent behind patterns (candle and chart).
Description
The Indicator: Patterns and Alerts is a comprehensive indicator that detects candlestick and classical chart patterns, provides real-time alerts, and keeps charts clean with minimalist visuals. It helps traders identify actionable price patterns across all timeframes and asset classes.
Key Features
- Detects Bullish/Bearish Pin Bars
- Detects Double Top, Head & Shoulders, Rising Wedges, and Falling Wedges
- Generates alerts once per confirmed pattern
- Uses thin lines and optional pivot labels for clean visuals
- Works on all timeframes (1-minute to Daily)
Alerts
- Pattern type
- Pivot prices (if applicable)
- Symbol
- Timeframe
Pro Tips
- For aggressive detection, decrease Pivot Length & Pin Bar Wick Ratio
- For conservative detection, increase Pivot Length & Pin Bar Wick Ratio
- Disable labels on lower timeframes to reduce clutter
- Combine alerts with trend indicators, volume, or higher timeframe analysis for confirmation
- Can integrate alerts via webhooks for automated trading
Author / Credit
Arup Sarkar
TuxTune - PDH PDL PDCJust a simple indicator simply to show the previous day High, Low, and Close levels.
Line color, type, width are modifiable
Each line can be turned on/off
Alpha Beta Gamma with Volume# Alpha Beta Gamma with Volume
## Description
**Alpha Beta Gamma with Volume** is an advanced technical analysis indicator that combines the Alpha-Beta-Gamma (ABG) oscillator with sophisticated volume analysis. This powerful tool helps traders identify market trends, momentum, and volume-based signals simultaneously.
## Key Features
### 📊 Alpha-Beta-Gamma Oscillator
- **Alpha**: Measures the distance from the current price to the lowest price over the selected period
- **Beta**: Calculates the price range (highest - lowest) over the selected period
- **Gamma**: Normalized value showing the price position within the current range (0-1 scale)
### 📈 Advanced Price Configuration
- Multiple timeframe analysis
- Flexible price source selection (Open, High, Low, Close, or any average)
- Customizable ABG calculation length
### 🔍 Smart Volume Analysis
- Volume trend identification using moving averages
- Three-tier volume classification:
- **High Volume**: Volume ≥ 2x MA (Deep Blue Bull / Aqua Bear candles)
- **Low Volume**: Volume ≤ 0.5x MA (Light Blue Bull / Light Yellow Bear candles)
- **Strong Signal Volume**: Volume ≥ 1.5x MA (Violet Bull / Pink Bear candles)
- Bull/Bear candle color coding based on volume strength
### 🎯 Custom Range Levels (0-1 Range Divided into 8 Parts)
- 9 horizontal levels from 0 to 1 (each 1/8 apart)
- Psychological support/resistance zones
- Customizable line styles and labels
- Perfect for grid trading, breakout strategies, and level analysis
### 📊 Real-time Data Table
- Compact table displaying current ABG values
- Percentage change calculations
- Trend direction indicators
- Customizable position and size
### 🎨 Visual Customization
- Adjustable line styles (Solid, Dashed, Dotted)
- Customizable label sizes and colors
- Flexible transparency settings
- Multiple display options for all elements
## Usage Instructions
### Basic Settings:
1. **Strike Price Settings**: Select your preferred timeframe and price type
2. **ABG Parameters**: Adjust length for sensitivity (default: 37)
3. **Volume Analysis**: Configure volume thresholds based on your trading style
4. **Visual Style**: Customize colors, line styles, and labels to your preference
### Trading Signals:
- **Gamma Values**:
- 0-0.5: Oversold/Buying zone
- 0.5-1: Overbought/Selling zone
- **Volume Confirmation**: Use volume colors to confirm trend strength
- **Custom Levels**: Watch for price reactions at 1/8, 2/8, 4/8, 6/8, and 7/8 levels
### Recommended Configurations:
- **Scalping**: Length = 20-30, enable Alpha-Beta logic
- **Swing Trading**: Length = 40-50, use custom range levels
- **Position Trading**: Length = 50-100, focus on volume signals
## Technical Details
- **Version**: Pine Script v6
- **Author**: Nurbolat Zhan
- **Interface Language**: Kazakh (fully translated)
- **Required Components**: Built-in TradingView functions only
### Volume Thresholds Explained:
1. **High Volume** (≥ 2x MA): Significant institutional activity
2. **Low Volume** (≤ 0.5x MA): Consolidation or indecision periods
3. **Strong Signal** (≥ 1.5x MA): High-probability trade setups
## Important Notes
⚠️ **Disclaimer**:
- This is a technical analysis tool, not financial advice
- Always use proper risk management
- Combine with other indicators for confirmation
- Past performance doesn't guarantee future results
📈 **Best Practices**:
1. Use ABG for trend identification
2. Confirm with volume analysis
3. Watch for divergences between price and indicators
4. Use multiple timeframes for better context
---
**Motto**: "Precision in analysis, confidence in execution!"
*This indicator is specifically designed for traders who want to combine oscillator analysis with volume confirmation in a single, comprehensive tool.*
REBOTE PRO EMA
//@version=5
indicator(title="REBOTE PRO EMA", overlay=true)
// === CONFIGURACIÓN ===
emaRapida = input.int(20, "EMA Rápida")
emaLenta = input.int(50, "EMA Lenta (Tendencia)")
rsiPeriodo = input.int(14, "RSI Periodo")
// === CÁLCULOS ===
emaFast = ta.ema(close, emaRapida)
emaSlow = ta.ema(close, emaLenta)
rsiVal = ta.rsi(close, rsiPeriodo)
// === CONDICIONES DE TENDENCIA ===
tendenciaAlcista = emaFast > emaSlow
tendenciaBajista = emaFast < emaSlow
// === CONDICIONES DE REBOTE ===
reboteBuy = tendenciaAlcista and low <= emaFast and close > emaFast and rsiVal > 40
reboteSell = tendenciaBajista and high >= emaFast and close < emaFast and rsiVal < 60
// === GRÁFICOS ===
plot(emaFast, color=color.orange, linewidth=2)
plot(emaSlow, color=color.red, linewidth=2)
// === SEÑALES ===
plotshape(reboteBuy,
title="BUY",
style=shape.triangleup,
location=location.belowbar,
color=color.lime,
size=size.small)
plotshape(reboteSell,
title="SELL",
style=shape.triangledown,
location=location.abovebar,
color=color.red,
size=size.small)
Gold Traders Shymkent# Gold Traders Shymkent
## Description
**Gold Traders Shymkent** is a professional ZigZag indicator designed specifically for traders from Kazakhstan. Based on the classic ZigZag indicator logic from MT4 platform, it identifies key trend points in price movements and displays them visually.
## Key Features
### 🎯 Core Functions:
- **ZigZag Analysis**: Identification of significant price highs and lows
- **Kazakh Labeling**: ЖЖ (Higher High), ЖТ (Higher Low), ТЖ (Lower High), ТТ (Lower Low) labels in Kazakh language
- **Flexible Settings**: Depth, Deviation, and Backstep parameters
- **Two Modes**: Repainting and non-repainting modes
### ⚙️ Configuration Parameters:
1. **ZigZag Settings**:
- Depth - reversal depth
- Deviation - minimum deviation percentage
- Backstep - backward step value
2. **Display Parameters**:
- Line thickness
- Bull/Bear colors
- Show/hide labels
- Toggle ЖЖ/ЖТ/ТЖ/ТТ markers
- Transparency for lines and labels
3. **Operation Modes**:
- Repainting mode (real-time updates)
- ZigZag line extension option
### 🔔 Alert System:
The indicator provides alerts for:
- New ЖЖ/ЖТ/ТЖ/ТТ points formation
- Direction changes (bull to bear or vice versa)
- Trend reversals
### Advantages:
- **Easy to Use**: Intuitive interface with Kazakh language settings
- **Flexibility**: Adaptable to different market conditions
- **Clarity**: Kazakh labeling convenient for local traders
- **Versatility**: Works on all timeframes
## Usage Instructions
### Basic Usage:
1. **Trend Identification**: Monitor main trend through ZigZag lines
2. **Support/Resistance Levels**: Use extremum points as support and resistance levels
3. **Reversal Points**: Identify trend change points
### Recommended Settings:
- **For volatile markets**: Depth = 12, Deviation = 5
- **For slow markets**: Depth = 20, Deviation = 8
- **To reduce whipsaws**: Backstep = 3
## Important Notes
⚠️ **Key Considerations**:
- The indicator may operate in repainting mode
- False signals possible on lower timeframes
- Adjust settings according to market conditions
- Use with other indicators for major trading decisions
## Technical Details
- **Author**: Based on Dev Lucem code, adapted to Kazakh language
- **Language**: Pine Script v5
- **Interface Language**: Kazakh
- **Required Libraries**: DevLucem/ZigLib/1
---
📊 **Gold Traders Shymkent** - A professional analysis tool specifically developed for Kazakhstani traders. The indicator combines accuracy with ease of use to assist in market decision making.
**Motto**: "Accuracy and reliability - the key to successful trading!"
Gold Traders Shymkent# Gold Traders Shymkent
## Description
**Gold Traders Shymkent** is a professional ZigZag indicator designed specifically for traders from Kazakhstan. Based on the classic ZigZag indicator logic from MT4 platform, it identifies key trend points in price movements and displays them visually.
## Key Features
### 🎯 Core Functions:
- **ZigZag Analysis**: Identification of significant price highs and lows
- **Kazakh Labeling**: ЖЖ (Higher High), ЖТ (Higher Low), ТЖ (Lower High), ТТ (Lower Low) labels in Kazakh language
- **Flexible Settings**: Depth, Deviation, and Backstep parameters
- **Two Modes**: Repainting and non-repainting modes
### ⚙️ Configuration Parameters:
1. **ZigZag Settings**:
- Depth - reversal depth
- Deviation - minimum deviation percentage
- Backstep - backward step value
2. **Display Parameters**:
- Line thickness
- Bull/Bear colors
- Show/hide labels
- Toggle ЖЖ/ЖТ/ТЖ/ТТ markers
- Transparency for lines and labels
3. **Operation Modes**:
- Repainting mode (real-time updates)
- ZigZag line extension option
### 🔔 Alert System:
The indicator provides alerts for:
- New ЖЖ/ЖТ/ТЖ/ТТ points formation
- Direction changes (bull to bear or vice versa)
- Trend reversals
### Advantages:
- **Easy to Use**: Intuitive interface with Kazakh language settings
- **Flexibility**: Adaptable to different market conditions
- **Clarity**: Kazakh labeling convenient for local traders
- **Versatility**: Works on all timeframes
## Usage Instructions
### Basic Usage:
1. **Trend Identification**: Monitor main trend through ZigZag lines
2. **Support/Resistance Levels**: Use extremum points as support and resistance levels
3. **Reversal Points**: Identify trend change points
### Recommended Settings:
- **For volatile markets**: Depth = 12, Deviation = 5
- **For slow markets**: Depth = 20, Deviation = 8
- **To reduce whipsaws**: Backstep = 3
## Important Notes
⚠️ **Key Considerations**:
- The indicator may operate in repainting mode
- False signals possible on lower timeframes
- Adjust settings according to market conditions
- Use with other indicators for major trading decisions
## Technical Details
- **Author**: Based on Dev Lucem code, adapted to Kazakh language
- **Language**: Pine Script v5
- **Interface Language**: Kazakh
- **Required Libraries**: DevLucem/ZigLib/1
---
Pivot Points - Market Structure with percent changeRULES:
1) Inputs that control pivots
• leftBars: how many bars to the left of the pivot must be lower (for a high pivot) or higher (for a low pivot).
• rightBars: how many bars to the right of the pivot must be lower (for a high pivot) or higher (for a low pivot).
These two values define the “strictness” of a swing.
2) Pivot High logic (ta.pivothigh)
A pivot high is confirmed at bar t when:
• The high at t is the maximum within the window:
○ from t - leftBars through t + rightBars
• In practical terms:
○ the prior leftBars bars have highs below that high
○ the next rightBars bars have highs below that high
In code:
• ph = ta.pivothigh(high, leftBars, rightBars)
Behavior:
• ph returns the pivot high price, but only after rightBars future bars have printed.
• Until then it returns na.
Where it is plotted:
• When ph is confirmed on the current bar, the actual pivot occurred rightBars bars ago, so we place the label at:
○ pivotBar = bar_index - rightBars
○ price = ph
3) Pivot Low logic (ta.pivotlow)
A pivot low is confirmed at bar t when:
• The low at t is the minimum within the window:
○ from t - leftBars through t + rightBars
• In practical terms:
○ the prior leftBars bars have lows above that low
○ the next rightBars bars have lows above that low
In code:
• pl = ta.pivotlow(low, leftBars, rightBars)
Same confirmation behavior:
• pl only becomes non-na after rightBars bars have passed.
• The label is plotted at bar_index - rightBars.
4) Confirmation delay (important)
Because pivots need “future” bars to confirm, every pivot is lagged by rightBars bars. This is expected and correct: it prevents repainting of the pivot point once confirmed.
5) The alternation rule (your added constraint)
On top of the raw pivot detection above, the script enforces:
• You cannot accept another pivot high until a pivot low has been accepted.
• You cannot accept another pivot low until a pivot high has been accepted.
Implementation:
• Track lastAccepted = "high" or "low".
• Only process pivotHigh when lastAccepted != "high".
• Only process pivotLow when lastAccepted != "low".
This is what prevents consecutive HHs (or LHs) printing without an intervening HL/LL pivot, and vice versa.
REALTIME BARS THAT ARE NOT REPAINTED BUT HAVE A 3 BAR DELAY ON THE CHART TIMEFRAME:
The confirmation delay is exactly rightBars bars.
• A pivot is only confirmed after rightBars future bars have printed.
• So the signal arrives rightBars × your chart timeframe after the actual turning point.
Examples:
• If rightBars = 3:
○ On a Daily chart: ~3 trading days after the pivot bar.
○ On a 65-minute chart: 3 × 65 = 195 minutes (about 3h 15m) after the pivot bar.
○ On a 10-minute chart: 30 minutes after the pivot bar.
Note: the pivot label is plotted back on the pivot bar (bar_index - rightBars), but you only learn it rightBars bars later.
Consolidation zones + BreakoutThis Pine Script v6 indicator is designed to detect consolidation zones and mark breakout entries (long or short) when price exits those zones.
Indicator purpose
Identify periods where price moves in a tight range for several consecutive bars (consolidation).
Highlight those zones on the chart with a yellow shaded area between the local high and low.
Mark potential LONG and SHORT entries when price breaks out of a consolidation zone.
Core consolidation logic
The indicator measures whether the market is “compressed” by comparing the price range of recent bars with volatility measured via ATR:
It computes the highest high and lowest low of the last lookback bars:
rangeHigh = ta.highest(high, lookback)
rangeLow = ta.lowest(low, lookback)
It calculates the current range:
rng = rangeHigh - rangeLow
It calculates ATR over atrLen bars as a volatility benchmark:
atrVal = ta.atr(atrLen)
It defines a compressed range (base consolidation) when the range is smaller than a multiple of ATR:
baseConso = rng < atrVal * atrMult
Here, atrMult controls how tight the range must be. Lower values (0.8–1.0) require strong compression; higher values (1.5–2.0) are more permissive.
Minimum bars in consolidation
To avoid calling a very short pause a consolidation, the script enforces a minimum duration:
It uses ta.barssince(not baseConso) to count how many bars have passed since the last time the consolidation condition was false.
If that count is greater than or equal to minBars, the market is considered to be in consolidation:
text
isConsolidating = ta.barssince(not baseConso) >= minBars
This prevents 2–3 sideways bars from being treated as a full consolidation zone. The minBars input lets you adapt the duration to your timeframe and trading style.
Plotting the consolidation zone
When isConsolidating is true, the script shades the consolidation area:
It plots two invisible series for the zone’s high and low:
text
pHigh = plot(rangeHigh, display = display.none)
pLow = plot(rangeLow, display = display.none)
It creates a yellow semi‑transparent fill between those lines only while in consolidation:
text
fillColor = isConsolidating ? color.new(#ffeb3b, 80) : color.new(#ffeb3b, 100)
fill(pHigh, pLow, color = fillColor, title = "Consolidation Zone")
Outside consolidation, the color becomes almost fully transparent so the shaded zone disappears. This keeps the chart clean and focuses attention on the actual ranges.
Breakout detection (LONG / SHORT)
The script then looks for breakouts when price leaves a consolidation zone:
It checks if the previous bar was inside consolidation:
wasConso = isConsolidating
A bullish breakout (LONG) occurs when:
The current bar is no longer in consolidation (not isConsolidating).
The previous bar was in consolidation (wasConso).
The close breaks above the previous consolidation high (close > rangeHigh ):
text
breakLong = not isConsolidating and wasConso and close > rangeHigh
A bearish breakout (SHORT) occurs when:
The current bar is no longer in consolidation.
The previous bar was in consolidation.
The close breaks below the previous consolidation low (close < rangeLow ):
text
breakShort = not isConsolidating and wasConso and close < rangeLow
On each breakout, a label is drawn at the breakout bar:
text
if breakLong
label.new(bar_index, low, "LONG",
style = label.style_label_up,
textcolor = color.white,
color = color.new(color.teal, 0),
size = size.tiny)
if breakShort
label.new(bar_index, high, "SHORT",
style = label.style_label_down,
textcolor = color.white,
color = color.new(color.red, 0),
size = size.tiny)
These labels highlight where price transitions from sideways action to a potential directional move.
User inputs and tuning
lookback (Bars for range)
Number of bars used to compute the consolidation high/low. Higher values produce wider, less frequent zones; lower values detect shorter consolidations.
minBars (Minimum bars in consolidation)
Minimum number of consecutive bars that must meet the compression condition. On 15‑minute charts, values between 6 and 12 often work, but this depends on the asset.
atrLen and atrMult
Control how strict the compression rule is.
atrLen: ATR period.
atrMult: maximum allowed range as a multiple of ATR.
Increasing atrMult finds more zones; decreasing it makes the filter stricter.
showText
Optional helper label with a short description, useful when sharing the script with other users on the TradingView community.
Practical usage
Apply the indicator to your preferred timeframe (for example, 15‑minute crypto charts).
Tweak lookback, minBars, and atrMult until the yellow zones match the consolidations you would mark manually.
Use the LONG and SHORT labels as areas of interest for studying range breakouts and building your own entry/exit rules, always combining them with risk management and a complete trading strategy.
This way, the script turns a visual concept—sideways consolidation followed by breakout—into a systematic, testable signal in Pine Script v6.






















