SAREXT (Extended Stop and Reverse)
Indicator Description
SAREXT (Extended Parabolic Stop and Reverse) is an extended version of the SAR indicator, providing more flexible trend tracking and signal generation by incorporating additional parameters.
Function Information
- Function Name: SAREXT
- Input Parameters: High, Low
- Parameter Settings:
- startvalue (default: 0)
- offsetonreverse (default: 0)
- accelerationinitlong (default: 0.02)
- accelerationlong (default: 0.02)
- accelerationmaxlong (default: 0.2)
- accelerationinitshort (default: 0.02)
- accelerationshort (default: 0.02)
- accelerationmaxshort (default: 0.2)
- Output: SAREXT value
Calculation Principle
SAREXT is calculated using the following formulas:
Uptrend:
SAREXT(t) = SAREXT(t-1) + acceleration * (EP - SAREXT(t-1))
Downtrend:
SAREXT(t) = SAREXT(t-1) - acceleration * (SAREXT(t-1) - EP)
Where:
- EP (Extreme Point) is the extreme point in the trend
- acceleration is the acceleration factor, using different initial and maximum values based on trend direction
- The offsetonreverse parameter can be used to adjust the offset during reversals
Usage Scenarios
- Trend identification and tracking
- Stop-loss level setting
- Trend reversal confirmation
- Trading signal generation
Usage Recommendations
- Adjust parameters based on market volatility
- Use in combination with other technical indicators
- Monitor SAREXT point breakthroughs
- Pay attention to market trend changes