first indicator...don't know why I am getting the error

 

Hello,


Newbie here...I want to make a simple indicator that I can input 2 numbers, 1 for a fast MA and 1 for a slow MA (both simple) that will draw the lines and dran an up arrow when either the fast or slow ma turns up while the other one is turned up. The indicator I have written gives me an error where I have declared my MA's, I am sure it is something simple that I am missing. Also, I haven't gotten to the point that I am drawing the lines (haven't gotten that far yet in my learning).


I would be gratefull for any directions anyone may have, thank you!

Files:
Reason: