OPEN-SOURCE SCRIPT
ZP AlignedEdge multi-confluence trading

ZP AlignedEdge is a multi-confluence trading suite built on one core principle:
only trade when market structure, momentum, and higher timeframe trend align.
HOW IT WORKS
Market Structure Engine detects pivot highs and lows using configurable swing
length. Supply zones form at confirmed swing highs, Demand zones at swing lows.
Zone width scales dynamically with ATR(50). Overlapping zones are filtered
automatically. Zones invalidate and convert to BOS markers when price closes
beyond them.
Fair Value Gap (FVG) detection identifies 3-bar imbalances in both directions.
Each FVG displays its Consequent Encroachment (CE) level. Gaps auto-remove when
price fully mitigates them.
MSB + EMA Signal fires only when three conditions align simultaneously: a
confirmed Market Structure Break (close crossing a validated swing high or low),
an EMA crossover (EMA50/EMA100 or EMA100/LWMA240), and the Higher Timeframe
trend filter (user-selectable M15 H1 H4). All signals fire on bar close only.
Fully anti-repainting.
Market Sessions display London, New York, Tokyo, Hong Kong, Sydney with
DST-aware timing. PVSRA Liquidity Zones highlight institutional volume candles.
Credits:
PVSRA Liquidity Zone logic — TradersReality/Traders_Reality_Lib
ZigZag library — TradingView/ZigZag/7
FVG and Supply Demand Zone structure inspired by DIY Custom Strategy Builder
only trade when market structure, momentum, and higher timeframe trend align.
HOW IT WORKS
Market Structure Engine detects pivot highs and lows using configurable swing
length. Supply zones form at confirmed swing highs, Demand zones at swing lows.
Zone width scales dynamically with ATR(50). Overlapping zones are filtered
automatically. Zones invalidate and convert to BOS markers when price closes
beyond them.
Fair Value Gap (FVG) detection identifies 3-bar imbalances in both directions.
Each FVG displays its Consequent Encroachment (CE) level. Gaps auto-remove when
price fully mitigates them.
MSB + EMA Signal fires only when three conditions align simultaneously: a
confirmed Market Structure Break (close crossing a validated swing high or low),
an EMA crossover (EMA50/EMA100 or EMA100/LWMA240), and the Higher Timeframe
trend filter (user-selectable M15 H1 H4). All signals fire on bar close only.
Fully anti-repainting.
Market Sessions display London, New York, Tokyo, Hong Kong, Sydney with
DST-aware timing. PVSRA Liquidity Zones highlight institutional volume candles.
Credits:
PVSRA Liquidity Zone logic — TradersReality/Traders_Reality_Lib
ZigZag library — TradingView/ZigZag/7
FVG and Supply Demand Zone structure inspired by DIY Custom Strategy Builder
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.