OPEN-SOURCE SCRIPT
ATK/DEF Price Action Liquidity Mometum

PLM (Price Action Liquidity Momentum) is a custom market behavior analysis indicator designed to study the interaction between price action structure, liquidity conditions, and momentum characteristics through a multi-dimensional calcula framework.
The concept behind PLM is based on the observation that price movement contains multiple layers of information beyond simple direction. Each candle reflects internal market behavior through its body strength, range expansion, wick distribution, closing position, volume participation, and movement intensity.
Traditional indicators often analyze market conditions from a single perspective, such as trend, momentum, or volume. PLM takes a different approach by combining several independent measurements derived from raw candle data, volume behavior, and momentum calculat into one unified analytical structure.
The purpose of PLM is to transform different aspects of market behavior into measurable components, allowing users to observe how price structure, liquidity interaction, and momentum conditions change together across different market environments.
━━━━━━━━━━━━━━━━━━
PLM Core Framework
━━━━━━━━━━━━━━━━━━
PLM is built around three primary analytical dimensions:
1. Price Action
2. Liquidity
3. Momentum
Each component represents a different layer of market behavior.
━━━━━━━━━━━━━━━━━━
Price Action Analysis
━━━━━━━━━━━━━━━━━━
The Price Action component focuses on the internal structure of individual candles and recent candle sequences.
PLM evaluates:
• Candle body strength
• Candle range expansion
• Upper wick proportion
• Lower wick proportion
• Candle direction
• Multi-candle behavioral sequence
The candle body strength calculation measures the relationship between candle direction and total movement range.
The wick analysis observes how price interacts with different levels during candle formation, providing information about rejection characteristics and internal pressure distribution.
The three-candle classification system evaluate recent candle sequences by categorizing candle structures according to body percentag and directional strength.
This approach allows PLM to analyze how price movement is formed rather than only observing the final closing value.
━━━━━━━━━━━━━━━━━━
Liquidity Analysis
━━━━━━━━━━━━━━━━━━
The Liquidity component focuses on the relationship between price movement, volume participation, and internal market balance.
PLM incorporates:
• Chaikin Money Flow (CMF)
• Volume-weighted price positioning
• Wick pressure distribution
• Custom Whirlpool Index
The money flow calculation evaluates the relationship between candle closing location and volume activity.
The Whirlpool Index is a custom measurement developed within PLM to observe the interaction between upper and lower wick activity combined with candle strength.
This measurement represents the intensity of internal price competition and the balance between opposing market forces.
Higher values indicate stronger interaction and greater internal movement activity, while lower values represent relatively calmer conditions.
━━━━━━━━━━━━━━━━━━
Momentum Analysis
━━━━━━━━━━━━━━━━━━
The Momentum component evaluates the strength and condition of current market movement.
PLM combines:
• Price momentum measurement through RSI
• Volume momentum measurement through Volume RSI
The Momentum Index creates a combined numerical representation of movement characteristics by considering both price behavior and volume activity.
This allows momentum conditions to be viewed from both price-based and participation-based perspectives.
━━━━━━━━━━━━━━━━━━
Price and Flow Relationship Analysis
━━━━━━━━━━━━━━━━━━
PLM also includes a relationship measurement between price direction and mone flow behavior.
This component evaluates:
• Price movement direction
• Money flow direction
• Volatility condition
• Liquidity balance intensity
The purpose of this calculation is to observe differences between price behavior and volume-related conditions.
It is designed to highlight changes in market characteristics and internal behavior relationships rather than provide prediction-based output.
━━━━━━━━━━━━━━━━━━
Integrated Market Behavior Framework
━━━━━━━━━━━━━━━━━━
By combining Price Action, Liquidity, and Momentum analysis, PLM creates a structured framework that connects:
• Candle formation
• Volume participation
• Market pressure distribution
• Internal balance conditions
• Movement strength
Each measurement contributes a different perspective, allowing the indicator to display a broader view of market behavior compared with single-factor calculations.
The integrated dashboard presents these measurements in a compact format, including:
• Three-candle structure
• Body strength
• Money flow condition
• Liquidity balance intensity
• Momentum state
• Price and flow relationship
━━━━━━━━━━━━━━━━━━
Calculation Philosophy
━━━━━━━━━━━━━━━━━━
PLM is designed around the principle that market behavior can be studied through the interaction of multiple measurable factors.
Instead of relying on one calculation source, PLM combines independent observations from candle structure, volume information, and momentum characteristics to create a comprehensive visualization framework.
The indicator does not provide tradi instructions, does not generate finan advice, and does not attempt to predict future market movement.
PLM is intended as an analytical and visualization tool for studying price behavior, liquidity characteristics, and momentum conditions through objective calculations.
The concept behind PLM is based on the observation that price movement contains multiple layers of information beyond simple direction. Each candle reflects internal market behavior through its body strength, range expansion, wick distribution, closing position, volume participation, and movement intensity.
Traditional indicators often analyze market conditions from a single perspective, such as trend, momentum, or volume. PLM takes a different approach by combining several independent measurements derived from raw candle data, volume behavior, and momentum calculat into one unified analytical structure.
The purpose of PLM is to transform different aspects of market behavior into measurable components, allowing users to observe how price structure, liquidity interaction, and momentum conditions change together across different market environments.
━━━━━━━━━━━━━━━━━━
PLM Core Framework
━━━━━━━━━━━━━━━━━━
PLM is built around three primary analytical dimensions:
1. Price Action
2. Liquidity
3. Momentum
Each component represents a different layer of market behavior.
━━━━━━━━━━━━━━━━━━
Price Action Analysis
━━━━━━━━━━━━━━━━━━
The Price Action component focuses on the internal structure of individual candles and recent candle sequences.
PLM evaluates:
• Candle body strength
• Candle range expansion
• Upper wick proportion
• Lower wick proportion
• Candle direction
• Multi-candle behavioral sequence
The candle body strength calculation measures the relationship between candle direction and total movement range.
The wick analysis observes how price interacts with different levels during candle formation, providing information about rejection characteristics and internal pressure distribution.
The three-candle classification system evaluate recent candle sequences by categorizing candle structures according to body percentag and directional strength.
This approach allows PLM to analyze how price movement is formed rather than only observing the final closing value.
━━━━━━━━━━━━━━━━━━
Liquidity Analysis
━━━━━━━━━━━━━━━━━━
The Liquidity component focuses on the relationship between price movement, volume participation, and internal market balance.
PLM incorporates:
• Chaikin Money Flow (CMF)
• Volume-weighted price positioning
• Wick pressure distribution
• Custom Whirlpool Index
The money flow calculation evaluates the relationship between candle closing location and volume activity.
The Whirlpool Index is a custom measurement developed within PLM to observe the interaction between upper and lower wick activity combined with candle strength.
This measurement represents the intensity of internal price competition and the balance between opposing market forces.
Higher values indicate stronger interaction and greater internal movement activity, while lower values represent relatively calmer conditions.
━━━━━━━━━━━━━━━━━━
Momentum Analysis
━━━━━━━━━━━━━━━━━━
The Momentum component evaluates the strength and condition of current market movement.
PLM combines:
• Price momentum measurement through RSI
• Volume momentum measurement through Volume RSI
The Momentum Index creates a combined numerical representation of movement characteristics by considering both price behavior and volume activity.
This allows momentum conditions to be viewed from both price-based and participation-based perspectives.
━━━━━━━━━━━━━━━━━━
Price and Flow Relationship Analysis
━━━━━━━━━━━━━━━━━━
PLM also includes a relationship measurement between price direction and mone flow behavior.
This component evaluates:
• Price movement direction
• Money flow direction
• Volatility condition
• Liquidity balance intensity
The purpose of this calculation is to observe differences between price behavior and volume-related conditions.
It is designed to highlight changes in market characteristics and internal behavior relationships rather than provide prediction-based output.
━━━━━━━━━━━━━━━━━━
Integrated Market Behavior Framework
━━━━━━━━━━━━━━━━━━
By combining Price Action, Liquidity, and Momentum analysis, PLM creates a structured framework that connects:
• Candle formation
• Volume participation
• Market pressure distribution
• Internal balance conditions
• Movement strength
Each measurement contributes a different perspective, allowing the indicator to display a broader view of market behavior compared with single-factor calculations.
The integrated dashboard presents these measurements in a compact format, including:
• Three-candle structure
• Body strength
• Money flow condition
• Liquidity balance intensity
• Momentum state
• Price and flow relationship
━━━━━━━━━━━━━━━━━━
Calculation Philosophy
━━━━━━━━━━━━━━━━━━
PLM is designed around the principle that market behavior can be studied through the interaction of multiple measurable factors.
Instead of relying on one calculation source, PLM combines independent observations from candle structure, volume information, and momentum characteristics to create a comprehensive visualization framework.
The indicator does not provide tradi instructions, does not generate finan advice, and does not attempt to predict future market movement.
PLM is intended as an analytical and visualization tool for studying price behavior, liquidity characteristics, and momentum conditions through objective calculations.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.