ULCER TREND SHIFT V2 Гайд по трейдингу
The Ulcer Trend Shift indicator monitors severe price retracements from recent highs and lows (ulcer index) to identify definitive exhaustion points and structural trend reversals.
What does the indicator show?
- Trend Shift Signals: Explicit "BULL" or "BEAR" markers generated when extreme stress in the current trend finally breaks into a reversal.
- Baseline Extremes: Dotted trailing bands that visually mark the highest highs and lowest lows over the specified lookback.
- Information Dashboard: A floating on-chart panel tracking the real-time bullish and bearish ulcer severity metrics against your target threshold.
Key Settings
- Lookback Length: How many bars backward the indicator checks to determine local highs and lows for the baseline calculations.
- Ulcer Threshold (%): The critical stress level percentage that the internal index must breach before signaling a structural reversal.
- Show Baselines / Signals / Info Panel: Toggles to customize which visual elements clutter or clean up the main chart view.
How to use Strategy Parameters (Condition Source)
Within the Strategy Tester module, you can leverage the data from this indicator to create powerful logical conditions for trade entries and exits.
1. Shift Signals
Clean, discrete events marking points of potential capitulation and reversal.
bullShift— Fires the moment the bullish ulcer index spikes over the required threshold, suggesting sellers are exhausted.bearShift— Fires when the bearish ulcer index breaks the threshold, identifying buyer exhaustion.
Strategy Example: You could establish a Mean Reversion strategy by closing short positions and entering Longs whenever bullShift is true.
2. Trend and Index State
A constant read of the overall trend regime and exact stress values.
currentTrend— Outputs1when the market is in a confirmed Bull phase, and-1for a Bear phase.
Strategy Example: If using another indicator like an EMA crossover for entries, you can use the Ulcer indicator for broad filtering by requiring currentTrend == 1 before authorizing any Long signals.