SCRIP BACKTESTING TRADING VIEW USING PINE SCRIPT

Job ID: 37090365

Budget: ₹12,500 – ₹37,500 INR

Pine Script for Back testing Specifications
Buy
Entry Rules : Prices going above .25% buffer Weekly High
SL : 1.5% of Trigger Value
Exit/TSL : Pirce going below previous week low with 0.25% buffer

Sell :
Entry Rules : Prices going below .25% buffer Weekly Low
SL : 1.5% of Trigger Value
Exit/TSL : Pirce going above previous week high with 0.25% buffer

Back test parameters
Need to print the above results in CSV/excel Format for Given script & duration with following data extraction.

Date of Trigger Buy / Sell
High Value within the trend and Lower value within the trend before new trigger
Exact Points Profit and Loss
Percentage Profit and loss for each entry.
Should be able to change buffer percentage and SL Value