Handle and buffers

In the Global section of the indicator you also need to define the handle. Which will be the numeric name used by the indicator. In this section you also will need to create the buffers where the data will be stored.