Peaks and Troughs📄 Script Description – EN (English)
Peaks and Troughs (P&T) is a price action indicator that identifies confirmed swing highs (peaks) and swing lows (troughs) based on structural trend changes.
Key features:
Trend-break based peak and trough confirmation
Optional engulfing signal at confirmed swing points
Body-break based Mother Bar (Outside Bar) range marking
Clean chart output with only the latest active levels
Unified alert system using Any alert() function call
Designed for discretionary trading, market structure analysis and automation-ready alerting.
----------------------------------------------------
📄 Script Description – HU (Magyar)
A Peaks and Troughs (P&T) egy price action alapú indikátor, amely megerősített csúcs- (peak) és völgypontokat (trough) azonosít trendváltás alapján.
Főbb jellemzők:
Trendtörés alapú peak és trough meghatározás
Opcionális engulfing jelzés megerősített swing pontokon
Body-break alapú Mother Bar (Outside Bar) tartomány jelölés
Letisztult chart, mindig csak az aktuális szintekkel
Egységes riasztási rendszer (Any alert() function call)
Diszkrecionális kereskedéshez, market structure elemzéshez és automatizált riasztásokhoz optimalizálva.
Motherbar
Inside Bar/Outside Bar/Mother Bar Box By SmartTrader888This Indicator shows:
1. Inside Bar
2. Outside Bar
3. Mother Bar box (Box the mother bar and all subsequent inside bars)
This indicator handles correctly the edge conditions such as:
1. bar close = bar open
2. current bar low equals to mother bar low or current bar high equals mother bar high

