Pine Script

Loop through a set or all historical bars in Pine Script

Month: August 2022

Exporting Paper Trading Data in TradingView with a Free Account

TradingView just recently added a feature to download your paper trading data. Unfortunately, it works only with pro accounts. But in this article, I’ll show you a hack that will allow you to export this data with any account. So you already did a bunch of trades in your Paper Account and you have some Exporting Paper Trading Data in TradingView with a Free Account Read More →

Backtesting intraday stock strategies in Python with vectorbt

Creating trading bots these days on intraday data become more and more popular days. For simple backtesting trades usually go to Pine Script. But with libraries like vectorbt backtesting in Python become quite simple. Also, not many people know that you can get intraday data for stocks from Yahoo Finance for free. So in summary Backtesting intraday stock strategies in Python with vectorbt Read More →

Backtesting Pine Script Strategies on entire history with Deep Backtesting

If you backtest a lot of strategies in TradingView you most likely know that that TradingView is a bit limited in terms of backtesting. If you run backtest in a standard way you get your backtest computed on the last ~ 20k bars only for the most expensive account. And that’s not enought for majority Backtesting Pine Script Strategies on entire history with Deep Backtesting Read More →

Adding a dynamic filter to Pine Script strategies.

Quite often your strategies in TradingView will be complicated and will have multiple conditions at once. You might want to check if certain conditions work or not for your strategy. It’s a good idea to create a checkbox in your parameter that switch on/off certain filters. In this article, I’ll show you a simple example Adding a dynamic filter to Pine Script strategies. Read More →