GetParabolicStudy

ICE Data Services -

GetParabolicStudy() Advanced GET Study Functions

Creates object, which allows to get values of indicator Advanced GET Parabolic SAR in EFS scripts. 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.

 

Syntax

GetParabolicStudy( dStart , dIncrement , dMaximum )

 

Parameters

Parameter: Description: Default:
dStart The number of the initial acceleration

 

n/a
dIncrement The number that determines how much to increase acceleration over time.

 

n/a
dMaximum The maximum amount of acceleration that can be achieved.

 

n/a


Member(s)

Syntax: Returned value:
GetParabolicStudy.STOP Returns the value of Parabolic SAR

 


Notes

Only available in versions 7.9 or later.


Code Example

Advanced GET Parabolic SAR Indicator with default values:
function preMain(){
	setPlotType(PLOTTYPE_CIRCLE);
	setPriceStudy(true);
}
var xPar = null;

function main(){
	if (xPar == null) xPar = new GetParabolicStudy(20, 20, 200);
	var vParab = xPar.getValue(GetParabolicStudy.STOP);
	if (vParab == 0) return null
	else return vParab;
}



See Also

Advanced GET Studies