There are at least 2 ways to do that. In "on Tick" only or using "on Trade". In "on Trade" you can detect when a trade hit SL or TP (and then do what's needed). But "on Tick" is always better, where you can check the profit and the type of the last trade... if that fits the idea. Well, here is a little problem, a trade can hit SL and still be profitable (if SL was moved on profit). Maybe I should think for a block to check how exactly the last trade was closed (by SL, by TP) 😕
W