OPEN-SOURCE SCRIPT

4H Breakaway/Inverse Gap (>=2% gaps, hide after >2 mitigations)

825
Detects gaps >2% of price on linear scale
Tracks gap “mitigations” = each time price re-enters the gap zone
Deletes/hides the gap midpoint line after the 3rd mitigation
So it will still show when the gap is unfilled (0), entered/mitigated once (1), or mitigated/filled once more (2)

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.