Pine Script

Loop through a set or all historical bars in Pine Script

Author name: QuantNomad

Loop through a set or all historical bars in Pine Script Quant Nomad

Loop through a set or all historical bars in Pine Script

I receive quite a lot of questions about how to loop over the bars in Pine Script. Many of the indicators require this kind of calculation you might have these questions yourself as well. If you’re not very familiar with the way Pine Script works you might implement your code in a very inefficient way. Loop through a set or all historical bars in Pine Script Read More →

Loop through a set or all historical bars in Pine Script Read More »

Backtesting intraday stock strategies in Python with vectorbt Quant Nomad

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 Quant Nomad

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 »