OPEN-SOURCE SCRIPT
ATK/DEF High Low & MA Engine

ATK/DEF High Low & MA Engine is a market structure analysis framework designed to evalu histor high and low price behavior together with moving average structure, momentum conditio, and volume environment.
Unlike traditional high and low markers that only display previous turning points, this indicator focuses on analyzing the quality and context of price extr by combining swing point identification with broade market conditions.
The purpose of this engine is to provide a structured view of how histo highs and lows develo, how pric interacts with different market phases, and how trend structure changes around important pric areas.
High & Low Structure Analysis
The indicator identifies swing highs and swing lows using pivot-based market structure detection.
Rather than treati eve high or low as equally signific, the framework is designed to highlight the relationship between:
Historical price turning points
Market direction
Trend organization
Pric momentum conditions
Trad activity environment
Swing points represent areas where pric previously experienced a structural reaction. These points can be used as references for stud market behavior and price development.
ATK / DEF Market Structure Concept
The indicator uses the concept of:
ATK (Attack Structure)
and
DEF (Defense Structure)
to describe different pric behaviors around market movement.
ATK focuses on directional strength and pric expansion characteristics.
DEF focuses on pric holding behavior, reaction areas, and structural balance.
This framework does not classify market movement as a guaran future outcome. Instead, it provides a visual representation of current market structure conditions based on histor price information.
Moving Average Structure Engine
The indicator integrates three moving averages to evalu market organization across different periods.
The MA framework analyzes:
Short-term price movement
Medium-term structure
Longer-term market direction
The relationship between multiple moving averages helps display:
Trend alignment
Directional consistency
Transition phases
Mixed market conditions
Instead of relying on a single moving average, the engine observes the interaction between different periods to provide a broader view of market structure.
Momentum & Market Condition Evaluati
The engine includes momentum observation by comparing recent pric movement with previous pric levels.
This component evaluates:
Pric expansion strength
Directional momentum
Neutral conditions
Weakenin movement
Momentum information is displayed as part of the overall market condition analysis and is intended to provide additional context around pric structure.
Volume Environment Analysis
Volume conditions are included to measure the activity level behind price movement.
The volume module compares current activity against histor volume behavior to classify market participation conditions.
This helps analyze whether pric movement is occurring in:
Higher activ environments
Normal participation conditions
Lower activity environments
Volume information is used as a contextu factor and is not designed to predic future pric movement.
Multi-Factor Market Rating Framework
The data panel combines mul market observations into a summa structural view.
The evaluation considers factors including:
Moving average alig
Moving average direction
Momentum condition
Volume environment
Pric position relative to moving averages
The displayed condition represents the current relationship between these factors and should be interpre as a market context reference rather than a standal tra decision.
Difference From Traditional High/Low Indicators
Traditional high and low indicators generally focus only on locat previous turning points.
ATK/DEF High Low & MA Engine expands this concept by combining:
Swing structure
Trend organization
Momentum context
Volume environment
Market condition overview
The objective is not simply to mark where pric changed direction, but to stu why those histo highs and lows devel within different market environments.
Design Philosophy
Markets are dyna systems where price extremes are created through the interaction of movement, participation, and structure.
This indicator is designed around the idea that a high or low point should be viewe together with its surrou conditions rather than as an isolat pric lev.
By combining structural highs/lows with moving average behavior and market context, the engine provides a more complete visualization of pric behavior.
Features
• Pivot-based swing high and swing low detection
• Three-period moving average structure analysis
• Trend arrangement observation
• Momentum condition display
• Volume environment monitoring
• Market condition dashboard
• Structural high/low visualization
• Multi-factor context evalua
Important Note
ATK/DEF High Low & MA Engine is an analytical tool designed to visualize market structure and histori pric behavior.
It does not provide finan advice, guaran outcomes, or direct tra instructions.
Users should combine this tool with their own analysis, risk manageme, and tra methodology when making decisions.
Unlike traditional high and low markers that only display previous turning points, this indicator focuses on analyzing the quality and context of price extr by combining swing point identification with broade market conditions.
The purpose of this engine is to provide a structured view of how histo highs and lows develo, how pric interacts with different market phases, and how trend structure changes around important pric areas.
High & Low Structure Analysis
The indicator identifies swing highs and swing lows using pivot-based market structure detection.
Rather than treati eve high or low as equally signific, the framework is designed to highlight the relationship between:
Historical price turning points
Market direction
Trend organization
Pric momentum conditions
Trad activity environment
Swing points represent areas where pric previously experienced a structural reaction. These points can be used as references for stud market behavior and price development.
ATK / DEF Market Structure Concept
The indicator uses the concept of:
ATK (Attack Structure)
and
DEF (Defense Structure)
to describe different pric behaviors around market movement.
ATK focuses on directional strength and pric expansion characteristics.
DEF focuses on pric holding behavior, reaction areas, and structural balance.
This framework does not classify market movement as a guaran future outcome. Instead, it provides a visual representation of current market structure conditions based on histor price information.
Moving Average Structure Engine
The indicator integrates three moving averages to evalu market organization across different periods.
The MA framework analyzes:
Short-term price movement
Medium-term structure
Longer-term market direction
The relationship between multiple moving averages helps display:
Trend alignment
Directional consistency
Transition phases
Mixed market conditions
Instead of relying on a single moving average, the engine observes the interaction between different periods to provide a broader view of market structure.
Momentum & Market Condition Evaluati
The engine includes momentum observation by comparing recent pric movement with previous pric levels.
This component evaluates:
Pric expansion strength
Directional momentum
Neutral conditions
Weakenin movement
Momentum information is displayed as part of the overall market condition analysis and is intended to provide additional context around pric structure.
Volume Environment Analysis
Volume conditions are included to measure the activity level behind price movement.
The volume module compares current activity against histor volume behavior to classify market participation conditions.
This helps analyze whether pric movement is occurring in:
Higher activ environments
Normal participation conditions
Lower activity environments
Volume information is used as a contextu factor and is not designed to predic future pric movement.
Multi-Factor Market Rating Framework
The data panel combines mul market observations into a summa structural view.
The evaluation considers factors including:
Moving average alig
Moving average direction
Momentum condition
Volume environment
Pric position relative to moving averages
The displayed condition represents the current relationship between these factors and should be interpre as a market context reference rather than a standal tra decision.
Difference From Traditional High/Low Indicators
Traditional high and low indicators generally focus only on locat previous turning points.
ATK/DEF High Low & MA Engine expands this concept by combining:
Swing structure
Trend organization
Momentum context
Volume environment
Market condition overview
The objective is not simply to mark where pric changed direction, but to stu why those histo highs and lows devel within different market environments.
Design Philosophy
Markets are dyna systems where price extremes are created through the interaction of movement, participation, and structure.
This indicator is designed around the idea that a high or low point should be viewe together with its surrou conditions rather than as an isolat pric lev.
By combining structural highs/lows with moving average behavior and market context, the engine provides a more complete visualization of pric behavior.
Features
• Pivot-based swing high and swing low detection
• Three-period moving average structure analysis
• Trend arrangement observation
• Momentum condition display
• Volume environment monitoring
• Market condition dashboard
• Structural high/low visualization
• Multi-factor context evalua
Important Note
ATK/DEF High Low & MA Engine is an analytical tool designed to visualize market structure and histori pric behavior.
It does not provide finan advice, guaran outcomes, or direct tra instructions.
Users should combine this tool with their own analysis, risk manageme, and tra methodology when making decisions.
Open-source script
In true PulseWire spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by PulseWire. Read more in the Terms of Use.
Open-source script
In true PulseWire spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by PulseWire. Read more in the Terms of Use.
