Convert my indicator and strategy into PineScript 5 strategy code

Job ID: 37014117

Budget: £10 – £20 GBP

I am seeking a skilled developer to convert my existing indicator and strategy into an all-automatic PineScript 5 strategy code.
The indicator code is attached and I have also attached images of how trades should look.

In one of the images it shows that there are many trade signals, if that happens and a position is already open, the program should close that trade and time out and stop any trades for at least a day or 2 until the signals stop chaining so much.

For exit rules, as shown in the images, you should set the take profit to the previous high/low and the stop loss should be about 1/3 of that so we get a risk-to-reward of 1:3.

I want to be able to change the risk to reward, take profit, and have an optional trailing stop as well which activates after a 5% profit level.

This may require a few tweaks to work, we may have to add additional code or conditions for it to work suitably, you will have to do that before delivery.
Related categories: Metatrader Pine Script Trading