Sets the maximum amount of bars preloaded for the calculation of indicators used in a trading system.

Syntax:

This instruction is very useful if you plan to use indicators that need previous bar to compute before you can rely on them to make trading decisions in your code.

Example :

 

Related entries

Share this