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
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。