Posted 3 Days Ago Job ID: 2102283 6 quotes received

Tradingview Pinescript Backtest

HourlyNo rate specified1-10 hrs/wk1-5 days
Quotes (6)  ·  Premium Quotes (0)  ·  Invited (0)  ·  Hired (0)

  Send before: February 28, 2025

Send a Quote

Programming & Development Programming & Software

I am in the process of implementing a trading strategy on Tradingview. I have some limited exposure to programming and I have created a pinescript Indicator script for back testing of the strategy. The current script captures the Buy and Sell events over a defined period - say 10 years.  The Buy and Sell triggers are label printed on the trading view chart itself (see attached screenshot). They have been tested and validated to be OK. The Buy event is defined as the crossing of the Fibonocci Support levels and the sell event is when the price crosses the Fibonocci Pivot level. Both the Buy and Sell events are captured correctly in the script. I will share the working script. The current Script is about 80 lines long and I have the basic functions of the script working. 


I need to enhance this script to achieve the following: 


1.⁠ ⁠Upload the back test data to a google sheet or .csv file for analysis using of triggers, webhooks, or CSV table upload mechanisms of Pinescript. My understanding is webhook may not work in back test. If so, update a table and upload the table it to .csv file.


2.⁠ ⁠I would like to generalise the script to use hourly charts - current script uses daily charts. 


3.⁠ ⁠Make the back testing period flexible so that I can test it over a defined period. 


4.⁠ ⁠The script does not handle some special situations, which need to be handled. I can explain how such situation should be handled. The script need to be updated for this. 


This may be a first project.  I intend to create more strategies on an ongoing basis and, I would like to extend this later to ML for selection of stock/trade. But that will be in future.

... Show more
Venkat R India