Code a trading view pinescript strategy

Job ID: 32770192

Budget: $30 – $250 CAD

Heres the strategy,
- Buy alert at candle close if
1. Price is above 200 EMA -i want to be able to adjust choose EMA or SMA and also be able to change the period of the moving average in the settings tab.
2. 200 EMA is Increasing.
3. Stochastic k level is below 20 and increasing - i want to be able to adjust the value of the stochastic at which the k level is below , but for default leave at 20.
4. Supertrend indicator is in uptrend.
5. ADX is above 25 and increasing
6. Use supertrend indicator seeting for trailing stoploss
7. For take profit, set risk to reward at 1:2 - i want to be able to change the risk reward ratio in settings tab as well.

- For short signals do the opposite.


Sample trade -https://www.tradingview.com/x/dAwoiuek/