Series vs. Value
Author: mrsic
Creation Date: 12/16/2015 6:36 PM
profile picture

mrsic

#1
Hello,

could someone explain me the different between for example Momentum.Series and Momentum.Value? This explanation wihth an example, would be fine?
I did something find in the WS programming guide but i can't imagine nothing.
sorry I'm not a programmer, i try to learn and understand it.

greetings
damir
profile picture

Eugene

#2
Hi Damir,

To expand on what has already been said on the forum...

Difference between Lowest.Series and Lowest.Value

Series is the standard way of retrieving a DataSeries. The complete DataSeries is calculated and becomes accessible for plotting and in the main loop. Typically it's cached to avoid CPU and RAM overhead from creating multiple copies of the indicator.

Value, if provided, allows an indicator to return the value for a given bar number on the fly. Not all indicators implement this method (in particular, most all Community Indicators do not). Not recommended to be used in the trading loop because of the CPU overhead caused by excessive calculation vs. returning a cached copy.
profile picture

mrsic

#3
Hi Eugene,

thanks.

greetings
damir