arsond
That may depend on how the indicator is coded.
That said if you are using the atr() function [or any other function that returns a Series Object] then you would use the getValue() method of the Series Object to retrieve its values and then use those values in your expression.
For information on the getValue() method see the link to the corresponding article in the EFS KnowledgeBase. See also this article in the EFS KnowledgeBase for an example specific to the atr() function
Alex
Originally posted by arsond How can I take a difference between values of an indicator? For example, ATR at time 0 and ATR at time -1?
Comment