Indicator compiles with no error but shows nothing on chart.

 

I converted this indicator from mt4 to mt5 it compiles with no error but on chart it only shows a buffer and that's all. Doesn't print anything. Below is the actual mt4 source code and MT5. I can't use the code insert button else it would exceed maximum characters 

Files:
chrt.mq5  20 kb
 
#property indicator_buffers 10
#property indicator_plots   5

Both the number of plots and the number of buffers must be specified.

The number of buffers is 10, not 5.

ArrayResize(LowesBuffer,resizeCount,ArraySize(LowesBuffer));
ArrayResize(HighesBuffer,resizeCount,ArraySize(HighesBuffer));
and others.

It is not necessary to resize the buffers for the "INDICATOR_CALCULATIONS".

 
Nagisa Unada #:

Both the number of plots and the number of buffers must be specified.

The number of buffers is 10, not 5.

It is not necessary to resize the buffers for the "INDICATOR_CALCULATIONS".

Thank you very much