параболический SAR (стоп и реверс) индикатор

The параболический SAR (стоп и реверс) is a technical анализ индикатор developed by J. Welles Wilder, a mechanical engineer turned technical analyst. The индикатор is principally used to determine potential reversals in the direction of цена movement in financial markets. Its primary use is in the realm of trend following and trend identification.

Mechanics of параболический SAR

The параболический SAR is plotted on the цена chart itself rather than in a separate pane. It appears as a series of dots placed either above or below the цена bars. These dots serve as trailing stop loss points and also help to signal potential trend reversals.

Calculation

The параболический SAR is calculated using the following formula:

\ SAR_{n+1} = SAR_n + [alpha ( EP - SAR_n ) ]

Where:

Reversal

A reversal occurs when the цена closes below the SAR value (in an uptrend) or above it (in a downtrend). When this happens, the SAR switches sides.

Parameters and Customization

The default Acceleration Factor ((\alpha)) starts at 0.02 and ends at a maximum of 0.20. However, these values can be customized to suit different trading styles:

Usage in Trading

Trend Identification

The primary use of the параболический SAR is identifying the direction of the trend. When the dots are below the цена, it signals an uptrend. Conversely, when the dots are above the цена, it signals a downtrend.

Entry and Exit Points

Combination with Other Indicators

The параболический SAR is often used in combination with other technical indicators to improve the reliability of trading signals. For example, combining the SAR with moving averages or the Relative Strength Index (RSI) can provide additional layers of confirmation.

Advantages and Limitations

Advantages

Limitations

Implementation in Algorithmic Trading

Algorithmic traders often incorporate the параболический SAR into automated trading systems due to its clear and straightforward rules. Here’s a simple Python code snippet using the popular TA-Lib library to compute the параболический SAR:

import talib
import pandas as pd

# Sample DataFrame
data = {
    'high': [104, 105, 106, 107, 108],
    'low': [100, 101, 102, 103, 104],
    'close': [102, 103, 104, 105, 106]
}
df = pd.DataFrame(data)

# Compute параболический SAR
df['SAR'] = talib.SAR(df['high'], df['low'], acceleration=0.02, maximum=0.20)

print(df)

Final Thoughts

The параболический SAR remains a popular tool among traders for identifying trends and potential reversals. While it may not be foolproof, its simplicity and эффективность make it a valuable component of any trader’s technical анализ toolkit, especially when used in conjunction with other indicators and анализ techniques.

For more detailed information on the параболический SAR, you can refer to resources provided by TradingView and Investopedia.