Use:
SetOption("EveryBarNullCheck",
True)
Indeed - the arrays where you have nulls in the
middle are calculated differently in the latest betas.
In the readme file you can read:
SetOption("EveryBarNullCheck", True)- allows to
turn on checking for Nulls in arithmetic operations on every bar in the array(by
default it is OFF - i.e. AmiBroker checks for nulls that appear in the beginning
of the array and in the end of the array and once non-null value is detected it
assumes no further holes (nulls) in the middle). Turning "EveryBarNullCheck" to
True allows to extend these checks to each and every bar which is the way 4.74.x
and earlier versions worked.
Note however that turning it on gives huge
performance penalty (arithmetic operations are performed even 4x slower when
this option is ON, so don't use it unless you really have
to).
See also Tomasz explanations at:
___________________________________________________________
Thanks Marcin
BTW. If you have dirty data, like mine, anytime an indicator has price in
the denominator, the formula can blow up and NZ is needed. This includes
relative strength.
Dave