MSL Momentum Pulse

A MACD reading of 120 on BTCUSD and a MACD reading of 0.0012 on EURUSD can describe the same thing: the fast average sitting a small fraction above the slow one. The raw gap between two moving averages is measured in price units, so a level that means "stretched" on one chart means nothing on another.
Momentum Pulse measures that gap as a percentage of price instead, and then it waits. A crossover on its own is not a signal here. Momentum Flow first has to cross into a reversal zone, which arms one setup. Only a confirming crossover back through the Trigger line, inside a limited number of bars, turns that setup into a signal. Extension, arming, confirmation, signal.

BTCUSD 4h. Momentum Flow drops into the lower zone in mid August, the setup arms, and the crossover back through Trigger prints the LONG on 14 August at the base. The SHORT on 22 August comes from the mirror sequence at the top of the leg.
HOW MOMENTUM FLOW IS BUILT
Momentum Flow = (fast MA - slow MA) / |slow MA| * 100
A reading of 0.5 means the fast average is half a percent above the slow one, whatever the instrument is priced at. Trigger is the same smoothing method applied to Momentum Flow. The histogram is the gap between the two, drawn solid while it widens and faded while it narrows.
One smoothing method drives the fast average, the slow average and the Trigger, so the whole calculation shares a single lag profile. Eleven are available: SMA, EMA, WMA, DEMA, TMA, VIDYA, RMA, ZLEMA, LSF, HULL and T3. Smoother methods give fewer and later crossovers, faster methods give earlier and noisier ones. Defaults are EMA with lengths 12, 26 and 9.
CREDIT WHERE IT IS DUE
None of those building blocks are presented as new. A fast-minus-slow average with a smoothed signal line is Gerald Appel's MACD, and the smoothing methods are implementations of published work by Welles Wilder (RMA), Patrick Mulloy (DEMA), Tushar Chande (VIDYA), John Ehlers and Ric Way (ZLEMA), Alan Hull (HULL) and Tim Tillson (T3). LSF is the ordinary least-squares regression forecast. All are coded from their published definitions on TradingView built-ins, with no third-party script reused.
Own to this script is the layer above them: the percentage normalization that makes one threshold number mean the same thing across instruments, and the setup engine that arms, expires, cancels and is consumed.
THE SIGNAL SEQUENCE
LONG:
1. Momentum Flow crosses down through the LONG zone threshold. One setup is armed and the dashboard shows LONG ARMED.
2. Momentum Flow crosses back up through Trigger within Setup Validity bars.
3. The bar closes. The marker prints on the price chart and the setup is consumed.
SHORT is the mirror image. Three rules govern what happens in between.
One entry, one setup. Staying inside a zone does not arm a second setup. After a signal or an expiry, Momentum Flow has to leave the zone and cross into it again, so a single extended move produces at most one signal.
Validity. Setup Validity, Bars is the maximum distance between the zone entry and the confirming crossover. A setup that has not confirmed by then expires silently and leaves no marker, which stops an old extension from firing long after the context that produced it is gone. The default 20 is twenty hours on H1, a bit over three days on H4 and four trading weeks on D1.
Cancellation. Only one setup is live at a time. If a LONG setup is waiting and Momentum Flow crosses into the SHORT zone first, the LONG is cancelled and a SHORT is armed in its place. The script never holds two opposite expectations at once.
ZONE WIDTH IS THE MAIN SETTING
LONG Zone % and SHORT Zone % are entered as positive numbers and can differ, for markets where declines and rallies stretch the averages by different amounts. They are not universal overbought or oversold levels: the right value belongs to the instrument and the timeframe. Same engine, same 12/26/9 EMA defaults, three instruments:

BTCUSD 4h, 5 August to 11 September, zones at the default 0.5%. Three signals in five weeks: a LONG at the base on 14 August, a SHORT at the top on 22 August, a SHORT on 5 September.

The same frame with the zones at 1.5%. Only the extension before the 22 August top is deep enough to arm a setup, so one signal survives out of three. Nothing else changed.

EURUSD 4h, 1 June to 11 September, zones at 0.1%. An FX major moves its averages apart by a fraction of what BTCUSD does, so the default is almost never reached here and the zones have to come in an order of magnitude.

AAPL daily, 2026 year to date, zones at 1.0%. A large-cap daily sits between the two: longs at the February and April swing lows, a short after the August top.
The dashed lines in the pane show where the zones sit, so the fit is visible at a glance. If Momentum Flow lives inside them, they are too narrow for that instrument; if it never reaches them, too wide.
DASHBOARD

