OPEN-SOURCE SCRIPT
Scalp BTC/ETH — Reversal & Continuation (v1, Pine v6)

Scalp BTC/ETH — Reversal & Continuation (1m à 10m)
Cet indicateur détecte des opportunités de micro-scalping sur futures (BTC/ETH) basées sur deux mécaniques courtes validées par structure de prix :
A) Reversal de pression (contre-mouvement contrôlé)
Détection d’une sur-extension brutale suivie d’une absorption sur la bougie suivante.
Objectif : capturer la première respiration après un excès de prix (rejet court).
B) Continuation courte (momentum + reprise)
Détection de 3 bougies directionnelles consécutives suivies d’un pullback léger, puis signal sur la reprise du mouvement initial.
Gestion intégrée (scénario standard TP dynamique)
TP1 → 50% de la position à un gain fixe (% adaptable au timeframe)
Stop déplacé au Break-Even sur le restant
Sortie finale sur bougie inverse significative
(correction ≥ X% du corps précédent) ou timeout (max bars en trade)
Scalp BTC/ETH — Reversal & Continuation (1m to 10m)
This indicator detects short-term futures scalping setups on BTC & ETH using two mechanical price-action models designed for fast execution:
A) Reversal Compression (counter-move entry)
Identifies a sharp impulse (overextension) followed by absorption / failure to extend on the next candle.
Objective: capture the first corrective pullback after exhaustion.
B) Controlled Continuation (momentum follow-through)
Identifies 3 consecutive trend candles, then a shallow pullback, and triggers an entry on the resumption of the main leg.
Built-in trade logic (dynamic TP structure)
TP1 → scale out 50% of the position at a fixed percentage (auto-scaled per timeframe)
Stop moved to Break-Even after TP1
Final exit on either:
• a meaningful opposite candle (≥ X% correction of prior body), or
• a timeout (max bars in trade)
Technical characteristics
Designed for 1m / 3m / 5m / 7m / 10m
No repainting (bar-close confirmed logic)
Works for both LONG & SHORT
Built-in alert events:
ENTRY_LONG / ENTRY_SHORT / TP1 / EXIT_STOP / EXIT_INVERSE / EXIT_TIMEOUT
Suitable for manual execution, semi-automation (alerts) or full bot integration (webhook JSON)
Purpose
Provide a repeatable, rule-based, non-subjective framework to harvest micro-moves with controlled risk, without relying on lagging indicators or long-term prediction.
(A Strategy / backtesting version is planned as a next iteration.)
Cet indicateur détecte des opportunités de micro-scalping sur futures (BTC/ETH) basées sur deux mécaniques courtes validées par structure de prix :
A) Reversal de pression (contre-mouvement contrôlé)
Détection d’une sur-extension brutale suivie d’une absorption sur la bougie suivante.
Objectif : capturer la première respiration après un excès de prix (rejet court).
B) Continuation courte (momentum + reprise)
Détection de 3 bougies directionnelles consécutives suivies d’un pullback léger, puis signal sur la reprise du mouvement initial.
Gestion intégrée (scénario standard TP dynamique)
TP1 → 50% de la position à un gain fixe (% adaptable au timeframe)
Stop déplacé au Break-Even sur le restant
Sortie finale sur bougie inverse significative
(correction ≥ X% du corps précédent) ou timeout (max bars en trade)
Scalp BTC/ETH — Reversal & Continuation (1m to 10m)
This indicator detects short-term futures scalping setups on BTC & ETH using two mechanical price-action models designed for fast execution:
A) Reversal Compression (counter-move entry)
Identifies a sharp impulse (overextension) followed by absorption / failure to extend on the next candle.
Objective: capture the first corrective pullback after exhaustion.
B) Controlled Continuation (momentum follow-through)
Identifies 3 consecutive trend candles, then a shallow pullback, and triggers an entry on the resumption of the main leg.
Built-in trade logic (dynamic TP structure)
TP1 → scale out 50% of the position at a fixed percentage (auto-scaled per timeframe)
Stop moved to Break-Even after TP1
Final exit on either:
• a meaningful opposite candle (≥ X% correction of prior body), or
• a timeout (max bars in trade)
Technical characteristics
Designed for 1m / 3m / 5m / 7m / 10m
No repainting (bar-close confirmed logic)
Works for both LONG & SHORT
Built-in alert events:
ENTRY_LONG / ENTRY_SHORT / TP1 / EXIT_STOP / EXIT_INVERSE / EXIT_TIMEOUT
Suitable for manual execution, semi-automation (alerts) or full bot integration (webhook JSON)
Purpose
Provide a repeatable, rule-based, non-subjective framework to harvest micro-moves with controlled risk, without relying on lagging indicators or long-term prediction.
(A Strategy / backtesting version is planned as a next iteration.)
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.