ICE Data Services -

AGet.sar() Advanced GET Studies

Returns the series or values of the GET Parabolic study.
Parabolic SAR is a display of "Stop And Reverse" points for a particular market. When the market touches or crosses a point, this indicates that you should reverse your position. If you are long, for example, go short. If you are short, go long. The Parabolic SAR assumes that you are always in the market.



AGet.sar( Start , Increment , Maximum , ReturnSeries [, Series | sym() | inv() ][, BarIndex ] )


Parameter: Description: Default:
Start An integer which represents the number of the initial acceleration. n/a
Increment An integer which represents the number that determines how much to increase acceleration over time. n/a
Maximum An integer which represents the maximum amount of acceleration that can be achieved. n/a
ReturnSeries Allows to choose what series of the GET Parabolic study should be returned. To choose use the follwing constants:
Series | sym() | inv() [Optional]  Series Object or function of sym() or inv() to determine symbol/interval source for the study.  Base sym/int
BarIndex [Optional]  Bar index of series to retrieve. n/a


Return Value(s)

Returns a Series Object when nBarIndex is not specified.

Returns a single value when nBarIndex is specified.



Only available in versions 11.8 or later.


Code Example

Creating Series Example:

var bInit = false;
var xSer = null;
function main() {
  if (bInit == false) {
    xSer = getSeries(AGet.sar(20, 20, 200, SAR_SAR));
    bInit = true;
  return xSer;

See Also

Advanced GET Study Functions