CumProd
- cumulative product of all array elements

Moving averages, summation
(AmiBroker 6.20)


SYNTAX CumProd( factor )
RETURNS ARRAY
FUNCTION The function returns cumulative product of all array elements from first bar till current bar
EXAMPLE y = CumProd( 1.05 ); // 1% per-bar growth
Plot( y, "exponential growth", colorRed );
SEE ALSO

References:

The CumProd function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.