Make sure numbers in blocks are in order of what you want to do. You can use once per bar at top and then add check for profit / check for loss - with close trades to hide SL and TP. use the comment block to show comments