IntrabarPersist (Reserved Word)
A reserved word used when declaring a variable (or array) that indicates that the value of the variable (or array element) can be updated on every tick. By default, the value of a variable or an array element is only updated at the close of each bar. This word declares that the value of a variable or array element is to be updated intrabar.
Examples
Declares the variable Count to an initial value of zero and increments the value of Count every time a tick is received and at the close of each bar..
Variable: IntrabarPersist Count(0);
Count = Count + 1 ;
(Default behavior without IntrabarPersist) Declares the variable Count to an initial value of zero and increments the value of Count at the close of the each bar.
Variable: Count(0);
Count = Count + 1 ;