Swing_Shift - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources


Oscillator Swing Shift displays MA slope values that exceed a predefined threshold and changes in the direction of the moving average movement as the direction of pulse changes in the indicator histogram.
It has four configurable parameters:
SS = 100.0 * (MA - Anchor) / Anchor
anchor=MA trend = 1
- Otherwise, if slope < - threshold и PrevTrend > 0
anchor=MA trend = 0
- otherwise
Anchor point = previous anchor point trend = previous trend
Slope = (MA - PrevMA)*points
MA = MA(apply price, period, method)
Figure 1. Indicator swing displacement at default settings
Figure 2. Swing Shift and comparison MA with the same settings
Attachment download
📎 swing_shift.mq5 (10.44 KB)
Source: MQL5 #21330
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •