Automated buy/sell orders triggered by price

Assalamu Alaikum,

Is it okay to setup automated buy or sell orders that are triggered automatically when the price meets certain conditions, such as: stop-loss, stop-limit, trailing stop orders?

JazakAllah khair

Wa alaykum salaam,

Yes, it is permissible to have automated buy/sell orders.

Allah knows best