ArrayInitialize", it says that "It's not recommended to initialize index buffers in the OnInit() function of custom indicators, because they are automatically initialized byEMPTY_VALUE when buffers are distributed and re-distributed."
But when I used the code below, from chart window and data window I found default value of indicator buffer is 0, not EMPTY_VALUE.
Build 244
According to the help file of function "
ArrayInitialize", it says that "It's not recommended to initialize index buffers in the OnInit() function of custom indicators, because they are automatically initialized byEMPTY_VALUE when buffers are distributed and re-distributed."
But when I used the code below, from chart window and data window I found default value of indicator buffer is 0, not EMPTY_VALUE.
What the problem is?