Hi, thank you for your answer, but I think I have not made myself clear.
About the buying price is clear for me.
For selling price: I want to seel my stock, when it reaches the same highest value of the last two days. For example: Yesterday the highest value was 5, the day before was 4,90, so my target is 5, and it moves with the time.
I have already done the strategy itself, but when my price reaches the highest value of the last 2 days, it starts a trigger to sell the stock at the same day in close, high or any other moment I determine in the print you showed me, but in fact I want to sell at the same value of the highest price of the last two days.
See attached the sell requirements.