Forum

EA restarts on each new chart opened.

I applied an EA to a chart. Later I removed it, and closed the chart, and restarted MT5. Now, whenever I start MT5 and open a new chart window, the EA runs! Have I somehow managed to set it to run on each new window? How do I undo this

EA kept running after ExpertRemove

I wrote an EA for my wife. On reaching a specified price it closes a portion of the lots and moves the stop loss. i.e. ``` input double new_stop_loss; ... // modify the SL ensure(OrderModify(order_ticket_number, OrderOpenPrice(), new_stop_loss, OrderTakeProfit(), OrderExpiration(), Red), "Unable to