script is a piece of code. when you run the script it execute once.
EA is a script. but automaticaly executed at each market tick.

Ignored

Hi, so if i have a straddle script trade at specific time , once i run it it will execute, if i want it to execute another time ,i just run it again right?
But for EA, How will it execute at different target time?

Hi, so if i have a straddle script trade at specific time , once i run it it will execute, if i want it to execute another time ,i just run it again right?
But for EA, How will it execute at different target time?

Ignored

I don't know if this will clarify or confuse.

A script runs through once. Maybe you have a script that will close all open orders. You execute it, it does the task and stops.

An indicator program runs through the code (program) each tick, and updates the indicator window, or triggers alarms, etc. RSI, MACD, moving averages, etc. are examples of indicators.

An EA is a bit more sophisticated. The program starts on every tick, runs through to a stopping point, and basically has control of the account. It can be programmed to use multiple indicators, price action, time of day, and nearly any logic you can come up with, to put on trades, take profits, move stops, etc. It is a robot, so to speak, that executes a trading system as programmed.