Indicator

MA Alignment Dashboard[BongPro]PulseWire 퍼블리시 설명 — MA Alignment Dashboard
영어/한국어 버전 둘 다 만들었어.
영어 버전
MA Alignment Dashboard
A multi-moving-average dashboard that shows trend alignment, moving-average crossovers, and real-time execution speed at a glance.
What it does
This indicator tracks four moving averages (default 7 / 21 / 50 / 200) and displays how they are aligned relative to each other. Instead of reading four separate lines, you get a compact table showing whether each pair is bullish or bearish, so you can instantly judge the overall trend structure.
Features
Four customizable MAs — choose type (SMA, EMA, HMA, WMA, VWMA), length, color, and visibility for each
Alignment table — shows the relationship of each MA pair (7/21, 21/50, 50/200) with color-coded arrows: bullish, bearish, or neutral
Cross markers on the moving averages — marks golden/death crosses exactly at the crossover point on the line itself, not on the candle. Choose which pair to track (7/21, 21/50, 50/200, or all), the marker shape (8 options), size, and colors
Execution speed — a rate-based volume reading that measures how fast trades are flowing right now compared to the average, independent of how far the current candle has progressed. Displays as Fast / Normal / Slow with a multiplier
Flexible table placement — 8 positions on the chart
Alerts — golden cross, death cross, and execution-speed surge
How to use
When all pairs align in the same direction, the trend structure is strong and consistent
Cross markers highlight potential trend shifts at the exact price where the MAs meet
Execution speed helps confirm whether a move is backed by active trading or is just drifting
Combine the alignment table with the cross markers to filter which crosses occur in a supportive trend
Notes
Execution speed is meaningful only on the live (last) bar, since it measures the current candle's real-time flow
Use on any timeframe; slower MA pairs (50/200) suit trend trading, faster pairs (7/21) suit shorter-term entries
This indicator is for educational and informational purposes only and is not financial advice.
한국어 버전
MA Alignment Dashboard (이동평균 정렬 대시보드)
여러 이동평균의 정렬 상태, 크로스, 실시간 체결 속도를 한눈에 보여주는 대시보드입니다.
기능 개요
네 개의 이동평균(기본 7 / 21 / 50 / 200)이 서로 어떻게 정렬돼 있는지 표로 보여줍니다. 네 개의 선을 일일이 읽는 대신, 각 쌍이 정배열인지 역배열인지 색상으로 한눈에 파악해 전체 추세 구조를 즉시 판단할 수 있습니다.
주요 기능
이동평균 4개 커스터마이즈 — 종류(SMA, EMA, HMA, WMA, VWMA), 기간, 색상, 표시 여부를 각각 설정
정렬 테이블 — 각 이평 쌍(7/21, 21/50, 50/200)의 관계를 색상 화살표로 표시 (정배열/역배열/중립)
이평선 위 크로스 마커 — 골든/데드크로스를 캔들이 아니라 두 이평선이 실제로 만나는 교차 지점에 표시. 대상 쌍(7/21, 21/50, 50/200, 전체), 기호(8종), 크기, 색상 선택 가능
체결 속도 — 캔들 진행률과 무관하게 지금 이 순간의 체결 흐름이 평균 대비 얼마나 빠른지 측정. 빠름/보통/느림 + 배수로 표시
테이블 위치 8곳 선택
알림 — 골든크로스, 데드크로스, 체결 속도 급증
활용법
모든 쌍이 같은 방향으로 정렬되면 추세 구조가 강하고 일관됨
크로스 마커는 이평선이 만나는 정확한 가격에 추세 전환 가능성을 표시
체결 속도로 움직임이 활발한 거래에 기반한 것인지, 그냥 흘러가는 것인지 확인
정렬 테이블과 크로스 마커를 함께 보면 추세에 부합하는 크로스만 선별 가능
참고사항
체결 속도는 현재 캔들의 실시간 흐름을 측정하므로 마지막(실시간) 봉에서만 의미가 있습니다
모든 타임프레임에서 사용 가능하며, 느린 쌍(50/200)은 추세 매매, 빠른 쌍(7/21)은 단기 진입에 적합합니다
본 지표는 교육 및 정보 제공 목적이며 투자 조언이 아닙니다. Indicator

Indicator

ExpEngineThe engine behind the EXP GRID / EXP OVERLAY reconstruction pair.
An indicator is either overlay or pane, never both. So a study that wants to draw levels on price AND report statistics about those levels has to be two scripts — and two scripts means two copies of the decision logic, and two copies drift. This library exists so that they cannot: the pane cannot measure a different trade than the price chart draws, because there is only one definition of it.
WHAT IS IN HERE
context() — nine signed volume and efficiency features, each clamped to , and the composite they average into.
aligned() / plan() — the arming condition and the trade state machine: arm on alignment, enter on a break of the prior bar in the armed direction, exit on stop, target, or the clock, whichever comes first. Tracks MFE, MAE, realised R and a running win/loss record.
shadow() — a random-entry baseline that runs under the IDENTICAL exit rule. A base rate computed under a different exit rule is not a base rate.
TWO THINGS WORTH KNOWING
When both the stop and the target are touched inside a single bar, the intrabar path is unknowable, so plan() assumes the STOP filled first. Calling that one a win is the most common way a backtest lies to you.
macroBundle() applies to every leg and is meant to be called with lookahead_on. That pairing is the only one of the four offset/lookahead combinations that reads a CLOSED higher-timeframe bar in both history and realtime; change one without the other and the script either leaks the future or disagrees with itself live. A library cannot make the request itself — Pine rejects a request.*() whose expression depends on an exported function's arguments (CE10051) — so the call site stays in your script:
= request.security(syminfo.tickerid, tf, es.macroBundle(len, aLen), lookahead = barmerge.lookahead_on)
float macroAtr = es.macroBias(mEma, mAtr, mClose)
Everything here reads confirmed bars only.
Library "ExpEngine"
version()
macroBundle(len, aLen)
Parameters:
len (simple int)
aLen (simple int)
macroBias(mEma, mAtr, mClose)
Parameters:
mEma (float)
mAtr (float)
mClose (float)
context(volLen, erFastLen, erSlowLen, atrLen, macroAtr)
Parameters:
volLen (simple int)
erFastLen (simple int)
erSlowLen (simple int)
atrLen (simple int)
macroAtr (float)
aligned(c, sessOpen, strongBand, armRvol)
Parameters:
c (Ctx)
sessOpen (bool)
strongBand (float)
armRvol (float)
plan(c, ok, stopAtr, rr, timeExit)
Parameters:
c (Ctx)
ok (bool)
stopAtr (float)
rr (float)
timeExit (int)
shadow(c, sessOpen, every, stopAtr, rr, timeExit)
Parameters:
c (Ctx)
sessOpen (bool)
every (simple int)
stopAtr (float)
rr (float)
timeExit (int)
Ctx
Fields:
fRvol (series float)
fPress (series float)
fCvd (series float)
fVwma (series float)
fEff (series float)
fRange (series float)
fClv (series float)
fMacro (series float)
fPersist (series float)
composite (series float)
macroAtr (series float)
rvol (series float)
atr (series float)
erF (series float)
erS (series float)
hasVol (series bool)
Plan
Fields:
state (series int)
dir (series int)
entry (series float)
stop (series float)
target (series float)
risk (series float)
entryBar (series int)
armed (series bool)
entered (series bool)
exited (series bool)
win (series bool)
rMult (series float)
exitPx (series float)
mfe (series float)
mae (series float)
mfeBar (series int)
lastMfe (series float)
lastMfeMin (series float)
wins (series int)
losses (series int)
avgWinBars (series float)
avgLossBars (series float)
avgMaeWin (series float)
sumR (series float)
Tally
Fields:
state (series int)
dir (series int)
entry (series float)
stop (series float)
target (series float)
bar (series int)
wins (series int)
losses (series int)
sumR (series float) Library

Indicator

BTG & AEM Relative Strength vs GDX## BTG & AEM Relative Strength vs GDX
This indicator compares the performance of **BTG** and **AEM** against **GDX**, while also tracking **GDX versus GLD** to show whether gold miners are outperforming physical gold.
The main chart plots two comparative-strength ratios:
* **BTG / GDX**
* **AEM / GDX**
Both lines are rebased to **100 at the left edge of the visible chart**. This means the comparison automatically updates when you zoom, scroll, or change PulseWire’s visible date range.
### How to read the chart
* A rising **BTG/GDX** line means BTG is outperforming GDX.
* A falling **BTG/GDX** line means BTG is underperforming GDX.
* A rising **AEM/GDX** line means AEM is outperforming GDX.
* A value of **110** means the stock outperformed GDX by approximately 10% over the visible range.
* A value of **90** means the stock underperformed GDX by approximately 10%.
This is **comparative relative strength**, not the traditional RSI oscillator.
### Summary table
The table shows relative performance over:
* 20 bars
* 60 bars
* 126 bars
* 252 bars
* the current visible chart range
Positive values mean the numerator outperformed the denominator. Negative values mean it underperformed.
For example:
* `BTG/GDX = -8%` means BTG underperformed GDX by approximately 8%.
* `GDX/GLD = +12%` means gold miners outperformed physical gold by approximately 12%.
### Status labels
The status column summarizes short- and medium-term relative performance:
* **Broad strength** — positive over both 20 and 126 bars
* **Short rebound** — positive over 20 bars but still negative over 126 bars
* **Short pullback** — negative over 20 bars but still positive over 126 bars
* **Broad weakness** — negative over both 20 and 126 bars
* **Miners lead** — GDX outperformed GLD over the visible range
* **Gold leads** — GLD outperformed GDX over the visible range
### Optional features
* 20- and 50-period EMA overlays for relative-momentum analysis
* Background shading for the GDX/GLD regime
* Right-edge labels
* Alerts for relative-momentum crossovers and changes in miner-versus-gold leadership
### Notes
The bar-based lookbacks depend on the chart timeframe. On a daily chart, 20, 60, 126, and 252 bars roughly represent one month, three months, six months, and one trading year. On a weekly chart, they represent weeks instead.
This indicator is intended for relative-performance analysis and does not provide standalone buy or sell signals.
Indicator

Indicator

Heiken Ashi Retrace & Auto FibsHA Retrace & Auto Fibs is an automated swing-structure, Fibonacci retracement, and Heikin Ashi support/resistance tool.
The script calculates Heikin Ashi price structure internally, so it can be used on a standard candlestick chart without requiring the chart itself to be switched to Heikin Ashi candles.
The indicator was designed around two related ideas:
Automatically identify meaningful swing pivots and maintain the appropriate Fibonacci retracement for the current price leg.
Identify Heikin Ashi body structures near those pivots that may act as useful retest zones for continuation.
Why Heikin Ashi Support & Resistance?
The HA support/resistance component came from observing that after a meaningful pivot forms, price will often return toward the Heikin Ashi body structure surrounding that pivot before continuing in the direction of the larger move.
These retests can sometimes function as a market check of the recently established structure:
After a pivot low, price may pull back toward the HA support area before attempting another move higher.
After a pivot high, price may rally back toward the HA resistance area before attempting another move lower.
Because of this behavior, these levels can be used as potential long or short entry areas, particularly when the retest aligns with the prevailing structure, Fibonacci retracement levels, momentum, or other forms of confirmation.
The levels are not intended to predict that every retest will hold. Rather, they provide clearly defined areas where traders can watch price behavior for continuation or failure.
Heikin Ashi Support & Resistance Logic
Swing pivots are identified using Heikin Ashi wick structure and a configurable fractal-style pivot method.
The support and resistance levels are then derived separately from the HA candle bodies surrounding the pivot.
By default, the script searches a configurable group of candles around each pivot for the local body structure or "nook" associated with the reversal.
For a pivot high, resistance is placed at the highest relevant HA body bottom near that pivot.
For a pivot low, support uses the mirrored calculation and is placed at the lowest relevant HA body top near that pivot.
This means the S/R level does not necessarily have to come from the exact candle containing the highest or lowest wick. A nearby candle can provide the more meaningful body-based level.
Users can also choose Wick instead of Body placement independently for support and resistance.
Automatic Fibonacci Retracements
The script automatically identifies opposing Heikin Ashi swing pivots and draws Fibonacci retracement levels across the active swing.
For a bullish swing:
0.000 = swing high
1.000 = swing low
For a bearish swing:
0.000 = swing low
1.000 = swing high
Displayed levels include:
0.000 · 0.236 · 0.382 · 0.500 · 0.618 · 0.786 · 1.000
Each Fib is labeled with both its ratio and corresponding price.
When an active swing extends beyond the established pivot, the Fibonacci structure can update with the expanding move until a new opposing pivot establishes the next completed swing structure.
Using the Two Systems Together
The Fib levels and HA support/resistance levels are intentionally calculated as separate structures.
The Fibonacci retracement measures the price range between the swing extremes, while the HA S/R levels identify body-based areas surrounding those pivots.
This can create useful confluence.
For example, during a bullish structure, a pullback into:
HA pivot support,
a meaningful Fib retracement,
and confirming momentum or price action
may provide an area to evaluate for a potential long continuation.
The same concept is mirrored for short setups when price retests HA resistance during a bearish structure.
Features
Works on standard candlestick or Heikin Ashi charts
Internally calculated Heikin Ashi OHLC data
Fractal-style automatic swing detection
Automatic bullish and bearish Fibonacci retracements
Dynamic tracking of an extending price leg
Fib ratio and price labels
Automatic HA-based support and resistance
Local HA body-structure/"nook" detection around pivots
Adjustable number of candles searched around a pivot
Independent Body / Wick selection for support and resistance
Optional pivot markers
Adjustable Fib appearance and transparency
Individual alerts for each Fib retracement
Combined Any Fib Level alert
Optional configurable alert suppression/cooldown
UI-controlled alert() calls for PulseWire watchlist and multi-symbol scanning workflows
Alerts
Alerts are available for individual Fibonacci levels as well as an Any Fib Level condition.
Users can configure how a Fib interaction is recognized, including wick touches or closing-price crosses.
An optional suppression setting can prevent repeated alerts for a configurable number of bars after an initial signal.
The script also includes independently selectable alert() function calls, allowing it to be used with PulseWire's Any alert() function call option for watchlist and multi-symbol scanning.
Important Note
Heikin Ashi candles use synthetic OHLC values derived from standard market prices. HA candle values therefore may not exactly match the prices displayed by standard candles.
This indicator is intended as a technical-analysis and chart-organization tool. A support, resistance, or Fibonacci interaction is not by itself confirmation that a reversal or continuation will occur. These areas are best evaluated alongside market structure, price action, momentum, volume, and appropriate risk management.
Open-source script. The code is available for users who would like to study the methodology, modify it, or build upon the underlying concepts. Indicator

DNSE VN301!, Bollinger Bands Break Out Strategy "Bollinger Bands Breakout with SMA Trend Filter" is a volatility breakout strategy designed to capture strong directional price movements when price breaks outside its recent trading range. The strategy uses Bollinger Bands, constructed from an SMA(20) and two standard deviations, to identify bullish breakouts when price closes above the upper band and bearish breakouts when price closes below the lower band.
To improve signal quality, the strategy incorporates an optional SMA(200) trend filter, allowing Long trades only when the SMA is rising and Short trades only when it is falling. By combining volatility-based breakout signals with long-term trend confirmation, the strategy seeks to reduce false breakouts during ranging markets while participating in sustained intraday trends. It also includes configurable stop loss, take profit, trading session filters, automatic end-of-day position closure, and trend reversal exits for disciplined risk management.
Strategy settings and configuration:
Chart timeframe: recommended 5-minute chart
Position size: 3 contracts
Bollinger Bands length: 20
Bollinger Bands multiplier: 2.0
SMA length: 200
Stop loss: 10 points
Take profit: disabled
SMA trend filter: On / Off
Take profit: On / Off
Time filter: On / Off
Trading session: 09:00 – 14:30
Trade direction: Long / Short / Both
Default script settings:
The strategy calculates Bollinger Bands using the SMA(20) of the closing price. The upper and lower bands are created by adding or subtracting two standard deviations around the middle line.
When volatility increases, the Bollinger Bands expand. When the market is quiet or moving sideways, the bands contract.
When the closing price breaks above the upper Bollinger Band, buying pressure may be taking control. When the closing price breaks below the lower Bollinger Band, selling pressure may be taking control.
When the SMA(200) trend filter is enabled, the script only allows Long trades when SMA(200) is rising and only allows Short trades when SMA(200) is falling. When the SMA filter is disabled, the strategy can trade both directions based only on Bollinger Bands breakout signals.
Users can add the built-in Bollinger Bands indicator on PulseWire with Length 20 and Multiplier 2.0 to visually monitor the signal on the price chart.
Entry and exit rules:
Long entry:
Closing price > upper Bollinger Band
AND SMA(200) is rising, if the SMA filter is enabled
AND the signal appears during the trading session
AND trade direction allows Long entries
Long exit:
Stop loss: 10 points from entry price
Take profit: disabled by default
Closing price touches or breaks below the lower Bollinger Band
SMA(200) turns downward, if the SMA filter is enabled
Reversal when a valid Short signal appears
Automatic position close at the end of the trading session
Short entry:
Closing price < lower Bollinger Band
AND SMA(200) is falling, if the SMA filter is enabled
AND the signal appears during the trading session
AND trade direction allows Short entries
Short exit:
Stop loss: 10 points from entry price
Take profit: disabled by default
Closing price touches or breaks above the upper Bollinger Band
SMA(200) turns upward, if the SMA filter is enabled
Reversal when a valid Long signal appears
Automatic position close at the end of the trading session
Risk disclaimer:
Futures trading involves a high level of risk and prices can move sharply. This script is provided for reference, research, and backtesting purposes only. Users should fully understand derivatives trading, their own risk tolerance, and the strategy logic before applying it to live trading.
All investment decisions are the responsibility of the user. phaisinh.online is not responsible for any losses arising from the use of this strategy in real trading. Past performance does not guarantee future results.
____________________________________________________________________
"Bollinger Bands Breakout với Bộ lọc Xu hướng SMA" là một chiến lược giao dịch theo xu hướng dựa trên sự bứt phá của biến động giá, được thiết kế nhằm nắm bắt các chuyển động mạnh theo một hướng khi giá vượt ra khỏi vùng dao động gần nhất. Chiến lược sử dụng Bollinger Bands, được xây dựng từ SMA(20) và 2 độ lệch chuẩn, để xác định tín hiệu mua khi giá đóng cửa vượt lên trên dải trên và tín hiệu bán khi giá đóng cửa xuống dưới dải dưới.
Để nâng cao chất lượng tín hiệu, chiến lược tích hợp bộ lọc xu hướng SMA(200) (có thể bật hoặc tắt), chỉ cho phép mở vị thế Long khi SMA đang dốc lên và vị thế Short khi SMA đang dốc xuống. Bằng cách kết hợp tín hiệu bứt phá theo biến động của Bollinger Bands với xác nhận xu hướng dài hạn, chiến lược hướng tới việc giảm thiểu các tín hiệu phá vỡ giả trong giai đoạn thị trường đi ngang, đồng thời tận dụng các xu hướng intraday kéo dài. Ngoài ra, chiến lược còn bao gồm các tùy chọn Stop Loss, Take Profit, bộ lọc khung thời gian giao dịch, cơ chế tự động đóng toàn bộ vị thế khi kết thúc phiên, cùng với điều kiện thoát lệnh khi xu hướng SMA đảo chiều, nhằm đảm bảo quản trị rủi ro một cách chặt chẽ và có kỷ luật.
Cài đặt & cấu hình chiến lược:
Biểu đồ: khuyến nghị khung 5 phút
Khối lượng giao dịch: 3 hợp đồng
Chu kỳ Bollinger Bands: 20
Hệ số nhân Bollinger Bands: 2.0
Chu kỳ SMA: 200
Cắt lỗ: 10 điểm
Chốt lời: tắt
Bộ lọc xu hướng SMA: Bật / Tắt
Dùng chốt lời: Bật / Tắt
Bộ lọc giờ: Bật / Tắt
Khung giờ giao dịch: 09:00 – 14:30
Chiều giao dịch: Mua / Bán / Cả hai
Cài đặt mặc định của script:
Chiến lược tính toán Bollinger Bands dựa trên đường SMA(20) của giá đóng cửa. Dải trên và dải dưới được tạo bằng cách cộng hoặc trừ hai độ lệch chuẩn quanh đường giữa.
Khi biến động tăng mạnh, hai dải Bollinger Bands sẽ mở rộng. Khi thị trường đi ngang hoặc biến động thấp, hai dải sẽ co hẹp lại.
Khi giá đóng cửa vượt lên trên dải trên Bollinger Bands, lực mua có thể đang chiếm ưu thế. Khi giá đóng cửa phá xuống dưới dải dưới Bollinger Bands, lực bán có thể đang chiếm ưu thế.
Khi bật bộ lọc xu hướng SMA(200), script chỉ cho phép lệnh Mua khi SMA(200) dốc lên và chỉ cho phép lệnh Bán khi SMA(200) dốc xuống. Khi tắt bộ lọc SMA, chiến lược có thể giao dịch cả hai chiều chỉ dựa trên tín hiệu breakout của Bollinger Bands.
Người dùng có thể thêm chỉ báo Bollinger Bands có sẵn trên PulseWire với tham số Length 20 và Multiplier 2.0 để quan sát tín hiệu trực quan trên biểu đồ giá.
Điều kiện vào và thoát lệnh:
Vào lệnh Mua:
Giá đóng cửa > dải trên Bollinger Bands
VÀ SMA(200) dốc lên, nếu bật bộ lọc SMA
VÀ tín hiệu xuất hiện trong khung giờ giao dịch
VÀ chiều giao dịch cho phép lệnh Mua
Thoát lệnh Mua:
Cắt lỗ: 10 điểm từ giá vào lệnh
Chốt lời: không dùng theo mặc định
Giá đóng cửa chạm hoặc phá xuống dải dưới Bollinger Bands
SMA(200) đảo chiều xuống, nếu bật bộ lọc SMA
Đảo chiều khi xuất hiện tín hiệu Bán hợp lệ
Tự động đóng lệnh khi hết khung giờ giao dịch
Vào lệnh Bán:
Giá đóng cửa < dải dưới Bollinger Bands
VÀ SMA(200) dốc xuống, nếu bật bộ lọc SMA
VÀ tín hiệu xuất hiện trong khung giờ giao dịch
VÀ chiều giao dịch cho phép lệnh Bán
Thoát lệnh Bán:
Cắt lỗ: 10 điểm từ giá vào lệnh
Chốt lời: không dùng theo mặc định
Giá đóng cửa chạm hoặc phá lên dải trên Bollinger Bands
SMA(200) đảo chiều lên, nếu bật bộ lọc SMA
Đảo chiều khi xuất hiện tín hiệu Mua hợp lệ
Tự động đóng lệnh khi hết khung giờ giao dịch
Tuyên bố rủi ro:
Giao dịch hợp đồng tương lai có mức độ rủi ro cao và giá có thể biến động mạnh. Script này chỉ phục vụ mục đích tham khảo, nghiên cứu và kiểm thử. Người dùng cần hiểu rõ giao dịch phái sinh, khẩu vị rủi ro cá nhân và logic của chiến lược trước khi áp dụng vào giao dịch thực tế.
Mọi quyết định đầu tư thuộc trách nhiệm của người dùng. phaisinh.online không chịu trách nhiệm cho bất kỳ khoản lỗ nào phát sinh từ việc sử dụng chiến lược này trong giao dịch thực tế. Hiệu quả trong quá khứ không đảm bảo kết quả trong tương lai.
Strategy

Indicator

QQQ Gamma Pro A+ SystemQQQ Gamma Pro A+ System is a high‑precision market‑timing indicator designed for traders who want clean, rules‑based signals on QQQ using institutional‑style data. It combines trend structure, volatility confirmation, and a proprietary gamma‑based market bias to identify only the highest‑quality A+ setups.
The system begins with a Trend Engine built on EMA alignment and VWAP positioning. This ensures signals only appear when the market is trending cleanly — either strongly bullish or strongly bearish. Momentum filters such as RSI and ATR expansion add an additional layer of confirmation, helping traders avoid low‑probability conditions.
A unique Gamma Proxy Engine analyzes SPY, QQQ, and IWM to determine underlying market pressure. When gamma is negative, the system becomes more selective, filtering out weak setups and highlighting only the most favorable opportunities. Gamma bias is displayed visually through chart background coloring and a mobile‑friendly dashboard.
The indicator plots A+ BUY and A+ SELL signals directly on the chart when trend, gamma, and momentum align. These signals are designed for intraday and swing traders who want structured, disciplined entries without noise.
To support opening‑range strategies, the system automatically tracks the Opening Range High and Low, giving traders a real‑time structure reference for breakouts, reversals, and liquidity sweeps.
A built‑in Mobile Dashboard displays gamma values, directional bias, and real‑time market regime information, making the indicator easy to monitor from any device. Alerts are included for both BUY and SELL signals.
🔥 Key Features
EMA + VWAP trend engine
RSI and ATR momentum filters
Gamma‑based market bias using SPY, QQQ, and IWM
A+ long and short signal detection
Opening Range High/Low tracking
Mobile‑optimized dashboard
Market regime background coloring
Built‑in BUY/SELL alerts Indicator

Indicator

Indicator

Indicator

Indicator

Historical Precedent Engine [HPE]WHAT IT DOES
HPE takes the last few candles on your chart, searches that chart's own history for
earlier sequences that resemble them, and shows you what price did after those earlier
sequences. It is an analog study. The output is a summary of precedent, not a forecast.
TUNING IS NOT OPTIONAL — READ THIS FIRST
This is a matcher, and a matcher only speaks when it finds something. Every enabled
filter is a hard gate applied to every candle in the fingerprint, and the gates compound:
a sequence qualifies only if candle 1 passes wick, body and volume, and candle 2 passes
all three, and so on, and the sequence momentum passes, and the direction rule passes.
Tighten two of those and the survivor count does not halve, it collapses.
So the normal failure mode is an empty dashboard. Median outcome, tolerance band, delta
and range all read "—", Bias reads Neutral, and Matches Used reads 0. That is not a bug
and it is not the tool being broken. It means nothing in this chart's history was close
enough to the present under the settings you have. The honest answer for that bar is
silence, and the tool gives it.
The tolerance units
Wick and body are measured as a percentage of the candle's own high-to-low range, not of
price. An upper wick occupying a fifth of its candle scores 20, whether that candle is a
one-minute Bitcoin bar or a daily equity bar. A tolerance of 12 therefore means "within
12 percentage points of range", and it means the same thing on every instrument and every
timeframe.
That is deliberate. Measured against price instead, the same tolerance would need to be
roughly a hundred times larger on a daily equity chart than on a one-minute crypto chart,
and no single default could serve both — one setting would accept everything on one chart
and nothing on the other.
On Auto-Tune, which ships OFF
Auto-Tune moves the wick and body tolerances based on how well recent projections
resolved. It ships disabled, for two measured reasons.
It cannot start from nothing. It does not act until at least five projections have been
scored, so if your tolerances are too tight to ever produce a match, there are no
projections, nothing is scored, and it never moves. It is a regulator, not a starter
motor.
And once it does start, it tends not to stop. It can only travel between a quarter and
four times your input, and when widening fails to improve fit — which is the usual case
if the matches were poor to begin with — it widens every bar until it pins at four times
your input and stays there. On the test chart it did exactly that, and the difference it
made was 50 resolved projections instead of 49. It bought one projection out of fifty
while making the number in the settings box a fiction.
So it is off, and what you type is what runs. Turn it on if you want it, knowing both of
the above.
The order to loosen in, most effective first:
1. Strict Direction off. With it on, every candle must match direction, which is a
1-in-2^N filter before any tolerance is applied. This is the single biggest lever.
2. Shorten Sequence Length. Fewer candles means fewer conjunctive conditions. Three is
the minimum and is the default for that reason.
3. Raise Wick and Body Tolerance, in the units described above.
4. Turn off Require Per-Candle Volume Match and Require Momentum Match. Volume ratios in
particular are noisy on short timeframes and reject a lot for little gain.
5. Lower Min Matches Required. It ships at 2 rather than 3 because on the instrument
these defaults were measured on, 3 never fires. Read the last paragraph of this
description before you take that as a recommendation.
Where the defaults came from
They were measured with a full 1,000-sequence library on three charts chosen to be as
unalike as possible, and they were picked to make the engine speak at all rather than to
make it look good:
COINBASE:BTCUSD 1-minute 73 projections over 25,837 bars
COINBASE:BTCUSD 1-hour 33 projections over 22,764 bars
AMEX:SPY daily 29 projections over 8,436 bars
That is between one bar in 290 and one bar in 690 — the same order of magnitude across a
crypto intraday chart and an equity daily chart, with no per-instrument tuning. It should
still be quiet, and you should still retune for your own instrument and horizon, but the
defaults are a measured starting point rather than a guess.
One note on reading the dashboard while you do that. The calibration row shows total
projections alongside how many sit in the calibration window, and that window is capped by
Calibration window (samples) — 50 by default. Watch the total, not the window. The window
fills early and then stops moving, which makes a well-tuned setup and a barely-working one
look identical.
ON LIBRARY SIZE
Max Stored Sequences is the pool the matcher searches, and a bigger pool is the one way
to get more matches without making each match mean less. It is capped at 1,000 by default
for a practical reason: raising it substantially can push the script past PulseWire's
calculation limit, at which point it stops reporting entirely. If you raise it and the
indicator goes blank rather than merely empty, that is what happened. Put it back. This
cap is also the real ceiling on how often the engine can fire at a tolerance tight enough
to be meaningful, and it is worth knowing that before you go hunting for settings.
HOW IT WORKS
1. Fingerprint. On every confirmed bar, the last N candles are reduced to a five-field
vector per candle: upper wick, lower wick, body, direction, and volume measured
against its own moving average.
2. Store. That fingerprint is written to a rolling library along with what price did over
the following bars.
3. Match. The current fingerprint is compared against every stored sequence. A stored
sequence qualifies only if each candle falls inside the wick, body and volume
tolerances, and only if the sequence momentum falls inside its tolerance. Direction
matching is separate: with Strict Direction on, every candle must match direction;
with it off, only the final candle must. An optional session filter restricts matches
to the same trading session.
4. Summarise. Qualifying matches are ranked by how well their own past projections
resolved, and the strongest are combined into a single percentile outcome — the median
by default. If fewer than Min Matches Required qualify, nothing is drawn.
5. Calibrate. Once the horizon elapses, each projection is scored against what actually
happened. That score weights how much a stored sequence counts in future matches, and
feeds Auto-Tune if you have enabled it.
READING THE CHART
Projection line and band — the percentile outcome of the current match set, extended to
the horizon.
Consensus paths — the individual paths of the top matches, drawn separately, so you can
see the spread the single summary line came from. A tight cluster and a wide scatter
produce the same median.
Rolling projection trail — past projections left on the chart beside what price actually
did. This is deliberate. A tool that hides its misses is not worth reading.
Dashboard — match count, median outcome, ±1σ range, session, library size, live
tolerances, and the calibration block. The projection values — median outcome, tolerance
band, delta, range, bias, match count and best-match error — are cleared at the start of
every confirmed bar, so those rows always show that bar's answer and never a leftover
from an earlier bar that happened to match. The library and calibration counters are
cumulative by design and do not clear.
The same state is also published to the Data Window as plain numbers, which is easier to
read than canvas text while you are tuning.
ON THE CALIBRATION NUMBERS
The dashboard reports mean projection error, not accuracy.
It is the average distance between projection and outcome, expressed as a share of the
size of the move that actually occurred, measured over the most recent resolved
projections on the chart you are looking at. It is computed in-sample, on bars the engine
had already stored, and it is not a forward result.
It is there so you can tell whether your tolerances are set sensibly. It is not evidence
that the tool works, and it should not be read as a hit rate. Because the actual move is
the denominator, the figure also moves with volatility regime rather than with skill
alone — quiet bars punish it, large moves flatter it.
ON REPAINTING
Two specific claims, both checkable in the source:
There are no request.security() calls anywhere in this script. Every value is computed
from the chart's own bars, so there is no higher-timeframe lookahead question to get
wrong in the first place.
Every drawing and every dashboard write sits inside a single barstate.isconfirmed gate.
Nothing is created, moved or deleted while the live bar is still forming.
A projection does extend to bars that have not happened yet. It does not move once drawn.
It is simply right or wrong, and the trail is there so you can see which.
SETTINGS WORTH KNOWING
Sequence Length — how many candles form the fingerprint. Longer is stricter and finds
fewer matches, and the effect is multiplicative rather than linear.
Min Matches Required — below this count nothing is drawn.
Delta Percentile — 50 is the median. Move it to read the pessimistic or optimistic tail
of the same match set rather than its centre.
Auto-Tune Tolerances — off by default; see above before enabling.
Strict Direction — the difference between "these candles had the same shape" and "these
candles had the same shape and went the same way."
WHAT THIS IS NOT
This is a visualization and analysis tool, not a trading system. It does not produce
advice. Nothing here is a signal to enter or exit a position, and no performance is
claimed or implied. Markets change regime, and any tool built on historical structure
will fail when they do. Use it as context alongside your own analysis.
One more thing worth saying plainly, and it is the honest counterweight to the tuning
advice above: a small sample of matches is a small sample. Two historical analogs tell
you very little, and the engine will draw a line from two just as readily as from thirty.
Min Matches ships at 2 because that is what it took to get the engine to speak on the
instrument it was measured on — which is a statement about how hard analogs are to find
in a 1,000-sequence library, not a claim that two is enough to believe. Loosening the
filters until something appears is easy, and it is exactly how you end up reading noise.
Watch the match count before you read the line, and treat a projection drawn from a
handful of precedents as the weak evidence it is.
Indicator

Indicator

CVD_Behav_V3Here is a comprehensive English explanation of the **CVD Pro: Institutional Behavior Panorama V3.0** indicator for PulseWire.
---
## CVD Pro: Institutional Behavior Panorama V3.0 – User Guide
### 1. Overview & Core Logic
This indicator is designed to **detect institutional (whale) activity** by combining **CVD (Cumulative Volume Delta)** with price position, volume purity, and slope analysis. It visualizes accumulation, distribution, attacks, absorption, churn, and momentum exhaustion in real time.
**Core Calculation:**
- **CVD** = cumulative sum of (buy volume – sell volume) estimated from intra-bar price action.
- **Normalized CVD** = (raw CVD – 50‑period SMA) / 50‑period stdev → z‑score for cross‑asset comparability.
- **Acceleration** = weighted change of CVD, multiplied by volume factor to filter noise.
**Three‑dimensional validation** ensures signals are meaningful:
1. **Price position** – relative to 100‑period high/low (bottom 30% / top 30%).
2. **Volume purity** – volume > 1.5× its 20‑period average (adjustable), but not extreme (>5×) to avoid outliers.
3. **Slope comparison** – 20‑period linear regression slopes of price and CVD.
---
### 2. Chart Signals (Overlay on Price)
| Symbol | Color / Shape | Meaning | Action |
|--------|---------------|---------|--------|
| **吸** (Accumulate) | Green label below bar | Price falling but CVD rising – smart money buying in a downtrend. | Light long, stop below signal low. |
| **发** (Distribute) | Red label above bar | Price rising but CVD falling – smart money selling into strength. | Reduce or exit longs; do not chase. |
| **攻** (Attack) | Purple triangle below bar | Price & CVD both rising, CVD slope > 0.5× price slope – genuine breakout with real volume. | Aggressive entry on breakout, stop below signal low. |
| **托** (Support) | Blue dot below bar | Price near 20‑day low, CVD stabilises – large passive bids absorbing selling. | Short‑term bounce play, but light position. |
| **换** (Absorption) | Orange diamond below bar | Narrow range (width <3%) with CVD surging – accumulation within a consolidation, often a handover between institutions. | Accumulation zone; wait for breakout above range high. |
| **对倒** (Churn) | Maroon triangle above bar | Price spikes (>1% slope) but CVD flat/declining – fake breakout via wash trading. | Avoid chasing; tighten stops on existing positions. |
| **减速** (Slowdown) | Yellow arrow above bar | After an “Attack”, acceleration declines for 3 bars – momentum fading. | Do not add; consider partial exit. |
| **B** (Bullish Divergence) | Green “B” below bar | Price makes new low, CVD does not – potential reversal. | Watch for confirmation with support. |
| **S** (Bearish Divergence) | Fuchsia “S” above bar | Price makes new high, CVD does not – potential top. | Reduce risk; tighten stops. |
---
### 3. Sub‑Chart (Lower Panel) – CVD & Acceleration
- **Purple line** – Normalized CVD (z‑score). Up = net buying, down = net selling.
- **Yellow line (fast)** – 5‑period EMA of normalized CVD.
- **Blue line (slow)** – 20‑period EMA of normalized CVD.
- **Golden cross (fast > slow)** = institutional thrust increasing (bullish).
- **Death cross (fast < slow)** = institutional thrust decreasing (bearish).
- **Red / Green histogram** – CVD acceleration (weighted).
- **Green & growing** = institutional acceleration (momentum increasing).
- **Red & growing** = deceleration (momentum decreasing).
- *Height reflects the strength of the change.*
---
### 4. Multi‑Timeframe Dashboard (Top‑Left Corner)
Displays the **fast vs slow CVD status** for 15m, 1h, 4h, and Daily:
- 🟢 Green dot = CVD fast > slow (bullish trend on that timeframe).
- 🔴 Red dot = CVD fast < slow (bearish trend).
**Position sizing guide:**
- All green → heavy (conviction).
- One red, three green → light.
- All red → stay in cash or short.
---
### 5. Step‑by‑Step Trading Workflow
1. **Set the macro bias** – Check the background colour:
- **Light green** = price above 200‑EMA → only long signals are valid.
- **Light red** = price below 200‑EMA → only short signals (or no signals) are valid.
- *Ignore counter‑trend signals.*
2. **Assess the dashboard** – Confirm the multi‑timeframe trend. All green → high confidence; mixed → reduce position size.
3. **Look for behaviour labels** that align with the macro trend:
- In a green background: **攻**, **吸**, or **换** are actionable buy signals.
- In a red background: ignore all buy labels.
4. **Monitor acceleration and divergences** for risk management:
- **S** or **减速** → tighten stops or take partial profits.
- **B** → watch for a possible reversal, but wait for confirmation.
---
### 6. Parameter Tuning Recommendations
| Parameter | Default | When to Adjust |
|-----------|---------|----------------|
| **Fast MA Length** | 5 | Lower (3) for more sensitivity (scalping); higher (13) for smoother signals (swing). |
| **Slow MA Length** | 20 | Increase for less frequent crossovers; decrease for earlier signals. |
| **Lookback (Position)** | 100 | Increase to 200 for stricter “bottom/top” definition on weekly charts. |
| **Volume Threshold** | 1.5 | Raise to 2.0 for crypto/futures to reduce noise; lower to 1.2 for stocks. |
| **EMA Period (Trend)** | 200 | Use 50 for short‑term trend; 200 for long‑term. |
| **Show options** | All true | Toggle off CVD, MA, or acceleration for cleaner view. |
---
### 7. Alerts (Notifications)
The indicator provides **one‑time alerts** (on first occurrence) for:
- High‑confidence Attack / Accumulate / Distribute
- Absorption (range accumulation)
- Bullish / Bearish divergence
- Momentum slowdown
- Churn (fake breakout)
**Set up alerts** via the PulseWire alarm dialog – select the condition and enable push notifications.
---
### 8. Important Risk Disclaimers
- **Data limitations** – CVD is estimated from OHLC data, not tick‑by‑tick order flow. The indicator is a **tool for analysis, not a guaranteed predictor**.
- **Lag** – Signals appear 1‑2 bars after the actual event. Always combine with price action (support/resistance, candlestick patterns).
- **False signals** – Especially in low timeframes (<15 min). Use higher timeframes for reliability.
- **Backtesting** – Past performance does not guarantee future results. Always paper‑trade first.
- **Stop‑loss** – For any signal, place your stop **below the signal bar’s low** (for longs) or **above its high** (for shorts). Never trade without a stop.
---
### 9. Quick Reference Card
| You see... | Background | Dashboard | Action |
|------------|------------|-----------|--------|
| **攻** + green acceleration | Light green | All green | Aggressive long |
| **吸** | Light green | Mixed green/red | Light long, scale in |
| **换** | Light green | Any | Accumulate, wait for breakout |
| **对倒** or **减速** | Any | Any | Tighten stops, do not add |
| **发** or **S** | Light red | Mostly red | Short or exit longs |
| **B** | Light red | Red | Wait; do not buy yet |
---
### 10. Final Words
This indicator transforms raw volume and price data into **actionable institutional footprints**. It does not replace your own judgment but provides an objective framework to **filter noise, confirm trends, and manage risk**.
Use it with discipline – always combine signals with proper risk management and your own market context.
Happy trading! 📈 Indicator

