ParabolicSAR


Summary

The calculation of Parabolic SAR Indicator

Remarks

Developed by Welles Wilder, SAR stands for stop and reverse and is based on a concept similar to time decay, unless a security can continue to generate more profits over time, it should be liquidated. SAR trails prices as the trend extends over time, being below prices when they are increasing and above prices when they are decreasing. In this view, the indicator stops and reverses when the price trend reverses and breaks above or below the indicator. The indicator generally works well in trending markets, but not during non-trending, sideways phases. Therefore, Wilder recommended establishing the strength and direction of the trend first through the use of other indicators and then using the Parabolic SAR to trade that trend.The indicator is below prices when prices are rising and above prices when prices are falling. In this regard, the indicator stops and reverses when the price trend reverses and breaks above or below the indicator.

Syntax

public interface ParabolicSAR

Members

NameTypeSummary
Result PropertyThe resulting series of Parabolic SAR Indicator

Example 1

private ParabolicSAR _parabolic;
protected override void Initialize()
{
    _parabolic = Indicators.ParabolicSAR(minaf, maxaf);
}
public override void Calculate(int index)
{
    double parabolic = _parabolic.Result[index];
}