Trading bot in trading view

Job ID: 33165987

Budget: $30 – $250 USD

There are 2 existing indicators
Stoch rsi and Support resistance (SRv2). I want a script that combines both and takes trades.

Criteria for
Longs:
If stoch rsi below 20 in 4hrs and If srV2 at support in 4hrs

Stop loss:
If stoch rsi above 50 and still in loss

Profit:
When stoch rsi above 50 and move SL to break even
When stoch rsi above 20

Shots:
If stoch rsi above 80 in 4hrs and SRv2 at resistance in 4hrs/2hrs/1hrs

Stop loss:
If stoch rsi below 50 and still in loss

Profit:
When stoch rsi below 50 and move SL to break even
When stoch rsi below 20
Related categories: Pine Script