Code a strategy in Pinescript

Job ID: 34479448

Budget: $10 – $30 USD

The strategy is relatively simple, It uses 2 indicators, one gives buy and sell signal and the other is an oscillator.
Depending on the oscillator position the buy and sell signal must be ignored or not.
Stop loss and take profit would be in percentage, example long: Stop bellow 1%/entry price and take profit above 2%/ entry price. You must show me in the code where I can modify those percentage.
Related categories: Pine Script Trading