TradingView Pine Script Strategy Development

Job ID: 39834845

Budget: €30 – €250 EUR

I want a robust, well-commented Pine Script strategy that trades both long and short on some cryptocurrency charts. The script must let me set my own take-profit, stop-loss and other entry parameters through the Settings panel, then back-test smoothly over at least 5 000 candles.

The benchmark I am aiming for is a back-test win rate that sits somewhere between 60 % and 80 %, averaging close to 70 %. Please structure the logic so these figures are realistically attainable without curve-fitting: if that means adding optional filters or optimisable inputs, build them in and comment the code clearly so I can experiment.

When the script runs it should paint entries and exits on the chart and open an on-screen table (or TradingView’s native strategy performance window) that highlights win rate, number of trades, average R-multiple and any other concise statistics that help me judge performance at a glance.

Deliverables
• A single .pine file written in the current Pine v5 syntax, fully commented and neatly formatted.
• Parameterised inputs for TP, SL, position sizing and any additional entry filters.
• Built-in logic for both long and short trades.
• An information panel that, at minimum, shows win-rate and basic performance stats each time the strategy is re-run.
• Quick setup instructions so I can load the script and replicate your back-test.