INVITE-ONLY SCRIPT

ST – Soothing areas 1TF + Mitigated [Soothing Trades]

58
Short Description
ST – Soothing areas 1TF + Mitigated turns higher-timeframe Heikin Ashi body gaps into clean bullish/bearish areas, extends them forward, and marks them as mitigated once price has traded back into them. Active boxes are decision zones; faded boxes show where liquidity has already been tapped earlier in the day.

Full Description
This indicator builds a structured map of higher-timeframe "impulse origins" and tracks when those areas have been cleaned up by price.
Core logic
• Uses a user-selected higher timeframe (HTF) built from Heikin Ashi candles.
• Detects body gaps between prior Heikin Ashi candles – strong impulsive moves that often define supply/demand zones.
• Classifies each valid gap as: Bullish area (potential support on retest) or Bearish area (potential resistance on retest).
• Applies a per-symbol minimum gap size (in price units) so only meaningful gaps become areas.
• Creates a box from the gap body and anchors it at the previous HTF open time, then extends it forward in real time.
Mitigation & fading
Each area remains active until price trades back into it deeply enough.
Mitigation depth is controlled by "Mitigation penetration (0–1)":
• 1.0 ≈ full-depth penetration of the box
• Lower values = shallower penetration required
When the HTF body overlaps the area and the penetration rule is satisfied:
• The area flips from active → mitigated.
• It switches to your mitigated colors, opacity, and border style.
• Its status is stored so you can treat it as de-prioritised.
If "Keep faded after mitigation (same day)" is enabled:
• Mitigated areas remain on the chart and keep extending for the rest of the current trading day.
• When the daily session changes, they stop extending and effectively step into "historic context."
Inputs & customization
• HTF (built from HA bodies) – Choose the higher timeframe used to build areas.
• Per-Symbol Min Gap (price units) – Map individual symbols to custom minimum gap sizes; a default value handles everything else.
• Bull/Bear area (active/mitigated) – Separate colors and opacity for both direction and state.
• Fill opacity / Border opacity / Border width – Visual fine-tuning for active and mitigated boxes.
• Active border style / Mitigated border style – Switch between solid, dashed, or dotted for each state.
• Extend boxes until mitigation – If on, active boxes extend right until they are mitigated.
• Mitigation penetration (0–1) – Controls how deep price must enter the area to count as mitigated.
• Keep faded after mitigation (same day) – Controls whether mitigated areas remain visible and extending during the current day.
How traders use it
Use active areas as primary decision zones for:
• Entries into trend continuation or reversals
• Defining stop placement or invalidation areas
• Planning targets when price trades away from a zone
Use mitigated areas as secondary context:
• They show where liquidity has already been harvested.
• They may still react, but are typically less "fresh" than untouched areas.
• They can help explain why the market stalled or reversed earlier in the session.
Visual features
• HTF Heikin Ashi body gaps converted to structured areas
• Separate colors for bullish vs bearish areas
• Active vs mitigated states with different opacity and borders
• Per-symbol minimum gap filtering for cleaner charts
• Configurable mitigation penetration depth
• Same-day faded area persistence for context
Notes & disclaimer
• Works on most symbols supported by TradingView Pine Script v6.
• Designed for educational and analytical use, not for automated trading.
• This tool is not financial advice.
Always manage your own risk and test any approach before using it with live capital.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.