Sell when the last closed candle has the purpe marking. Buy when the last candle gets a green marking.
TP is alawys the horizontal line.
Tweak the settings for your liking, the threshold should be set always to the actual pair, to be within a few pips or points, you can get references from the chart, where you have two loes or highs really close almost with zero difference, if those are shown only, your settings is ok.
Do a back test, you will see, price eventually always gets there. Mostly the very next candle but sometimes it takes a few candles.