'unexpected token' on declaring buffer name

 

Hey,

Declared buffer at the start of program, comes up with error message unexpected token

idk how to fix please help

attached indicator

indicator finds the gradient at close of 3 bars

Files:
 

.

Files:
 
input int InpDivPeriod=3
//--- buffers
double ExtDIVBuffer1[];
What does "input int InpDivPeriod=3 double ExtDIVBuffer1[];" supposed to mean?
   IndicatorBuffers(1)
   IndicatorDigits(Digits)
   SetIndexStyle(0,DRAW_LINE);
What does "IndicatorBuffers(1) IndicatorDigits(Digits) SetIndexStyle(0,DRAW_LINE);" supposed to mean?