OPEN-SOURCE SCRIPT
Trend Pulse

MSL Trend Pulse is a comprehensive indicator designed to analyze the current market regime, buying and selling pressure, and the strength of completed bullish and bearish waves.
The indicator is built around three interconnected calculation components:
Predictive Balance — a predictive market-equilibrium level.
Pressure Pulse — an oscillator measuring current directional pressure.
Wave Memory — a system for evaluating completed bullish and bearish pressure waves.
Each component has a distinct purpose, but none of them operates independently. The output of one calculation block becomes an input for the next, creating a single integrated market-state model.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 What the indicator is designed to answer
MSL Trend Pulse helps traders evaluate five questions in sequence:
What directional market regime is currently active?
Which side is applying more pressure: buyers or sellers?
Is current pressure aligned with the broader Bias or moving against it?
How strong is the current pressure?
Is that pressure strengthening, fading, expanding, cooling, or becoming overheated?
This is not a mechanical entry-and-exit system and not a simple collection of several standard indicators placed in one script.
MSL Trend Pulse was designed as a unified analytical model in which:
Predictive Balance identifies the price regime;
Pressure Pulse measures current directional pressure;
Wave Memory evaluates the strength of completed waves;
Dashboard combines the results into a readable market-state interpretation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 Why these components are combined
Predictive Balance estimates a dynamic market-equilibrium level and the direction in which that equilibrium is moving.
The movement of Predictive Balance and the distance between price and the balance level are then used as inputs in the calculation of Pressure Pulse.
Pressure Pulse determines:
the direction of current pressure;
the intensity of that pressure;
the beginning of a new pressure wave;
the completion of the previous pressure wave.
Completed pressure sequences are passed to Wave Memory.
Wave Memory separately maintains reference strength for:
bullish waves;
bearish waves.
These reference values are used to calculate the slower-moving market Bias.
Each component therefore adds a different layer of information:
Predictive Balance describes the price regime;
Pressure Pulse describes current pressure;
Wave Memory describes the historical wave context;
Dashboard provides the final interpretation.
Standard Pine Script functions, including ATR and EMA, are used only for volatility normalization and smoothing.
They are not used as standalone trade signals and do not form a conventional moving-average crossover system.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚖️ Predictive Balance
Predictive Balance is a recursive level-and-drift model.
The calculation uses a weighted price source:
Price Source = (High + Low + 2 × Close) / 4
The closing price receives additional weight because Close represents the final price accepted during the current period.
The indicator then measures directional path efficiency over the selected Direction Window.
Path efficiency compares:
the net distance between the beginning and end of the calculation window;
the total absolute path traveled by price during the same period.
High path efficiency
Price moved consistently and predominantly in one direction.
Low path efficiency
Price traveled through a large number of alternating movements but made relatively little net progress.
The resulting efficiency value controls how quickly Predictive Balance reacts.
The model first projects the next balance level by:
taking the previous balance value;
adding the previously estimated directional drift.
It then calculates the prediction error: the difference between the projected level and the current weighted price.
This prediction error updates two elements simultaneously:
the current Predictive Balance level;
the direction and speed of the drift.
As a result, the line can:
react faster during efficient directional movement;
become more stable during noisy or sideways conditions;
account not only for the position of price, but also for the direction of its own estimated movement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔺 Market regime changes
The market regime does not change simply because price touches or briefly crosses Predictive Balance.
An adaptive confirmation zone is calculated around the balance line using:
current ATR;
directional path efficiency;
the base band width;
the selected level of noise protection.
During irregular or inefficient price movement, the zone becomes wider.
During consistent directional movement, the zone can become narrower.
Bullish regime confirmation
A bullish regime change requires both conditions:
price closes above the upper boundary of the adaptive zone;
Predictive Balance drift is positive.
Bearish regime confirmation
A bearish regime change requires both conditions:
price closes below the lower boundary of the adaptive zone;
Predictive Balance drift is negative.
This state-retention logic reduces frequent bullish and bearish switches around the balance line.
A green upward-pointing triangle marks a confirmed transition into a bullish regime.
A red downward-pointing triangle marks a confirmed transition into a bearish regime.
The triangles represent changes in the calculated regime. They are not standalone recommendations to buy or sell an asset.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Pressure Pulse
Pressure Pulse measures current directional pressure using four interconnected price characteristics.
1. Candle body pressure — 35%
The distance between Open and Close is normalized by ATR.
This component measures the directional displacement of the candle relative to current market volatility.
2. Closing-location pressure — 25%
Close is evaluated relative to the candle’s full High–Low range.
A close near the High increases positive pressure.
A close near the Low increases negative pressure.
A close near the middle of the range produces a more neutral reading.
3. Predictive Balance movement — 25%
The change in Predictive Balance is normalized by ATR.
This component reflects the direction and speed of the estimated equilibrium level.
4. Price stretch — 15%
The distance between Close and Predictive Balance is normalized by ATR.
This component measures how far price has extended from the estimated market equilibrium.
After the four components are combined, the result passes through an adaptive pressure-memory process.
In noisy market conditions
Pressure memory becomes shorter, allowing weak and irregular pressure to decay more quickly.
In directional market conditions
Pressure memory becomes longer, allowing persistent pressure to remain visible for a longer period.
The accumulated result is then:
normalized against its own recent average amplitude;
smoothed;
softly compressed to maintain a comparable visual scale across different instruments and timeframes.
Reading the histogram
Above zero — bullish pressure is dominant.
Below zero — bearish pressure is dominant.
Rising bars — directional pressure is increasing.
Shrinking bars — directional pressure is fading.
High amplitude — strong normalized pressure.
Low amplitude — weak pressure.
Pressure Pulse does not reset when price crosses Predictive Balance.
This makes it possible to follow the development of pressure independently of a single price-to-line crossover.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌊 Wave Memory
Wave Memory analyzes completed sequences of bullish and bearish pressure.
Beginning of a bullish wave
A bullish wave begins when Pressure Pulse moves above the positive Wave Deadband boundary.
Beginning of a bearish wave
A bearish wave begins when Pressure Pulse moves below the negative Wave Deadband boundary.
The neutral area around zero prevents every small histogram fluctuation from creating a new wave.
For each completed wave, the script calculates:
average absolute pressure;
peak absolute pressure;
duration in bars;
price-path efficiency.
Price-path efficiency compares:
the net price movement from the beginning to the end of the wave;
the total absolute price path traveled during that wave.
If price moved predominantly in one direction, efficiency will be high.
If the wave contained substantial movement but produced little net price change, efficiency will be low.
The final wave-strength calculation incorporates:
70% average pressure;
30% peak pressure;
the square root of wave duration;
an adjustment for price-path efficiency.
Bullish and bearish waves update separate historical reference values.
A newly completed wave does not immediately replace the previous reference. Instead, it gradually updates the corresponding reference according to the Reference Update setting.
This process creates a more stable wave-based Bias.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧭 Dashboard
The Dashboard displays four characteristics of the current market state:
Phase — the relationship between current pressure and Bias.
Magnitude — the current strength of Pressure Pulse.
Bias — the relative strength of completed bullish and bearish waves.
State — the current development stage of directional pressure.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Phase — market phase
Bullish Impulse
Bullish pressure is aligned with bullish Bias.
Current movement supports the broader bullish wave context.
Bearish Impulse
Bearish pressure is aligned with bearish Bias.
Current movement supports the broader bearish wave context.
Bullish Pullback
Bullish pressure is developing against bearish Bias.
This may represent a corrective movement within a broader bearish context.
Bearish Pullback
Bearish pressure is developing against bullish Bias.
This may represent a corrective decline within a broader bullish context.
Bullish Pressure
Bullish pressure is active, but completed waves have not yet established a clear directional Bias.
Bearish Pressure
Bearish pressure is active, but completed waves have not yet established a clear directional Bias.
Balanced
Pressure Pulse remains inside the neutral deadband, so meaningful directional pressure is not currently present.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Magnitude — pressure strength
Magnitude is based on the absolute value of the current normalized Pressure Pulse:
Weak — below 0.40.
Normal — from 0.40 to 0.85.
Strong — from 0.85 to 1.30.
Extreme — 1.30 and above.
Magnitude measures the current intensity of pressure. It does not represent the probability of a future move and does not predict how far price may travel.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Bias — wave direction
Bullish
Completed bullish waves are stronger on average than completed bearish waves.
Bearish
Completed bearish waves are stronger on average than completed bullish waves.
Neutral
Neither side has established sufficient relative dominance.
Bias is calculated from completed pressure waves and therefore intentionally changes more slowly than Pressure Pulse.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
State — pressure development
Building
Pressure is increasing while Bias remains neutral.
Fading
Pressure is decreasing while Bias remains neutral.
Expansion
Pressure is aligned with a directional Bias and continues to increase.
Cooling
Pressure is moving against Bias or is beginning to lose strength.
Overheated
Pressure has reached an extreme level but has already started to weaken.
Balanced
No meaningful directional-pressure state is currently present.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 How to use the indicator
A practical analysis sequence is:
Identify the active regime using the color of Predictive Balance and the most recent triangle.
Review Bias to determine which side has produced stronger completed waves.
Use Phase to determine whether current pressure supports Bias or represents a counter-move.
Use Magnitude to evaluate the current intensity of pressure.
Use State to determine whether pressure is strengthening or losing momentum.
Example 1
Bullish Bias + Bullish Impulse + Expansion
Bullish pressure supports the broader bullish wave context and continues to strengthen.
Example 2
Bullish Bias + Bearish Pullback + Cooling
Bearish pressure is developing against bullish Bias, but the counter-move is losing strength.
Example 3
Bearish Bias + Bullish Pullback + Cooling
Bullish pressure is present against the broader bearish context but has begun to weaken.
Example 4
Neutral Bias + Bullish Pressure + Building
Bullish pressure is increasing, but completed waves have not yet established a sustained advantage for buyers.
Possible applications
MSL Trend Pulse can be used for:
market-regime confirmation;
pullback analysis;
current momentum assessment;
evaluating alignment between current pressure and Bias;
filtering trading scenarios;
monitoring the strengthening and weakening of directional movement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alerts
The indicator includes four alert conditions:
MSL Bull Flip — a transition into a bullish regime has been confirmed.
MSL Bear Flip — a transition into a bearish regime has been confirmed.
MSL Pressure Up — Pressure Pulse crossed above zero.
MSL Pressure Down — Pressure Pulse crossed below zero.
When Confirm Flips On Bar Close is enabled, regime changes and corresponding alerts are confirmed only after the candle closes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Main settings
Direction Window
Controls the period used to measure directional path efficiency.
Minimum Reaction / Maximum Reaction
Define the lower and upper limits of Predictive Balance reaction speed.
Drift Learning
Controls how quickly the model learns changes in market direction and movement speed.
Drift Damping
Controls how quickly previously estimated drift loses its influence.
Volatility Length
Defines the ATR period used for volatility normalization.
Flip Band Base
Sets the minimum width of the adaptive regime-confirmation zone.
Noise Protection
Widens the regime-change zone during noisy or inefficient market movement.
Normalisation Length
Defines the period used to normalize Pressure Pulse against its own recent amplitude.
Pulse Smoothing
Controls the final smoothing applied to the Pressure Pulse histogram.
Minimum Memory / Maximum Memory
Define the lower and upper limits of pressure persistence.
Wave Deadband
Defines the neutral zone used to separate bullish and bearish pressure waves.
Reference Update
Controls how strongly each completed wave updates its corresponding historical reference.
Minimum Wave Bars
Defines the minimum wave duration required before a completed wave can update Wave Memory.
Window
Allows wave statistics to use all available chart history or begin from a selected date.
Reactive Candles
Colors candles according to the direction and intensity of Pressure Pulse.
Glow Effect / Glow Intensity
Control the visual glow applied to Predictive Balance and the Pressure Pulse histogram.
These settings affect presentation only. They do not change calculations, regime logic, or alerts.
Dashboard Position
Allows the Dashboard to be placed in the upper-right, middle-right, or lower-right area of the chart.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ Calculation behavior and limitations
The indicator does not use future bars.
Values on closed historical candles remain fixed after those candles are completed.
Values on the active candle may change before it closes because High, Low, and Close are not yet final.
Bias is based on completed waves and therefore reacts more slowly than Pressure Pulse.
During the early stage of a reversal, Bias may temporarily retain its previous direction.
Sudden gaps and news-driven candles can cause rapid changes in Predictive Balance and Pressure Pulse.
Results may be less stable on low-liquidity instruments.
Indicator behavior depends on the instrument, volatility environment, and selected timeframe.
MSL Trend Pulse does not calculate:
position size;
stop-loss placement;
profit targets;
acceptable trade risk;
mechanical entry or exit points.
The indicator is designed to analyze market context. No individual Dashboard state, line color, triangle, or histogram reading should be interpreted as a guaranteed forecast of future price movement.
The indicator is built around three interconnected calculation components:
Predictive Balance — a predictive market-equilibrium level.
Pressure Pulse — an oscillator measuring current directional pressure.
Wave Memory — a system for evaluating completed bullish and bearish pressure waves.
Each component has a distinct purpose, but none of them operates independently. The output of one calculation block becomes an input for the next, creating a single integrated market-state model.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 What the indicator is designed to answer
MSL Trend Pulse helps traders evaluate five questions in sequence:
What directional market regime is currently active?
Which side is applying more pressure: buyers or sellers?
Is current pressure aligned with the broader Bias or moving against it?
How strong is the current pressure?
Is that pressure strengthening, fading, expanding, cooling, or becoming overheated?
This is not a mechanical entry-and-exit system and not a simple collection of several standard indicators placed in one script.
MSL Trend Pulse was designed as a unified analytical model in which:
Predictive Balance identifies the price regime;
Pressure Pulse measures current directional pressure;
Wave Memory evaluates the strength of completed waves;
Dashboard combines the results into a readable market-state interpretation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 Why these components are combined
Predictive Balance estimates a dynamic market-equilibrium level and the direction in which that equilibrium is moving.
The movement of Predictive Balance and the distance between price and the balance level are then used as inputs in the calculation of Pressure Pulse.
Pressure Pulse determines:
the direction of current pressure;
the intensity of that pressure;
the beginning of a new pressure wave;
the completion of the previous pressure wave.
Completed pressure sequences are passed to Wave Memory.
Wave Memory separately maintains reference strength for:
bullish waves;
bearish waves.
These reference values are used to calculate the slower-moving market Bias.
Each component therefore adds a different layer of information:
Predictive Balance describes the price regime;
Pressure Pulse describes current pressure;
Wave Memory describes the historical wave context;
Dashboard provides the final interpretation.
Standard Pine Script functions, including ATR and EMA, are used only for volatility normalization and smoothing.
They are not used as standalone trade signals and do not form a conventional moving-average crossover system.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚖️ Predictive Balance
Predictive Balance is a recursive level-and-drift model.
The calculation uses a weighted price source:
Price Source = (High + Low + 2 × Close) / 4
The closing price receives additional weight because Close represents the final price accepted during the current period.
The indicator then measures directional path efficiency over the selected Direction Window.
Path efficiency compares:
the net distance between the beginning and end of the calculation window;
the total absolute path traveled by price during the same period.
High path efficiency
Price moved consistently and predominantly in one direction.
Low path efficiency
Price traveled through a large number of alternating movements but made relatively little net progress.
The resulting efficiency value controls how quickly Predictive Balance reacts.
The model first projects the next balance level by:
taking the previous balance value;
adding the previously estimated directional drift.
It then calculates the prediction error: the difference between the projected level and the current weighted price.
This prediction error updates two elements simultaneously:
the current Predictive Balance level;
the direction and speed of the drift.
As a result, the line can:
react faster during efficient directional movement;
become more stable during noisy or sideways conditions;
account not only for the position of price, but also for the direction of its own estimated movement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔺 Market regime changes
The market regime does not change simply because price touches or briefly crosses Predictive Balance.
An adaptive confirmation zone is calculated around the balance line using:
current ATR;
directional path efficiency;
the base band width;
the selected level of noise protection.
During irregular or inefficient price movement, the zone becomes wider.
During consistent directional movement, the zone can become narrower.
Bullish regime confirmation
A bullish regime change requires both conditions:
price closes above the upper boundary of the adaptive zone;
Predictive Balance drift is positive.
Bearish regime confirmation
A bearish regime change requires both conditions:
price closes below the lower boundary of the adaptive zone;
Predictive Balance drift is negative.
This state-retention logic reduces frequent bullish and bearish switches around the balance line.
A green upward-pointing triangle marks a confirmed transition into a bullish regime.
A red downward-pointing triangle marks a confirmed transition into a bearish regime.
The triangles represent changes in the calculated regime. They are not standalone recommendations to buy or sell an asset.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Pressure Pulse
Pressure Pulse measures current directional pressure using four interconnected price characteristics.
1. Candle body pressure — 35%
The distance between Open and Close is normalized by ATR.
This component measures the directional displacement of the candle relative to current market volatility.
2. Closing-location pressure — 25%
Close is evaluated relative to the candle’s full High–Low range.
A close near the High increases positive pressure.
A close near the Low increases negative pressure.
A close near the middle of the range produces a more neutral reading.
3. Predictive Balance movement — 25%
The change in Predictive Balance is normalized by ATR.
This component reflects the direction and speed of the estimated equilibrium level.
4. Price stretch — 15%
The distance between Close and Predictive Balance is normalized by ATR.
This component measures how far price has extended from the estimated market equilibrium.
After the four components are combined, the result passes through an adaptive pressure-memory process.
In noisy market conditions
Pressure memory becomes shorter, allowing weak and irregular pressure to decay more quickly.
In directional market conditions
Pressure memory becomes longer, allowing persistent pressure to remain visible for a longer period.
The accumulated result is then:
normalized against its own recent average amplitude;
smoothed;
softly compressed to maintain a comparable visual scale across different instruments and timeframes.
Reading the histogram
Above zero — bullish pressure is dominant.
Below zero — bearish pressure is dominant.
Rising bars — directional pressure is increasing.
Shrinking bars — directional pressure is fading.
High amplitude — strong normalized pressure.
Low amplitude — weak pressure.
Pressure Pulse does not reset when price crosses Predictive Balance.
This makes it possible to follow the development of pressure independently of a single price-to-line crossover.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌊 Wave Memory
Wave Memory analyzes completed sequences of bullish and bearish pressure.
Beginning of a bullish wave
A bullish wave begins when Pressure Pulse moves above the positive Wave Deadband boundary.
Beginning of a bearish wave
A bearish wave begins when Pressure Pulse moves below the negative Wave Deadband boundary.
The neutral area around zero prevents every small histogram fluctuation from creating a new wave.
For each completed wave, the script calculates:
average absolute pressure;
peak absolute pressure;
duration in bars;
price-path efficiency.
Price-path efficiency compares:
the net price movement from the beginning to the end of the wave;
the total absolute price path traveled during that wave.
If price moved predominantly in one direction, efficiency will be high.
If the wave contained substantial movement but produced little net price change, efficiency will be low.
The final wave-strength calculation incorporates:
70% average pressure;
30% peak pressure;
the square root of wave duration;
an adjustment for price-path efficiency.
Bullish and bearish waves update separate historical reference values.
A newly completed wave does not immediately replace the previous reference. Instead, it gradually updates the corresponding reference according to the Reference Update setting.
This process creates a more stable wave-based Bias.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧭 Dashboard
The Dashboard displays four characteristics of the current market state:
Phase — the relationship between current pressure and Bias.
Magnitude — the current strength of Pressure Pulse.
Bias — the relative strength of completed bullish and bearish waves.
State — the current development stage of directional pressure.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Phase — market phase
Bullish Impulse
Bullish pressure is aligned with bullish Bias.
Current movement supports the broader bullish wave context.
Bearish Impulse
Bearish pressure is aligned with bearish Bias.
Current movement supports the broader bearish wave context.
Bullish Pullback
Bullish pressure is developing against bearish Bias.
This may represent a corrective movement within a broader bearish context.
Bearish Pullback
Bearish pressure is developing against bullish Bias.
This may represent a corrective decline within a broader bullish context.
Bullish Pressure
Bullish pressure is active, but completed waves have not yet established a clear directional Bias.
Bearish Pressure
Bearish pressure is active, but completed waves have not yet established a clear directional Bias.
Balanced
Pressure Pulse remains inside the neutral deadband, so meaningful directional pressure is not currently present.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Magnitude — pressure strength
Magnitude is based on the absolute value of the current normalized Pressure Pulse:
Weak — below 0.40.
Normal — from 0.40 to 0.85.
Strong — from 0.85 to 1.30.
Extreme — 1.30 and above.
Magnitude measures the current intensity of pressure. It does not represent the probability of a future move and does not predict how far price may travel.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Bias — wave direction
Bullish
Completed bullish waves are stronger on average than completed bearish waves.
Bearish
Completed bearish waves are stronger on average than completed bullish waves.
Neutral
Neither side has established sufficient relative dominance.
Bias is calculated from completed pressure waves and therefore intentionally changes more slowly than Pressure Pulse.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
State — pressure development
Building
Pressure is increasing while Bias remains neutral.
Fading
Pressure is decreasing while Bias remains neutral.
Expansion
Pressure is aligned with a directional Bias and continues to increase.
Cooling
Pressure is moving against Bias or is beginning to lose strength.
Overheated
Pressure has reached an extreme level but has already started to weaken.
Balanced
No meaningful directional-pressure state is currently present.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 How to use the indicator
A practical analysis sequence is:
Identify the active regime using the color of Predictive Balance and the most recent triangle.
Review Bias to determine which side has produced stronger completed waves.
Use Phase to determine whether current pressure supports Bias or represents a counter-move.
Use Magnitude to evaluate the current intensity of pressure.
Use State to determine whether pressure is strengthening or losing momentum.
Example 1
Bullish Bias + Bullish Impulse + Expansion
Bullish pressure supports the broader bullish wave context and continues to strengthen.
Example 2
Bullish Bias + Bearish Pullback + Cooling
Bearish pressure is developing against bullish Bias, but the counter-move is losing strength.
Example 3
Bearish Bias + Bullish Pullback + Cooling
Bullish pressure is present against the broader bearish context but has begun to weaken.
Example 4
Neutral Bias + Bullish Pressure + Building
Bullish pressure is increasing, but completed waves have not yet established a sustained advantage for buyers.
Possible applications
MSL Trend Pulse can be used for:
market-regime confirmation;
pullback analysis;
current momentum assessment;
evaluating alignment between current pressure and Bias;
filtering trading scenarios;
monitoring the strengthening and weakening of directional movement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alerts
The indicator includes four alert conditions:
MSL Bull Flip — a transition into a bullish regime has been confirmed.
MSL Bear Flip — a transition into a bearish regime has been confirmed.
MSL Pressure Up — Pressure Pulse crossed above zero.
MSL Pressure Down — Pressure Pulse crossed below zero.
When Confirm Flips On Bar Close is enabled, regime changes and corresponding alerts are confirmed only after the candle closes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Main settings
Direction Window
Controls the period used to measure directional path efficiency.
Minimum Reaction / Maximum Reaction
Define the lower and upper limits of Predictive Balance reaction speed.
Drift Learning
Controls how quickly the model learns changes in market direction and movement speed.
Drift Damping
Controls how quickly previously estimated drift loses its influence.
Volatility Length
Defines the ATR period used for volatility normalization.
Flip Band Base
Sets the minimum width of the adaptive regime-confirmation zone.
Noise Protection
Widens the regime-change zone during noisy or inefficient market movement.
Normalisation Length
Defines the period used to normalize Pressure Pulse against its own recent amplitude.
Pulse Smoothing
Controls the final smoothing applied to the Pressure Pulse histogram.
Minimum Memory / Maximum Memory
Define the lower and upper limits of pressure persistence.
Wave Deadband
Defines the neutral zone used to separate bullish and bearish pressure waves.
Reference Update
Controls how strongly each completed wave updates its corresponding historical reference.
Minimum Wave Bars
Defines the minimum wave duration required before a completed wave can update Wave Memory.
Window
Allows wave statistics to use all available chart history or begin from a selected date.
Reactive Candles
Colors candles according to the direction and intensity of Pressure Pulse.
Glow Effect / Glow Intensity
Control the visual glow applied to Predictive Balance and the Pressure Pulse histogram.
These settings affect presentation only. They do not change calculations, regime logic, or alerts.
Dashboard Position
Allows the Dashboard to be placed in the upper-right, middle-right, or lower-right area of the chart.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ Calculation behavior and limitations
The indicator does not use future bars.
Values on closed historical candles remain fixed after those candles are completed.
Values on the active candle may change before it closes because High, Low, and Close are not yet final.
Bias is based on completed waves and therefore reacts more slowly than Pressure Pulse.
During the early stage of a reversal, Bias may temporarily retain its previous direction.
Sudden gaps and news-driven candles can cause rapid changes in Predictive Balance and Pressure Pulse.
Results may be less stable on low-liquidity instruments.
Indicator behavior depends on the instrument, volatility environment, and selected timeframe.
MSL Trend Pulse does not calculate:
position size;
stop-loss placement;
profit targets;
acceptable trade risk;
mechanical entry or exit points.
The indicator is designed to analyze market context. No individual Dashboard state, line color, triangle, or histogram reading should be interpreted as a guaranteed forecast of future price movement.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
Trading tools by MarketStructureLab. Professional indicators, algorithms & market structure logic. Get access: marketstructurelab.com
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
Trading tools by MarketStructureLab. Professional indicators, algorithms & market structure logic. Get access: marketstructurelab.com
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。