Pine Script for Tradingview

Job ID: 32601219

Budget: $750 – $1,500 USD

I need help to code a script for Tradingview.
I estimate this will be around 300 lines of code.

To qualify for bidding answer this easy questions on how to code this:
Open Long when close is over SMA12
Close Long when close is under SMA12
Related categories: Pine Script