Market Correlation Visualizer (Z-Score)Market Correlation Visualizer (Z-Score & % Var)
OVERVIEW
The Market Correlation Visualizer is a multi-asset analysis tool designed for intraday traders and quant analysts. Instead of relying on static correlation tables, this script plots real-time relative performance across up to 8 benchmark assets (Indices, Volatility, Commodities, Bonds, and Crypto) directly on your chart panel.
By standardizing assets through either Z-Score (Standard Deviations) or Percentage Change, you can instantly spot institutional imbalances, intermarket divergences, and statistical overextensions before they manifest on price action alone.
KEY FEATURES
Dual Engine Calculation:
Z-Score Normalization scales price movements based on rolling standard deviation. It identifies when an asset is statistically overbought/oversold relative to its peers.
Daily % Change Anchor normalizes performance from a customizable anchor time (e.g. Daily Open) to track pure percentage strength or weakness throughout the session.
Smart Right-Hand Labels:
Clean, dynamic labels automatically lock onto the right boundary of the indicator panel, displaying the ticker name and exact current reading. No need to memorize line colors.
Statistical Excess Zones (+/- 2.0 SD):
Visual upper and lower threshold bands immediately highlight extreme mean-reversion zones when using Z-Score mode.
Selective Visibility Filters:
Toggle up to 8 custom symbols on or off directly from the settings menu to keep your workspace uncluttered.
Error-Handled Security Fetching:
Built with robust fallback logic to ensure smooth performance across various brokers without breaking the chart panel if a specific ticker fails to load.
HOW TO USE FOR INTRADAY TRADING
Spotting SMT / Intermarket Divergences:
Watch key correlated pairs (e.g. ES vs NQ). If one index makes a new high while the visualizer line on the other fails to confirm, a liquidity sweep or SMT divergence is in play.
Mean-Reversion & Arbitrage:
When an asset crosses outside the +/- 2.0 Standard Deviation band while others remain neutral, it indicates an overextended asset prone to snapping back toward the zero-line.
Volatility Confirmation:
Track VIX against equity futures (ES, NQ). If ES hits a new low but the VIX line fails to push upward, the selling momentum lacks institutional backing.
DEFAULT TICKERS INCLUDED
Asset 1: TVC:VIX (Volatility)
Asset 2: CME_MINI:ES1! (S&P 500)
Asset 3: CME_MINI:NQ1! (Nasdaq 100)
Asset 4: COMEX:GC1! (Gold)
Assets 5 to 8 (Optional): NYMEX:CL1! (Crude Oil), CBOT:ZB1! (30Y Bonds), CME_MINI:RTY1! (Russell 2000), BINANCE:BTCUSDT (Bitcoin).
All inputs can be fully customized in the script settings. Indicator

Indicator

ICT 8 PM New York Levels (J & P)//@version=6
indicator('ICT 8 PM New York Levels', overlay = true)
// ===== Inputs =====
candleColor = input.color(color.orange, '8 PM Candle Color')
highColor = input.color(color.lime, 'High Line')
lowColor = input.color(color.red, 'Low Line')
lineWidth = input.int(2, 'Line Width', minval = 1, maxval = 5)
// ===== Detect 8:00 PM New York =====
nyHour = hour(time, 'America/New_York')
nyMin = minute(time, 'America/New_York')
is8PM = nyHour == 20 and nyMin == 0
// ===== Variables =====
var line highLine = na
var line lowLine = na
var label sessionLabel = na
// ===== Draw Levels =====
if is8PM
// Delete yesterday's levels
if not na(highLine)
line.delete(highLine)
if not na(lowLine)
line.delete(lowLine)
if not na(sessionLabel)
label.delete(sessionLabel)
// Draw today's High
highLine := line.new(bar_index, high, bar_index + 1, high, extend = extend.right, color = highColor, width = lineWidth)
// Draw today's Low
lowLine := line.new(bar_index, low, bar_index + 1, low, extend = extend.right, color = lowColor, width = lineWidth)
// Label
sessionLabel := label.new(bar_index, high, '8 PM NY', style = label.style_label_down, color = color.orange, textcolor = color.black)
sessionLabel
// ===== Color Candle =====
barcolor(is8PM ? candleColor : na)
Indicator

Indicator

Indicator
