BK AK-FVG/SR Institutional⚔️ BK AK-FVG/SR Institutional — Smart Money Gaps. True Support/Resistance. ⚔️
There are already some excellent FVG tools out there—built by traders who’ve put in real work studying imbalance, liquidity, and smart money behavior.
BK AK-FVG/SR Institutional is simply my version of that idea: my attempt to take what I learned from those great frameworks and push it further into volume, structure, lifecycle, and accountability—so every zone is treated as a living, graded object, not just a static box on a chart.
This is my 12th script release—and that number matters to me. Twelve is structure: twelve tribes, twelve months, twelve divisions of ordered space. It’s the number of complete arrangement. So for script twelve, I’m releasing what I consider my institutional map—a tool built specifically around boundaries, alignment, and where real money chooses to defend and attack.
This script is invite-only. Access is controlled. It’s built for traders who actually respect structure, not tourists looking for colors on a chart.
“AK” in the name is not branding—it’s honor. It belongs to my mentor A.K., whose standard of discipline and clarity sits behind every decision in this tool. Above that, all glory and gratitude to Gd—the real source of any wisdom, edge, or endurance we have in this game.
🧠 What BK AK-FVG/SR Institutional Actually Does
This is a full institutional FVG/SR system, not a paintbrush. It:
Detects and manages bullish & bearish FVG zones using ATR/percent filters and aging logic
Assigns a 0–100 institutional strength score and 1–5★ rating to every zone
Builds a per-zone lower-timeframe volume profile with POC, volume delta, and optional volume text
Tracks historical touches, breaks, role reversals, merging, clustering, and divergence at the zone
Runs per-zone backtest stats and feeds that into an adaptive/ML-style confidence weight
Compresses the whole environment into a real-time Info Table: bias, market position, nearest S/R, risk, session
Fires alerts only when something actually matters: strong FVGs, magnetic pull, divergence at a level
If price is the map, this is the layer that tells you which levels are real and which are noise.
🧱 Core Engine — Institutional Zone Logic
Smart FVG Detection
Clean 3-bar gap logic for bullish & bearish FVGs
ATR or % based minimum gap size + optional distance filter from price
Zone aging with max life in bars and optional “reset on touch”
Overlap & proximity control:
Prevent overlapping zones
Enforce minimum bar spacing
Or keep only the strongest zone in a cluster
Institutional Strength & Rating
Each zone gets a score (0–100) + star rating (1–5★) based on:
Volume vs average (with optional lower timeframe split)
Gap size vs ATR
Pivot confluence
Historical meaningful touches
Role reversal (support ↔ resistance)
MTF FVG alignment
Session weighting (Asian / London / NY / overlaps)
Order block overlap & imbalance behavior
VWAP proximity/extremes
Fib level alignment
Delta divergence
Zone clustering & consolidation
Adaptive “performance weight” from historical reactions
Bad zones don’t just look weaker—they literally get filtered out when you enable minimum star / institutional filters.
📊 In-Zone Volume & Profile Intelligence
Each zone can be backed by lower-timeframe volume:
Per-zone volume histogram inside the gap
POC line at the most traded price in that zone
Optional total volume label
POC line color shifts with volume delta (buy vs sell pressure)
Additional bull/bear volume bars alongside the zone and/or numeric volume text inside the box
You’re not just staring at a gap—you’re seeing the liquidity pocket inside the gap.
🎯 Structure, Confluence & Role Reversal
The engine includes deep structural context:
Pivots: stored swing highs/lows for S/R confluence
MTF FVG Confluence: two extra timeframes for higher-timeframe alignment
Fibonacci Levels: auto-mapped 0.236 / 0.382 / 0.5 / 0.618 / 0.786 with optional lines & labels
Order Blocks & Imbalance: engulfing OB detection + volume/imbalance filters
VWAP Intelligence: VWAP proximity/extreme bonuses, optional short-form plotting
Delta Divergence: volume-based confirmation flags for zones under real internal pressure
Smart S/R Positioning & Role Flip
Hide “wrong side” zones or auto-flip roles when broken & retested
Track broken zones for N bars, then retire them
Mark role reversals with badges and strength bonuses
Support/resistance is treated like behavior, not just lines.
🤖 Adaptive Learning & Backtesting
Each zone is monitored when price touches it:
Checks if price respects the zone and moves X points away (success)
Or violates beyond failure threshold (failure)
Tracks successes, failures, and win rate per zone
Feeds a confidence score into an adaptive weight so consistently performing zones matter more
Zones that meet the bar get ML/🤖 marking when enabled
The script doesn’t just say “this looks strong”—it tracks how it actually behaved.
📋 Info Table & Sessions — On-Chart War Room
On the latest bar, an Info Table summarizes:
Zone count (bull vs bear)
Market position (NEAR SUPPORT / NEAR RESISTANCE / ABOVE RESISTANCE / BELOW SUPPORT / NEUTRAL)
Nearest S/R levels
Trade bias (BULLISH / BEARISH / NEUTRAL)
Active session (ASIAN / LONDON / NY / OVERLAP / OFF)
Risk level (LOW / MED / HIGH)
Sessions are coded in EST with multipliers so you can weight London/NY more heavily than Asia if that matches your playbook.
Hover the table for a strategy tooltip: live market posture, suggested behavior near the zones, and context around the current environment.
⚠ Divergence & Alerts
Real-time RSI/OBV/ADX divergence detection at the zone
Flexible visual modes: border, icon, color change, or combinations
Alerts included:
Magnetic Zone Pull (price entering ATR-based “field” of a strong zone)
Strong Bullish FVG
Strong Bearish FVG
Divergence at Zone
Let the chart call you when a real decision point appears, instead of forcing you to stare all day.
🕹 How to Use BK AK-FVG/SR Institutional
1️⃣ Build Bias With Structure
Use the Info Table, star ratings, and where the 4–5★ zones cluster relative to price to decide which side of the tape you’re allowed to trade on.
2️⃣ Only Trade From Strong, Aligned Zones
Focus on 4–5★ zones with confluence (pivots, Fib, OB, VWAP, clustering).
Use the zone body/wick region as your execution area, not some random mid-air candle.
3️⃣ Treat Role Reversal & Clusters as Campaign Nodes
When a strong zone breaks, flips role, and collects touches, that’s campaign territory—not scalp noise.
4️⃣ Use Divergence/Delta as a Brake, Not a Toy
If divergence lights up at your level, respect it: size down, wait for confirmation, or stand down.
5️⃣ Let the Engine Filter Junk For You
Tune volMultiplier, star thresholds, session multipliers, distance filters, and min star rating to match your timeframe and instrument.
This script’s job is to remove your excuse for taking low-quality trades.
📜 Boundaries & Wisdom
King Solomon wrote:
“Do not remove the ancient boundary stone that your fathers have set.”
This tool is built around that idea. It maps where the real boundaries live—where smart money defends, attacks, traps, and reverses.
It will not give you discipline. It will simply remove the illusion that “you didn’t know the level was there.”
🔒 Access & Usage
This is an invite-only TradingView script.
Access is granted at my discretion to traders who take structure, risk, and discipline seriously.
⚔️ BK AK-FVG/SR Institutional — Map the Smart Money Gaps. Trade Only the Real Levels.
May Gd bless your vision, your patience, and every decision you make at the edge. 🙏
Indicatori e strategie
Combo ProCombo Pro – Regression Channel & Long-Term Flows
This script is a visual study tool, not a trading strategy. It does not place trades or guarantee results. It simply helps to analyze price context, volatility and “flow” on the chart.
The indicator is built in three blocks:
Module A – Swing regression channel + emotional cycle
• Draws a regression channel (±σ) around price to highlight extended moves up/down.
• Adds a simple trend filter MA and basic volatility filters (ATR%).
• Includes an emotional cycle (Fear/Greed style) that tries to smooth price swings and mark potential “over-fear” / “over-greed” zones.
• “A BUY” / “A SELL” markers only show where channel + cycle conditions align; they are not automatic trade signals.
Module C – Previous candle below lower band + Fear
• Marks situations where the previous bar is below the lower regression band and the emotional cycle is in a “Fear” zone.
• Adds optional exit conditions (price back above the trend MA and/or above the Greed line).
• This module is meant to highlight potential exhaustion areas, not to provide standalone entries or exits.
Module B – Long-term MA, Whale Money Flow, TIF & SECRET votes
• Measures percentage distance from a long-term MA (pd) as a simple valuation context (cheap/expensive vs. average).
• Uses a custom Whale Money Flow to approximate when larger participants might be more/less active.
• Uses TIF (Trades in Favor) as a retail positioning/pressure gauge.
• “SECRET” logic combines valuation, whales and TIF into a vote system to highlight possible extreme zones.
• Long-term regression bands and their crosses are plotted as BUY/SELL zones only in a descriptive sense (price reaching extreme bands), not as guaranteed signal levels.
MirPapa_Lib_BoxLibrary "MirPapa_Lib_Box"
GetHTFrevised(_tf, _case)
GetHTFrevised
@description Retrieve a specific bar value from a Higher Time Frame (HTF) series.
Parameters:
_tf (string) : string The target HTF string (examples: "60", "1D").
_case (string) : string Case string determining which OHLC value to request.
@return float Returns the requested HTF value or na if _case does not match.
GetHTFrevised(_tf)
Parameters:
_tf (string)
GetHTFoffsetToLTFoffset(_offset, _chartTf, _htfTf)
GetHTFoffsetToLTFoffset
@description Adjust an HTF offset to an LTF offset by calculating the ratio of timeframes.
Parameters:
_offset (int) : int The HTF bar offset (0 means current HTF bar).
_chartTf (string) : string The current chart's timeframe (e.g., "5", "15", "1D").
_htfTf (string) : string The High Time Frame string (e.g., "60", "1D").
@return int The corresponding LTF bar index. Returns 0 if the result is negative.
GetHtfFromLabel(_label)
GetHtfFromLabel
@description Convert a Korean HTF label into a Pine Script timeframe string.
Parameters:
_label (string) : string The Korean label (e.g., "5분", "1시간").
@return string Returns the corresponding Pine Script timeframe (e.g., "5", "60").
IsChartTFcomparisonHTF(_chartTf, _htfTf)
IsChartTFcomparisonHTF
@description Determine whether a given HTF is greater than or equal to the current chart timeframe.
Parameters:
_chartTf (string) : string Current chart timeframe (e.g., "5", "15", "1D").
_htfTf (string) : string HTF timeframe (e.g., "60", "1D").
@return bool True if HTF ≥ chartTF, false otherwise.
IsCondition(_boxType, _isBull, _pricePrev, _priceNow)
IsCondition
@description FOB, FVG 조건 체크.\
_boxType: "fob"(Fair Order Block) 또는 "fvg"(Fair Value Gap).\
_isBull: true(상승 패턴), false(하락 패턴).\
상승 시 현재 가격이 이전 가격보다 높으면 true, 하락 시 이전 가격이 현재 가격보다 높으면 true 반환.
Parameters:
_boxType (string) : 박스 타입 ("fob", "fvg")
_isBull (bool) : 상승(true) 또는 하락(false)
_pricePrev (float) : 이전 가격
_priceNow (float) : 현재 가격
Returns: bool 조건 만족 여부
IsCondition(_boxType, _high2, _high1, _high0, _low2, _low1, _low0)
IsCondition
@description Sweep 조건 체크 (Swing High/Low 동시 발생).\
_boxType: "sweep" 또는 "breachBoth".\
조건: high2 < high1 > high0 (Swing High) AND low2 > low1 < low0 (Swing Low).\
중간 캔들이 양쪽보다 높고 낮은 지점을 동시에 형성할 때 true 반환.
Parameters:
_boxType (string) : 박스 타입 ("sweep", "breachBoth")
_high2 (float)
_high1 (float)
_high0 (float)
_low2 (float)
_low1 (float)
_low0 (float)
Returns: bool 조건 만족 여부
IsCondition(_boxType, _isBull, _open1, _close1, _high1, _low1, _open0, _close0, _low2, _low3, _high2, _high3)
IsCondition
@description RB (Rejection Block) 조건 체크.\
_boxType: "rb" (Rejection Block).\
상승 RB: candle1=음봉, candle0=양봉, low3>low1 AND low2>low1, close1*1.001>open0, open1close0.\
이전 캔들의 거부 후 현재 캔들이 반대 방향으로 전환될 때 true 반환.
Parameters:
_boxType (string) : 박스 타입 ("rb")
_isBull (bool) : 상승(true) 또는 하락(false)
_open1 (float)
_close1 (float)
_high1 (float)
_low1 (float)
_open0 (float)
_close0 (float)
_low2 (float)
_low3 (float)
_high2 (float)
_high3 (float)
Returns: bool 조건 만족 여부
IsCondition(_boxType, _isBull, _open2, _close1, _open1, _close0)
IsCondition
@description SOB (Strong Order Block) 조건 체크.\
_boxType: "sob" (Strong Order Block).\
상승 SOB: 양봉2 => 음봉1 => 양봉0, open2 > close1 AND open1 < close0.\
하락 SOB: 음봉2 => 양봉1 => 음봉0, open2 < close1 AND open1 > close0.\
3개 캔들 패턴으로 강한 주문 블록 형성 시 true 반환.
Parameters:
_boxType (string) : 박스 타입 ("sob")
_isBull (bool) : 상승(true) 또는 하락(false)
_open2 (float) : 2개 이전 캔들 open
_close1 (float) : 1개 이전 캔들 close
_open1 (float) : 1개 이전 캔들 open
_close0 (float) : 현재 캔들 close
Returns: bool 조건 만족 여부
CreateBox(_boxType, _tf, _isBull, _useLine, _colorBG, _colorBD, _colorText, _cache)
CreateBox
@description 박스 생성 (breachMode 자동 결정).\
_boxType: "fob", "rb", "custom" → directionalHighLow, 나머지 → both.\
_tf: 시간대 (timeframe.period 또는 HTF).\
_isBull: true(상승 박스), false(하락 박스).\
_cache: HTF 사용 시 필수, CurrentTF는 na.\
반환: .
Parameters:
_boxType (string) : 박스 타입
_tf (string) : 시간대
_isBull (bool) : 상승(true) 또는 하락(false)
_useLine (bool) : 중간선 표시 여부
_colorBG (color) : 박스 배경색
_colorBD (color) : 박스 테두리색
_colorText (color) : 텍스트 색상
_cache (HTFCache) : HTF 캐시 데이터
Returns: 성공 여부와 박스 데이터
CreateBox(_boxType, _tf, _isBull, _useLine, _colorBG, _colorBD, _colorText, _cache, _customText)
CreateBox
@description 박스 생성 (커스텀 텍스트 지원, breachMode 자동 결정).\
_boxType: "fob", "rb", "custom" → directionalHighLow, 나머지 → both.\
_customText: 박스에 표시할 텍스트 (비어있으면 "시간대 박스타입" 형식으로 자동 생성).\
_isBull: true(상승 박스), false(하락 박스).\
반환: .
Parameters:
_boxType (string) : 박스 타입
_tf (string) : 시간대
_isBull (bool) : 상승(true) 또는 하락(false)
_useLine (bool) : 중간선 표시 여부
_colorBG (color) : 박스 배경색
_colorBD (color) : 박스 테두리색
_colorText (color) : 텍스트 색상
_cache (HTFCache) : HTF 캐시 데이터
_customText (string) : 커스텀 텍스트
Returns: 성공 여부와 박스 데이터
CreateBox(_boxType, _breachMode, _tf, _isBull, _useLine, _colorBG, _colorBD, _colorText, _cache, _customText)
CreateBox
@description 박스 생성 (breachMode 명시적 지정).\
_breachMode: "both"(양쪽 모두 돌파), "directionalHighLow"(방향성 high/low 돌파), "directionalClose"(방향성 close 돌파).\
_isBull: true(상승 박스), false(하락 박스).\
_customText: 박스에 표시할 텍스트 (비어있으면 "시간대 박스타입" 형식으로 자동 생성).\
반환: .
Parameters:
_boxType (string) : 박스 타입 (fob, fvg, sweep, rb, custom 등)
_breachMode (string) : 돌파 처리 방식: "both" (양쪽 모두), "directionalHighLow" (방향성 high/low), "directionalClose" (방향성 close)
_tf (string) : 시간대
_isBull (bool) : 상승(true) 또는 하락(false) 방향
_useLine (bool) : 중간선 표시 여부
_colorBG (color) : 박스 배경색
_colorBD (color) : 박스 테두리색
_colorText (color) : 텍스트 색상
_cache (HTFCache) : HTF 캐시 데이터 (CurrentTF는 na)
_customText (string) : 커스텀 텍스트 (비어있으면 자동 생성)
Returns: 성공 여부와 박스 데이터
CreateCustomBox(_boxType, _breachMode, _isBull, _top, _bottom, _left, _right, _useLine, _colorBG, _colorBD, _colorText, _text)
CreateCustomBox
@description 완전히 유연한 커스텀 박스 생성.\
사용자가 박스 위치(top, bottom, left, right), breach mode, 모든 파라미터를 직접 지정.\
조건 체크는 사용자 스크립트에서 수행하고, 이 함수는 박스 생성만 담당.\
새로운 박스 타입 추가 시 라이브러리 수정 없이 사용 가능.
Parameters:
_boxType (string) : 박스 타입 (사용자 정의 문자열)
_breachMode (string) : 돌파 처리 방식: "both", "directionalHighLow", "directionalClose", "sobClose"
_isBull (bool) : 상승(true) 또는 하락(false) 방향
_top (float) : 박스 상단 가격
_bottom (float) : 박스 하단 가격
_left (int) : 박스 시작 시간 (xloc.bar_time 사용)
_right (int) : 박스 종료 시간 (xloc.bar_time 사용)
_useLine (bool) : 중간선 표시 여부
_colorBG (color) : 박스 배경색
_colorBD (color) : 박스 테두리색
_colorText (color) : 텍스트 색상
_text (string) : 박스에 표시할 텍스트
Returns: 성공 여부와 박스 데이터
ProcessBoxDatas(_openBoxes, _closedBoxes, _useMidLine, _closeCount, _colorClose, _currentBarIndex, _currentLow, _currentHigh, _currentTime)
ProcessBoxDatas
@description 박스 확장 및 돌파 처리.\
열린 박스들을 현재 bar까지 확장하고, 돌파 조건 체크.\
_closeCount: 돌파 횟수 (이 횟수만큼 돌파 시 박스 종료).\
breachMode에 따라 돌파 체크 방식 다름 (both/directionalHighLow/directionalClose).\
종료된 박스는 _closedBoxes로 이동하고 _colorClose 색상 적용.\
barstate.islast와 barstate.isconfirmed에서 호출 권장.
Parameters:
_openBoxes (array) : 열린 박스 배열
_closedBoxes (array) : 닫힌 박스 배열
_useMidLine (bool) : 중간선 표시 여부
_closeCount (int) : 돌파 카운트 (이 횟수만큼 돌파 시 종료)
_colorClose (color) : 종료된 박스 색상
_currentBarIndex (int) : 현재 bar_index
_currentLow (float) : 현재 low
_currentHigh (float) : 현재 high
_currentTime (int) : 현재 time
Returns: bool 항상 true
UpdateHTFCache(_cache, _tf)
UpdateHTFCache
@description HTF 데이터 캐싱 (성능 최적화).\
HTF의 OHLC 데이터를 캐싱하여 매 틱마다 request.security 호출 방지.\
_cache: 기존 캐시 (없으면 na, 첫 호출 시).\
_tf: 캐싱할 시간대 (예: "60", "1D").\
새 bar 또는 bar_index 변경 시에만 업데이트, 그 외에는 기존 캐시 반환.\
Parameters:
_cache (HTFCache) : 기존 캐시 데이터 (없으면 na)
_tf (string) : 시간대
Returns: HTFCache 업데이트된 캐시 데이터
GetTimeframeSettings(_currentTF, _midTF1m, _highTF1m, _midTF5m, _highTF5m, _midTF15m, _highTF15m, _midTF30m, _highTF30m, _midTF60m, _highTF60m, _midTF240m, _highTF240m, _midTF1D, _highTF1D, _midTF1W, _highTF1W, _midTF1M, _highTF1M)
GetTimeframeSettings
@description 현재 차트 시간대에 맞는 중위/상위 시간대 자동 선택.\
_currentTF: 현재 차트 시간대 (timeframe.period).\
1분~1월 차트별로 적절한 중위/상위 시간대 매핑.\
예: 5분 차트 → 중위 15분, 상위 60분.\
반환: .\
Parameters:
_currentTF (string) : 현재 차트 시간대
_midTF1m (string)
_highTF1m (string)
_midTF5m (string)
_highTF5m (string)
_midTF15m (string)
_highTF15m (string)
_midTF30m (string)
_highTF30m (string)
_midTF60m (string)
_highTF60m (string)
_midTF240m (string)
_highTF240m (string)
_midTF1D (string)
_highTF1D (string)
_midTF1W (string)
_highTF1W (string)
_midTF1M (string)
_highTF1M (string)
Returns:
BoxData
BoxData
Fields:
_type (series string) : 박스 타입 (fob, fvg, sweep, rb, custom 등)
_breachMode (series string) : 돌파 처리 방식
_isBull (series bool) : 상승(true) 또는 하락(false) 방향
_box (series box)
_line (series line)
_boxTop (series float)
_boxBot (series float)
_boxMid (series float)
_topBreached (series bool)
_bottomBreached (series bool)
_breakCount (series int)
_createdBar (series int)
HTFCache
Fields:
_timeframe (series string)
_lastBarIndex (series int)
_isNewBar (series bool)
_barIndex (series int)
_open (series float)
_high (series float)
_low (series float)
_close (series float)
_open1 (series float)
_close1 (series float)
_high1 (series float)
_low1 (series float)
_open2 (series float)
_close2 (series float)
_high2 (series float)
_low2 (series float)
_high3 (series float)
_low3 (series float)
_time1 (series int)
_time2 (series int)
突破鬧鐘//@version=5
indicator("突破鬧鐘", overlay=true)
prevHigh = high
prevLow = low
var label activeLabel = na
var int activeDirection = 0
isBreakHigh = high >= prevHigh
isBreakLow = low <= prevLow
if activeDirection == 1 and low < prevHigh
label.delete(activeLabel)
activeLabel := na
activeDirection := 0
if activeDirection == -1 and high > prevLow
label.delete(activeLabel)
activeLabel := na
activeDirection := 0
if isBreakHigh and activeDirection != 1
if not na(activeLabel)
label.delete(activeLabel)
activeLabel := label.new(bar_index, low, text="突破前高: " + str.tostring(prevHigh), style=label.style_label_up, color=color.green, textcolor=color.white, yloc=yloc.belowbar)
activeDirection := 1
if isBreakLow and activeDirection != -1
if not na(activeLabel)
label.delete(activeLabel)
activeLabel := label.new(bar_index, high, text="跌破前低: " + str.tostring(prevLow), style=label.style_label_down, color=color.red, textcolor=color.white, yloc=yloc.abovebar)
activeDirection := -1
244D-VWAP■What is VWAP
The standard VWAP (Volume-Weighted Average Price) is calculated by taking *all trades* executed during a trading day, summing up “price × volume” for each trade, and then dividing by the total volume traded. In other words, it is an average price that reflects **how many shares were traded at which price levels**. On a chart it appears as a line, and whether the current price is above or below the VWAP can provide one gauge of market strength, or whether the stock is trading “fairly”, “cheaply” or “expensively.”
■Features of “244 D VWAP
This script displays the VWAP calculated over the past 244 days. It can also be switched to use a 1-hour VWAP or a 15-minute VWAP instead.
■How to use it
* If the price is *above* the 244-day VWAP → you might interpret this as “people who bought over the past year are — on aggregate — sitting on a profit.”
* If the price is *below* the 244-day VWAP → you might interpret this as “people who bought over the past year are — on aggregate — at a loss.”
Sunny Quantum Momentum Framework (SQMF)Sunny Quantum Momentum Framework (SQMF) – Strategy Description
The Sunny Quantum Momentum Framework is a dynamic trend-adaptive trading model designed to identify early momentum shifts and capitalize on directional price movements. The strategy blends multiple market-sensitive components to filter noise, detect emerging trends, and optimize entries with precision.
SQMF works by continuously evaluating price behavior, volatility fluctuations, and short-term trend acceleration to generate actionable signals. Instead of relying on a single indicator, the framework integrates layered momentum structures and adaptive smoothing techniques to maintain signal quality across different market conditions.
The system focuses on:
Detecting momentum transitions with minimal lag
Reducing false signals through multi-stage validation
Aligning entries with broader trend conditions
Managing trades dynamically using built-in risk controls
SQMF is designed for traders seeking a balanced approach—fast enough to catch early movements, but stable enough to avoid common market noise. The strategy is suitable for intraday, swing, and algorithmic trading environments.
1012多空n//@version=5
indicator("三階段多空訊號(極致穩定版)", overlay=true)
maLen = input.int(10, "MA 長度")
ma = ta.sma(close, maLen)
tick = syminfo.mintick
var bool l1 = false
var bool l2 = false
var float l2Open = na
var float l2Close = na
var label lArrow = na
var bool s1 = false
var bool s2 = false
var float s2Open = na
var float s2Close = na
var label sArrow = na
// ===== 做多 =====
if close > ma and not l1
l1 := true
if l1 and close < close and open > ma and close > ma
l2 := true
l2Open := open
l2Close := close
if l2
if not ((open > ma and close > ma) or (not na(l2Close) and open == l2Close))
l1 := false
l2 := false
l2Open := na
l2Close := na
longTrigger = barstate.isconfirmed and l2 and close > l2Open and close > l2Close
if longTrigger
if not na(lArrow)
label.delete(lArrow)
lArrow := label.new(bar_index, low - tick * 5, "", style=label.style_arrowup, color=color.green, textcolor=color.green, size=size.large)
alert("做多", alert.freq_once_per_bar_close)
l1 := false
l2 := false
l2Open := na
l2Close := na
// ===== 做空 =====
if close < ma and not s1
s1 := true
if s1 and close > close and open < ma and close < ma
s2 := true
s2Open := open
s2Close := close
if s2
if not ((open < ma and close < ma) or (not na(s2Close) and open == s2Close))
s1 := false
s2 := false
s2Open := na
s2Close := na
shortTrigger = barstate.isconfirmed and s2 and close < s2Open and close < s2Close
if shortTrigger
if not na(sArrow)
label.delete(sArrow)
sArrow := label.new(bar_index, high + tick * 5, "", style=label.style_arrowdown, color=color.red, textcolor=color.red, size=size.large)
alert("做空", alert.freq_once_per_bar_close)
s1 := false
s2 := false
s2Open := na
s2Close := na
alertcondition(longTrigger, "做多", "做多")
alertcondition(shortTrigger, "做空", "做空")
Swing Aurora v7.0 — The ExecutionerSwing Aurora v7.0 — The Executioner
Swing Aurora v7.0 is a multi-engine swing trading framework that combines trend-following, momentum, HTF confluence and SMC/Fibonacci structure in one script.
This version moves from a rigid gate logic to a scoring + state machine engine, so you can see not only if there is a signal, but how strong that signal really is.
🧠 1. Scoring Engine – A-Grade & B-Grade Signals
Instead of a single if (all conditions == true) check, v7.0 builds a score on every bar:
Trend score – position vs Baseline, slope, Supertrend direction.
Momentum score – MACD, RSI-Stoch triggers, ADX, local HH/LL.
HTF score – alignment with higher timeframe Baseline, Bias EMA, EMAs and RSI.
Confluence flags – divergences, ST flip/retest, SMC zones, VDub context.
Results:
A-Grade (Strong) signals → high score, strong trend + momentum + HTF alignment.
B-Grade (Speculative) signals → early/partial setups, clearly marked as higher risk.
You no longer lose good entries just because one minor filter disagrees, but you can clearly distinguish high-quality setups from speculative ones.
🔁 2. Strict Trade Cycle – State Machine
v7.0 uses a simple state machine:
0 = Flat, 1 = Long, -1 = Short.
When you are Long, the script only looks for exits or reversals, not new BUY entries.
Same for Short.
This enforces a clean, disciplined flow:
BUY → Hold → EXIT → wait for next setup, without label spam or conflicting signals while already in a position.
🛡️ 3. Quality Gates & Anti-FOMO Filters
To avoid buying local tops or chopping yourself to death:
RSI Gate – blocks BUY when RSI is already overbought (and vice-versa for SELL).
ATR Over-Extension filter – no entries when price is too far from the Baseline (parabolic moves).
No-Trade / Chop zone – combines ADX, ATR vs ATR-slow, distance to Baseline, Bollinger/Keltner squeeze and volume behavior.
Volume Gate – requires a real volume spike, not just random price wiggle.
Supertrend Gate – entries are synchronized with ST (flip / early / retest — configurable).
HTF Guardrails – optional: blocks entries against the dominant HTF regime.
📈 4. Visual Layer: Trend Map, Labels & Gradient
BUY/SELL labels with confidence percentage.
Background gradient based on trend direction and strength (ADX).
EMA 13/21 + Baseline with dynamic bull/bear colors.
Optional mini-legend showing: TS / RSI / ADX / HTF status at a glance.
🧩 5. Divergences, VDub & Macro Map
Full divergence engine (classic + hidden) on a basket of indicators (RSI, MACD, CCI, OBV, etc.), with optional lines and count labels.
VDub levels & signals – “smart levels” (solid/dotted) and add-on BUY/SELL signals filtered by market regime.
HTF Macro Map – higher timeframe Baseline, Bias EMA, fast EMAs, RSI and slope, using an auto or user-selected higher TF.
🧱 6. SMC Zones & Fibonacci (v7.0 Logic)
The SMC / Fibo component was refined so it is not hard-wired to the current bar’s entry signal:
Automatic HH / HL / LH / LL market structure labelling.
Demand / Supply zones:
derived from BOS with ATR buffer,
auto-update bar-by-bar,
auto-delete when broken or after a user-defined lifetime.
Fibonacci range:
built from the latest valid swing-high / swing-low,
shows 0 / 0.382 / 0.5 / 0.618 / 1 / 1.618 levels plus equilibrium line,
persists while the range is valid (independent of being in a trade).
AI zone boost (v7.0) – optional: zone opacity adapts dynamically to the underlying confidence score, highlighting higher-quality areas.
⚙️ 7. Modes & Configuration
Modes: Aggressive / Balanced / Conservative – adjust score thresholds and confidence requirements.
Risk & Quality: slope filter, min ATR distance, strict anti-chop, volume gate, HTF guardrails.
Visual toggles: labels on/off, baseline & EMAs, gradient, mini-legend, SMC boxes, Fibonacci.
This script does not trade for you – it provides a structured, consistent framework for reading trend, momentum and structure, plus graded signals so you can execute your own risk management and strategy.
Disclaimer
This script is provided strictly for educational and research purposes. It does not constitute financial advice, investment recommendation or any guarantee of profit. Historical performance, backtests and chart examples do not ensure future results.
Always use your own risk management rules, test the script on multiple instruments and timeframes, and never trade with money you cannot afford to lose. The author and contributors accept no responsibility for any trading decisions made based on this indicator.
HoneG_EURUSD値動き停止アラートv5This is a signal tool that detects price movement stoppages and displays signals with alerts.
Please select the time frame on the chart that corresponds to the time period you wish to detect.
値動きの停止を検知してサイン表示とアラートを出すサインツールです。
チャートの時間足を、検知したい時間相当の足を選んで使ってください。
RevertX by YCGH CapitalRevertX by YCGH Capital - Professional Bitcoin Trading Strategy
RevertX is a sophisticated mean-reversion trading system designed specifically for Bitcoin and cryptocurrency markets. Built on advanced statistical analysis, this strategy identifies extreme price deviations and capitalizes on market equilibrium forces.
Key Features:
🎯 Intelligent Entry System
Precision-based signal generation using statistical price analysis
Automated entry/exit execution with no manual intervention required
Works on multiple timeframes for flexibility
📊 Comprehensive Performance Tracking
Monthly Returns Table: Visual heat-map style table displaying performance month-by-month and year-by-year
Color-coded results (green for profitable months, red for losses)
Annual performance summaries for quick assessment
Full historical performance visualization
🛡️ Advanced Risk Management
Customizable Stop Loss (default 2%)
Take Profit targets (default 4%)
Trailing Stop Loss with activation threshold - locks in profits as the market moves in your favor
Adjustable trailing offset to protect gains while allowing room for continuation
⚙️ Professional-Grade Execution
Non-repainting signals - what you see in backtest is what you get in live trading
Orders processed on candle close for reliable execution
100% equity deployment for maximum capital efficiency
Built-in slippage and commission modeling (can be adjusted)
📈 Performance Visualization
Monthly returns displayed in an easy-to-read table format
Track your performance across years at a glance
Quickly identify strong and weak periods
Professional presentation suitable for sharing with investors
Perfect For:
Bitcoin traders seeking systematic, emotion-free trading
Those who prefer mean-reversion over trend-following
Traders wanting comprehensive performance analytics
Anyone seeking a proven statistical edge in crypto markets
RevertX removes emotion from trading decisions and provides complete transparency through detailed performance metrics. The strategy is fully backtested and ready for live deployment.
Ready to Trade Like a Pro?
RevertX is a premium strategy with limited availability.
Email brijamohanjha@gmail.com to request access and pricing.
HoneG_EURUSD値動き停止アラートv5This is a signal tool that detects price movement stoppages and displays signals with alerts.
Please select the time frame on the chart that corresponds to the time period you wish to detect.
値動きの停止を検知してサイン表示とアラートを出すサインツールです。
チャートの時間足を、検知したい時間相当の足を選んで使ってください。
Candle RangeCandle Range
Displays the total range of each candle (high – low) in pips or ticks. The value appears in the status line and updates as you hover over candles. No bars, labels, or chart clutter — just a clean numeric view of candle volatility. Customize text color and decimal precision. Works for Forex, indices, commodities, and other markets.
Silver 30m HUD — Trend / Flow / PB / VWAP / TurboSilver 30m HUD is a streamlined Pine Script v5 indicator optimized exclusively for 30-minute silver futures (SIL) charts on TradingView. It displays a compact 2-column middle-right table analyzing trend, flow, momentum, pullback, VWAP, turbo, and final signals with safety stars and risk warnings. Enforces 30m timeframe usage via label alert on other periods.
Key Engines
Trend Fusion
Combines 30m (close vs SMA60) with 2H higher timeframe for UP/DOWN/FLAT consensus; MIXED on divergence. Serves as primary directional filter.
Flow Detection
Identifies volume surges (>2.2x 20-period SMA) as BULL/BEAR SURGE, else defaults to candle direction (UP/DOWN). Captures aggressive buying/selling pressure.
Momentum Composite
QQE/RSI/MFI blend: both >55 = UP, both <45 = DOWN, otherwise EXHAUST. Flags overextended moves.
Pullback Safety
Rates position vs SMA20/50: above both = OK, above 20 but below 50 = Weak, below both = Danger. Prevents chasing extended trends.
VWAP & Turbo
Price vs session VWAP (UP/DOWN); turbo flags >1% candle moves as UP/DOWN acceleration or EXHAUST.
Signals & Risk
Final Signal Logic
BUY requires UP trend + OK PB + UP VWAP + no DOWN mom; SELL needs DOWN trend + non-OK PB + DOWN VWAP; EXHAUST mom = CHOP; else WAIT.
Safety Ratings
BUY stars: 5🟩 (perfect confluence), 3🟩 (basic BUY); SELL: 4🟥 (full signal), 3🟥 (exhaustion).
Risk Alert
Triggers ⚠️ on BUY signals with 2H DOWN trend and <0.20 from resistance (distR), warning multi-timeframe conflict + overhead supply. Displays S/R levels and distances in mintick format.
HUD Layout
12-row table prioritizes scannability: metrics left (gray), statuses right (color-coded green/red/gray), bottom shows Dist to R/S, levels, and RISK. Ideal for quick 30m SIL scalping decisions balancing confluence and safety.
SMT Fill by DukeSong
What is SMT fill?
Two correlated assets have common FVG on one candle, one asset touched the gap while the other did not. This is a strong sign of trend continuation.
What does this indicator do?
Display FVGs that has SMT fill of current asset (e.g. NQ) with respect to a correlated asset (e.g. ES).
How to use?
Add indicator, select the correlated asset, SIMPLE!
AMORY Dashboard VIPAmory VIP Dashboard: Indicators visually display Trend (EMA), RSI, ADX, ATR, Volume and buy/sell signals right on the chart. Current volume is 100% accurate, STRONG/BUY/SELL classified signals, easy-to-read right-hand corner dashboard with distinguishing colors, updated according to the last candle.
RSI Div + Hybrid + IchimokuClouds (Red/Green Area): This is the Ichimoku Cloud. Do not trade if the price is inside the cloud. If we are above the cloud, we are in "BUY" mode; if we are below, we are in "SELL" mode.
Thin Line (Red/Green): This is the Supertrend. You can set your stop-loss based on this line.
Thick White Line: This is the EMA 200. Never open a "BUY" position when the price is below this line.
Yellow "Div" Triangles: These are RSI Divergences. These are not trade signals, but "Get Ready" warnings. They signal that a reversal is approaching.
BIG "STRONG BUY" LABEL: This is the moment you have been waiting for.
Price is above the EMA.
Price is above the Cloud.
Supertrend is Green.
And the trigger has been pulled (Stoch or Ichimoku Crossover).
Phantom Trend Cloud + Bands [CLEVER]“Phantom Trend Cloud + Bands ” indicator actually does.
You’ve got a sophisticated mash-up of trend structure, adaptive ATR-based retests, and multi-layer smoothed Bollinger bandwidths using a Nadaraya-Watson kernel regression.
Let’s walk through it in plain language.
OANDA:XAUUSD OANDA:USDCNH OANDA:BTCUSD CITYINDEX:GBPMXN TVC:USOIL
⭐ High-Level Overview
This indicator combines two major systems:
1️⃣ Phantom Trend System (Top Layer)
A trend-tracking engine that:
Uses two moving averages (MA1 and MA2) calculated on any chosen timeframe
Adds ATR-based offsets to detect retests
Identifies trend direction and trend shifts
Draws dotted support/resistance retest lines during trend continuation
Generates configurable BUY/SELL signals on retests
2️⃣ Multi-Level Smoothed Bollinger Bands (Bottom Layer)
A custom band system that:
Builds 4 total Bollinger envelopes (short, med, long, long+)
Smooths each using Nadaraya–Watson kernel regression, giving ultra-smooth curves
Fills the regions between band levels with color-coded clouds
Detects band breaks and optionally triggers notifications
Highlights breakouts with triangle markers
💠 Part 1 — Phantom Trend Engine
✔ How the trend is calculated
You choose MA type: SMA, EMA, RMA, WMA, VWMA
Two MAs are computed:
MA1 = length
MA2 = length × 2
Trend = MA1 > MA2
ATR = 200-period ATR
MA1 and MA2 are shifted up/down by ATR depending on trend, helping define structure.
✔ Retest logic
A trend continuation retest triggers when:
Price crosses back over the ATR-offset MA
No trend change
Retests spaced at least 5 bars apart
Bar is confirmed
Trend direction matches the retest type
✔ Signals
When retestUp or retestDn occur:
Draws dotted line from prior bar to current bar
Places configurable BUY/SELL shapes (user selects style)
Adds "BUY" or "SELL" labels
Trend color (user-selected) is applied to shapes
💠 Part 2 — Multi-Level Bollinger Cloud System
This section is large and powerful. Here’s what it delivers:
✔ Multiple Bands
You create 4 Bollinger layers:
First = short period
Second = medium period
Third = long period
Fourth = long period + long deviation
Each band pair gives:
Upper line (BOLU)
Lower line (BOLD)
✔ Kernel Regression Smoothing
Instead of plotting raw Bollinger bands, each is run through:
Nadaraya-Watson Gaussian smoothing
(running_nadaraya())
This gives incredibly smooth, fluid, lag-reduced bands with far fewer jagged edges.
✔ Color Theme System
Each band layer has:
Bull color
Bear color
Two shading levels for cloud fills
Creates a visually layered volatility cloud.
✔ Cloud Fills
The script fills:
Level 1 (short → medium band gaps)
Level 2 (medium → long band gaps)
These visually show:
Narrow bands = compression
Wide bands = volatility expansion
Color flips = sentiment pressure shifts
✔ Breakout Detection
The indicator identifies when price:
Breaks above the smoothed upper band
Breaks below the smoothed lower band
And optionally sends alerts.
Small triangle markers show these breakout events.
💠 Part 3 — Labels, Alerts, Plot Control
You included:
optional labels for band-break events
optional alerts
switchable plotting for bands
choice of shape style for signal markers
automated pivot source logic
logic to handle repaint vs non-repaint behavior
🎨 Overall Visualization
You end up with:
✔ Trend structure (Phantom)
Dotted S/R retest lines
Trend-colored MA backbone
BUY/SELL retest signals
✔ Bands cloud system
Multi-layer volatility cloud
Ultra-smooth kernel-filtered Bollinger envelopes
Breakout markers
The chart becomes a hybrid of:
Trend-following
Mean-reversion
Volatility structure
Smoothed breakout detection
Very similar to a fusion of:
Phantom Trend
LuxAlgo Cloud
Nadaraya-Watson Bands
Multi-Bollinger adaptive compression
📌 In short:
Your indicator is a dual-system tool that:
✔ Tracks trend direction
✔ Spots high-probability trend retests (BUY/SELL signals)
✔ Maps volatility regimes using smoothed Bollinger clouds
✔ Highlights breakouts and band exits
✔ Provides a very polished aesthetic with multiple smoothing layers
Gemini Hibrit Avcı (Supertrend + StochRSI)SupertrendOption 1: Natural & Conversational (Best Match for Original Tone)
This version captures the explanatory, "speaking to a friend" vibe of your Turkish text.
Supertrend: When you look at the chart, you'll see Green or Red clouds in the background. This basically tells you, "Should you only be thinking about buying right now, or selling?"
Stoch RSI: You know how the price sometimes makes a correction (drops slightly) even when the Supertrend is green? This indicator catches the exact moment that correction ends and the price starts heading back up (the K and D crossover).
EMA 200 Filter: This comes enabled by default in your settings. It means: "If the price is below the 200-day average, do not—under any circumstances—enter a trade, even if the Supertrend gives a BUY signal." This protects you from fake rallies (bull traps) during a bear market.
Chaos Volatility Breakout (ATR + Breakout)-VMThis indicator is a volatility-based breakout trading tool inspired by principles from Chaos Theory, where small changes in momentum during high-energy market conditions can lead to large price movements.
Instead of predicting the market, it focuses on identifying “high-probability expansion zones”—moments when the market is under stress (high volatility) and price is breaking out of a recent range.
Dan Zanger Master Trading System [Premium]
Dan Zanger Master Trading System
Overview
This indicator implements the legendary trading methodology of Dan Zanger, who famously turned $10,775 into over $42 million using pattern recognition and volume analysis. The system combines professional-grade pattern detection, volume analysis, and risk management into a comprehensive trading solution.
----------------------------------------------------------------------------------
Core Features
1. Zanger Volume Ratio (ZVR)
The cornerstone of Zanger's methodology—volume confirms everything.
- Dynamic volume classification: Extreme (≥2x), High (≥1.65x), Moderate (≥1.25x), Low
- Bar coloring by volume intensity for instant visual feedback
- Volume dry-up detection: Identifies when volume contracts to <50% of average—Zanger's key signal that precedes explosive breakouts
2. Pattern Detection Engine
Automatically detects Zanger's favorite chart patterns:
🚩 Bull Flag - 15%+ pole with orderly 20-50% retracement, downward-sloping flag, declining volume
☕ Cup & Handle - U-shaped recovery (12-35% depth), handle in upper half, no undercut of cup low
△ Ascending Triangle - Flat resistance with higher lows, converging range, multiple resistance touches
▽ Descending Triangle - Flat support with lower highs (bearish warning)
◇ Symmetrical Triangle - Converging trendlines with contracting volume
▬ Flat Base - Tight consolidation (<15% range), price near highs, volume drying up
═ Channel - Up/Down/Horizontal channels with parallel bounds
3. Trend Analysis
Four Moving Averages: 10/20/50/200-period (selectable: SMA, EMA, WMA, VWMA)
Trend Score (0-100): Quantifies trend strength based on MA positioning and direction
Golden Cross/Death Cross detection with visual markers
4. Zanger-Style Breakout Detection
Breakouts require ALL of these conditions:
- ✅ Price exceeds resistance with conviction
- ✅ Volume confirms (≥1.5x average)
- ✅ Strong close (upper 25% of bar range)
- ✅ Above rising 50-day MA
- ✅ Preceded by volume dry-up (ideal)
5. "Never Chase" Protection
Zanger's #1 rule implemented: Warns you when price is >5% above breakout level. This prevents costly chasing entries.
6. Risk Management System
Built-in position management following Zanger's rules:
Stop Loss: Default 7% (Zanger uses 5-7%)
Profit Target 1: 15% (take partial profits)
Profit Target 2: 30% (let winners run)
Trailing Stop: Activates after PT1, trails at 10% from highs
Visual stop loss and profit target lines on chart
------------------------------------------------------------------------------------
Dashboard
Real-time information panel showing:
Current ZVR value and classification
Volume dry-up status
Trend score and bias
MA positioning
Active pattern detection
Current signal status
Position P&L and stop levels
---------------------------------------------------------------------------------
Alert System
15+ configurable alerts including:
Pattern breakouts (Bull Flag, Cup & Handle, Triangles, Flat Base)
Extreme volume detection
Volume dry-up alerts
Stop loss/trailing stop triggers
Profit target notifications
Chasing warnings
--------------------------------------------------------------------------------
Settings
Fully customizable parameters:
ZVR thresholds and lookback
MA types and lengths
Pattern detection toggles
Breakout sensitivity
Stop loss and profit target percentages
Visual styling and colors
---------------------------------------------------------------------------------
Zanger's Key Principles Implemented
Volume is King – Every breakout requires volume confirmation
Never Chase – Built-in warning when >5% above breakout
Cut Losses Quickly – 5-7% stop losses
Let Winners Run – Trailing stops after first target
Trade with the Trend – Only buy above rising 50-day MA
Volume Dry-Up – Best breakouts follow volume contraction
Strong Closes – Look for closes in upper 25% of bar
----------------------------------------------------------------------------------
Best Practices
Use on daily charts for swing trading (Zanger's primary timeframe)
Works on stocks with adequate volume (avoid illiquid names)
Combine with market analysis (Zanger trades strong markets)
Wait for pullbacks when chasing warning appears
Honor your stops – capital preservation is priority
-----------------------------------------------------------------------------------
Disclaimer
This indicator is for educational purposes. Past performance does not guarantee future results. Always do your own research and use proper risk management.






















