Pine Script

Adding a dynamic filter to Pine Script strategies.

TradingView

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 →

The `when` parameter will be deprecated in future Pine versions. How to fix it?

Just recently you might start to see the following warnings in Tradingview : line 12: The `when` parameter will be deprecated in future Pine versions. We recommend using `if` or `switch` conditional blocks instead This is happening when you’re using “when” parameter in any strategy.* functions. For example, following code will produce 2 warnings for The `when` parameter will be deprecated in future Pine versions. How to fix it? Read More →

A clever way of exporting data with alerts from TradingView

TradingView is not very friendly when it’s coming to exporting/importing custom data. But still, there are ways you can use to do that to some extent. In this article, I’ll show you an export method that will allow you to export custom-calculated data with email alerts. In this article, I’ll work with a simple SMA A clever way of exporting data with alerts from TradingView Read More →

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 →