FAQ

How to fix “syntax error at input ‘end of line without line continuation’.” in pine script

Author name: QuantNomad

How to fix “syntax error at input ‘end of line without line continuation’.” in pine script

Simple code like this won’t work for you: If you’ll add it to the chart you’ll see the following error: Syntax error at input ‘end of line without line continuation’. So what is the reason and how to fix it? It is happening because of the line wrapping rules you have in PineScript. The piece How to fix “syntax error at input ‘end of line without line continuation’.” in pine script Read More →

How to fix “syntax error at input ‘end of line without line continuation’.” in pine script Read More »

How to fix ‘expression’ argument of security function should have no side effects

In this article, I will show you how to fix the “‘expression’ argument of security function should have no side effects” error in PineScript. Here is an example of the script that triggers that error: Error message: The issue is that when you call a function inside a “security” function you can’t plot trend line

How to fix ‘expression’ argument of security function should have no side effects Read More »

Running Backtesting for Universe of Stocks in Python with Backtrader Quant Nomad

Running Backtesting for Universe of Stocks in Python with Backtrader

Pretty often you want to backtest your strategy on multiple instruments and you’re interested in how it will work together. In this article, I will show you how easy it is to do that in Python using Backtrader. To load multiple data sources to Backtrader you can use the following code: The idea is pretty

Running Backtesting for Universe of Stocks in Python with Backtrader Read More »

Automating long/short TradingView strategies with only 1 alert Quant Nomad

Automating long/short TradingView strategies with only 1 alert

Using new alerts on the strategies in Tradingview you can do pretty interesting stuff in PineScript. In this post, I will show you how you can automate pretty complicated strategies in TradingView using only 1 alerts instead of at least 4 alerts you need using usual alerts. I’m using 3commas to automate strategies, but you

Automating long/short TradingView strategies with only 1 alert Read More »