SAR

Category: Indicators

The SAR (Stop And Reverse) indicator is a technical analysis tool used to determine the potential reversal points in the price movement of an asset. It is particularly useful for identifying and following trends, as the SAR points move in alignment with the price direction until a reversal occurs.

Syntax:

SAR[Af, St, Lim]
  • Af – Initial acceleration factor (commonly set to 0.02).
  • St – Acceleration addition factor (typically 0.02).
  • Lim – Acceleration factor limit (usually 0.2).

Example:

i1 = SAR[0.02,0.02,0.2]
if (close[1] < i1[1] AND close > i1) THEN
  signal = 1
ELSE
  signal = 0
ENDIF
RETURN signal

This example demonstrates how to use the SAR indicator to generate a signal. The signal becomes 1 when the current closing price crosses above the SAR value, suggesting a potential upward trend. Conversely, the signal remains 0 when these conditions are not met, indicating no change in trend direction.

Additional Information:

  • The SAR indicator is always plotted below the price in an uptrend and above the price in a downtrend.
  • When the price crosses the SAR value, it suggests a possible trend reversal, prompting the indicator to appear on the opposite side of the price.
  • The parameters of the SAR (At, St, Lim) can be adjusted based on the asset’s volatility and the trader’s preference for sensitivity of the indicator.

Understanding and utilizing the SAR indicator can help in making informed decisions about market entry and exit points, particularly in trending markets.

Related Instructions:

  • SARatdmf indicators
  • Logo Logo
    Loading...