I will convert your tradingview pine script strategy to python and backtest it
About this Gig
Have a TradingView Pine Script indicator or strategy and want it in Python?
I convert Pine Script (v4/v5/v6) to clean Python with pandas, and I check that the numbers match TradingView bar by bar. A conversion that is "close enough" is how backtests end up lying.
What you get:
- Python code for your indicator or strategy, commented line by line against the Pine logic
- A comparison table with your TradingView values on the same bars
- Standard and Premium: a backtest on exchange data with real fees and slippage, and a report with net return, max drawdown, win rate, trade count and an equity curve
- Premium: a bot that runs the strategy on Binance, Bybit or OKX (tested on testnet first)
Things I take care of that often go wrong:
- Pine's bar-close vs intrabar fills, and repainting with request.security()
- na handling and ta.* functions (rma, atr, pivots) that differ from common Python libraries
- Lookahead bias in the backtest
Send me the Pine code before ordering and I'll confirm the price and delivery time.
I build and test software; I don't give trading advice or promise profits.
Platform:
TradingView
•
Custom
•
Binance
Development technology:
Python
•
PineScript
FAQ
Will my Python results match TradingView exactly?
Indicator values should match on the same data. Backtest results can differ slightly because TradingView fills orders differently; I explain every difference in the report.
Which Pine versions do you support?
Pine Script v4, v5 and v6. Older versions are fine too, I'll check them first.
Where does the price data come from?
Free exchange data (Binance, Bybit, OKX) for crypto. For stocks or forex, send me a CSV or tell me your data source.
Do you need my API keys?
No. Backtests use public data. For the live bot you put your keys in your own config file; I test on testnet.