BTCUSD 4h. Momentum State reads Bearish, a LONG setup is armed with seven of its twenty bars used, and the last completed signal was the SHORT listed below it with its entry price and elapsed bars.
The table reports Momentum State (Bullish, Bearish, the two Weak variants where Flow has crossed Trigger but not zero, or Neutral), Setup Status with its age against the validity limit, the last signal with entry, current price, open P/L and bars elapsed, and the thresholds currently in force.
Open P/L % is the theoretical price change since the last signal close, in that signal's direction. It is a reading aid, not a trade result: no commission, slippage, spread, position size, leverage, stop or exit rule is involved.
ALERTS
Momentum Pulse LONG and Momentum Pulse SHORT fire on the confirming bar close. Use Once Per Bar Close so the alert follows the same rule as the chart marker.
WHY THESE PIECES SIT IN ONE SCRIPT
The parts are standard and all of them are described above, so nothing is hidden. What makes them one tool is how they depend on each other. The normalization is what lets a zone width be a meaningful number at all, across charts priced four orders of magnitude apart. The zones are what arm the setup; without them every Trigger crossover would be a signal and this would be an ordinary MACD. The validity window and the one-entry-one-setup rule are what turn an armed setup into a finite object that can be consumed, cancelled or expire, rather than a filter that is merely on or off. The dashboard reads that same state, so the table and the chart cannot disagree.
SETTINGS
Defaults: Fast 12, Slow 26, Trigger 9, EMA, both zones 0.5%, Setup Validity 20 bars.
- Fit the zones to the instrument first, as shown above, before changing anything else.
- Too many signals: widen the zones, lengthen the Trigger, lower Setup Validity, or pick a smoother method (TMA, RMA, T3).
- Too few: narrow the zones, raise Setup Validity, or pick a faster method (DEMA, ZLEMA, HULL).
- Intended range is H1 to D1. Below H1 the percentage gap becomes small and noisy, which means narrower zones and more of them.
TIMING AND REPAINTING
Zone entries, setup state and signals are evaluated on confirmed bars only. The pane lines move while a bar is open, but no setup is armed and no marker prints until it closes, and a printed marker does not move or disappear afterwards. No lookahead is requested anywhere in the script.
LIMITATIONS
In a strong trend an entry into a reversal zone is often a pause rather than a turn, and a confirmed crossover can be followed by the trend simply resuming. In a tight range Momentum Flow may never reach the zones, or may cross them on noise if they are narrowed too far. Normalization makes readings comparable across instruments, but it does not make one setting correct for all of them, which is why the zone-width examples above are part of the documentation. The script does not size positions, place stops or targets, or estimate the probability of a signal working out.
NOTES
Momentum Pulse is an analysis tool. It does not place orders and nothing in it is financial advice. Past behaviour of any signal does not predict future results. Entries, exits and risk remain the trader's decision.
Momentum Pulse measures that gap as a percentage of price instead, and then it waits. A crossover on its own is not a signal here. Momentum Flow first has to cross into a reversal zone, which arms one setup. Only a confirming crossover back through the Trigger line, inside a limited number of bars, turns that setup into a signal. Extension, arming, confirmation, signal.
BTCUSD 4h. Momentum Flow drops into the lower zone in mid August, the setup arms, and the crossover back through Trigger prints the LONG on 14 August at the base. The SHORT on 22 August comes from the mirror sequence at the top of the leg.
HOW MOMENTUM FLOW IS BUILT
Momentum Flow = (fast MA - slow MA) / |slow MA| * 100
A reading of 0.5 means the fast average is half a percent above the slow one, whatever the instrument is priced at. Trigger is the same smoothing method applied to Momentum Flow. The histogram is the gap between the two, drawn solid while it widens and faded while it narrows.
One smoothing method drives the fast average, the slow average and the Trigger, so the whole calculation shares a single lag profile. Eleven are available: SMA, EMA, WMA, DEMA, TMA, VIDYA, RMA, ZLEMA, LSF, HULL and T3. Smoother methods give fewer and later crossovers, faster methods give earlier and noisier ones. Defaults are EMA with lengths 12, 26 and 9.
CREDIT WHERE IT IS DUE
None of those building blocks are presented as new. A fast-minus-slow average with a smoothed signal line is Gerald Appel's MACD, and the smoothing methods are implementations of published work by Welles Wilder (RMA), Patrick Mulloy (DEMA), Tushar Chande (VIDYA), John Ehlers and Ric Way (ZLEMA), Alan Hull (HULL) and Tim Tillson (T3). LSF is the ordinary least-squares regression forecast. All are coded from their published definitions on TradingView built-ins, with no third-party script reused.
Own to this script is the layer above them: the percentage normalization that makes one threshold number mean the same thing across instruments, and the setup engine that arms, expires, cancels and is consumed.
THE SIGNAL SEQUENCE
LONG:
1. Momentum Flow crosses down through the LONG zone threshold. One setup is armed and the dashboard shows LONG ARMED.
2. Momentum Flow crosses back up through Trigger within Setup Validity bars.
3. The bar closes. The marker prints on the price chart and the setup is consumed.
SHORT is the mirror image. Three rules govern what happens in between.
One entry, one setup. Staying inside a zone does not arm a second setup. After a signal or an expiry, Momentum Flow has to leave the zone and cross into it again, so a single extended move produces at most one signal.
Validity. Setup Validity, Bars is the maximum distance between the zone entry and the confirming crossover. A setup that has not confirmed by then expires silently and leaves no marker, which stops an old extension from firing long after the context that produced it is gone. The default 20 is twenty hours on H1, a bit over three days on H4 and four trading weeks on D1.
Cancellation. Only one setup is live at a time. If a LONG setup is waiting and Momentum Flow crosses into the SHORT zone first, the LONG is cancelled and a SHORT is armed in its place. The script never holds two opposite expectations at once.
ZONE WIDTH IS THE MAIN SETTING
LONG Zone % and SHORT Zone % are entered as positive numbers and can differ, for markets where declines and rallies stretch the averages by different amounts. They are not universal overbought or oversold levels: the right value belongs to the instrument and the timeframe. Same engine, same 12/26/9 EMA defaults, three instruments:
BTCUSD 4h, 5 August to 11 September, zones at the default 0.5%. Three signals in five weeks: a LONG at the base on 14 August, a SHORT at the top on 22 August, a SHORT on 5 September.
The same frame with the zones at 1.5%. Only the extension before the 22 August top is deep enough to arm a setup, so one signal survives out of three. Nothing else changed.
EURUSD 4h, 1 June to 11 September, zones at 0.1%. An FX major moves its averages apart by a fraction of what BTCUSD does, so the default is almost never reached here and the zones have to come in an order of magnitude.
AAPL daily, 2026 year to date, zones at 1.0%. A large-cap daily sits between the two: longs at the February and April swing lows, a short after the August top.
The dashed lines in the pane show where the zones sit, so the fit is visible at a glance. If Momentum Flow lives inside them, they are too narrow for that instrument; if it never reaches them, too wide.
DASHBOARD
BTCUSD 4h. Momentum State reads Bearish, a LONG setup is armed with seven of its twenty bars used, and the last completed signal was the SHORT listed below it with its entry price and elapsed bars.
The table reports Momentum State (Bullish, Bearish, the two Weak variants where Flow has crossed Trigger but not zero, or Neutral), Setup Status with its age against the validity limit, the last signal with entry, current price, open P/L and bars elapsed, and the thresholds currently in force.
Open P/L % is the theoretical price change since the last signal close, in that signal's direction. It is a reading aid, not a trade result: no commission, slippage, spread, position size, leverage, stop or exit rule is involved.
ALERTS
Momentum Pulse LONG and Momentum Pulse SHORT fire on the confirming bar close. Use Once Per Bar Close so the alert follows the same rule as the chart marker.
WHY THESE PIECES SIT IN ONE SCRIPT
The parts are standard and all of them are described above, so nothing is hidden. What makes them one tool is how they depend on each other. The normalization is what lets a zone width be a meaningful number at all, across charts priced four orders of magnitude apart. The zones are what arm the setup; without them every Trigger crossover would be a signal and this would be an ordinary MACD. The validity window and the one-entry-one-setup rule are what turn an armed setup into a finite object that can be consumed, cancelled or expire, rather than a filter that is merely on or off. The dashboard reads that same state, so the table and the chart cannot disagree.
SETTINGS
Defaults: Fast 12, Slow 26, Trigger 9, EMA, both zones 0.5%, Setup Validity 20 bars.
- Fit the zones to the instrument first, as shown above, before changing anything else.
- Too many signals: widen the zones, lengthen the Trigger, lower Setup Validity, or pick a smoother method (TMA, RMA, T3).
- Too few: narrow the zones, raise Setup Validity, or pick a faster method (DEMA, ZLEMA, HULL).
- Intended range is H1 to D1. Below H1 the percentage gap becomes small and noisy, which means narrower zones and more of them.
TIMING AND REPAINTING
Zone entries, setup state and signals are evaluated on confirmed bars only. The pane lines move while a bar is open, but no setup is armed and no marker prints until it closes, and a printed marker does not move or disappear afterwards. No lookahead is requested anywhere in the script.
LIMITATIONS
In a strong trend an entry into a reversal zone is often a pause rather than a turn, and a confirmed crossover can be followed by the trend simply resuming. In a tight range Momentum Flow may never reach the zones, or may cross them on noise if they are narrowed too far. Normalization makes readings comparable across instruments, but it does not make one setting correct for all of them, which is why the zone-width examples above are part of the documentation. The script does not size positions, place stops or targets, or estimate the probability of a signal working out.
NOTES
Momentum Pulse is an analysis tool. It does not place orders and nothing in it is financial advice. Past behaviour of any signal does not predict future results. Entries, exits and risk remain the trader's decision.
Trading tools by MarketStructureLab. Professional indicators, algorithms & market structure logic. Get access: marketstructurelab.com
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
Trading tools by MarketStructureLab. Professional indicators, algorithms & market structure logic. Get access: marketstructurelab.com
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน