what is the main differences between ea and script

 
that is the question.
 
belido:
that is the question.

Both scripts and EAs can be loaded only once per chart. If you need to add another EA or script, you will need to unload the existing EA/script. But it's possible to have an EA and script running on the same chart.

EAs would naturally execute at every tick without terminating. Scripts will terminate as soon as their appointed tasks are complete. There are ways to go around this limitation for scripts, but that is another story.

EAs can be backtested/optimized while scripts cannot be used on Strategy Tester

The input (external parameters) can be hidden from scripts using the show_inputs property. You cannot do this in expert advisors.

 
Iceron:

...........

EAs would naturally execute at every tick without terminating. Scripts will terminate as soon as their appointed tasks are complete. There are ways to go around this limitation for scripts, but that is another story.

..........

Is that means we can make a script to act as an EA? (sorry for stupid question :) )
 
Iceron:

Both scripts and EAs can be loaded only once per chart. If you need to add another EA or script, you will need to unload the existing EA/script. But it's possible to have an EA and script running on the same chart.

EAs would naturally execute at every tick without terminating. Scripts will terminate as soon as their appointed tasks are complete. There are ways to go around this limitation for scripts, but that is another story.

EAs can be backtested/optimized while scripts cannot be used on Strategy Tester. 

The input (external parameters) can be hidden from scripts using the show_inputs property. You cannot do this in expert advisors.

I agree with you. Thank for your info.
 
Any EA has its own thread of execution (In mt4 you could open new indicators with default parameters using API )
 
ALXIMIKS:
Any EA has its own thread of execution (In mt4 you could open new indicators with default parameters using API )
It's also true for Scripts.
Reason: