Hello, I have troubles with coding my ‘dynamic’ stoploss, See my attachment. I would like build a trading system that choose the stoploss automatically based on the low of the last period during ‘macd<0’. According to the attachment, the stoploss is 1.13788. (i buy when macd is crossing the horizontal (0) line)