You can do both things with variables. For point 1 you can use a boolean one (true-false) in a 'Modifiy Variables' block immediately below your EMA 50 crossing condition block. For point 2 you can create a double variable in which you can store that price the same way. Try it and let us know! 🙂