What is the diference between an "Indicator" and a "Script"?

 
What is the diference between an "Indicator" and a "Script"?
 
There is two major differences:
1) A custom indicator remains attached to a chart till its removed or the chart is closed; a script will detach from a chart as soon as its finished executing (of course, you could keep it executing in a loop).
2) An indicator's start() function gets called on every tick event for the chart; a script's start() function gets executed right after its init() function gets executed (not waiting for any tick event). (I hope I got this one correct.)
 
There is two major differences:
1) A custom indicator remains attached to a chart till its removed or the chart is closed; a script will detach from a chart as soon as its finished executing (of course, you could keep it executing in a loop).
2) An indicator's start() function gets called on every tick event for the chart; a script's start() function gets executed right after its init() function gets executed (not waiting for any tick event). (I hope I got this one correct.)



great, thanks
Reason: