Convert TradingView Indicator to Python

Job ID: 34670439

Budget: $10 – $150 USD

The indicator I am looking to have ported over to Python is the following: https://www.tradingview.com/script/v9YZoIw1-Volatility-Stop/

However, I am only looking to have the core functionality ported over (not the colorful extras). To that end, I have copy/pasted this core code from TradingView into a separate file that is attached to this project.

**Please review this file before bidding to better understand the extent of the work**

The indicator relies on another technical indicator called “Average True Range” – we can use the version of Average True Range available in the TA-lib library. It just needs to be imported using:
from talib import ATR

Documentation for TA-lib is here: https://mrjbq7.github.io/ta-lib/

It will be important that the resulting values from the python code are the same as the ones that display on TradingView (so I can confirm accuracy). I have included OHLCV data for SPY to generate eventual results for review, once the coding is complete.
Related categories: Python Quantum Pine Script Trading