Strategy testing - Tradingview

Job ID: 36673731

Budget: $50 – $75 AUD

I would like to create a pine script to test out the strategy.
At the close of the first four-hour candle of the week the strategy should put a buy order at the top of the candle and a stop loss at the bottom of the candle. Based on the distance between stop loss and profit target first profit targets should be 1X, second profit target should be 2X, third profit target should be 3X.
It should also put a sell order at the bottom of the candle with a stop loss at the top of the candle and the first profit target should be 1X second profit target should be 2X and thought profit targets should be 3X.
Once the profit the first profit target is hit in either direction, Stop loss 4 all open trades should move to break even. All pending orders must be cancelled in the opposite direction.
Risk per trade is 0.5%. And the strategy should be able to help me either select a pair or multiple pairs to test it against.
Related categories: Pine Script